Support __STDC_WANT_IEC_60559_FUNCS_EXT__ feature test macro.
[glibc.git] / ChangeLog
blobac692dc9e775e75cc1583bae6c8a90c510a5a461
1 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
4         macro.
5         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
6         Document.
7         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
8         Document macro.
9         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
10         (exp10f): Likewise.
11         (exp10l): Likewise.
12         * math/bits/mathcalls.h (exp10): Declare if
13         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
15         * manual/arith.texi (nextup): Fix typo in last change.
17 2016-08-03  Zack Weinberg  <zackw@panix.com>
19         [BZ #19239]
20         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
21         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
22         define major, minor, and makedev to issue deprecation warnings on use.
23         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
24         previously-activated deprecation warnings for these macros and prevent
25         subsequent inclusions of this header from having any effect.
26         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
27         including <sys/sysmacros.h>, and undefine it again afterward.
29 2016-08-03  Zack Weinberg  <zackw@panix.com>
31         * sysdeps/generic/sys/sysmacros.h: Delete file.
32         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
33         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
34         * bits/sysmacros.h: ... here; this encoding is now the generic
35         encoding.  Now defines only the following macros:
36         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
37         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
38         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
40         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
41         bits/sysmacros.h and the above new macros to generate the
42         public implementations of major, minor, and makedev.
43         * misc/tst-makedev.c: New test.
44         * include/sys/sysmacros.h: New wrapper.
46         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
47         (routines): Add makedev.
48         (tests): Add tst-makedev.
49         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
50         gnu_dev_makedev.
51         * posix/Makefile (headers): Remove sys/sysmacros.h.
52         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
54         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
55         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
56         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
57         * sysdeps/unix/sysv/linux/alpha/libc.abilist
58         * sysdeps/unix/sysv/linux/arm/libc.abilist
59         * sysdeps/unix/sysv/linux/hppa/libc.abilist
60         * sysdeps/unix/sysv/linux/i386/libc.abilist
61         * sysdeps/unix/sysv/linux/ia64/libc.abilist
62         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
63         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
64         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
65         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
66         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
67         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
68         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
69         * sysdeps/unix/sysv/linux/nios2/libc.abilist
70         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
71         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
72         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
73         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
74         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
75         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
76         * sysdeps/unix/sysv/linux/sh/libc.abilist
77         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
78         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
79         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
80         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
81         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
82         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
83         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
84         Add GLIBC_2.25.
86         * include/features.h (__glibc_clang_prereq): New macro.
87         * misc/sys/cdefs.h (__glibc_clang_has_extension)
88         (__attribute_deprecated_msg__): New macros.
90 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
92         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
93         macro.
94         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
95         * manual/arith.texi (issignaling): Document as ISO from TS
96         18661-1:2014.
97         (nextup): Likewise.
98         (nextupf): Likewise.
99         (nextupl): Likewise.
100         (nextdown): Likewise.
101         (nextdownf): Likewise.
102         (nextdownl): Likewise.
103         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
104         macro.
105         * math/math.h: Define
106         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
107         <bits/libc-header-start.h> instead of including <features.h>.
108         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
109         [__USE_GNU].
110         * math/bits/mathcalls.h (nextdown): Declare if
111         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
112         (nextup): Likewise.
113         (__issignaling): Likewise.
115 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
117         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
118         check, and remove __glibc_likely hint
119         from FP_INFINITE check.
120         * s_csinhf.c (__csinhf): Likewise.
122         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
123         hint from FP_INFINITE check.
124         * s_csinhl.c (__csinhl): Likewise.
126 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
128         * math/Makefile (libm-calls): Insert F placeholder into
129         object names.  Move w_lgamma_compat* routines into
130         (libm-compat-calls): New variable.
131         (libm-compat-calls-ldouble-yes): New variable.
132         (calls): Insert F placeholder.
133         (generated): Redefine using new type-foreach macro call.
134         (routines): Likewise.
136         (types): New variable to hold a list of symbolic names
137         for each type supported by the target machine.
138         (libm-routines): Redefine using new types variable.
139         (type-foreach): macro to replace fooF with the
140         appropriately suffixed foo for each types.
142         (type-ldouble-suffix): New variable.
143         (type-ldouble-routines): Likewise.
144         (type-ldouble-yes): Likewise.
145         (type-double-suffix): Likewise.
146         (type-double-routines): Likewise.
147         (type-float-suffix): Likewise.
148         (type-float-routines): Likewise.
150         (dbl-only-routines): Remove.
151         (long-c-yes): Likewise.
152         (long-m-routines): Likewise.
153         (long-m-support): Likewise.
154         (long-m-yes): Likewise.
155         (test-longdouble-yes): Likewise.
157         (test-float.o): Simplify by increasing the scope of the
158         recipe which adds libm-test.stmp to the vector types.
159         (test-ifloat.o): Likewise.
160         (test-float-finite.o): Likewise.
161         (test-double.o): Likewise
162         (test-idouble.o): Likewise.
163         (test-double-finite.o): Likewise.
164         (test-ldouble.o): Likewise
165         (test-ildoubl.o): Likewise.
166         (test-ldouble-finite.o): Likewise.
168         (libm-tests): Redefine type tests using foreach and the
169         list of types in types.
171         (CPPFLAGS-test-ildoubl.c): Rename to
172         (CPPFLAGS-test-ildouble.c): New variable
174         * math/test-ildoubl.c: Rename to
175         * math/test-ildouble.c: New file.
177 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
179         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
180         Use fabsl instead of fabs.
181         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
182         Likewise.
183         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
184         Add long double suffix to constant to ensure proper
185         promotion to long double.
187 2016-08-03  Tom Tromey  <tom@tromey.com>
189         [BZ #20311]
190         * nptl_db/Makefile (headers): Add proc_service.h.
191         * nptl_db/proc_service.h: Add include guard.  Use
192         __BEGIN/__END_DECLS.
193         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
194         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
195         arguments.
198 2016-08-03  Florian Weimer  <fweimer@redhat.com>
200         [BZ #17730]
201         Avoid using memalign for TCB allocations.
202         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
203         (_dl_allocate_tls_storage): Use malloc and manual alignment.
204         Avoid alignment gap in the TLS_DTV_AT_TP case.
205         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
206         determine the pointer to free.
207         * nptl/tst-tls3-malloc.c: New test.
208         * nptl/Makefile (tests): Add it.
209         (tst-tls3-malloc): Link with libdl, libpthread.
210         (LDFLAGS-tst-tls3-malloc): Set.
211         (tst-tls3-malloc.out): Depend on DSO used in test.
213 2016-08-03  Florian Weimer  <fweimer@redhat.com>
215         [BZ #17730]
216         Avoid using memalign for TLS allocations.
217         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
218         is_static member with to_free member.
219         (union dtv): Use struct dtv_pointer.
220         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
221         dtv_pointer instead of is_static.
222         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
223         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
224         instead of val.
225         (allocate_dtv_entry): New function.
226         (allocate_and_init): Return struct dtv_pointer.  Call
227         allocate_dtv_entry instead of __libc_memalign.
228         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
229         instead of val.
230         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
231         instead of is_static.  Adjust call to allocate_and_init.
232         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
233         struct dtv_pointer instead of val.
235 2016-08-03  Florian Weimer  <fweimer@redhat.com>
237         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
238         (MALLOC_ALIGN_MASK): Move ...
239         * malloc/malloc-internal.h: ... to here.
240         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
242 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
244         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
245         (UDP_ENCAP_GTP1U): Likewise.
247         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
248         (PF_MAX): Update value.
249         (AF_QIPCRTR): New macro.
251 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
253         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
254         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
255         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
256         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
257         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
258         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
259         s_truncf-vis3, s_trunc-vis3.
260         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
261         (CFLAGS-s_ceil-vis3.c): Likewise.
262         (CFLAGS-s_floorf-vis3.c): Likewise.
263         (CFLAGS-s_floor-vis3.c): Likewise.
264         (CFLAGS-s_truncf-vis3.c): Likewise.
265         (CFLAGS-s_trunc-vis3.c): Likewise.
266         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
267         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
268         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
269         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
270         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
271         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
272         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
273         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
274         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
275         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
276         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
277         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
279 2016-08-02  David S. Miller  <davem@davemloft.net>
281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
282         (__nearbyint_vis3): Don't check for sNaN before float register is
283         loaded with the incoming argument.
284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
285         (__nearbyintf_vis3): Likewise.
286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
287         Likewise.
288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
289         Likewise.
291         * string/test-strncmp.c (do_test_limit): Make sure the test data
292         stream is aligned as required for the type "CHAR".
293         (do_test): Likewise.
295 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
297         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
298         by beq instructions jumping to the end of the function.
299         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
300         clobber list. Use "i" constraint instead of "X".
301         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
302         of "X".
304 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
306         * bits/libc-header-start.h: New file.
307         * Makefile (headers): Add bits/libc-header-start.h.
308         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
309         (__GLIBC_USE): New macro.
310         * libio/stdio.h: Define
311         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
312         <bits/libc-header-start.h> instead of including <features.h>.
313         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
314         (open_memstream): Likewise.
315         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
316         (__asprintf): Likewise.
317         (asprintf): Likewise.
318         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
319         (getdelim): Likewise.
320         (getline): Likewise.
321         * string/string.h: Define
322         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
323         <bits/libc-header-start.h> instead of including <features.h>.
324         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
325         (strndup): Likewise.
326         * wcsmbs/wchar.h: Define
327         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
328         <bits/libc-header-start.h> instead of including <features.h>.
329         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
330         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
332 2016-08-02  Florian Weimer  <fweimer@redhat.com>
334         Support linking against compatibility symbols, for use in tests.
335         * include/libc-symbols.h (symbol_version_reference): New macro.
336         (symbol_version): Use it.
337         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
338         (compat_symbol): Use compat_symbol_reference.
339         (compat_symbol_1, compat_symbol_2): Remove.
340         (compat_symbol_reference, compat_symbol_reference_1)
341         (compat_symbol_reference_2): New macro.  Use
342         symbol_version_reference.
344 2016-08-02  Florian Weimer  <fweimer@redhat.com>
346         [BZ #19469]
347         * malloc/Makefile (CPPFLAGS): Compile tests with
348         -DTEST_NO_MALLOPT.
349         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
351 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
353         [BZ #20033]
354         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
355         finite version.
356         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
357         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
358         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
359         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
360         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
361         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
362         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
363         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
364         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
365         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
366         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
367         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
368         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
369         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
370         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
371         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
372         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
373         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
374         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
375         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
376         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
377         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
378         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
379         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
380         in zero power.
382 2016-08-02  Florian Weimer  <fweimer@redhat.com>
384         [BZ #20370]
385         * malloc/arena.c (get_free_list): Update comment.  Assert that
386         arenas on the free list have no attached threads.
387         (remove_from_free_list): New function.
388         (reused_arena): Call it.
390 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
392         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
393         when it is a NaN.
394         [_IEEE_FP_INEXACT] Remove.
395         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
396         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
397         when it is a NaN.
398         [_IEEE_FP_INEXACT] Remove.
399         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
400         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
401         when it is a NaN.
402         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
403         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
404         when its absolute value is greater than 0x1.0p52.
405         [_IEEE_FP_INEXACT] Remove.
406         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
407         when its absolute value is greater than 0x1.0p23.
408         [_IEEE_FP_INEXACT] Remove.
410 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
412         * version.h (RELEASE): Set to "development"
413         (VERSION): Set to 2.24.90.
414         * NEWS: Add 2.25 section.
416         * version.h (RELEASE): Set to "stable"
417         (VERSION): Set to 2.24.
418         * include/features.h (__GLIBC_MINOR__): Set to 24.
420         * NEWS: Add 2.24 fixed bugs.
421         * po/libc.pot: Regenerate.
423 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
426         [$(subdir) = math] (libm-sysdep_routines): Remove.
427         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
428         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
429         s_truncf-vis3, s_trunc-vis3.
430         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
432         file.
433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
454         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
457         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
458         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
459         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
460         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
461         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
462         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
463         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
464         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
465         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
466         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
467         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
468         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
469         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
470         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
471         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
472         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
473         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
474         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
475         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
477 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
479         [BZ #20384]
480         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
481         test-double-libmvec-sincos-avx-main.o,
482         test-double-libmvec-sincos-avx2-main.o,
483         test-double-libmvec-sincos-main.o,
484         test-float-libmvec-sincosf-avx-main.o,
485         test-float-libmvec-sincosf-avx2-main.o and
486         test-float-libmvec-sincosf-main.o.
487         test-float-libmvec-sincosf-avx512-main.o.
488         ($(objpfx)test-double-libmvec-sincos): Also link with
489         $(objpfx)test-double-libmvec-sincos-main.o.
490         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
491         $(objpfx)test-double-libmvec-sincos-avx-main.o.
492         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
493         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
494         ($(objpfx)test-float-libmvec-sincosf): Also link with
495         $(objpfx)test-float-libmvec-sincosf-main.o.
496         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
497         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
498         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
499         test-double-libmvec-sincos-avx512-main.o and
500         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
501         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
502         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
503         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
504         (CFLAGS-test-double-libmvec-sincos.c): Removed.
505         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
506         (CFLAGS-test-double-libmvec-sincos-main.c): New.
507         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
508         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
509         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
510         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
511         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
512         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
513         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
514         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
515         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
516         -DREQUIRE_AVX2.
517         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
518         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
519         -DREQUIRE_AVX512F.
520         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
521         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
522         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
523         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
524         file.
525         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
526         Likewise.
527         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
528         Likewise.
529         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
530         Likewise.
531         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
532         Likewise.
533         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
534         Likewise.
535         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
536         Likewise.
537         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
538         Likewise.
540 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
542         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
544 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
546         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
547         and typo in a comment about AT_HWCAP entry.
549 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
551         * sysdeps/aarch64/libm-test-ulps: Updated.
553 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
555         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
556         of r13 as it is not restored in mvcle case.
558 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
560         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
561         Rename "ret" to "__ret".
562         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
563         inline_syscall5, inline_syscall6): Likewise.
565 2016-07-19   Will Newton  <will.newton@gmail.com>
567         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
568         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
569         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
570         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
571         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
573 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
575         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
576         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
577         -mfpmath=387 with $(rtld-CFLAGS).
578         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
579         $(rtld-CFLAGS).
581 2016-07-18   Ross Burton  <ross.burton@intel.com>
582              Khem Raj  <raj.khem@gmail.com>
584         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
585         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
586         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
587         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
588         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
589         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
590         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
591         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
592         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
593         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
594         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
595         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
596         R_METAG_TLS_DTPOFF): New.
598 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
599             Matt Clay  <mclay@lycos.com>
601         [BZ #20357]
602         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
603         to call __mpsin/__mpcos and to negate values.
604         * math/auto-libm-test-in: Add test.
605         * math/auto-libm-test-out: Regenerate.
607 2016-07-18  Zack Weinberg  <zackw@panix.com>
609         * grp/Makefile: Don't install the internal header grp-merge.h.
611 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
613         * sysdeps/aarch64/libm-test-ulps: Regenerated.
615 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
617         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
619 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
621         [BZ #15368]
622         * sysdeps/unix/sysv/linux/nptl-signals.h
623         (__nptl_clear_internal_signals): New function.
624         (__libc_signal_block_all): Likewise.
625         (__libc_signal_block_app): Likewise.
626         (__libc_signal_restore_set): Likewise.
627         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
628         implementation.
629         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
630         the cached pid/tid value in pthread structure.
632 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
634         [BZ #20347]
635         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
637 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
639         [BZ #20348]
640         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
641         preadv64, pwrite64 and pwritev64.
643 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
645         [BZ #20350]
646         * posix/tst-preadwrite.c: Renamed to ...
647         * posix/tst-preadwrite-common.c: This.
648         (PREAD): Removed.
649         (PWRITE): Likewise.
650         (STRINGIFY): Likewise.
651         (STRINGIFY2): Likewise.
652         (do_prepare): Make it static and remove function arguments.
653         (do_test): Likewise.
654         (PREPARE): Updated.
655         (TEST_FUNCTION): New.
656         (name): Make it static.
657         (fd): Likewise.
658         (do_prepare): Use create_temp_file.
659         (do_test): Renamed to ...
660         (do_test_with_offset): This.  Make it static and accept offset.
661         Properly check return value of PWRITE and PREAD.  Return bytes
662         read.  Don't close fd nor unlink name.
663         * posix/tst-preadwrite.c: Rewrite.
664         * posix/tst-preadwrite64.c: Likewise.
666 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
668         [BZ #20309]
669         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
670         -mtls-dialect=gnu2 works.
671         * configure: Regenerated.
672         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
673         (tests): Add tst-gnu2-tls1.
674         (modules-names): Add tst-gnu2-tls1mod.
675         ($(objpfx)tst-gnu2-tls1): New.
676         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
677         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
678         * elf/tst-gnu2-tls1.c: New file.
679         * elf/tst-gnu2-tls1mod.c: Likewise.
680         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
681         bytes for push in the PLT entry to align the stack.
683 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
685         [BZ #20349]
686         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
688 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
690         [BZ #18707]
691         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
692         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
694 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
696         * sysdeps/unix/sysv/linux/sysdep.h
697         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
698         guards.
699         * misc/tst-preadvwritev-common.c: New file.
700         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
701         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
702         a check for files larger than 2GB.
704         * sysdeps/unix/sysv/linux/mips/kernel-features.h
705         (__ASSUME_OFF_DIFF_OFF64): Remove define.
706         * sysdeps/unix/sysv/linux/pread.c
707         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
708         __OFF_T_MATCHES_OFF64_T.
709         * sysdeps/unix/sysv/linux/pread64.c
710         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
711         * sysdeps/unix/sysv/linux/preadv.c
712         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
713         * sysdeps/unix/sysv/linux/preadv64.c
714         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
715         * sysdeps/unix/sysv/linux/pwrite.c
716         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
717         * sysdeps/unix/sysv/linux/pwrite64.c
718         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
719         * sysdeps/unix/sysv/linux/pwritev.c
720         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
721         * sysdeps/unix/sysv/linux/pwritev64.c
722         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
724 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
726         * sysdeps/unix/sysv/linux/tile/kernel-features.h
727         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
729 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
731         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
733 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
735         [BZ #20240]
736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
737         (CFLAGS-s_modf-ppc32.c): New variable.
738         (CFLAGS-s_modff-ppc32.c): Likewise.
739         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
740         (CFLAGS-s_modf-ppc64.c): Likewise.
741         (CFLAGS-s_modff-ppc64.c): Likewise.
743 2016-07-07  Andreas Schwab  <schwab@suse.de>
745         [BZ #20263]
746         * nptl/tst-robust10.c: New test.
747         * nptl/Makefile (tests): Add tst-robust10.
749 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
751         [BZ #20263]
752         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
754 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
756         * sysdeps/s390/linkmap.h (struct link_map_machine):
757         Remove member gotplt and add member jmprel.
758         * sysdeps/s390/s390-32/dl-machine.h
759         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
760         instead of gotplt with &got[3].
761         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
762         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
764 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
766         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
768 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
770         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
771         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
772         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
773         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
774         * libio/vtables.c (_IO_vtable_check)
775         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
776         * libio/libioP.h (IO_set_accept_foreign_vtables)
777         [!PTR_MANGLE]: Do not call PTR_MANGLE.
779 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
781         [BZ #20314]
782         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
783         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
784         $(common-objpfx)cmath.
785         ($(common-objpfx)cstdlib): New target.
786         ($(common-objpfx)cmath): Likewise.
788 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
790         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
792 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
794         [BZ #20327]
795         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
796         are not part of the string.
798 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
800         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
801         * nptl/tst-cancel4-common.h (fifoname): New variable.
802         (fifofd): Likewise.
803         (cl_fifo): New function.
804         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
805         SIGINT.
806         (tf_open): Add early cancel test.
808 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
810         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
812 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
814         * sysdeps/generic/ldsodefs.h
815         (dl_symbol_visibility_binds_local_p): New inline function.
816         * elf/dl-addr.c (determine_info): Treat hidden and internal
817         symbols as local.
818         * elf/dl-lookup.c (do_lookup_x): Likewise.
819         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
821 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
823         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
824         invalid exception for a sNaN input.
825         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
826         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
827         (__nearbyint_vis3): Likewise
828         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
829         (__nearbyintf_vis3): Likewise
830         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
831         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
832         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
833         Likewise.
834         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
835         Likewise.
837 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
839         [BZ #20139]
840         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
841         (HAVE_AVX512DQ_ASM_SUPPORT): This.
842         * sysdeps/x86_64/configure.ac: Require assembler from binutils
843         2.24 or above.
844         (HAVE_AVX512_ASM_SUPPORT): Removed.
845         (HAVE_AVX512DQ_ASM_SUPPORT): New.
846         * sysdeps/x86_64/configure: Regenerated.
847         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
848         check unconditional.
849         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
850         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
851         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
852         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
853         Likewise.
854         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
855         Likewise.
856         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
857         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
858         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
859         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
860         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
861         Likewise.
862         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
863         Likewise.
864         * sysdeps/x86_64/multiarch/memset.S: Likewise.
865         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
866         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
867         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
868         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
869         Likewise.
870         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
871         Likewise.
872         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
873         Likewise.
874         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
875         Likewise.
876         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
877         Likewise.
878         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
879         Likewise.
880         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
881         Likewise.
882         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
883         Likewise.
884         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
885         Likewise.
886         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
887         Likewise.
888         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
889         Likewise.
891 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
893         [BZ #20024]
894         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
895         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
896         of this implementation of vector function.
897         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
898         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
899         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
900         Likewise.
901         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
902         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
903         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
904         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
905         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
906         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
907         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
908         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
909         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
910         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
911         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
912         for testing vector sincos with fixed ABI.
913         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
914         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
915         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
916         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
917         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
918         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
919         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
920         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
921         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
922         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
923         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
924         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
925         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
926         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
927         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
928         * sysdeps/x86_64/fpu/Makefile: Added new tests.
930 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
932         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
934 2016-06-30  Anton Blanchard  <anton@samba.org>
936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
937         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
938         s_sinf-ppc64.
939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
942         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
944 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
947         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
948         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
949         e_expf-ppc64.
950         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
951         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
952         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
953         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
955 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
957         [BZ #20277]
958         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
959         when SHARED is defined.
961 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
963         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
964         (index_arch_Prefer_ERMS): Likewise.
965         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
966         __memcpy_erms for Prefer_ERMS.
967         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
968         (__memmove_erms): Enabled for libc.a.
969         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
970         __memmove_erms or Prefer_ERMS.
971         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
972         __mempcpy_erms for Prefer_ERMS.
973         * sysdeps/x86_64/multiarch/memset.S (memset): Return
974         __memset_erms for Prefer_ERMS.
976 2016-06-30  Andreas Schwab  <schwab@suse.de>
978         [BZ #20262]
979         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
980         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
981         of memory.
983 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
985         [BZ #18645]
986         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
987         (test-extras): Add tst-cleanupx4aux.
988         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
989         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
990         tst-cleanupx4aux.o.
991         * nptl/tst-cleanupx4aux.c: New file.
993 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
995         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
997 2016-06-29  Andreas Schwab  <schwab@suse.de>
999         [BZ #20260]
1000         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
1001         address before the beginning of the string as an integer to avoid
1002         array-bounds warning.
1004 2016-06-28  Richard Henderson  <rth@redhat.com>
1006         * elf/elf.h (EM_BPF): New.
1007         (EM_NUM): Update.
1008         (R_BPF_NONE, R_BPF_MAP_FD): New.
1010         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
1011         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
1012         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
1013         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
1014         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
1015         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
1016         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
1017         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
1018         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
1019         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
1020         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
1021         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
1022         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
1023         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
1024         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
1025         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
1026         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
1027         (EM_NUM): Update.
1029 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
1031         [BZ #18960]
1032         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
1033         Set _nl_current_LC_CATEGORY_used to two instead of one.
1035 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
1037         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
1038         (do_test): ... this.
1039         (TEST_FUNCTION): New macro.
1040          Include test-skeleton.c.
1041         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
1042         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
1044 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
1046         [BZ #15479]
1047         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
1048         floating-point environment rather than just control word.
1049         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1050         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
1051         floating-point environment, with "invalid" exceptions merged in,
1052         rather than just control word.
1053         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
1054         * math/libm-test.inc (trunc_test_data): Do not allow spurious
1055         "inexact" exceptions.
1057         [BZ #15479]
1058         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
1059         floating-point environment rather than just control word.
1060         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1061         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
1062         floating-point environment, with "invalid" exceptions merged in,
1063         rather than just control word.
1064         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
1065         * math/libm-test.inc (floor_test_data): Do not allow spurious
1066         "inexact" exceptions.
1068         [BZ #15479]
1069         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
1070         floating-point environment rather than just control word.
1071         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1072         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
1073         floating-point environment, with "invalid" exceptions merged in,
1074         rather than just control word.
1075         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
1076         * math/libm-test.inc (ceil_test_data): Do not allow spurious
1077         "inexact" exceptions.
1079 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
1081         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
1082         __libc_vfork.
1083         (__vfork) [IS_IN (libc)]: Remove alias.
1084         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
1085         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1086         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1088 2016-06-24  Torvald Riegel  <triegel@redhat.com>
1090         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
1091         of atomic_compare_and_exchange_bool_rel.
1092         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1093         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
1094         catomic_compare_and_exchange_bool_rel): Remove.
1095         * sysdeps/aarch64/atomic-machine.h
1096         (atomic_compare_and_exchange_bool_rel): Likewise.
1097         * sysdeps/alpha/atomic-machine.h
1098         (atomic_compare_and_exchange_bool_rel): Likewise.
1099         * sysdeps/arm/atomic-machine.h
1100         (atomic_compare_and_exchange_bool_rel): Likewise.
1101         * sysdeps/mips/atomic-machine.h
1102         (atomic_compare_and_exchange_bool_rel): Likewise.
1103         * sysdeps/microblaze/atomic-machine.h
1104         ( __arch_compare_and_exchange_bool_8_rel,
1105         __arch_compare_and_exchange_bool_16_rel): Likewise.
1106         * sysdeps/powerpc/atomic-machine.h
1107         ( __arch_compare_and_exchange_bool_8_rel,
1108         __arch_compare_and_exchange_bool_16_rel): Likewise.
1109         * sysdeps/powerpc/powerpc32/atomic-machine.h
1110         ( __arch_compare_and_exchange_bool_32_rel,
1111         __arch_compare_and_exchange_bool_64_rel): Likewise.
1112         * sysdeps/powerpc/powerpc64/atomic-machine.h
1113         ( __arch_compare_and_exchange_bool_32_rel,
1114         __arch_compare_and_exchange_bool_64_rel): Likewise.
1115         * sysdeps/tile/atomic-machine.h
1116         (atomic_compare_and_exchange_bool_rel): Likewise.
1118 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
1120         [BZ #20296]
1121         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
1122         when either argument is a NaN.
1123         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1124         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
1126         * math/libm-test.inc (snan_value_ld): New macro.
1127         (isgreater_test_data): Add sNaN tests.
1128         (isgreaterequal_test_data): Likewise.
1129         (isless_test_data): Likewise.
1130         (islessequal_test_data): Likewise.
1131         (islessgreater_test_data): Likewise.
1132         (isunordered_test_data): Likewise.
1133         (nextafter_test_data): Likewise.
1134         (nexttoward_test_data): Likewise.
1135         (remainder_test_data): Likewise.
1136         (remquo_test_data): Likewise.
1137         (significand_test_data): Likewise.
1138         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
1140 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1142         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
1143         environment macros are defined.
1144         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
1146 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1148         [BZ #20191]
1149         Implement vtable verification in libio.
1150         * Makerules (shlib.lds): Place __libc_IO_vtables section.
1151         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
1152         * debug/vdprintf_chk.c (__vdprintf_chk): Call
1153         _IO_new_file_init_internal instead of _IO_file_init.
1154         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
1155         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
1156         * libio/Makefile (routines): Add vtables.
1157         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
1158         (_IO_init): Remove, not for internal use.
1159         (_IO_init_internal): Declare, internal replacement for _IO_init.
1160         (_IO_file_init): Remove, not for internal use.
1161         (_IO_new_file_init): Remove, not for internal use.
1162         (_IO_new_file_init_internal): Declare, internal replacement for
1163         _IO_new_file_init.
1164         (_IO_old_file_init): Remove, not for internal use.
1165         (_IO_old_file_init_internal): Declare, internal replacement for
1166         _IO_old_file_init.
1167         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
1168         internal use.
1169         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
1170         Declare.
1171         (libio_vtable): New macro.
1172         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
1173         functions.
1174         * libio/fileops.c (_IO_new_file_init_internal): Rename from
1175         _IO_new_file_init.
1176         (_IO_new_file_init): New externally visible wrapper which disables
1177         vtable verification.
1178         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
1179         Define as vtables.
1180         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
1181         (_IO_init): New externally visible wrapper which disables
1182         vtable verification.
1183         * libio/iofdopen.c (_IO_new_fdopen): Call
1184         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
1185         comment.
1186         * libio/iofopen.c (__fopen_internal): Call
1187         _IO_new_file_init_internal instead of _IO_file_init.
1188         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
1189         Define as vtables.
1190         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
1191         _IO_new_file_init_internal instead of _IO_file_init.
1192         * libio/iopopen.c (_IO_new_popen): Likewise.
1193         (_IO_proc_jumps): Define as vtable.
1194         * libio/iovdprintf.c (_IO_vdprintf): Call
1195         _IO_new_file_init_internal instead of _IO_file_init.
1196         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
1197         (__open_memstream): Call _IO_init_internal instead of _IO_init.
1198         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
1199         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
1200         _IO_old_file_init.
1201         (_IO_old_file_init): New externally visible wrapper which disables
1202         vtable verification.
1203         (_IO_old_file_jumps): Define as vtable.
1204         * libio/oldiofdopen.c (_IO_old_fdopen): Call
1205         _IO_old_file_init_internal instead of _IO_old_file_init.
1206         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1207         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1208         (_IO_old_proc_jumps): Define as vtable.
1209         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
1210         Define as vtables.
1211         * libio/vtables.c: New file.
1212         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
1213         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
1214         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
1215         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
1216         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
1217         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
1218         instead of _IO_init.
1220 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1222         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
1224 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1226         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
1227         potentially unused.
1229 2016-06-22  Florian Weimer  <fweimer@redhat.com>
1231         * test-skeleton.c (write_message): New function.
1232         * malloc/tst-mallocfork2.c (write_message): Remove.
1233         * debug/tst-longjmp_chk2.c (write_indented): New function.
1234         (write_message): Remove.
1235         (stackoverflow_handler): Call write_indented.
1237 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
1239         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
1240         "inexact" exceptions after fnstenv.
1241         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1242         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1243         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1245 2015-06-22  Zack Weinberg  <zackw@panix.com>
1247         * sysdeps/generic/bits/hwcap.h: Moved to ...
1248         * bits/hwcap.h: Here.
1250 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
1252         * sysdeps/aarch64/memcpy.S (memcpy):
1253         Further tuning for performance.
1255 2016-06-21  Florian Weimer  <fweimer@redhat.com>
1257         [BZ #20284]
1258         * malloc/arena.c (reused_arena): Do not return NULL if we start
1259         out with a non-corrupted arena.
1261 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1263         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
1264         * misc/tst-preadvwritev.c: New file.
1265         * misc/tst-preadvwritev64.c: Likewise.
1266         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
1267         usage.
1268         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1269         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1270         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1271         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
1273 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
1275         [BZ #19654]
1276         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1277         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
1278         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
1279         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
1280         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
1281         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
1282         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
1283         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
1284         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
1285         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
1286         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
1287         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
1288         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
1289         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
1290         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
1291         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
1292         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
1293         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
1294         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
1295         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
1296         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
1297         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
1298         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
1299         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
1300         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
1301         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
1303 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1305         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
1306         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
1308 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1310         * sysdeps/aarch64/memcpy.S (memcpy):
1311         Rewrite of optimized memcpy and memmove.
1312         * sysdeps/aarch64/memmove.S (memmove): Remove
1313         memmove code (merged into memcpy.S).
1315 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1317         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
1318         * sysdeps/generic/dl-dtv.h: New file.
1319         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1320         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
1321         (dtv_t): Remove.
1322         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1323         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
1324         (dtv_t): Remove.
1325         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1326         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
1327         (dtv_t): Remove.
1328         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1329         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
1330         (dtv_t): Remove.
1331         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1332         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
1333         (dtv_t): Remove.
1334         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1335         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
1336         (dtv_t): Remove.
1337         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1338         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
1339         (dtv_t): Remove.
1340         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
1341         (dtv_t): Remove.
1342         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1343         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
1344         (dtv_t): Remove.
1345         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1346         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
1347         (dtv_t): Remove.
1348         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1349         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
1350         (dtv_t): Remove.
1351         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1352         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
1353         (dtv_t): Remove.
1354         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1355         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
1356         (dtv_t): Remove.
1357         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1358         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
1359         (dtv_t): Remove.
1360         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1361         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
1362         (dtv_t): Remove.
1363         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1364         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
1365         (dtv_t): Remove.
1367 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1369         Revert symbol poisoning of  __malloc_initialize_hook.
1370         * include/stdc-predef.h (__malloc_initialize_hook): Remove
1371         poisoning.
1372         * malloc/Makefile: Remove un-poisoning.
1373         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
1374         instead of old__malloc_initialize_hook.
1375         * malloc/malloc-hooks.h: Likewise.
1376         * malloc/malloc.c: Likewise.
1377         * malloc/mcheck-init.c: Likewise.
1379 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
1381         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
1383 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
1385         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
1386         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
1387         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1388         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1390 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1392         * NEWS: Mention addition of nextup and nextdown.
1393         * manual/arith.texi: Document nextup and nextdown.
1394         * manual/libm-err-tab.pl: Add nextup and nextdown.
1395         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
1396         * math/Versions (libm): Add GLIBC_2.24.
1397         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
1398         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1399         Add new test.
1400         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
1401         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
1402         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
1403         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
1404         (nextup_test_data): Likewise.
1405         (nextdown_test_data): Likewise.
1406         * math/s_nextdown.c: New file.
1407         * math/s_nextdownf.c: Likewise.
1408         * math/s_nextdownl.c: Likewise.
1409         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
1410         F(nextup): New function.
1411         F(nextdown): Likewise.
1412         * math/tgmath.h: Add nextup and nextdown.
1413         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
1414         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
1415         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1416         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
1417         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
1418         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
1419         Add nextup and nextdown.
1420         (CFLAGS-nldbl-nextup.c): New variable.
1421         (CFLAGS-nldbl-nextdown.c): Likewise.
1422         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
1423         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
1424         * sysdeps/nacl/libm.abilist: Update.
1425         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1426         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1427         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1428         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1429         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1430         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1431         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1432         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1433         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1434         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1435         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1436         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1439         Likewise.
1440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1442         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1443         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1444         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1445         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1446         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
1448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
1449         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1450         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1451         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
1452         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1454 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1456         * manual/pattern.texi: Fix typos & grammar errors.
1458 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1460         * manual/search.texi: Fix typos & grammar errors.
1462 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1464         * manual/message.texi: Fix typos & grammar errors.
1466 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
1468         * manual/contrib.texi: Fix spelling typos.
1469         * manual/crypt.texi: Likewise.
1470         * manual/filesys.texi: Likewise.
1471         * manual/locale.texi: Likewise.
1472         * manual/message.texi: Likewise.
1473         * manual/nss.texi: Likewise.
1474         * manual/string.texi: Likewise.
1476 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1478         * manual/locale.texi: Fix typos & grammar errors.
1480 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1482         * manual/charset.texi: Fix typos & grammar errors.
1484 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1486         * manual/string.texi: Fix typos.
1488 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1490         * manual/ctype.texi: Fix typos.
1492 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1494         * manual/memory.texi: Fix various typos & grammar errors.
1496 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
1498         [BZ #20255]
1499         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
1500         * math/libm-test.inc (fdim_test_data): Add another test.
1502         [BZ #6796]
1503         [BZ #20255]
1504         [BZ #20256]
1505         * math/s_fdim.c: Include <math_private.h>.
1506         (__fdim): Use math_narrow_eval on result.
1507         * math/s_fdimf.c: Include <math_private.h>.
1508         (__fdimf): Use math_narrow_eval on result.
1509         * sysdeps/i386/fpu/s_fdim.S: Remove file.
1510         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
1511         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
1512         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
1513         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
1514         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
1515         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
1516         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
1517         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
1518         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
1519         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
1520         * math/libm-test.inc (fdim_test_data): Expect errno setting on
1521         overflow.  Add sNaN tests.
1523         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
1524         fpclassify.
1525         * math/s_fdimf.c (__fdimf): Likewise.
1526         * math/s_fdiml.c (__fdiml): Likewise.
1528 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1530         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1531         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
1532         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1533         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1534         ifunc'ed strcasecmp/strncasecmp.
1535         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
1536         [EALIGN]: Removed.
1537         [END]: Likewise.
1538         [__strcasecmp]: Define instead of the above to control symbol name.
1539         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
1540         for __strcasecmp_power8.
1541         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
1542         for __strncasecmp_power8.
1543         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
1544         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
1545         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1546         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
1547         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
1548         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
1550 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
1552         [BZ #20252]
1553         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
1554         arguments when second argument is a NaN.
1555         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
1556         qNaN tests.
1558         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
1559         (conj_test_data): Likewise.
1560         (copysign_test_data): Likewise.
1561         (creal_test_data): Likewise.
1562         (fma_test_data): Likewise.
1563         (fmod_test_data): Likewise.
1565         [BZ #20250]
1566         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
1567         itself.
1568         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
1569         zero input to itself.
1570         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
1571         Likewise.
1572         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
1573         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
1574         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1575         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
1576         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
1578 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1580         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
1581         * nptl/tst-cancel4-common.c: New file.
1582         * nptl/tst-cancel4-common.h: Likewise.
1583         * nptl/tst-cancel4.c: Move common definitions to
1584         tst-cancel4-common.{c,h} file.
1585         * nptl/tst-cancel4_1.c: New test.
1586         * nptl/tst-cancel4_2.c: New test.
1588 2016-06-13  Florian Weimer  <fweimer@redhat.com>
1590         [BZ #20248]
1591         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
1592         (write_message): New function.
1593         (stackoverflow_handler): Call it instead of printf, to avoid
1594         excessive stack usage by printf.
1595         (do_test): Restore SIGSEGV, SIGBUS default handlers.
1597 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1599         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
1600         (prio_inherit_missing): Remove define.
1601         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1602         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1603         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
1604         Likewise.
1605         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1606         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1607         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1608         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1609         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1610         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1612 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1614         [BZ #19670]
1615         [BZ #19672]
1617         * io/test-lfs.c (do_prepare): Use xmalloc.
1618         * io/tst-fcntl.c (do_prepare): Likewise.
1619         * libio/tst-fopenloc.c (do_bz17916): Likewise.
1620         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
1621         * login/tst-utmp.c (do_prepare): Likewise.
1622         * posix/tst-exec.c (do_prepare): Likewise.
1623         * posix/tst-pathconf.c (prepare): Likewise.
1624         * posix/tst-spawn.c (do_prepare): Likewise.
1625         * posix/tst-truncate.c (do_prepare): Likewise.
1626         * rt/tst-aio.c (do_prepare): Likewise.
1627         * rt/tst-aio64.c (do_prepare): Likewise.
1629 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1631         [BZ #20237]
1632         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
1633         (get*ent): Set entidx to NULL during initialization.  If entidx is
1634         NULL, start iteration from the beginning.
1636 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1638         * malloc/malloc.c (musable): Return correct size for dumped fake
1639         mmapped chunk.
1641 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1643         [BZ #20222]
1644         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
1645         (_IO_cookie_write): Likewise.
1646         (_IO_cookie_seek): Likewise.
1647         (_IO_cookie_close): Likewise.
1648         (_IO_old_cookie_seek): Likewise.
1649         (set_callbacks): New function.
1650         (_IO_cookie_init): Call set_callbacks to copy callbacks.
1652 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
1654         * locale/programs/localedef.c (oldstyle_tables): Remove.
1655         * locale/programs/localedef.h (oldstyle_tables): Likewise.
1657 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
1659         [BZ #20240]
1660         * math/Makefile (CFLAGS-s_modf.c): New variable.
1661         (CFLAGS-s_modff.c): Likewise.
1662         (CFLAGS-s_modfl.c): Likewise.
1663         * math/libm-test.inc (modf_test_data): Add sNaN tests.
1665 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
1667         [BZ #20215]
1668         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
1669         [!__GNUC_PREREQ (3,2)]: Likewise.
1671 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1673         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1674         (msghdr.msg_controllen): Likewise.
1675         (cmsghdr.cmsg_len): Likewise.
1676         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1677         ptw-oldsendmsg.
1678         (CFLAGS-oldrecvmsg.c): Remove rule.
1679         (CFLAGS-oldsendmsg.c): Likewise.
1680         (CFLAGS-recvmsg.c): Add rule.
1681         (CFLAGS-sendmsg.c): Likewise.
1682         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1683         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1684         (CFLAGS-recvmsg.c): Remove rule.
1685         (CFLAGS-sendmsg.c): Likewise.
1686         (CFLAGS-oldrecvmsg.c): Likewise.
1687         (CFLAGS-oldsendmsg.c): Likewise.
1688         (CFLAGS-recvmmsg.c): Likewise.
1689         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1690         to kernel defined interfaces.
1691         (msghdr.msg_controllen): Likewise.
1692         (cmsghdr.cmsg_len): Likewise.
1693         (msghdr.__glibc_reserved1): Remove member.
1694         (msghdr.__glibc_reserved2): Likewise.
1695         (cmsghdr.__glibc_reserved1): Likewise.
1696         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1697         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1698         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1699         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1700         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1701         version.
1702         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1703         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1704         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1705         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1706         Remove recvmsg and sendmsg.
1707         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1708         Likewise.
1709         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1710         Likewise.
1711         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1712         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1713         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1714         Likewise.
1715         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1716         Likewise.
1717         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1718         [libc] (GLIBC_2.24): Likewise.
1719         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1720         Likewise.
1721         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1722         Likewise.
1723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1724         [libc] (GLIBC_2.24): Likewise.
1725         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1726         Likewise.
1727         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1728         Likewise.
1729         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1730         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1731         Likewise.
1732         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1733         Likewise.
1734         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1735         Likewise.
1736         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1737         Likewise.
1738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1739         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1740         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1741         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1742         version for {recv,send,recm,sendm}msg.
1743         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1744         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1745         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1746         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1747         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1748         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1749         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1750         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1751         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1752         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1753         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1754         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1756         Likewise.
1757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1758         Likewise.
1759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1761         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1762         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1763         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1764         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1765         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1766         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1769         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1770         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1771         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1773 2016-06-10  Florian Weimer  <fweimer@redhat.com>
1775         [BZ #19564]
1776         Remove __malloc_initialize_hook from the API.
1777         * malloc/malloc.h (__malloc_initialize_hook): Remove.
1778         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1779         #pragma GCC poison.
1780         * malloc/malloc-hooks.h: New file.
1781         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1782         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1783         (old__malloc_initialize_hook): Rename from
1784         __malloc_initialize_hook to evade poisoning.  Turn into compat
1785         symbol.
1786         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1787         __malloc_initialize_hook.
1788         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1789         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1790         * manual/memory.texi (Hooks for Malloc): Remove
1791         __malloc_initialize_hook.  Adjust hook example.
1793 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
1795         [BZ #20235]
1796         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1797         itself.
1798         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1799         * math/libm-test.inc (log2_test_data): Add sNaN tests.
1801         [BZ #20234]
1802         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1803         infinity or NaN input to itself.
1805         [BZ #20233]
1806         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1807         to itself.
1809         [BZ #20232]
1810         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1811         itself.
1813 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1815         * sysdeps/x86_64/start.S (_start): Always indirect branch to
1816         __libc_start_main via GOT.
1818 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1820         * sysdeps/x86_64/memcopy.h: New file.
1821         * sysdeps/x86_64/wordcopy.c: Likewise.
1823 2016-06-09  Florian Weimer  <fweimer@redhat.com>
1825         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1826         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1827         <cstdlib>.
1828         (optimization_barrier): New.
1829         (do_test): Use it.  Call quick_exit in the global namespace.
1830         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1831         instead of <cstdlib>, <thread>.
1832         (optimization_barrier): New.
1833         (non_main_thread): Adjust declaration.  Call optimization_barrier.
1834         Call quick_exit in the global namespace.
1835         (do_test): Call optimization_barrier.  Use pthread_create,
1836         pthread_join instead of std::thread.
1838 2016-06-09  Andreas Schwab  <schwab@suse.de>
1840         [BZ #19755]
1841         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1842         new entries in auto-propagate mode.
1843         * nscd/grpcache.c (cache_addgr): Likewise.
1845 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1847         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1848         New functions.
1849         (add_temp_file): Use them.
1851 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
1853         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1855 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
1857         [BZ #20229]
1858         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1859         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1860         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1862         [BZ #20228]
1863         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1864         itself.
1865         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1866         * math/libm-test.inc (log10_test_data): Add sNaN tests.
1868         [BZ #20227]
1869         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1870         itself.
1871         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1872         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1873         * math/libm-test.inc (log_test_data): Add sNaN tests.
1875         [BZ #20226]
1876         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1877         itself.
1878         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1879         * math/libm-test.inc (exp_test_data): Add sNaN tests.
1880         (exp10_test_data): Likewise.
1881         (expm1_test_data): Likewise.
1883         [BZ #20225]
1884         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1885         itself.
1886         * math/s_ldexpf.c (__ldexpf): Likewise.
1887         * math/s_ldexpl.c (__ldexpl): Likewise.
1888         * math/w_scalbln.c (__w_scalbln): Likewise.
1889         * math/w_scalblnf.c (__w_scalblnf): Likewise.
1890         * math/w_scalblnl.c (__w_scalblnl): Likewise.
1891         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1892         (scalbln_test_data): Likewise.
1894         [BZ #20224]
1895         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1896         argument to itself.
1897         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1899 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1901         [BZ #19776]
1902         * sysdeps/x86_64/memcpy.S: Make it dummy.
1903         * sysdeps/x86_64/mempcpy.S: Likewise.
1904         * sysdeps/x86_64/memmove.S: New file.
1905         * sysdeps/x86_64/memmove_chk.S: Likewise.
1906         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1907         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1908         * sysdeps/x86_64/memmove.c: Removed.
1909         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1910         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1911         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1912         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1913         Likewise.
1914         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1915         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1917         memcpy-sse2-unaligned, memmove-avx-unaligned,
1918         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1919         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1920         (__libc_ifunc_impl_list): Replace
1921         __memmove_chk_avx512_unaligned_2 with
1922         __memmove_chk_avx512_unaligned.  Remove
1923         __memmove_chk_avx_unaligned_2.  Replace
1924         __memmove_chk_sse2_unaligned_2 with
1925         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
1926         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
1927         with __memmove_avx512_unaligned.  Replace
1928         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1929         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
1930         with __memcpy_chk_avx512_unaligned.  Remove
1931         __memcpy_chk_avx_unaligned_2.  Replace
1932         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1933         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
1934         Replace __memcpy_avx512_unaligned_2 with
1935         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
1936         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
1937         with __mempcpy_chk_avx512_unaligned.  Remove
1938         __mempcpy_chk_avx_unaligned_2.  Replace
1939         __mempcpy_chk_sse2_unaligned_2 with
1940         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
1941         Replace __mempcpy_avx512_unaligned_2 with
1942         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
1943         Replace __mempcpy_sse2_unaligned_2 with
1944         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
1945         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1946         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1947         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1948         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
1949         (ENTRY): Removed.
1950         (END): Likewise.
1951         (ENTRY_CHK): Likewise.
1952         (libc_hidden_builtin_def): Likewise.
1953         Don't include ../memcpy.S.
1954         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1955         __memcpy_chk_avx512_unaligned_erms and
1956         __memcpy_chk_avx512_unaligned.  Use
1957         __memcpy_chk_avx_unaligned_erms and
1958         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1959         Default to __memcpy_chk_sse2_unaligned.
1960         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1961         Change function suffix from unaligned_2 to unaligned.
1962         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1963         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1964         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1965         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
1966         (ENTRY): Removed.
1967         (END): Likewise.
1968         (ENTRY_CHK): Likewise.
1969         (libc_hidden_builtin_def): Likewise.
1970         Don't include ../mempcpy.S.
1971         (mempcpy): New.  Add a weak alias.
1972         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1973         __mempcpy_chk_avx512_unaligned_erms and
1974         __mempcpy_chk_avx512_unaligned.  Use
1975         __mempcpy_chk_avx_unaligned_erms and
1976         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1977         Default to __mempcpy_chk_sse2_unaligned.
1979 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1981         [BZ #19881]
1982         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1983         into ...
1984         * sysdeps/x86_64/memset.S: This.
1985         (__bzero): Removed.
1986         (__memset_tail): Likewise.
1987         (__memset_chk): Likewise.
1988         (memset): Likewise.
1989         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1990         defined.
1991         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1992         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1993         (__memset_zero_constant_len_parameter): Check SHARED instead of
1994         PIC.
1995         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1996         memset-avx2 and memset-sse2-unaligned-erms.
1997         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1998         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1999         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
2000         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2001         (__bzero): Enabled.
2002         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
2003         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
2004         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
2005         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
2006         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2007         (memset): Removed.
2008         (__memset_chk): Likewise.
2009         (MEMSET_SYMBOL): New.
2010         (libc_hidden_builtin_def): Replace __memset_sse2 with
2011         __memset_sse2_unaligned.
2012         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
2013         __memset_chk_sse2 and __memset_chk_avx2 with
2014         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
2015         Use __memset_chk_sse2_unaligned_erms or
2016         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
2017         __memset_chk_avx512_unaligned_erms and
2018         __memset_chk_avx512_unaligned.
2020 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2022         * math/gen-auto-libm-test.c (fp_format_desc): remove
2023         suffix member.
2024         (output_generic_value): Remove usage of suffix member,
2025         and the resulting unuse of the fp_format argument.
2026         (output_for_one_input_case): Remove unused fp_format
2027         parameter.
2029         * math/auto-libm-test-out: Regenerate.
2031         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
2032         usage with TEST_COND_ibm128.
2033         (TEST_COND_flt_32): Remove.
2034         (TEST_COND_dbl_64): Remove.
2035         (TEST_COND_ldbl_96_intel): Remove.
2036         (TEST_COND_ldbl_96_m68k): Remove.
2037         (TEST_COND_ldbl_128): Remove.
2039 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2041         * auto-libm-test-in:
2042         Replace flt-32 usage with binary32.
2043         Replace dbl-64 usage with binary64.
2044         Replace ldbl-intel-96 usage with intel96.
2045         Replace ldbl-m68k-96 usage with m68k96.
2046         Replace ldbl-128ibm usage with ibm128.
2047         Replace ldbl-128 usage with binary128.
2049         * auto-libm-test-out: Regenerate.
2051 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2053         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
2054         (parse_ulps): Dynamically generate type name matching
2055         string from all_floats.
2056         (get_ulps): Generate the ulps as an array instead.
2057         (output_ulps): Dynamically compose the type based
2058         on the number of supported formats, and print
2059         the indices as type specific helper macros.
2061         * math/libm-test.inc: Remove comment about CHOOSE.
2062         (ulp_data): Generate the type in libm-test-ulps.h.
2063         (ULP_IDX): New macro.
2064         (find_ulps): Update usage of max_ulp.
2066         * math/test-double-vlen2.h (CHOOSE): Remove.
2067         * math/test-double-vlen4.h (CHOOSE): Likewise.
2068         * math/test-double-vlen8.h (CHOOSE): Likewise.
2069         * math/test-float.c (CHOOSE): Likewise.
2070         * math/test-float-finite.c (CHOOSE): Likewise.
2071         * math/test-double.c (CHOOSE): Likewise.
2072         * math/test-double-finite.c (CHOOSE): Likewise.
2073         * math/test-idouble.c (CHOOSE): Likewise.
2074         * math/test-ifloat.c (CHOOSE): Likewise.
2075         * math/test-ildoubl.c (CHOOSE): Likewise.
2076         * math/test-ldouble-finite.c (CHOOSE): Likewise.
2077         * math/test-ldouble.c (CHOOSE): Likewise.
2079         * math/test-float.h (TEST_FLOAT): Remove.
2080         * math/test-double.h (TEST_DOUBLE): Likewise.
2081         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
2083 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2085         * math/gen-libm-test.pl: (apply_lit): New subroutine.
2086         (parse_args): Strip C suffix from floating point literals
2087         typed with 'f' and wrap them with LIT().
2089         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
2090         (test_ff_f_data_nexttoward): Rename to
2091         (test_fj_f_data): New struct.
2092         (nexttoward_test_data): Relabel tests as
2093         TEST_fj_f instead of TEST_ff_f.
2095 2016-06-08  Florian Weimer  <fweimer@redhat.com>
2097         Emacs bug 23726.
2098         * malloc/malloc.c (dumped_main_arena_start): Update comment.
2099         (__libc_realloc): Correct size computation for dumped fake mmapped
2100         chunks.
2102 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
2104         [BZ #20219]
2105         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
2106         to itself.
2107         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
2109         [BZ #20218]
2110         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
2111         to itself.
2112         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
2114 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2116         [BZ #20195]
2117         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
2118         check to ...
2119         (init_cpu_features): Here.
2121 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
2123         [BZ #20214]
2124         * sysdeps/unix/sysv/linux/bits/in.h
2125         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2126          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
2127         Define to 1.
2128         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2129          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
2130         Define to 0.
2131         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
2132         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
2134 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
2136         [BZ #20198]
2137         * stdlib/Makefile (tests): Add tst-quick_exit, and
2138         tst-thread-quick_exit.
2139         [ifeq ($(have-cxx-thread_local),yes)]
2140         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
2141         (CFLAGS-tst-thread-quick_exit.o): Likewise.
2142         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
2143         (LDLIBS-tst-thread-quick_exit): Likewise.
2144         [ifneq ($(have-cxx-thread_local),yes)]
2145         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
2146         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
2147         If run_dtors is true call __call_tls_dtors.
2148         (exit): Call __run_exit_handlers with run_dtors set to true.
2149         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
2150         definition.
2151         * stdlib/quick_exit.c (quick_exit): Remove function.
2152         (__new_quick_exit): New function.
2153         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
2154         function.
2155         * stdlib/tst-quick_exit.cc: New file.
2156         * stdlib/tst-thread-quick_exit.cc: New file.
2157         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
2158         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
2159         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
2160         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
2161         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
2162         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
2163         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
2164         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
2165         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
2166         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
2167         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
2168         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
2169         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
2170         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
2171         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
2172         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
2174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
2175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
2176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
2177         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
2178         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
2179         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
2180         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
2181         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
2182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
2183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
2184         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
2185         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
2186         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
2188 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2190         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
2191         a typo in comments.
2193 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2195         [BZ #20213]
2196         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
2197         argument to itself.
2198         * math/libm-test.inc (asin_test_data): Add sNaN tests.
2200 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2202         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
2203         required flags.
2204         (CFLAGS-pwritev64.c): Likewise.
2205         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
2206         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2207         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
2208         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2209         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
2210         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
2211         syscall from auto-generation.
2212         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
2213         [WORDSIZE == 64] (pwritev64): Remove macro.
2214         [!PWRITEV] (PWRITEV): Likewise.
2215         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2216         [!PWRITEV] (PWRITE): Likewise.
2217         [!PWRITEV] (OFF_T): Likewise.
2218         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2219         (LO_HI_LONG): Remove macro.
2220         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
2221         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
2222         (PWRITEV): Remove macro.
2223         (PWRITEV_REPLACEMENTE): Likewise.
2224         (PWRITE): Likewise.
2225         (OFF_T): Likewise.
2226         (pwritev64): New function.
2227         * nptl/tst-cancel4.c (tf_writev): Add test.
2229         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
2230         required flags.
2231         (CFLAGS-preadv64.c): Likewise.
2232         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
2233         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2234         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
2235         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
2236         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
2237         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
2238         syscall from auto-generation.
2239         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
2240         [WORDSIZE == 64] (preadv64): Remove macro.
2241         [!PREADV] (PREADV): Likewise.
2242         [!PREADV] (PREADV_REPLACEMENT): Likewise.
2243         [!PREADV] (PREAD): Likewise.
2244         [!PREADV] (OFF_T): Likewise.
2245         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
2246         (LO_HI_LONG): Remove macro.
2247         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
2248         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
2249         (PREADV): Remove macro.
2250         (PREADV_REPLACEMENTE): Likewise.
2251         (PREAD): Likewise.
2252         (OFF_T): Likewise.
2253         (preadv64): New function.
2254         * nptl/tst-cancel4.c (tf_preadv): Add test.
2256 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2258         [BZ #20212]
2259         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
2260         argument to itself.
2261         * math/libm-test.inc (acos_test_data): Add sNaN tests.
2263 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2265         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
2266         New symbol defined as libc_hidden_def.
2267         (strcasestr): Became a weak alias to __strcasestr.
2268         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
2269         according to multi-arch support.  Move __stpncpy hidden
2270         definition from here to...
2271         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
2272         symbol stpncpy.
2273         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
2274         libc_hidden_builtin_def.
2275         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
2276         memset symbol to use when multi-arch support is available.
2278 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2280         * dlfcn/tst-rec-dlopen.c: Include string.h.
2282 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2284         * manual/install.texi: Remove mention of --without-tls
2285         * INSTALL: Regenerate.
2287 2016-06-05  Florian Weimer  <fweimer@redhat.com>
2289         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
2290         Remove.
2291         (call_function, interposed_malloc_called): New variables.
2292         (malloc): New function.
2293         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
2294         and clear call_function as needed.
2296 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
2298         * include/wchar.h (__wmemset): Use __typeof.
2300 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
2302         * include/wchar.h (__wmemset): Declare function without typeof.
2304 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
2306         [BZ #20205]
2307         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
2308         exponent when incrementing negative subnormal with low mantissa
2309         word zero.
2310         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2311         Add another test.
2313 2016-06-03  Florian Weimer  <fweimer@redhat.com>
2315         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
2316         __wmemset instead of wmemset.
2318 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
2320         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
2321         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
2322         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
2323         __USE_KERNEL_IPV6_DEFS to 0.
2324         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
2325         Update comment.
2327 2016-06-01  Florian Weimer  <fweimer@redhat.com>
2329         [BZ #19861]
2330         Do not use IFUNC resolver with potentially unrelocated symbol.
2331         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
2332         (DEFINE_FORK): Remove macro and inline definition.
2333         (fork_alias): Renamed from fork_ifunc.
2334         (__fork_alias): Renamed from __fork_ifunc.
2336 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
2338         [BZ 19653]
2339         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
2340         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
2342 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2344         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
2345         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
2346         i386-linux-gnu).
2347         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
2348         Set to no.
2349         * sysdeps/mach/hurd/configure: Refresh.
2351 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2353         [BZ #20178]
2354         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
2355         on failure instead of exit.
2357 2016-05-30  Roland McGrath  <roland@hack.frob.com>
2359         [BZ #3629]
2360         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
2361         of POSIX.1-2008.
2363 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2365         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
2366           Use PLT entry for calling _hurd_self_sigstate.
2368 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2370         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
2371         available logical processors with SMT level type sharing L2
2372         cache for Intel processors.
2374 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2376         [BZ #20160]
2377         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
2378         argument to itself before returning the result.
2379         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2380         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2381         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2382         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2383         Likewise.
2384         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2385         Likewise.
2386         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
2387         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
2388         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2389         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2390         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2391         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2393         [BZ #20160]
2394         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
2395         argument to itself before returning the result.
2396         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2397         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2398         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2399         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
2400         Likewise.
2401         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2402         Likewise.
2403         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
2404         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
2405         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
2406         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2407         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2408         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2410 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2412         * libm-test.inc: Replace usage of M_El with
2413         (lit_e): New macro.
2415 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2417         * libm-test.inc: Replace usage of M_PI_4l with
2418         (lit_pi_4_d): New macro.
2420 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2422         * libm-test.inc: Replace usage of M_PIl with
2423         (lit_pi): New macro.
2425 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2427         * libm-test.inc: Replace usage of M_PI2l with
2428         (lit_pi_2_d): New macro.
2430         * math/test-double.h (LITM): New macro.
2431         * math/test-float.h (LITM): Likewise.
2432         * math/test-ldouble.h (LITM): Likewise.
2434 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2436         * libm-test.inc (M_PI_34l): Rename to
2437         (lit_pi_3_m_4_d): New Macro.
2438         (M_PI_34_LOG10El): Rename to
2439         (lit_pi_3_m_4_ln10_m_d): New Macro.
2440         (M_PI2_LOG10El): Rename to
2441         (lit_pi_2_ln10_m_d):  New Macro.
2442         (M_PI4_LOG10El): Rename to
2443         (lit_pi_4_ln10_m_d):  New Macro.
2444         (M_PI_LOG10El): Rename to
2445         (lit_pi_ln10_d):  New Macro.
2447 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2449         [BZ #20157]
2450         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
2451         determine whether to negate low half if [_ARCH_PPCGR], and integer
2452         comparison otherwise.
2453         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
2454         determine whether to negate low half.
2456         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
2457         (NO_TEST_INLINE_DOUBLE): Likewise.
2458         (TEST_COND_x86_64): Likewise.
2459         (TEST_COND_x86): Likewise.
2460         (M_PI_6l): Likewise.
2462 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2464         * math/libm-test.inc:
2465         (TEST_FLOAT): Change usage to TEST_COND_binary32.
2466         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
2467         (TEST_LDOUBLE): Update usage to evaluate as true if
2468         the guarded tests match the property being tested.
2469         (LDBL_MAX_EXP): Change to MAX_EXP.
2470         (LDBL_MIN_EXP): Change to MIN_EXP.
2471         (LDBL_MANT_DIG): Change to MANT_DIG, except for
2472         nexttoward tests.
2474 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2476         * math/libm-test.inc:
2477         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
2478         (TYPE_MIN): Likewise.
2479         (TYPE_TRUE_MIN): Likewise.
2480         (TYPE_MAX): Likewise.
2481         (MIN_EXP): Likewise.
2482         (MAX_EXP): Likewise.
2483         (MANT_DIG): Likewise.
2485         (FSTR_MAX): New macro.
2486         (__CONCATX): Likewise.
2487         (QTYPE_STR): Likewise.
2488         (TEST_COND_binary32): Likewise.
2489         (TEST_COND_binary64): Likewise.
2490         (TEST_COND_binary128): Likewise.
2491         (TEST_COND_ibm128): Likewise.
2492         (TEST_COND_intel96): Likewise.
2493         (TEST_COND_m68k96): Likewise.
2495         (TEST_COND_flt_32): Redefine as equivalent format test macro.
2496         (TEST_COND_dbl_64): Likewise.
2497         (TEST_COND_ldbl_96_intel): Likewise.
2498         (TEST_COND_ldbl_96_m68k): Likewise.
2499         (TEST_COND_ldbl_128): Likewise.
2500         (TEST_COND_ldbl_128ibm): Likewise.
2502         (plus_zero): Redefine using LIT macro.
2503         (minus_zero): Likewise.
2504         (plus_infty): Redefine as (INF).
2505         (minux_infty): Redefine as (-INF).
2506         (max_value): Redefine as TYPE_MAX.
2507         (min_value): Redefine as TYPE_MIN.
2508         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
2510         (print_float): Refactor to use snprintf to convert FLOAT values
2511         to string. This brings it closer to dropin replacement of strtof
2512         for the TS 18661 defined types.
2513         (update_stats): Likewise.
2514         (print_complex_function_ulps): Likewise.
2515         (print_max_error): Likewise.
2516         (print_complex_max_error): Likewise.
2517         (check_float_internal): Likewise.
2519         * math/test-float.h (PREFIX): New macro.
2520         (LIT): Likewise.
2521         (TYPE_STR): Likewise.
2522         (FTOSTR): Likewise.
2524         * math/test-double.h (PREFIX): New macro.
2525         (LIT): Likewise.
2526         (TYPE_STR): Likewise.
2527         (FTOSTR): Likewise.
2529         * math/test-ldouble.h (PREFIX): New macro.
2530         (LIT): Likewise.
2531         (TYPE_STR): Likewise.
2532         (FTOSTR): Likewise.
2534 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2536         [BZ #20156]
2537         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
2538         to itself when zero or not finite.
2539         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
2540         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2541         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
2542         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
2544 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
2546         [BZ #20153]
2547         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
2548         x * x + x for infinities and NaNs.
2550         [BZ #20151]
2551         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
2552         argument to itself before returning result.
2553         (__ieee754_y0l): Likewise.
2554         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2555         (__ieee754_y1l).
2557         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
2558         (atan_test_data): Likewise.
2559         (ceil_test_data): Likewise.
2560         (cos_test_data): Likewise.
2561         (cosh_test_data): Likewise.
2562         (erf_test_data): Likewise.
2563         (exp2_test_data): Likewise.
2564         (fabs_test_data): Likewise.
2565         (floor_test_data): Likewise.
2566         (ilogb_test_data): Likewise.
2567         (j0_test_data): Likewise.
2568         (j1_test_data): Likewise.
2569         (jn_test_data): Likewise.
2570         (lgamma_test_data): Likewise.
2571         (lrint_test_data): Likewise.
2572         (llrint_test_data): Likewise.
2573         (logb_test_data): Likewise.
2574         (lround_test_data): Likewise.
2575         (llround_test_data): Likewise.
2576         (nearbyint_test_data): Likewise.
2577         (rint_test_data): Likewise.
2578         (round_test_data): Likewise.
2579         (sin_test_data): Likewise.
2580         (sincos_test_data): Likewise.
2581         (sinh_test_data): Likewise.
2582         (sqrt_test_data): Likewise.
2583         (tan_test_data): Likewise.
2584         (tanh_test_data): Likewise.
2585         (tgamma_test_data): Likewise.
2586         (trunc_test_data): Likewise.
2587         (y0_test_data): Likewise.
2588         (y1_test_data): Likewise.
2589         (yn_test_data): Likewise.
2591         * math/libm-test.inc: Update comment about NaN testing.
2592         (TEST_SNAN): New macro.
2593         (snan_value): Likewise.
2594         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
2595         (fpclassify_test_data): Add sNaN tests.
2596         (isfinite_test_data): Likewise.
2597         (isinf_test_data): Likewise.
2598         (isnan_test_data): Likewise.
2599         (isnormal_test_data): Likewise.
2600         (issignaling_test_data): Likewise.
2601         (signbit_test_data): Likewise.
2602         * math/gen-libm-test.pl (%beautify): Add snan_value.
2603         (show_exceptions): Add argument $test_snan.
2604         (parse_args): Handle snan_value as non-finite.  Update call to
2605         show_exceptions.
2606         * math/Makefile (libm-test-no-inline-cflags): Add
2607         -fsignaling-nans.
2609 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2611         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
2612         (CFLAGS-oldsendmsg.c): Add rule.
2613         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2614         Correct recvmsg symbol name.
2615         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
2616         Likewise.
2618 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2620         * sysdeps/unix/sysv/linux/Makefile
2621         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
2622         oldsendmmsg.
2623         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
2624         sendmmsg.
2625         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2626         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2627         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2628         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2630         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2631         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2633         Likewise.
2634         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2635         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
2636         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2637         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
2638         iovlen and controllen fields to adjust to POSIX specification.
2639         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2641         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
2642         and change to correct expected type.
2643         (msghdr.msg_controllen): Likewise.
2644         (cmsghdr.cmsg_len): Likewise.
2645         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
2646         expected POSIX assumption about the size.
2647         (msghdr.msg_controllen): Likewise.
2648         (msghdr.__glibc_reserved1): Likewise.
2649         (msghdr.__glibc_reserved2): Likewise.
2650         (cmsghdr.cmsg_len): Likewise.
2651         (cmsghdr.__glibc_reserved1): Likewise.
2652         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
2653         Add ptw-oldrecvmsg and ptw-oldsendmsg.
2654         (CFLAGS-sendmsg.c): Remove rule.
2655         (CFLAGS-recvmsg.c): Likewise.
2656         (CFLAGS-oldsendmsg.c): Add rule.
2657         (CFLAGS-oldrecvmsg.c): Likewise.
2658         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
2659         recvmsg and sendmsg.
2660         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
2661         Likewise.
2662         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
2663         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
2664         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2665         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
2666         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2667         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2668         Likewise.
2669         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2670         Likewise.
2671         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
2672         Likewise.
2673         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2674         Likewise.
2675         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2676         Likewise.
2677         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2678         Likewise.
2679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2680         (GLIBC_2.24): Likewise.
2681         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2682         Likewise.
2683         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2684         Likewise.
2685         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2686         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2687         Likewise.
2688         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2689         Likewise.
2690         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2691         Likewise.
2692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2693         (GLIBC_2.24): Likewise.
2694         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2695         Likewise.
2696         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2697         Likewise.
2698         * sysdeps/unix/sysv/linux/Makefile
2699         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2700         (CFLAGS-sendmsg.c): Add rule.
2701         (CFLAGS-recvmsg.c): Likewise.
2702         (CFLAGS-oldsendmsg.c): Likewise.
2703         (CFLAGS-oldrecvmsg.c): Likewise.
2704         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2705         initialization.
2706         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2707         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2708         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2709         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2710         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2711         iovlen and controllen fields to adjust to POSIX specification.
2712         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2713         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2714         added recvmsg and sendmsg.
2715         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2716         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2717         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2718         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2719         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2720         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2721         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2722         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2723         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2724         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2725         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2726         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2728         Likewise.
2729         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2731         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2732         Likewise.
2733         Likewise.
2734         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2735         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2736         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2737         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2738         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2739         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2741         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2743         Likewise.
2744         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2745         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2747         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2748         from auto-generation.
2749         (sendmsg): Likewise.
2750         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2751         (sendmsg): Likewise.
2752         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2753         (sendmsg): Likewise.
2754         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2755         (sendmsg): Likewise.
2756         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2757         (sendmsg): Likewise.
2758         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2759         (sendmsg): Likewise.
2760         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2761         Likewise.
2762         (sendmsg): Likewise.
2763         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2764         (sendmsg): Likewise.
2765         * sysdeps/unix/sysv/linux/i386/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/kernel-features.h
2775         (__ASSUME_SENDMSG_SYSCALL): Define.
2776         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2777         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2778         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2779         Remove.
2780         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2781         Likewise.
2782         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2783         Undefine.
2784         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2785         Likewise.
2786         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2787         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2788         Remove.
2789         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2790         Likewise.
2791         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2792         Undefine.
2793         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2794         Likewise.
2795         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2796         (__ASSUME_SENDMSG_SYSCALL): Undefine.
2797         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2798         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2799         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2800         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2801         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2802         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2803         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2805 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2807         * stdlib/gen-tst-strtod-round.c: Add backslash to
2808         compile command in comment.
2809         (printfp): Remove the literal suffix, and define an infinite
2810         value as INF to avoid expansion clash with INFINITY.
2811         (round_str): Remove the literal suffix.
2812         (round_for_all): Likewise, remove the now duplicate ldbl-64
2813         entry, and remove some magic constants.
2815         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2816         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
2817         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2818         (_CONCAT): New macro.
2819         (CONCAT): Likewise.
2820         (CHOOSE_ld): Likewise.
2821         (CHOOSE_f): Likewise.
2822         (CHOOSE_d): Likewise.
2823         (FTYPE_MEMBER): Likewise.
2824         (BOOL_MEMBER): Likewise.
2825         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2826         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2827         (_XNTRY): Likewise.
2828         (XNTRY): Likewise.
2829         (_ENTRY): Likewise.
2830         (ENTRY): Likewise.
2831         (test_exactness): Generate members via macro.
2832         (test_results): Likewise.
2833         (test): Update members.
2834         (TEST): Redefine using new macros.
2835         (INF): New macro.
2836         (fetestmodes): New structure.
2837         (do_test): Refactor to be type generic.
2838         (test_in_one_mode): Refactor duplicate code into
2839         (GEN_ONE_TEST): New macro.
2841         * stdlib/tst-strtod-round-data.h: Regenerate.
2843         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2844         Extend to pass additional arbitrary parameters to
2845         generators.
2847 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
2849         [BZ #15479]
2850         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2851         floating-point state after first floating-point operation on
2852         input.  Restore full floating-point state instead of just rounding
2853         mode.
2854         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2855         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2856         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2857         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2858         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2860         [BZ #15479]
2861         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2862         floating-point state after first floating-point operation on
2863         input.  Restore full floating-point state instead of just rounding
2864         mode.
2865         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2866         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2867         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2868         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2869         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2871 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2873         [BZ #19727]
2874         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2875         valid high surrogate.
2876         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2877         of an utf16 surrogate.
2878         * iconv/gconv_simple.c (BODY): Likewise.
2879         * iconvdata/bug-iconv12.c: New file.
2880         * iconvdata/Makefile (tests): Add bug-iconv12.
2882 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2884         [BZ #19726]
2885         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2886         outptrp in case of an illegal input.
2887         * iconv/tst-iconv6.c: New file.
2888         * iconv/Makefile (tests): Add tst-iconv6.
2890 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2892         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2893         an error in case of a value in range of an utf16 low surrogate.
2895 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2897         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2898         an error in case of a value in range of an utf16 low surrogate.
2900 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2902         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2903         Move to ...
2904         * sysdeps/s390/Makefile: ... here.
2905         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2906         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2907         (BRANCH_ON_COUNT): New define.
2908         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2909         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2910         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2911         run on s390-32, too.
2912         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2913         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2914         run on s390-32, too.
2915         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2916         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2917         run on s390-32, too.
2919 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2921         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2922         etf3eh or new vector loop-variant.
2924 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2926         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2927         etf3eh or new vector loop-variant.
2929 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2931         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2932         or new vector loop-variant.
2934 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2936         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2937         Rename to TR_LOOP and usage of tr instead of troo instruction.
2939 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2941         * sysdeps/s390/multiarch/gconv_simple.c: New File.
2942         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2944 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2946         * sysdeps/s390/multiarch/8bit-generic.c: New File.
2947         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2948         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2949         New override define.
2950         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2952 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2954         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2955         * sysdeps/s390/configure.ac: Add test for S390 vector register
2956         support in gcc.
2957         * sysdeps/s390/configure: Regenerated.
2959 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2961         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2962         Install file from $(objpfx)gconv-modules.
2963         ($(objpfx)gconv-modules): Concatenate architecture specific file
2964         in variable sysdeps-gconv-modules and gconv-modules in src dir.
2965         * sysdeps/s390/gconv-modules: New file.
2966         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2967         Deleted.
2968         ($(objpfx)gconv-modules-s390): Deleted.
2969         (sysdeps-gconv-modules): New variable.
2971 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2973         [BZ #15479]
2974         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2975         of immediate operand to rounding instruction.
2976         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2977         Likewise.
2978         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2979         Likewise.
2980         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2981         Likewise.
2983 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2985         * math/libm-test.inc (MIN_EXP): Directly define as
2986         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2988 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2990         * math/libm-test.inc (MANT_DIG): Directly define as
2991         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2993 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2995         * stdlib/gen-tst-strtod-round.c (main):
2996           Change usage to more closely match the generated
2997           output.  Add usage and compilation instructions.
2998           (string_to_fp): Add and use FILE* parameter as
2999           output target.
3000           (print_fp): Likewise.
3001           (round_str): Likewise.
3002           (round_for_all): Likewise.
3003         * stdlib/tst-strtod-round.c (tests): Move into
3004         * stdlib/tst-strtod-round-data.h: New file.
3006 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3008         [BZ #15479]
3009         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
3010         (__round): Do not force "inexact" exception.
3011         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
3012         variable.
3013         (__round): Do not force "inexact" exception.
3014         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
3015         (__roundf): Do not force "inexact" exception.
3016         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
3017         (__roundl): Do not force "inexact" exception.
3018         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
3019         (__roundl): Do not force "inexact" exception.
3020         * math/libm-test.inc (round_test_data): Do not allow spurious
3021         "inexact" exceptions.
3023         [BZ #15479]
3024         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
3025         exception in comment.
3026         (huge): Remove variable.
3027         (__floor): Do not force "inexact" exception.
3028         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
3029         "inexact" exception in comment.
3030         (huge): Remove variable.
3031         (__floor): Do not force "inexact" exception.
3032         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
3033         exception in comment.
3034         (huge): Remove variable.
3035         (__floorf): Do not force "inexact" exception.
3036         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
3037         exception in comment.
3038         (huge): Remove variable.
3039         (__floorl): Do not force "inexact" exception.
3041         [BZ #15479]
3042         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
3043         exception in comment.
3044         (huge): Remove variable.
3045         (__ceil): Do not force "inexact" exception.
3046         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
3047         "inexact" exception in comment.
3048         (huge): Remove variable.
3049         (__ceil): Do not force "inexact" exception.
3050         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
3051         (__ceilf): Do not force "inexact" exception.
3052         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
3053         exception in comment.
3054         (huge): Remove variable.
3055         (__ceill): Do not force "inexact" exception.
3057 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3059         * config.h.in (BIND_NOW): New.
3060         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
3061         * configure: Regenerated.
3062         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
3063         indirect branch via the GOT slot.
3065 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3067         [BZ #19765]
3068         * sysdeps/s390/mempcpy.S: New File.
3069         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3070         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
3071         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3072         Add mempcpy variants.
3073         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
3074         (memcpy): Adjust to be usable from mempcpy entry point.
3075         (__memcpy_mvcle): Likewise.
3076         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3077         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
3078         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
3079         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
3080         (__memcpy_z10): Likewise.
3081         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3083 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3085         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
3086         Remove __GI_ symbol.
3087         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
3088         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
3089         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
3090         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3091         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
3092         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
3094 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3096         * sysdeps/s390/s390-64/memcpy.S (memcpy):
3097         Use cghi instead of chi to compare 64bit value.
3099 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3101         * sysdeps/s390/s390-32/memcpy.S (memcpy):
3102         Jump to 1MB check before executing mvc-loop.
3104 2016-05-24  Florian Weimer  <fweimer@redhat.com>
3106         [BZ #6527]
3107         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
3108         unconditionally.
3109         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
3111 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3113         * stdlib/tst-strtod6.c (do_test): Use new type generic
3114         invocation of the test function.
3115         (test): Refactor into ...
3116         (TEST_STRTOD): New macro base function.
3118 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3120         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
3121         (TEST_STRTOD): New macro.
3122         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
3124 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3126         * stdlib/tst-strtod6.c (do_test): Use new type generic
3127         invocation of the test function.
3128         (test): Refactor into ...
3129         (TEST_STRTOD): New macro base function.
3131 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3133         CVE-2016-4429
3134         [BZ #20112]
3135         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
3136         payload.
3138 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3140         [BZ #20111]
3141         * bits/sockaddr.h (_SS_SIZE): Define.
3142         * bits/socket.h (_SS_SIZE): Remove.
3143         (_SS_PADSIZE): Adjust to account for all padding.
3144         (struct sockaddr_storage): Update comment.  Avoid implicit
3145         padding.
3146         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
3147         (_SS_PADSIZE): Adjust to account for all padding.
3148         (struct sockaddr_storage): Update comment.  Avoid implicit
3149         padding.
3150         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
3151         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
3152         (_SS_PADSIZE): Adjust to account for all padding.
3153         (struct sockaddr_storage): Update comment.  Avoid implicit
3154         padding.
3155         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
3156         __SS_SIZE is 126 in this version.
3157         * inet/tst-sockaddr.c: New file.
3158         * inet/Makefile (tests): Add tst-sockaddr.c
3159         (tst-sockaddr.c): Compile with non-strict aliasing.
3161 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
3163         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
3164         [XPG3 || XPG4].
3165         (NL_ARGMAX): Also expect for [XPG3].
3166         (NL_LANGMAX): Likewise.
3167         (NL_MSGMAX): Likewise.
3168         (NL_NMAX): Likewise.
3169         (NL_SETMAX): Likewise.
3170         (NL_TEXTMAX): Likewise.
3171         (NZERO): Likewise.
3172         (TMP_MAX): Likewise.
3173         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
3174         variable.
3176         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
3177         (PF_MAX): Update value.
3178         (AF_KCM): New macro.
3179         (SOL_NETBEUI): Likewise.
3180         (SOL_LLC): Likewise.
3181         (SOL_DCCP): Likewise.
3182         (SOL_NETLINK): Likewise.
3183         (SOL_TIPC): Likewise.
3184         (SOL_RXRPC): Likewise.
3185         (SOL_PPPOL2TP): Likewise.
3186         (SOL_BLUETOOTH): Likewise.
3187         (SOL_PNPIPE): Likewise.
3188         (SOL_RDS): Likewise.
3189         (SOL_IUCV): Likewise.
3190         (SOL_CAIF): Likewise.
3191         (SOL_ALG): Likewise.
3192         (SOL_NFC): Likewise.
3193         (SOL_KCM): Likewise.
3194         (MSG_BATCH): New enum value and macro.
3196 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3198         [BZ #18185]
3199         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
3200         sharing L2 cache to 2 for Knights Landing.
3202 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
3204         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
3205         (FTW_DP): Do not expect for [XPG3 || XPG4].
3206         (FTW_SL): Do not expect for [XPG3].
3207         (FTW_SLN): Likewise.
3208         (FTW_PHYS): Likewise.
3209         (FTW_MOUNT): Likewise.
3210         (FTW_DEPTH): Likewise.
3211         (FTW_CHDIR): Likewise.
3212         (nftw): Likewise.
3213         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
3214         variable.
3216 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3218         * manual/errno.texi: Fix various typos & grammar errors.
3220 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3222         * manual/intro.texi: Fix duplicated typo.
3224 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3226         [BZ #13304]
3227         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
3228         <float.h>, <math_private.h> and <stdlib.h>.
3229         (add_split): New function.
3230         (mul_split): Likewise.
3231         (ext_val): New typedef.
3232         (store_ext_val): New function.
3233         (mul_ext_val): New function.
3234         (compare): New function.
3235         (add_split_ext): New function.
3236         (__fmal): After checking for Inf, NaN and zero, compute result as
3237         an exact sum of scaled double values in round-to-nearest before
3238         adding those up and adjusting for other rounding modes.
3239         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
3240         tests of fma.
3241         * math/auto-libm-test-out: Regenerated.
3243 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3245         [BZ #20119]
3246         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
3247         processor level type mask for CPUID with EAX == 11.
3249 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3251         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
3252         logical threads if the HTT bit is 0.
3253         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
3254         (index_cpu_HTT): Likewise.
3255         (reg_HTT): Likewise.
3257 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3259         [BZ #20115]
3260         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
3261         Remove alignments on jump targets.
3263 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3265         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
3266         (getpwent): Likewise.
3267         (setpwent): Likewise.
3268         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
3269         variable.
3271         * conform/data/search.h-data (insque): Do not expect for [XPG3].
3272         (remque): Likewise.
3273         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
3274         variable.
3276 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3278         * math/libm-test.inc: Update comment not to refer to signs of NaNs
3279         not being tested.
3281 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3283         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3284         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
3285         call.
3286         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3287         (__condvar_cleanup1): Likewise.
3289 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3291         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
3292         New
3293         (__pthread_unwind): Renamed to ...
3294         (PTHREAD_UNWIND): This.
3295         (__pthread_enable_asynccancel): Replace
3296         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
3298 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3300         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
3301         (CLONE_NEWCGROUP): New macro.
3303         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
3304         (Q_GETNEXTQUOTA): New macro.
3306 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3308         [BZ #19907]
3309         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
3310         buffer updated by the previous run.
3311         * string/test-memcpy.c (do_one_test): Likewise.
3312         * benchtests/bench-memmove.c (do_one_test): Add a comment.
3313         * string/test-memmove.c (do_one_test): Likewise.
3315 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
3317         [BZ #20094]
3318         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
3319         not [__USE_XOPEN].
3320         (unlockpt): Likewise.
3321         (ptsname): Likewise.
3322         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
3323         variable.
3325         [BZ #20076]
3326         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
3327         instead of [__USE_UNIX98].
3328         (S_ISSOCK): Likewise.
3329         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
3330         variable.
3332         [BZ #20074]
3333         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
3334         [__USE_POSIX].
3335         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
3336         variable.
3338         [BZ #20051]
3339         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
3340         (ttyslot): Do not declare.
3341         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
3342         (ttyslot): New prototype.
3343         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
3344         variable.
3345         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3347 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3349         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
3351 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3353         Fix race condition in tst-mallocfork2, use fewer resources.
3354         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
3355         to current process group.
3356         (signal_sender): Yield in the non-sleeping case.
3358 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
3360         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
3361         (ecvt): Likewise.
3362         (fcvt): Likewise.
3363         (gcvt): Likewise.
3364         (getsubopt): Likewise.
3365         (grantpt): Likewise.
3366         (initstate): Likewise.
3367         (l64a): Likewise.
3368         (mktemp): Likewise.
3369         (mkstemp): Likewise.
3370         (ptsname): Likewise.
3371         (random): Likewise.
3372         (realpath): Likewise.
3373         (setstate): Likewise.
3374         (srandom): Likewise.
3375         (ttyslot): Likewise.
3376         (unlockpt): Likewise.
3377         (valloc): Likewise.
3379         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
3380         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
3381         variable.
3383 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3385         [BZ #20072]
3386         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
3387         init_cpu_features only if SHARED is defined.
3388         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3390 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3392         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
3393         non-inclusive caches on Intel processors.
3395 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3397         * malloc/malloc.c (dumped_main_arena_start)
3398         (dumped_main_arena_end): New variables.
3399         (DUMPED_MAIN_ARENA_CHUNK): New macro.
3400         (do_check_chunk): Skip dumped fake mmapped chunks.
3401         (munmap_chunk): Likewise.
3402         (__libc_free): Do not adjust statistics for fake mmapped chunks.
3403         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
3404         mmapped chunks.
3405         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
3406         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
3407         and dumped_main_arena_end to cover the dumped heap.
3409 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
3411         * conform/data/time.h-data (getdate_err): Do not expect for
3412         [XPG3].
3413         (getdate): Likewise.
3414         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
3415         variable.
3417         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
3418         (F_ULOCK): Likewise.
3419         (F_TEST): Likewise.
3420         (F_TLOCK): Likewise.
3421         (useconds_t): Likewise.
3422         (intptr_t): Do not expect for [XPG3] or [XPG4].
3423         (brk): Do not expect for [XPG3]
3424         (fchown): Likewise.
3425         (fchdir): Likewise.
3426         (ftruncate): Likewise.
3427         (getdtablesize): Likewise.
3428         (gethostid): Likewise.
3429         (getpagesize): Likewise.
3430         (getpgid): Likewise.
3431         (getsid): Likewise.
3432         (getwd): Likewise.
3433         (lchown): Likewise.
3434         (lockf): Likewise.
3435         (readlink): Likewise.
3436         (sbrk): Likewise.
3437         (setpgrp): Likewise.
3438         (setregid): Likewise.
3439         (setreuid): Likewise.
3440         (symlink): Likewise.
3441         (sync): Likewise.
3442         (truncate): Likewise.
3443         (ualarm): Likewise.
3444         (usleep): Likewise.
3445         (vfork): Likewise.
3446         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
3447         variable.
3449         [BZ #20054]
3450         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
3451         not [__USE_UNIX98].
3452         * conform/data/unistd.h-data (gethostname): Do not expect for
3453         [XPG3].
3455         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
3456         [!POSIX] (S_IFBLK): Likewise.
3457         [!POSIX] (S_IFCHR): Likewise.
3458         [!POSIX] (S_IFIFO): Likewise.
3459         [!POSIX] (S_IFREG): Likewise.
3460         [!POSIX] (S_IFDIR): Likewise.
3461         [!POSIX] (S_IFLNK): Likewise.
3462         [!POSIX] (S_IFSOCK): Likewise.
3463         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
3464         variable.
3465         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3467 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
3469         * sysdeps/aarch64/memset.S (__memset):
3470         Rewrite of optimized memset.
3472 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3474         [BZ #19703]
3475         Partially async-signal-safe fork for single-threaded processes.
3476         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
3477         variable.  Do not acquire and reset/release malloc and libio locks
3478         in single-threaded processes.
3479         * malloc/tst-mallocfork2.c: New file.
3480         * malloc/Makefile (tests): Add it.
3482 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3484         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
3485         argument.  Use scratch buffer instead of extend_alloca.
3486         (gethosts): Use scratch buffer instead of extend_alloca.
3487         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
3488         extend_alloca.
3489         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
3491 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
3493         [BZ #20055]
3494         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
3495         instead of [__USE_UNIX98].
3496         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
3497         [__USE_UNIX98].
3498         * conform/data/termios.h-data (tcgetsid): Do not expect for
3499         [XPG3].
3500         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
3501         variable.
3502         (test-xfail-XPG4/termios.h/conform): Likewise.
3504 2016-05-11  Florian Weimer  <fweimer@redhat.com>
3506         Do not use mcheck in localedef.
3507         * locale/programs/localedef.c (turn_on_mcheck)
3508         (__malloc_initialize_hook): Remove.
3510 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3512         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
3513         * sysdeps/s390/s390-64/Makefile: Likewise.
3515 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3517         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
3518         Remove ifunc-defines.sym.
3519         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
3520         Likewise.
3521         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
3522         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3523         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
3524         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
3525         rtld-global-offsets.sym.
3526         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
3527         * sysdeps/x86/cpu-features-offsets.sym: This.
3528         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
3529         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
3531 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
3533         [BZ #20073]
3534         * io/sys/stat.h (fchmod): Declare for
3535         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
3536         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
3537         variable.
3539         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
3540         [XPG3] (S_IFSOCK): Likewise.
3541         [XPG3] (S_ISVTX): Likewise.
3542         [XPG3] (S_ISLNK): Likewise.
3543         [XPG3] (S_ISSOCK): Likewise.
3544         [XPG3] (fchmod): Likewise.
3545         [XPG3] (lstat): Likewise.
3546         [XPG3] (mknod): Likewise.
3548         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
3549         [XPG3].  Expect type long and XFAIL for [XPG4].
3550         (st_blocks): Likewise.
3552         [BZ #20044]
3553         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
3554         (pthread_atfork): New prototype.
3555         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
3556         variable.
3558         [BZ #20043]
3559         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
3560         prototype.
3562 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3564         [BZ #20017]
3565         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
3566         gmtime.
3568 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3570         [BZ #19994]
3571         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
3572         flag in _res.options.
3574 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
3576         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
3577         [XPG3 || XPG4].
3578         (blksize_t): Likewise.
3579         (clockid_t): Likewise.
3580         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
3581         variable.
3582         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3584 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3586         * sysdeps/unix/sysv/linux/s390/init-first.c:
3587         Add VDSO_SYMBOL(getcpu).
3588         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
3589         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
3590         Add VDSO_SYMBOL(getcpu).
3591         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
3592         New define HAVE_GETCPU_VSYSCALL.
3593         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3595 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
3597         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
3598         instead of <sysdeps/x86_64/cacheinfo.c>.
3599         * sysdeps/x86_64/cacheinfo.c: Moved to ...
3600         * sysdeps/x86/cacheinfo.c: Here.
3602 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3604         * malloc/malloc-internal.h: Adjust header file guard.
3606 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3608         [BZ #19787]
3609         * inet/getnameinfo.c (check_sprintf_result): New function.
3610         (CHECKED_SNPRINTF): New macro.
3611         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
3612         to the host buffer.
3613         (gni_host_local): Use checked_copy to copy the host name.
3614         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
3615         (gni_serv_local): Use checked_copy to copy the service name.
3616         (getnameinfo): Remove unnecessary truncation of result buffers.
3618 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3620         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
3621         in case of inet_ntop failure.
3623 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3625         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
3626         avoid long lines.
3627         (gni_host_inet_numeric): Likewise.  Reduce scope of local
3628         variables.
3629         (gni_host_inet, gni_host_local): Add comment.
3630         (gni_host): Add comment.  Use temporary to avoid long lines.
3632 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3634         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
3635         registers specifiers where general purpose registers specifiers should
3636         have been used.
3638 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3640         [BZ #19779]
3641         CVE-2016-1234
3642         Avoid copying names of directory entries.
3643         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
3644         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
3645         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
3646         (struct readdir_result): New type.
3647         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
3648         (GL_READDIR): New macros.
3649         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
3650         (convert_dirent, convert_dirent64): New functions.
3651         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
3652         convert_dirent64.  Adjust references to the readdir result.
3653         * sysdeps/unix/sysv/linux/i386/glob64.c:
3654         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
3655         * posix/bug-glob2.c (LONG_NAME): Define.
3656         (filesystem): Add LONG_NAME.
3657         (my_DIR): Increase the size of room_for_dirent.
3659 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
3661         [BZ #20041]
3662         * misc/sys/select.h (__need_timespec): Only define if
3663         [__USE_XOPEN2K].
3664         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
3665         variable.
3666         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3667         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3668         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3670 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3671             Segher Boessenkool  <segher@gcc.gnu.org>
3673         [BZ #20004]
3674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3675         (__novec_swapcontext): Add missing load.
3677 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
3679         [BZ #20023]
3680         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3681         <time.h>.
3682         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3683         variable.
3684         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3686 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3689         flags CLONE_VM compare.
3691 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3693         [BZ #20031]
3694         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3695         completely empty.
3697 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3699         [BZ #19573]
3700         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3701         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3702         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3703         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3704         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3705         (hesiod_free_list): Mark as hidden.
3706         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3707         res_set, res_get.
3708         * hesiod/hesiod.c: Remove unnecessary forward declarations.
3709         (init, __hesiod_res_get, __hesiod_res_set): Remove.
3710         (hesiod_init): Remove obsolete res_ninit call.
3711         (hesiod_end): Do not free resolver state.  Do not invoke callback.
3712         (hesiod_bind): Do not call init.
3713         (get_txt_records): Use res_mkquery, res_send instead of
3714         res_nmkquery, res_nsend.
3715         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3716         instead of _nss_hesiod_init.
3717         (_nss_hesiod_initgroups_dyn): Likewise.
3718         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3719         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3720         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3722 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3724         * hesiod/hesiod_p.h (DEF_RHS): Remove.
3725         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3727 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3729         * hesiod/hesiod.h: Remove RCS keyword.
3730         * hesiod/hesiod_p.h: Likewise.
3732         * hesiod/hesiod.c: Likewise.
3734 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
3736         [BZ #12450]
3737         * locale/iso-639.def: Add Samogitian/sgs.
3739 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
3741         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3743         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3745 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
3746             Carlos O'Donell  <carlos@redhat.com>
3748         [BZ #19072]
3749         * grp/Makefile (headers): Add grp-merge.h
3750         (routines): Add grp-merge.
3751         * grp/getgrgid_r.c: Include grp-merge.h.
3752         (DEEPCOPY_FN): Define.
3753         (MERGE_FN): Define.
3754         * grp/getgrname_r.c: Include grp-merge.h.
3755         (DEEPCOPY_FN): Define.
3756         (MERGE_FN): Define.
3757         * grp/grp-merge.c: New file.
3758         * grp/grp-merge.h: New file.
3759         * include/grp-merge.h: New file.
3760         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3761         __copy_grp@GLIBC_PRIVATE.
3762         * manual/nss.texi (Actions in the NSS configuration): Describe
3763         return, continue, and merge.
3764         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3765         (DEEPCOPY_FN): Define.
3766         (MERGE_FN): Define.
3767         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3768         (DEEPCOPY_FN): Define.
3769         (MERGE_FN): Define.
3770         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3771         [!MERGE_FN]: Define __merge_einval.
3772         (CHECK_MERGE): Define.
3773         (REENTRANT_NAME): Process merge if do_merge is true.
3774         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3775         (__nss_getent_r): Likewise.
3776         * nss/nsswitch.c (nss_parse_service_list): Likewise.
3777         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3779 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3781         [BZ #20012]
3782         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3783         length to calculate the buffer to read.
3784         (fmemopen_write): Set the buffer position based on bytes written.
3785         (fmemopen_seek): Return EINVAL for invalid whence modes.
3787         [BZ #19957]
3788         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3789         tst-getpid2.
3790         (test): Add tst-clone2.
3791         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3792         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3793         pid/tid fields for CLONE_VM.
3794         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3795         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3796         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3797         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3798         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3799         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3800         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3801         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3803         Likewise.
3804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3805         Likewise.
3806         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3807         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3808         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3809         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3810         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3811         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3812         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3813         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3815 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3817         [BZ #19642]
3818         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3819         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3820         (gni_serv_local, gni_serv): New functions extracted from
3821         getnameinfo.
3822         (getnameinfo): Call gni_host and gni_serv to perform the
3823         processing.  Always free scratch buffer.
3825 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3827         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3828         remaining bytes in the dest string, with zeros.
3830 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3832         [BZ #20010]
3833         CVE-2016-3706
3834         * sysdeps/posix/getaddrinfo.c
3835         (convert_hostent_to_gaih_addrtuple): New function.
3836         (gethosts): Call convert_hostent_to_gaih_addrtuple.
3837         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3838         AF_INET data.
3840 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3842         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3843         callback function gl_readdir.
3844         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3845         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3846         (glob_in_dir): Remove len.  Use strdup instead of malloc and
3847         memcpy to copy the name.
3848         * manual/pattern.texi (Calling Glob): Document requirements for
3849         implementations of the gl_readdir callback function.
3850         * manual/examples/mkdirent.c: New example.
3851         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3852         per the manual guidance.
3853         * posix/tst-gnuglob.c (my_readdir): Likewise.
3855 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
3857         [BZ #20014]
3858         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3859         not [__USE_POSIX].
3860         (getchar_unlocked): Likewise.
3861         (putc_unlocked): Likewise.
3862         (putchar_unlocked): Likewise.
3863         (flockfile): Likewise.
3864         (ftrylockfile): Likewise.
3865         (funlockfile): Likewise.
3866         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3867         variable.
3868         (test-xfail-XPG4/stdio.h/conform): Likewise.
3870         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3871         Expect constant.
3872         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3873         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3874         variable.
3875         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3876         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3878         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3879         [__USE_LARGEFILE64] (off64_t): Likewise.
3880         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3881         variable.
3883 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3885         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3887 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3889         * resolv/inet_addr.c: Reindent preprocessor conditionals.
3890         * resolv/res_init.c: Likewise.
3891         * resolv/res_mkquery.c: Likewise.
3893 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3895         * resolv/res_init.c (isascii): Do not define.  Use definition in
3896         <ctype.h>.
3897         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3898         (LOG_AUTH): Remove.
3899         (SPRINTF): Remove, adjust caller.
3900         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3902 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3904         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3905         SUNSECURITY conditional.
3906         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3908 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3910         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3911         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3912         Remove BSD-related preprocessor conditionals.
3913         * conf/portability.h: Remove.
3915 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3917         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3918         * resolv/res_data.c: Likewise.
3920 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3922         * resolv/res_comp.c: Remove code conditional on __ultrix__.
3923         * resolv/res_data.c: Remove code conditional on ultrix.
3925 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3927         * resolv/res_init.c (RFC1535): Do not define.  Remove
3928         RFC1535 preprocessor conditionals.
3929         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
3930         because there configuration options which make the resolver
3931         behavior different.
3933 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3935         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
3936         RESOLVSORT preprocessor conditionals.
3937         * resolv/nss_dns/dns-host.c: Likewise.
3938         * resolv/res_init.c: Likewise.
3940 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3942         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
3943         is never defined.
3945 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3947         * inet/inet_lnaof.c: Remove SCSS keyword.
3948         * inet/inet_mkadr.c: Likewise.
3949         * inet/inet_net.c: Likewise.
3950         * inet/inet_netof.c: Likewise.
3951         * inet/rcmd.c: Likewise.
3952         * inet/rexec.c: Likewise.
3953         * inet/ruserpass.c: Likewise.
3955 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3957         * resolv/inet_addr.c: Remove _LIBC conditionals.
3958         * resolv/res_data.c: Likewise.
3959         * resolv/res_init.c: Likewise.
3960         * resolv/res_mkquery.c: Likewise.
3961         * resolv/res_libc.c: Update comment.
3962         * resolv/README: Update.
3964 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3966         * resolv/gethnamaddr.c: Remove SCSS keyword.
3967         * resolv/herror.c: Likewise.
3968         * resolv/inet_addr.c: Likewise.
3969         * resolv/inet_net_ntop.c: Likewise.
3970         * resolv/inet_net_pton.c: Likewise.
3971         * resolv/inet_neta.c: Likewise.
3972         * resolv/inet_ntop.c: Likewise.
3973         * resolv/inet_pton.c: Likewise.
3974         * resolv/ns_date.c: Remove RCS keyword.
3975         * resolv/ns_name.c: Likewise.
3976         * resolv/ns_netint.c: Likewise.
3977         * resolv/ns_parse.c: Likewise.
3978         * resolv/ns_print.c: Likewise.
3979         * resolv/ns_samedomain.c: Likewise.
3980         * resolv/ns_ttl.c: Likewise.
3981         * resolv/nsap_addr.c: Likewise.
3982         * resolv/res_comp.c: Remove SCSS and RCS keyword.
3983         * resolv/res_data.c: Remove RCS keyword.
3984         * resolv/res_debug.c: Remove SCSS and RCS keyword.
3985         * resolv/res_init.c: Likewise.
3986         * resolv/res_mkquery.c: Likewise.
3987         * resolv/res_query.c: Likewise.
3988         * resolv/res_send.c: Likewise.
3990 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3992         * conform/data/stdio.h-data (fdopen): Expect also for
3993         [XPG3 || XPG4].
3995         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3996         (fseeko): Likewise.
3997         (ftello): Likewise.
3998         (ftrylockfile): Likewise.
3999         (funlockfile): Likewise.
4000         (getc_unlocked): Likewise.
4001         (getchar_unlocked): Likewise.
4002         (putc_unlocked): Likewise.
4003         (putchar_unlocked): Likewise.
4005 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4007         [BZ #19868]
4008         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
4009         DNS packet syntax checks (which were not needed before).  Skip
4010         over non-PTR records.
4012 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4014         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
4015         definition.  Include <stddef.h> instead.
4017 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4019         [BZ #19831]
4020         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
4021         function.
4022         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
4023         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
4025 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4027         [BZ #19862]
4028         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
4029         (getanswer_r): Do not call syslog.
4030         (gaih_getanswer_slice): Likewise.
4031         * resolv/gethnamaddr.c (AskedForGot): Remove.
4032         (getanswer): Do not call syslog.
4033         (gethostbyaddr): Likewise.
4035 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4037         * conform/data/signal.h-data (union sigval): Expect also if
4038         [XOPEN2K].
4039         (struct sigevent): Likewise.
4040         (SIGEV_NONE): Likewise.
4041         (SIGEV_SIGNAL): Likewise.
4042         (SIGEV_THREAD): Likewise.
4043         (SIGRTMIN): Likewise.
4044         (SIGRTMAX): Likewise.
4045         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
4046         variable.
4047         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4049 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4051         [BZ #19830]
4052         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
4053         (gaih_getanswer_slice): Likewise.
4054         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
4055         Also check for availability of RR metadata.
4057 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4059         [BZ #19825]
4060         * resolv/res_send.c (send_vc): Remove early *resplen2
4061         initialization.  Set *resplen2 on socket error.  Call
4062         close_and_return_error for other errors.
4064 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4066         * sysdeps/unix/sysv/linux/netiucv/iucv.h
4067         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
4068         (SCM_IUCV_TRGCLS): New define.
4070 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4072         [BZ #20005]
4073         * libio/fmemopen.c (fmemopen_write): Update internal position after
4074         write.
4075         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
4076         * stdio-common/tst-fmemopen4.c: New file..
4078 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
4080         [BZ #19996]
4081         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
4082         not [__USE_XOPEN2K].
4083         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
4084         variable.
4086         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
4087         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
4088         variable.
4090         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
4091         [__USE_XOPEN2K8].
4092         [__USE_LARGEFILE64] (off64_t): Likewise.
4093         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
4094         variable.
4096 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
4098         [BZ #19989]
4099         * libio/stdio.h (cuserid): Do not declare if
4100         [__USE_XOPEN2K && !__USE_GNU].
4101         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
4102         variable.
4104 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4106         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4107         (sysdep_routines): Add P8 and PPC64 strcspn targets.
4108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4109         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4110         ifunc'ed strcspn.
4111         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4112         [EALIGN]: Removed.
4113         [END]: Likewise
4114         [STRSPN]: Define instead of the above to control symbol name.
4115         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
4116         New file.
4117         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
4118         Likewise.
4119         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
4120         Likewise.
4121         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
4122         Likewise.
4123         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4124         [INITIAL_MASK]: New macro.
4125         [STRCSPN]: Likewise.
4126         [UPDATE_MASK]: Likewise.
4127         [USE_AS_STRCSPN]: Lisewise.
4129 2016-04-25  Florian Weimer  <fweimer@redhat.com>
4131         [BZ #19931]
4132         * stdio-common/tst-vfprintf-width-prec.c: New file.
4133         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
4134         (tests-special): Add tst-vfprintf-width-prec-mem.out.
4135         (generated): Add mtrace-related files.
4136         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
4137         (tst-%-mem.out): New pattern rule, replaces
4138         tst-printf-bz18872-mem.out.
4139         * stdio-common/vfprintf.c (vfprintf): When handling a precision
4140         specifier, deallocate any previously allocated work buffer.
4142 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
4144         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
4145         Add nop before __startcontext, add explaining comments.
4147 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
4149         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
4150         any more. Notably since IPV6_PKTINFO has been reintroduced with a
4151         completely different API.
4153         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
4154         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
4155         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
4156         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
4157         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
4158         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
4159         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
4160         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
4161         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
4162         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
4164 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
4166         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
4168 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
4170         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
4171         when it is the default of 0.
4173 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4175         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
4176         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4177         (sysdep_routines): Add new strcasestr targets.
4178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4179         (__libc_ifunc_impl_list): Likewise.
4180         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
4181         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
4182         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
4183         * sysdeps/powerpc/powerpc64/power8/Makefile:
4184         New file to add strcasestr-ppc64 to sysdep_routines.
4185         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
4186         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
4188 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
4190         * benchtests/Makefile (wcsmbs-benchset): Include only for
4191         native builds and runs.
4192         (LOCALES): Likewise.
4193         (bench-build): Build timing-type here instead of the bench
4194         target.  Generate locale only for native builds.
4195         * benchtests/README: Add note for cross-building.
4197         * benchtests/Makefile (bench-clean): Clean up extra-objs.
4199         * benchtests/README: Update README to include instructions on
4200         using bench-build.
4202         * Makefile.in (bench-build): New target.
4203         * Rules (PHONY): Add bench-build target.
4204         * benchtests/Makefile (bench): Depend on bench-build.
4205         (bench-build): New target.
4207 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4209         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
4210         profil_reply_port.
4211         (profile_waiter): Do not initialize profil_reply_port.
4212         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
4213         frequency instead of tick length in us.
4215 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
4217         [BZ #18712]
4218         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
4219         (__old_mempcpy_small): Likewise.
4220         (__old_strcpy_small): Likewise.
4221         (__old_stpcpy_small): Likewise.
4222         (__old_strpbrk_c2): Fix compat symbol name.
4223         (__old_strpbrk_c3): Likewise.
4224         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
4225         (__mempcpy_small): Remove.
4226         (__strcpy_small): Remove.
4227         (__stpcpy_small): Remove.
4229 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
4231         [BZ #19400]
4232         * locale/iso-639.def: Add the Talossan/tzl language.
4234 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4236         [BZ #16983]
4237         * locale/programs/ld-address.c (address_finish): Update postal_fmt
4238         comment.  Add "ln" to strchr check on postal_fmt.
4240 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4242         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
4243         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
4244         tel_dom_fmt.
4246 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4248         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4249         (sysdep_routines): Added __strlen_power8.
4250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
4251         __strlen_power8 entry.
4252         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
4253         Implementation for POWER8.
4254         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
4255         for __strlen_power8.
4256         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
4257         Implementation for POWER8.
4259 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
4261         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
4263 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
4265         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
4266         Goldmont and Airmont processors.
4268 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
4270         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
4271         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
4272         (__STRING2_SMALL_GET32): Remove.
4273         (memset): Remove.
4274         (__memset_1): Remove.
4275         (__memset_gc): Remove.
4276         (__mempcpy): Remove.
4277         (mempcpy): Remove.
4278         (__mempcpy_args): Remove.
4279         (strchr): Remove.
4280         (strcpy): Remove.
4281         (strcpy_args): Remove.
4282         (__stpcpy_args): Remove.
4283         (__strcmp_cc): Remove.
4284         (__strcmp_gc): Remove.
4285         (strstr): Remove.
4287 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
4289         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
4290         * nis/nis_call.c (nis_server_cache_add): Likewise.
4292 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4294         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
4296 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4298         * malloc/arena.c (__malloc_fork_lock_parent)
4299         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
4300         internal_function attribute.
4302 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
4304         * stdio-common/printf_fp.c (__printf_fp_l):
4305         Rename ___printf_fp_l to __printf_fp_l and
4306         remove strong alias. Use libc_hidden_def instead
4307         of ldbl_hidden_def macro.
4309 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4311         Remove malloc hooks from fork handler.  They are no longer needed
4312         because malloc runs right before fork, and no malloc calls from
4313         other fork handlers are not possible anymore.
4314         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
4315         declarations.
4316         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
4317         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
4318         (atfork_recursive_cntr): Remove.
4319         (__malloc_fork_lock_parent): Do not override malloc hooks and
4320         thread_arena.
4321         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
4322         thread_arena.
4323         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
4324         thread_arena instead of save_arena.
4326 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4328         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
4329         (thread_atfork, thread_atfork_static): Remove.
4330         * sysdeps/mach/hurd/malloc-machine.h:
4331         (thread_atfork, thread_atfork_static): Remove.
4333 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4335         [BZ #19431]
4336         Run the malloc fork handler as late as possible to avoid deadlocks.
4337         * malloc/malloc-internal.h: New file.
4338         * malloc/malloc.c: Include it.
4339         * malloc/arena.c (ATFORK_MEM): Remove.
4340         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
4341         Update comment.
4342         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
4343         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
4344         Remove outdated comment.
4345         (ptmalloc_init): Do not call thread_atfork.  Remove
4346         thread_atfork_static.
4347         * malloc/tst-malloc-fork-deadlock.c: New file.
4348         * Makefile (tests): Add tst-malloc-fork-deadlock.
4349         (tst-malloc-fork-deadlock): Link against libpthread.
4350         * manual/memory.texi (Aligned Memory Blocks): Update safety
4351         annotation comments.
4352         * sysdeps/nptl/fork.c (__libc_fork): Call
4353         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4354         __malloc_fork_unlock_child.
4355         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4357 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4359         [BZ #19613]
4360         Remove union wait.
4361         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
4362         (w_stopsig, w_stopval): Remove.
4363         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
4364         stat_loc argument.
4365         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
4366         (__WAIT_STATUS_DEFN): Remove.
4367         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4368         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
4369         (wait, wait3, wait4): Use int * for the stat_loc argument.
4370         * posix/wait.c (__wait): Likewise.
4371         * posix/wait3.c (__wait3): Likewise.
4372         * posix/wait4.c (__wait4): Likewise.
4373         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
4374         (__WAIT_STATUS_DEFN): Remove.
4375         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4376         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
4377         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
4378         argument.
4379         * sysdeps/posix/wait.c (__libc_wait): Likewise.
4380         * sysdeps/posix/wait3.c (__wait3): Likewise.
4381         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
4382         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4383         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
4384         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
4385         stat_loc argument.
4386         * manual/process.texi (BSD Wait Functions): Remove union wait.
4388 2016-04-13  Andreas Schwab  <schwab@suse.de>
4390         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
4391         (test-extras): Add tst-tlsalign-vars.
4392         * math/Makefile: Wrap long lines.
4393         (libm-vec-test-wrappers): Define.
4394         (test-extras): Add $(libm-vec-test-wrappers).
4395         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
4396         * nss/Makefile (extra-test-objs): Add nss_test1.os.
4397         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
4398         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
4399         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
4400         (extra-test-objs): Add corresponding objects.
4402 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
4404         [BZ #19928]
4405         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
4406         New.
4407         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
4408         times of shared cache size.
4409         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
4410         (VMOVNT): New.
4411         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
4412         (VMOVNT): Likewise.
4413         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4414         (VMOVNT): Likewise.
4415         (VMOVU): Changed to movups for smaller code sizes.
4416         (VMOVA): Changed to movaps for smaller code sizes.
4417         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
4418         comments.
4419         (PREFETCH): New.
4420         (PREFETCH_SIZE): Likewise.
4421         (PREFETCHED_LOAD_SIZE): Likewise.
4422         (PREFETCH_ONE_SET): Likewise.
4423         Rewrite to use forward and backward loops, which move 4 vector
4424         registers at a time, to support overlapping addresses and use
4425         non temporal store if size is above the threshold and there is
4426         no overlap between destination and source.
4428 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
4430         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
4431         Include dl-vdso.
4432         * sysdeps/unix/sysv/linux/mips/Versions: Add
4433         __vdso_clock_gettime.
4434         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
4435         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
4436         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
4437         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
4438         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
4439         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4440         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4441         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4442         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4444 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4446         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
4447         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4448         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4449         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4450         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4451         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4454         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
4455         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
4456         syscalls generation.
4457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4458         [__NR_pwrite64] (__NR_write): Remove define.
4459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4460         [__NR_pwrite64] (__NR_write): Remove define.
4461         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
4462         Remove define.
4463         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
4464         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
4465         Remove define.
4466         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
4467         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
4468         Linux implementation as base.
4469         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4471         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
4472         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4473         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4474         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
4476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4477         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
4478         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
4479         syscall generation.
4480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4481         [__NR_pread64] (__NR_pread): Remove define.
4482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4483         [__NR_pread64] (__NR_pread): Likewise.
4484         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
4485         define.
4486         (__libc_pread): Use SYSCALL_LL macro on offset argument.
4487         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
4488         Remove define.
4489         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
4490         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
4491         Linux implementation as base.
4492         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4493         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4494         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4496         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
4497         definition.
4498         (__ALIGNMENT_COUNT): Likewise.
4499         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
4500         (__ALIGNMENT_COUNT): Likewise.
4501         (SYSCALL_LL): New define.
4502         (SYSCALL_LL64): Likewise.
4503         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
4504         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
4505         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
4506         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
4508         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4509         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
4510         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4511         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4512         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4513         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4515 2016-04-11  Florian Weimer  <fweimer@redhat.com>
4517         [BZ #19865]
4518         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
4519         original buffer before retry.
4521 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4523         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
4524         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
4525         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
4526         GLRO(dl_auxv) list.
4527         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
4528         including <ldsodefs.h>.
4529         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
4531 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
4533         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
4534         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
4535         $(CPPFLAGS).
4537 2016-04-09  Khem Raj  <raj.khem@gmail.com>
4539         [BZ #17950]
4540         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
4541         Add -mfpmath=387.
4543 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
4545         * sysdeps/i386/configure.ac: Change == to = when calling test.
4546         * sysdeps/x86_64/configure.ac: Likewise.
4547         * sysdeps/i386/configure: Regenerated.
4548         * sysdeps/x86_64/configure: Likewise.
4550 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
4552         [BZ #16137]
4553         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
4554         * benchtests/bench-strcoll.c (input_files): Likewise.
4555         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4556         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
4557         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
4559 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
4561         [BZ #19929]
4562         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
4563         [__USE_XOPEN2K8 && !__USE_GNU].
4564         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
4565         variable.
4567         [BZ #19925]
4568         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
4569         define if [!__USE_MISC && __USE_XOPEN2K].
4570         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
4571         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
4572         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
4573         Likewise.
4574         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
4575         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
4576         variable.
4577         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4579 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4581         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4582         (sysdep_routines): Add new strspn targets.
4583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4584         (__libc_ifunc_impl_list): Add strspn.
4585         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4586         New file.
4587         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
4588         Likewise.
4589         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
4590         Likewise.
4591         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4592         Likewise.
4594 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4596         * misc/hsearch_r.c: Include <limits.h>.
4598 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4600         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
4602 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4604         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4605         (MEMCPY_SYMBOL): New.
4606         (MEMPCPY_SYMBOL): Likewise.
4607         (MEMMOVE_CHK_SYMBOL): Likewise.
4608         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
4609         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
4610         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
4611         Provide alias for memcpy in libc.a and ld.so.
4613 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4615         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4616         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
4617         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
4618         Disabled fro now.
4619         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
4620         symbols.  Properly check USE_MULTIARCH on __memset symbols.
4622 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4624         * benchtests/Makefile (string-benchset): Add memcpy-large,
4625         memmove-large and memset-large.
4626         * benchtests/bench-memcpy-large.c: New file.
4627         * benchtests/bench-memmove-large.c: Likewise.
4628         * benchtests/bench-memmove-large.c: Likewise.
4629         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
4631 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4633         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
4634         32-bit displacement to avoid long nop between instructions.
4636 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4638         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
4639         a comment on VMOVU and VMOVA.
4641 2016-04-04  Florian Weimer  <fweimer@redhat.com>
4643         [BZ #19633]
4644         Use specified locale for number formatting in strfmon_l.
4645         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
4646         (__nl_lookup_word): New inline functions.
4647         * include/printf.h (__print_fp_l): Declare.
4648         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
4649         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
4650         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
4651         (___printf_fp): New function.
4652         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
4653         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
4654         * stdlib/tst-strfmon_l.c (do_test): New test.
4655         * stdlib/Makefile (tests): Add kt.
4656         (LOCALES): Build additional locales.
4657         (tst-strfmon_l.out): Require locales.
4659 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4661         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
4662         if not in libc.
4663         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4664         Likewise.
4665         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
4666         Likewise.
4667         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4668         Likewise.
4670 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4672         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4673         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4674         with unaligned_erms.
4675         (__memmove_erms): Skip if source == destination.
4676         (__memmove_unaligned_erms): Don't check source == destination
4677         first.
4679 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4681         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4682         bit_arch_Fast_Copy_Backward for Intel Core proessors.
4684 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4686         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4687         * string/strspn.c (strspn): Likewise.
4689 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4691         * benchtests/bench-memset.c (do_test): Support 64-byte
4692         alignment.
4693         (test_main): Test 64-byte alignment.
4695 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4697         * benchtests/bench-memmove.c (test_main): Test 64-byte
4698         alignment.
4700 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4702         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4704 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4706         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4707         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4708         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4710         * string/strpbrk.c (strpbrk): Rewrite function.
4711         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4712         (__strpbrk_c2): Likewise.
4713         (__strpbrk_c3): Likewise.
4714         * string/string-inlines.c
4715         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4716         Likewise.
4717         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4718         Likewise.
4720         * string/strspn.c (strcspn): Rewrite function.
4721         * string/bits/string2.h (strspn): Use __builtin_strcspn.
4722         (__strspn_c1): Remove inline function.
4723         (__strspn_c2): Likewise.
4724         (__strspn_c3): Likewise.
4725         * string/string-inlines.c
4726         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4727         compatibility symbol.
4728         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4729         Likewise.
4730         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4731         Likewise.
4732         * string/string-inlines.c: Include generic version.
4734 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
4735             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4737         * string/Version (libc): Add GLIBC_2.24.
4738         * string/strcspn.c (strcspn): Rewrite function.
4739         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4740         (__strcspn_c1): Remove inline function.
4741         (__strcspn_c2): Likewise.
4742         (__strcspn_c3): Likewise.
4743         * string/string-inline.c
4744         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4745         compatibility symbol.
4746         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4747         Likewise.
4748         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4749         Likewise.
4750         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4752 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4754         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4755         Use ahi instead of aghi to adjust stack pointer.
4757 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4759         [BZ #19853]
4760         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4761         TEST to take significant digits as second parameter.
4762         [TEST]: Redefine in terms of TEST_N taking 30
4763         significant digits.
4764         (do_test): Add test case to demonstrate precision
4765         failure in the ldbl-128ibm printf.
4766         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4767         (__mpn_extract_long_double): Carry 7 extra intermediate
4768         bits of precision to aide computing difference when
4769         signs differ.
4771 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4773         [BZ #19881]
4774         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4775         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4776         memset-avx512-unaligned-erms.
4777         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4778         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4779         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4780         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4781         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4782         __memset_sse2_unaligned_erms, __memset_erms,
4783         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4784         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4785         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4786         file.
4787         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4788         Likewise.
4789         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4790         Likewise.
4791         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4792         Likewise.
4794 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4796         [BZ #19776]
4797         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4798         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4799         memmove-avx512-unaligned-erms.
4800         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4801         (__libc_ifunc_impl_list): Test
4802         __memmove_chk_avx512_unaligned_2,
4803         __memmove_chk_avx512_unaligned_erms,
4804         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4805         __memmove_chk_sse2_unaligned_2,
4806         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4807         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4808         __memmove_avx512_unaligned_erms, __memmove_erms,
4809         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4810         __memcpy_chk_avx512_unaligned_2,
4811         __memcpy_chk_avx512_unaligned_erms,
4812         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4813         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4814         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4815         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4816         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4817         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4818         __mempcpy_chk_avx512_unaligned_erms,
4819         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4820         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4821         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4822         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4823         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4824         __mempcpy_erms.
4825         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4826         file.
4827         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4828         Likwise.
4829         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4830         Likwise.
4831         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4832         Likwise.
4834 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4836         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4837         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4838         (La_s390_64_regs): Likewise.
4839         (La_s390_32_retval): Append vector register lrv_v24.
4840         (La_s390_64_retval): Likeweise.
4841         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4842         Handle extended structs La_s390_32_regs and La_s390_32_retval.
4843         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4844         Handle extended structs La_s390_64_regs and La_s390_64_retval.
4846 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4848         [BZ #19916]
4849         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4850         to create a non-vector/vector version for _dl_runtime_resolve and
4851         _dl_runtime_profile. Move implementation to ...
4852         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4853         (_dl_runtime_resolve) Save and restore fpr/vrs.
4854         (_dl_runtime_profile) Save and restore vrs and fix some issues
4855         if _dl_call_pltexit is called.
4856         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4857         Choose the correct resolver function if running on a machine with vx.
4858         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4859         to create a non-vector/vector version for _dl_runtime_resolve and
4860         _dl_runtime_profile. Move implementation to ...
4861         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4862         (_dl_runtime_resolve) Save and restore fpr/vrs.
4863         (_dl_runtime_profile) Save and restore vrs and fix some issues
4864         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4865         Choose the correct resolver function if running on a machine with vx.
4867 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4869         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4871 2016-03-31  Florian Weimer  <fweimer@redhat.com>
4873         [BZ #19509]
4874         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4875         skip_map != NULL.
4876         * elf/tst-dlsym-error.c: New file.
4877         * elf/Makefile (tests): Add tst-dlsym-error.
4878         (tst-dlsym-error): Link against libdl.
4880 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
4882         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4883         (__ASSUME_FUTIMESAT): Remove macro.
4884         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4886 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4888         [BZ #19879]
4889         CVE-2016-3075
4890         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4891         copy name.
4893 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4895         [BZ #19837]
4896         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4897         error if parse_line fails.
4899 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4901         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4902         (index_cpu_ERMS): Likewise.
4903         (reg_ERMS): Likewise.
4905 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
4907         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4908         PER_LINUX_FDPIC): Add.
4910 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4912         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4913         memcpy-avx512-no-vzeroupper.
4914         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4915         to ...
4916         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4917         (MEMCPY): Don't define.
4918         (MEMCPY_CHK): Likewise.
4919         (MEMPCPY): Likewise.
4920         (MEMPCPY_CHK): Likewise.
4921         (MEMPCPY_CHK): Renamed to ...
4922         (__mempcpy_chk_avx512_no_vzeroupper): This.
4923         (MEMPCPY_CHK): Renamed to ...
4924         (__mempcpy_chk_avx512_no_vzeroupper): This.
4925         (MEMCPY_CHK): Renamed to ...
4926         (__memmove_chk_avx512_no_vzeroupper): This.
4927         (MEMCPY): Renamed to ...
4928         (__memmove_avx512_no_vzeroupper): This.
4929         (__memcpy_avx512_no_vzeroupper): New alias.
4930         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4932 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4934         [BZ #18858]
4935         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4936         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4937         and mempcpy-avx512-no-vzeroupper.
4938         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4939         New.
4940         (MEMPCPY): Likewise.
4941         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4942         (MEMPCPY_CHK): New.
4943         (MEMPCPY): Likewise.
4944         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4945         (MEMPCPY): Likewise.
4946         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4947         (MEMPCPY): Likewise.
4948         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4949         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4950         Likewise.
4951         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4952         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4954 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4955              Amit Pawar  <Amit.Pawar@amd.com>
4957         [BZ #19583]
4958         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4959         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4960         processors.  Set Fast_Copy_Backward for AMD Excavator
4961         processors.
4962         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4963         New.
4964         (index_arch_Fast_Unaligned_Copy): Likewise.
4965         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4966         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4968 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4970         [BZ #19791]
4971         * resolv/res_send.c (close_and_return_error): New function.
4972         (send_dg): Initialize *resplen2 after reopen failure.  Call
4973         close_and_return_error for error returns.  On error paths without
4974         __res_iclose, initialze *resplen2 explicitly.  Update comment for
4975         successful return.
4977 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4979         [BZ# 19860]
4980         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4981         zero if the compiler does not provide the AVX512F bit.
4983 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
4985         [BZ #19848]
4986         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4987         from 8 to 4.
4988         (__ieee754_powl): Compare integer exponent against 4 not 8.
4989         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4990         from 8 to 4.
4991         (__ieee754_powl): Compare integer exponent against 4 not 8.
4992         * math/auto-libm-test-in: Add more tests of pow.
4993         * math/auto-libm-test-out: Regenerated.
4994         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4997 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4999         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
5000         Make code unconditional.
5001         [!__NR_utimensat]: Remove conditional code.
5002         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
5003         Make code unconditional.
5004         [!__NR_utimensat]: Remove conditional code.
5005         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
5006         Make code unconditional.
5007         [!__NR_utimensat]: Remove conditional code.
5009 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5011         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
5012         Make code unconditional.
5014 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
5016         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
5017         call-clobbered %eax on retry path.
5018         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5020 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5022         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
5023         Don't set %rcx twice before "rep movsb".
5025 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5027         [BZ #19583]
5028         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
5029         inline.  Check family before setting family, model and
5030         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
5031         bits here.
5032         (init_cpu_features): Replace HAS_CPU_FEATURE and
5033         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
5034         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
5035         for Intel processors with usable AVX2.  Call get_common_indeces
5036         for other processors with family == NULL.
5037         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
5038         (CPU_FEATURES_ARCH_P): Likewise.
5039         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
5040         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
5042 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5044         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
5045         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
5046         $(shared-thread-library) instead of hardcoding the path to libpthread.
5048 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
5050         * sysdeps/unix/sysv/linux/kernel-features.h
5051         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
5052         * sysdeps/unix/sysv/linux/getdents.c
5053         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
5054         [!have_no_getdents64_defined]: Likewise.
5055         (__GETDENTS): Remove __have_no_getdents64 conditional.
5057 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
5059         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
5060         Remove macro.
5061         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
5062         <kernel-features.h>.
5063         (signalfd) [__NR_signalfd4]: Make code unconditional.
5064         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
5066 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5068         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
5069         style.
5071 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5073         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
5074         (__pthread_enable_asynccancel): Use JUMPTARGET to call
5075         __pthread_unwind.
5076         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5077         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
5078         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5079         (__condvar_cleanup1): Likewise.
5081 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
5083         [BZ #19822]
5084         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
5085         move it to the final $@ location.
5087 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5089         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
5090         access where posix_spawn success and pid argument is null.
5091         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
5092         success case.
5094 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
5096         * sysdeps/mach/hurd/i386/c++-types.data: New file.
5098         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
5100         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
5101         and __fcntl.
5102         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
5103         __fcntl only.
5104         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
5105         adding attribute_hidden to __open and __fcntl.
5107         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
5108         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
5109         depend on libc-modules.h,
5110         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
5112 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
5114         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
5115         Remove macro.
5116         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
5117         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
5118         entry.
5120         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
5121         Remove macro.
5122         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
5123         include <kernel-features.h>.
5124         [!__ASSUME_FALLOCATE]: Remove conditional code.
5125         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
5127 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5129         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
5130         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
5131         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
5132         (_ZGVdN4v_cos_avx2): Likewise.
5133         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
5134         (_ZGVdN4v_cos): Likewise.
5135         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
5136         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
5137         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
5138         (_ZGVdN4v_exp_avx2): Likewise.
5139         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
5140         (_ZGVdN4v_exp): Likewise.
5141         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
5142         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
5143         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
5144         (_ZGVdN4v_log_avx2): Likewise.
5145         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
5146         (_ZGVdN4v_log): Likewise.
5147         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
5148         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
5149         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
5150         (_ZGVdN4vv_pow_avx2): Likewise.
5151         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
5152         (_ZGVdN4vv_pow): Likewise.
5153         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
5154         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
5155         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
5156         (_ZGVdN4v_sin_avx2): Likewise.
5157         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
5158         (_ZGVdN4v_sin): Likewise.
5159         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
5160         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
5161         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
5162         (_ZGVdN4vvv_sincos_avx2): Likewise.
5163         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
5164         (_ZGVdN4vvv_sincos): Likewise.
5165         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
5166         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
5167         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
5168         (_ZGVbN4v_cosf_sse4): Likewise.
5169         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
5170         (_ZGVdN8v_cosf_avx2): Likewise.
5171         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
5172         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
5173         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
5174         (_ZGVbN4v_expf_sse4): Likewise.
5175         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
5176         (_ZGVdN8v_expf_avx2): Likewise.
5177         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
5178         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
5179         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
5180         (_ZGVbN4v_logf_sse4): Likewise.
5181         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
5182         (_ZGVdN8v_logf_avx2): Likewise.
5183         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
5184         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
5185         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
5186         (_ZGVbN4vv_powf_sse4): Likewise.
5187         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
5188         (_ZGVdN8vv_powf_avx2): Likewise.
5189         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5190         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
5191         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5192         (_ZGVbN4vvv_sincosf_sse4): Likewise.
5193         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5194         (_ZGVdN8vvv_sincosf_avx2): Likewise.
5195         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
5196         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
5197         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
5198         (_ZGVbN4v_sinf_sse4): Likewise.
5199         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
5200         (_ZGVdN8v_sinf_avx2): Likewise.
5201         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5202         Use JUMPTARGET to call callee.
5203         (WRAPPER_IMPL_SSE2_ff): Likewise.
5204         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5205         (WRAPPER_IMPL_AVX): Likewise.
5206         (WRAPPER_IMPL_AVX_ff): Likewise.
5207         (WRAPPER_IMPL_AVX_fFF): Likewise.
5208         (WRAPPER_IMPL_AVX512): Likewise.
5209         (WRAPPER_IMPL_AVX512_ff): Likewise.
5210         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5211         Likewise.
5212         (WRAPPER_IMPL_SSE2_ff): Likewise.
5213         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5214         (WRAPPER_IMPL_AVX): Likewise.
5215         (WRAPPER_IMPL_AVX_ff): Likewise.
5216         (WRAPPER_IMPL_AVX_fFF): Likewise.
5217         (WRAPPER_IMPL_AVX512): Likewise.
5218         (WRAPPER_IMPL_AVX512_ff): Likewise.
5219         (WRAPPER_IMPL_AVX512_fFF): Likewise.
5221 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5223         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
5224         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
5225         qualifier.
5226         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
5227         internal_function qualifiers.
5229 2016-03-15  Carlos O'Donell <carlos@redhat.com>
5231         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
5232         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
5233         * math/atest-exp.c (exp_mpn): Mark chk unused.
5234         * math/atest-exp2.c (exp_mpn): Likwise.
5235         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
5236         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
5238 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
5240         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
5241         Remove macro.
5242         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
5243         <kernel-features.h>.
5244         [__NR_ppoll]: Make code unconditional.
5245         [!__ASSUME_PPOLL]: Remove conditional code.
5247         * sysdeps/unix/sysv/linux/kernel-features.h
5248         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
5249         (__ASSUME_ACCEPT4): Likewise.
5250         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5251         Define.
5252         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
5253         Likewise.
5254         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5255         Likewise.
5256         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
5257         Likewise.
5258         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
5259         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
5260         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5261         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5262         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5263         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5264         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5265         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5266         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5267         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5268         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5269         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5270         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5271         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5272         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5273         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5274         Likewise.
5275         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5276         Likewise.
5277         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5278         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5279         0x040300].
5280         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5281         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5282         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5283         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5284         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5285         0x030300].
5286         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
5287         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5288         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5289         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5290         0x040300].
5291         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5292         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5293         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5294         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5295         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5296         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5297         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5298         0x030300].
5299         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5300         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5301         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5302         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5303         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5304         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5305         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5306         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5307         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5308         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5309         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5310         0x040300].
5311         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5312         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5313         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5314         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5315         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5316         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5317         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5318         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5319         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5320         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5321         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5322         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5323         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5324         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5325         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5326         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5327         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5328         Likewise.
5329         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5330         Likewise.
5332 2016-03-15  Andreas Schwab  <schwab@suse.de>
5334         [BZ #19257]
5335         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
5336         statp->_u._ext.nscount as loop count.
5338 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5340         * math/test-signgam-finite-c99.c: Also #undef
5341         __LIBC_INTERNAL_MATH_INLINES.
5342         * math/test-signgam-main.c: Likewise.
5344 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
5346         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
5347         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
5348         (MADV_FREE): Likewise.
5349         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
5350         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
5351         EPOLLEXCLUSIVE.
5353 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
5355         * timezone/README: Remove mention of checktab.awk. Mention wiki
5356         SharedSourceFiles.
5358 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
5360         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
5361         WUNTRACED.
5363 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5365         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
5366         order to match the type of p when calling atomic_exchange_acq().
5368 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5370         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
5371         cfi_offset calls.
5372         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
5373         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
5374         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
5375         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
5376         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
5378 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
5380         * timezone/checktab.awk: Removed.
5382 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
5384         * manual/math.texi (Errors in Math Functions): Document relaxed
5385         accuracy goals for IBM long double.
5386         * math/libm-test.inc (test_exceptions): Always allow spurious
5387         "underflow" and "inexact" exceptions for IBM long double.
5389 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
5391         [BZ #19762]
5392         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5393         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
5394         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5395         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
5396         (bit_arch_*): This for feature array.
5397         (bit_*): Renamed to ...
5398         (bit_cpu_*): This for cpu array.
5399         (index_*): Renamed to ...
5400         (index_arch_*): This for feature array.
5401         (index_*): Renamed to ...
5402         (index_cpu_*): This for cpu array.
5403         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
5404         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
5405         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
5406         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
5407         bit_##name with index_cpu_##name and bit_cpu_##name.
5408         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
5409         bit_##name with index_arch_##name and bit_arch_##name.
5411 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
5413         [BZ #19792]
5414         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5415         Terminate FDE before return label.
5417 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
5419         [BZ #19790]
5420         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
5421         (rintl): Define as macro.
5422         [USE_AS_NEARBYINTL] (__rintl): Likewise.
5423         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
5424         of fesetround.  Ensure results are evaluated before end of scope.
5425         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
5426         USE_AS_NEARBYINTL and include s_rintl.c.
5427         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
5428         Disable exception traps in new environment.
5429         (libc_feholdsetround_ppc_ctx): Likewise.
5431 2016-03-08  Roland McGrath  <roland@hack.frob.com>
5433         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
5434         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
5435         (tst_audit10_aux) [__AVX512F__]: ... here.
5437 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
5439         * include/sys/auxv.h: New file.
5441 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5443         [BZ #19759]
5444         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
5446 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5448         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
5449         operand modifier.
5450         (feclearexcept): Likewise.
5452 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5454         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
5455         to reflect the entire 32-bit HWCAP.
5456         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
5457         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
5459 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5461         [BZ #19783]
5462         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
5463         $(test-via-rtld-prefix).
5464         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
5466 2016-03-08  Florian Weimer  <fweimer@redhat.com>
5468         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
5469         union wait.  Report any non-zero exit status as error.
5471 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5473         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
5474         configured with --enable-hardcoded-path-in-tests.
5476 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
5478         [BZ #19677]
5479         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5480         (__ieee754_remainderl): Put zero low parts in canonical form.
5481         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
5482         file.  Based on
5483         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
5484         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
5485         with wrapper round test-fmodrem-ldbl-128ibm.c.
5486         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
5487         file.
5488         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
5489         Likewise.
5490         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5491         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
5493 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5495         [BZ #19610]
5496         * elf/ldconfig.c (opt_link): Update comment.
5497         (options): Update help string for option -X.
5498         (search_dir): Unlink stale symbolic link only if updating symbolic
5499         links.
5500         * elf/tst-ldconfig-X.sh: New file.
5501         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
5502         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
5504 2016-03-07  Andreas Schwab  <schwab@suse.de>
5506         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
5507         needed arguments.
5509 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
5511         [BZ #15333]
5512         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
5513         to lstat64.
5515 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5517         * libio/filedoalloc.c (isatty): Remove.
5518         (local_isatty): Add comment.  Call __isatty directly.
5519         (_IO_file_doallocate): Update comment.  Assume _LIBC.
5520         * libio/wfiledoalloc.c (isatty): Remove.
5521         (_IO_wfile_doallocate): Update comment.
5523 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5525         [BZ #19269]
5526         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
5527         tst-audit4-aux.o.
5528         (tst-audit10): Depend on tst-audit10-aux.o.
5529         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
5530         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
5531         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
5532         instead of inline AVX code.
5533         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
5534         instead of inline AVX512 code.
5535         * sysdeps/x86_64/tst-audit4-aux.c: New file
5536         * sysdeps/x86_64/tst-audit10-aux.c: New file
5538         [BZ #19648]
5539         * test-skeleton.c (main): Do not set RLIMIT_DATA.
5541 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5543         [BZ #14750]
5544         [BZ #10354]
5545         [BZ #18433]
5546         * include/sched.h (__clone): Add hidden prototype.
5547         (__clone2): Likewise.
5548         * include/unistd.h (__dup): Likewise.
5549         * posix/Makefile (tests): Add tst-spawn2.
5550         * posix/tst-spawn2.c: New file.
5551         * sysdeps/posix/dup.c (__dup): Add hidden definition.
5552         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
5553         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5554         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5555         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5556         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5557         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
5558         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5559         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
5560         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5561         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5563         Likewise.
5564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5565         Likewise.
5566         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5567         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5568         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5569         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5570         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5571         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5572         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5573         * sysdeps/unix/sysv/linux/nptl-signals.h
5574         (____nptl_is_internal_signal): New function.
5575         * sysdeps/unix/sysv/linux/spawni.c: New file.
5577         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
5578         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
5579         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
5580         * posix/tst-execvp2.c (do_test): Likewise.
5581         * posix/tst-execvp3.c (do_test): Likewise.
5582         * posix/tst-execvp4.c (do_test): Likewise.
5583         * posix/tst-execvpe1.c: New file.
5584         * posix/tst-execvpe2.c: Likewise.
5585         * posix/tst-execvpe3.c: Likewise.
5586         * posix/tst-execvpe4.c: Likewise.
5587         * posix/tst-execvpe5.c: Likewise.
5588         * posix/tst-execvpe6.c: Likewise.
5590         [BZ #19534]
5591         * posix/execl.c (execl): Remove dynamic memory allocation.
5592         * posix/execle.c (execle): Likewise.
5593         * posix/execlp.c (execlp): Likewise.
5595 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5597         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
5598         Replace .text with .text.avx512.
5599         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5600         Likewise.
5602 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
5604         * sysdeps/generic/libnsl.abilist: New file.
5605         * sysdeps/generic/libutil.abilist: New file.
5607 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5609         [BZ #19762]
5610         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
5611         HAS_ARCH_FEATURE with Fast_Rep_String.
5612         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
5613         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
5614         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
5615         Likewise.
5616         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
5617         Likewise.
5618         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
5619         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
5620         Likewise.
5621         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
5622         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
5623         Likewise.
5625 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5627         [BZ #19745]
5628         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
5629         with *%rax in call.
5631 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5633         [BZ #19745]
5634         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
5635         with *__libc_start_main@GOTPCREL(%rip) in call.
5637 2016-03-04  Roland McGrath  <roland@hack.frob.com>
5639         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
5640         inside conditional for nonempty $(CXX).
5642         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
5643         nonempty.
5645         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
5646         to test for empty $(CXX) rather than $(CXX) of "no".
5648 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5650         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
5652 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
5653             H.J. Lu  <hongjiu.lu@intel.com>
5655         [BZ #18880]
5656         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
5657         instead of Slow_BSF, and also check for Fast_Copy_Backward to
5658         enable __memcpy_ssse3_back.
5660 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5662         [BZ #19758]
5663         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5664         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
5666 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5668         [BZ #19490]
5669         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
5670         (__fentry__): Likewise.
5672 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5674         * gmon/Makefile (noprof): Add $(sysdep_noprof).
5675         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5677 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5679         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5680         __mcount_internal directly.
5681         (C_LABEL(__fentry__)): Likewise.
5682         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5683         directly.
5685 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5687         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5688         (__start_context): Call __setcontext directly.
5690 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
5692         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5693         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5694         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5695         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5696         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5697         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5698         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5699         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5700         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5701         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5702         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5703         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5704         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5705         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5706         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5707         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5708         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5709         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5710         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5711         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5712         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5713         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5714         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5715         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5716         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5717         Remove conditional code.
5718         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5719         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5720         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5721         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5722         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5723         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5724         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5725         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5726         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5727         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5728         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5729         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5731 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
5733         * NEWS (2.23): Fix typo in bug 19048 text.
5735 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
5737         [BZ #14259]
5738         * Makeconfig: Rename msgcatdir to localedir.
5739         Rename inst_msgcatdir to inst_localedir.
5740         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5741         * config.make.in: Add localedir.
5742         * elf/Makefile ($(objpfx)sotruss): Use localedir.
5743         (ldd-rewrite): Likewise.
5744         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5745         (install-others): Use inst_localedir.
5746         (CPPFLAGS): Use localedir.
5747         * locale/Makefile (locale-CPPFLAGS): Likewise.
5748         * po/Makefile (mo-installed): Use inst_localedir.
5750         [BZ #19575]
5751         * localedata/charmaps/GB18030: Update comments regarding PAU to
5752         non-PUA mappings.
5754 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
5756         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5757         test for header.
5758         * sysdeps/unix/sysv/linux/configure: Regenerated.
5759         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5760         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5761         Remove conditional code.
5762         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5764         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5765         Define to 3.2.0.
5766         (arch_minimum_kernel): Likewise.
5767         * sysdeps/unix/sysv/linux/configure: Regenerated.
5768         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5769         Define to 2.6.32.
5770         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5771         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5772         (arch_minimum_kernel): Define to 2.6.32.
5773         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5774         * README: Document Linux 3.2 requirement.
5775         * manual/install.texi (Linux): Document Linux 3.2 headers
5776         requirement.
5777         * INSTALL: Regenerated.
5779 2016-02-24  Andreas Schwab  <schwab@suse.de>
5781         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5782         if !NO_LONG_DOUBLE.
5784 2016-02-22  Roland McGrath  <roland@hack.frob.com>
5786         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5787         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5789 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
5791         [BZ #19512]
5792         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5794 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5796         * posix/tst-dir.c: Include libc-internal.h.
5798 2016-02-20  Florian Weimer  <fweimer@redhat.com>
5800         [BZ #19056]
5801         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5802         * manual/filesys.texi (Reading/Closing Directory): Mention
5803         deprecaion.
5804         * posix/tst-dir.c (main): Disable deprecation warning in test.
5806 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
5808         [BZ #19679]
5809         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5810         Renamed to ...
5811         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
5812         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5813         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
5814         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5815         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5816         * sysdeps/x86_64/dl-trampoline.h
5817         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5818         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5820 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5822         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5824 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5826         * elf/elf.h (R_386_GOT32X): New.
5827         (R_386_NUM): Update.
5828         (R_X86_64_GOTPCRELX: New.
5829         (R_X86_64_REX_GOTPCRELX): New.
5830         (R_X86_64_NUM): Update.
5832 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
5834         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5836 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
5838         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5839         assign attr->stackaddr to it, and adjust it down when
5840         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
5841         [_STACK_GROWS_UP]: Delete assert.
5842         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5843         Implement stack grows up logic.
5844         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5845         stack grows up logic.
5847 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5849         * NEWS: Update with 2.24 template.
5851 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5853         [BZ #19678]
5854         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5855         Ensure +0.0 is returned when taking the next value below the least
5856         positive value.
5858 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5860         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5861         available.  Do not define NO_THREADS.
5862         * malloc/malloc.c: Do not check NO_THREADS.
5863         * malloc/arena.c: Likewise.
5865 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5867         * malloc/malloc.c (__libc_mallinfo): Update comment.
5868         (struct malloc_par): Remove max_total_mem member, it was always 0.
5869         (int_mallinfo): Store 0 into usmblks (no functional change).
5870         * malloc/hooks.c (struct malloc_state): Document that
5871         max_total_mem is always 0.
5872         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5873         always 0.
5874         * manual/memory.texi (Statistics of Malloc): Likewise.
5876 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5878         * malloc/malloc.c (sysmalloc): Do not update arena_max.
5879         * malloc/arena.c (arena_max): Remove.
5880         (heap_trim, _int_new_arena): Do not update arena_max.
5882 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5884         * resolv/res_init.c (res_ninit): Update comment.
5886 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5888         [BZ #19505]
5889         * posix/spawn_int.h: Add headers and include guard.
5890         (__spawn_valid_fd): New function.
5891         * posix/spawn_faction_addopen.c
5892         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5893         * posix/spawn_faction_addclose.c
5894         (posix_spawn_file_actions_addclose): Likewise.
5895         * posix/spawn_faction_adddup2.c
5896         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
5897         second file descriptor.
5898         * posix/spawn_valid_fd.c: New file.
5899         * posix/tst-posix_spawn-fd.c: New file.
5900         * posix/Makefile (routines): Add spawn_valid_fd.
5901         (tests): Add tst-posix_spawn-fd.
5903 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5905         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5906         (do_test): Limit the number of arenas, so that we can use fewer
5907         outer threads.  Limit timeout to 3 seconds, in preparation for a
5908         larger TIMEOUT value.
5910 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5912         [BZ #19674]
5913         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5914         sign in overflowing and underflowing results when overflow or
5915         underflow is detected early.  Include sign in result before rather
5916         than after scaling.
5918         [BZ #19603]
5919         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5920         (__ieee754_remainderl): Adjust sign of integer version of low part
5921         when taking absolute value of high part.
5922         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5923         * math/libm-test.inc (remainder_test_data): Add another test.
5924         (remquo_test_data): Likewise.
5926 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
5928         [BZ #19602]
5929         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5930         equal high parts and both low parts zero specially.
5931         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5932         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5933         Add test-fmodl-ldbl-128ibm.
5935         [BZ #19595]
5936         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5937         common logic for all cases of shifting subnormal results.  Do not
5938         insert sign bit in shifted mantissa.  Always pass -1023 as biased
5939         exponent to ldbl_insert_mantissa in subnormal case.
5941         [BZ #19594]
5942         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5943         on high and low parts then adjust result and use
5944         ldbl_canonicalize_int if needed.
5946         [BZ #19593]
5947         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5948         on high part and __floor or __ceil on low part then use
5949         ldbl_canonicalize_int if needed.
5951         [BZ #19592]
5952         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5953         high and low parts then use ldbl_canonicalize_int if needed.
5955         [BZ #17899]
5956         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5957         New function.
5958         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5959         on high and low parts then use ldbl_canonicalize_int if needed.
5961 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5963         * configure: Regenerated.
5965         * po/libc.pot: Regenerated.
5967         * po/be.po: Updated translation.
5968         * po/bg.po: Likewise.
5969         * po/ca.po: Likewise.
5970         * po/cs.po: Likewise.
5971         * po/da.po: Likewise.
5972         * po/el.po: Likewise.
5973         * po/eo.po: Likewise.
5974         * po/es.po: Likewise.
5975         * po/fi.po: Likewise.
5976         * po/fr.po: Likewise.
5977         * po/gl.po: Likewise.
5978         * po/hr.po: Likewise.
5979         * po/hu.po: Likewise.
5980         * po/ia.po: Likewise.
5981         * po/id.po: Likewise.
5982         * po/it.po: Likewise.
5983         * po/ja.po: Likewise.
5984         * po/lt.po: Likewise.
5985         * po/nb.po: Likewise.
5986         * po/nl.po: Likewise.
5987         * po/pt_BR.po: Likewise.
5988         * po/rw.po: Likewise.
5989         * po/sk.po: Likewise.
5990         * po/sl.po: Likewise.
5991         * po/sv.po: Likewise.
5992         * po/tr.po: Likewise.
5993         * po/zh_CN.po: Likewise.
5994         * po/zh_TW.po: Likewise.
5996         * version.h (RELEAES): Set to "development".
5997         (VERSION): Set to 2.23.90.
5999         * version.h (RELEASE): Set to "stable".
6000         (VERSION): Set to 2.23.
6001         * include/feature.h (__GLIBC_MINOR__): Set to 23.
6003         * NEWS: Updated fixed bugs.
6005 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
6006             Wilco Dijkstra  <wdijkstr@arm.com>
6008         [BZ #19462]
6009         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
6010         (_STRING_INLINE_unaligned): This.
6011         * include/string.h: Include <string_private.h>.
6012         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
6013         _STRING_INLINE_unaligned.
6014         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
6015         (_STRING_INLINE_unaligned): New.
6016         * sysdeps/aarch64/string_private.h: New file.
6017         * sysdeps/generic/string_private.h: Likewise.
6018         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
6019         * sysdeps/s390/string_private.h: Likewise.
6020         * sysdeps/x86/string_private.h: Likewise.
6021         * sysdeps/m68k/m680x0/m68020/bits/string.h
6022         (_STRING_ARCH_unaligned): Renamed to ...
6023         (_STRING_INLINE_unaligned): This.
6024         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
6025         to ...
6026         (_STRING_INLINE_unaligned): This.
6027         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
6028         to ...
6029         (_STRING_INLINE_unaligned): This.
6030         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
6031         to ...
6032         (_STRING_INLINE_unaligned): This.
6034 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
6035             H.J. Lu  <hongjiu.lu@intel.com>
6037         [BZ #19590]
6038         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
6039         relocation.
6041 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
6043         [BZ #18665]
6044         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
6045         *herrno_p.
6046         (gaih_getanswer): Document functional behviour. Return tryagain
6047         if any result is tryagain.
6048         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
6049         when freed.
6050         * resolv/res_send.c: Add copyright text.
6051         (__libc_res_nsend): Document that MAXPACKET is expected.
6052         (send_vc): Document. Remove buffer reuse.
6053         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
6054         size of the buffer. Add Dprint for truncated UDP buffer.
6056 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
6058         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
6059         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
6060         * INSTALL: Regenerate.
6062 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
6063             Jonathan Wakely  <jwakely@redhat.com>
6064             Carlos O'Donell  <carlos@redhat.com>
6066         [BZ 19439]
6067         * math/Makefile (tests): Add test-math-isinff.
6068         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
6069         * math/bits/mathcalls.h [__USE_MISC]: Use
6070         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
6071         functions not in C++11 and which don't conflict e.g. isinff,
6072         isinfl etc.
6073         * math/test-math-isinff.cc: New file.
6075 2016-02-12  Florian Weimer  <fweimer@redhat.com>
6077         * misc/bug18240.c (do_test): Set RLIMIT_AS.
6079 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6081         [BZ #19529]
6082         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
6084 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6086         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6088 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
6090         [BZ #19550]
6091         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
6092         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
6093         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
6094         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
6095         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
6096         New syscall entry.
6097         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
6098         New syscall entry.
6099         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
6100         syscall entry.
6102 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
6104         [BZ #18240]
6105         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
6106         unsigned int wraparound.
6108 2016-01-27  Florian Weimer  <fweimer@redhat.com>
6110         [BZ #18240]
6111         * misc/bug18240.c: New test.
6112         * misc/Makefile (tests): Add it.
6114 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
6115             Joseph Myers  <joseph@codesourcery.com>
6117         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
6118         load in branch delay slot when less than a word of input left.
6120 2016-01-27  Andreas Schwab  <schwab@suse.de>
6122         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
6123         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
6124         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
6125         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
6127 2016-01-26  David S. Miller  <davem@davemloft.net>
6129         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
6131 2016-01-25  David S. Miller  <davem@davemloft.net>
6133         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
6134         __sqrtl_finite.
6135         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
6136         instead using versioned_symbol.
6137         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
6138         of entries.
6140         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
6141         __sqrtl_finite to GLIBC_2.23
6143 2016-01-25  Ricchard Henderson  <rth@redhat.com>
6145         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6147 2016-01-25  Andreas Schwab  <schwab@suse.de>
6149         [BZ #17514]
6150         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
6151         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
6152         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
6153         * nptl/tst-mutex-errorcheck.c: New file.
6155 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6157         [BZ #18560]
6158         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
6159         (IPCOP_semop): Likewise.
6160         (IPCOP_semget): Likewise.
6161         (IPCOP_semctl): Likewise.
6162         (IPCOP_msgsnd): Likewise.
6163         (IPCOP_msgrcv): Likewise.
6164         (IPCOP_msgget): Likewise.
6165         (IPCOP_msgctl): Likewise.
6166         (IPCOP_shmat): Likewise.
6167         (IPCOP_shmdt): Likewise.
6168         (IPCOP_shmget): Likewise.
6169         (IPCOP_shmctl): Likewise.
6171 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6173         * string/tst-endian.c: Include <libc-internal.h>.
6174         (do_test): Ignore tautological-compare warnings around
6175         "htobeXX (beXXtoh (i)) != i" and
6176         "htoleXX (leXXtoh (i)) != i" if-statements.
6178 2016-01-24  David S. Miller  <davem@davemloft.net>
6180         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
6181         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
6182         alias.
6183         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6184         __sqrtl_finite.
6186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6188 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
6190         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
6191         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
6192         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6194 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6196         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
6197         (thread_func): Use new function to simplify barrier check.
6198         (do_test): Use new function to simplify checking barrier exit
6199         code, and actually join the child thread.
6201 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6203         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
6204         semicolon.
6205         (__libc_tend): Likewise.
6206         (__libc_tabort): Likewise.
6208 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
6210         * sysdeps/nios2/libm-test-ulps: Update.
6211         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
6212         (__gtsf2): Likewise.
6213         (__unorddf2): Likewise.
6214         (__unordsf2): Likewise.
6215         (__ledf2): Likewise.
6217 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
6219         * nis/nis_table.c (__follow_path): Disable diagnostic for
6220         uninitialized variable that is a false positive for gcc 4.7.
6221         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
6223 2016-01-20  Roland McGrath  <roland@hack.frob.com>
6225         * sysdeps/nacl/lowlevellock-futex.h
6226         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
6227         Always evaluate PRIVATE argument.
6229 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
6231         [BZ #19490]
6232         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
6233         (pthread_cond_broadcast): Use ENTRY/END
6234         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
6235         (pthread_cond_signal): Likewise.
6236         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
6237         Likewise.
6238         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
6239         Likewise.
6240         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
6241         Likewise.
6243 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
6245         * sysdeps/ieee754/dbl-64/s_finite.c
6246         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
6247         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
6248         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
6249         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
6250         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
6252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6253         (__gtsf2): Add as optional for libc.so.
6254         (__unordsf2): Likewise.
6255         (__signbit): Remove for libc.so.
6256         (__signbitl): Likewise.
6258 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6260         * iconvdata/bug-iconv11.c (test_ibm93x):
6261         Use %zu printf format specifier for size_t argument.
6263 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
6265         * math/gen-libm-test.pl (parse_ulps): Do not reduce
6266         already-recorded ulps.
6267         * sysdeps/arm/libm-test-ulps: Regenerated.
6268         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6269         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6270         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6272 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6273             Paul Pluzhnikov  <ppluzhnikov@google.com>
6275         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
6276         assembler not supporting AVX-512.
6278 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6280         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6282 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
6284         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6285         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6287         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6289         * sysdeps/arm/libm-test-ulps: Regenerated.
6291 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6293         [BZ #19451]
6294         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
6296 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6298         [BZ #19486]
6299         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
6300         * sysdeps/generic/fix-fp-int-convert-overflow.h
6301         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
6302         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
6303         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
6304         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
6305         Likewise.
6306         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
6307         Avoid conversions to long int where inexact exceptions
6308         could be raised.
6309         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
6310         Likewise.
6311         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
6312         Avoid conversions to long long int where inexact exceptions
6313         could be raised.
6314         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
6315         Likewise.
6317 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
6319         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
6320         * configure: Regenerated.
6322 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6324         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
6326 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
6328         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
6329         outside of comment.
6331 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6333         * nptl/tst-barrier1.c: Add description on first line.
6334         * nptl/tst-barrier2.c: Likewise.
6335         * nptl/tst-barrier3.c: Likewise.
6336         * nptl/tst-barrier4.c: Likewise.
6337         * nptl/tst-barrier5.c: Likewise.
6339 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6341         [BZ #18868]
6342         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
6344 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6346         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
6347         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6348         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
6349         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
6350         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
6351         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
6352         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6353         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6354         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6355         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6356         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6358 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6360         [BZ #13065]
6361         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
6362         new implementation.
6363         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
6364         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
6365         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
6366         (BARRIER_IN_THRESHOLD): New macro.
6367         * nptl/pthread_barrierattr_setpshared.c
6368         (pthread_barrierattr_setpshared): Clean up.
6369         * nptl/tst-barrier4.c: Correct comment.
6370         * nptl/tst-barrier5.c: New file.
6371         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
6372         (gen-as-const-headers): Remove lowlevelbarrier.sym.
6373         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
6374         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
6375         * nptl/lowlevelbarrier.sym: Remove.
6376         * nptl/DESIGN-barrier.txt: Remove.
6377         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
6378         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
6379         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
6380         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
6381         error.
6382         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
6383         implementation.
6385 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6387         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
6388         (do_child): Mask SIGRTMIN while thr is running.
6390 2016-01-15  Martin Sebor  <msebor@redhat.com>
6392         [BZ #19432]
6393         * iconvdata/Makefile: Add bug-iconv11.
6394         * iconvdata/bug-iconv11.c: New test.
6395         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
6396         * iconvdata/ibm933.c: Same.
6397         * iconvdata/ibm935.c: Same.
6398         * iconvdata/ibm937.c: Same.
6399         * iconvdata/ibm939.c: Same.
6401 2016-01-15  Martin Sebor  <msebor@redhat.com>
6403         [BZ #19443]
6404         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
6405         [DEBUG] (_ufc_set_bits): Declare used.
6406         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
6407         [DEBUG] (print_all): Declare used.
6408         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
6409         operands of the ternary ?: expression to target type.
6410         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
6411         calling the undeclared abort.
6412         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
6414 2016-01-15  Martin Sebor  <msebor@redhat.com>
6416         [BZ #18755]
6417         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
6418         warnings.
6419         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
6420         (__gai_create_helper_thread): Same.
6421         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
6422         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
6423         to suppress -Wmaybe-uninitialized warnings.
6425 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
6427         [BZ #19465]
6428         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
6429         inside if.
6430         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6431         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6432         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6434 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
6436         [BZ #19466]
6437         * time/tst-mktime2.c (time_t_max): Removed.
6438         (time_t_min): Likewise.
6439         (TYPE_SIGNED): New.
6440         (TYPE_MINIMUM): Likewise.
6441         (TYPE_MAXIMUM): Likewise.
6442         (TIME_T_MIN): Likewise.
6443         (TIME_T_MAX): Likewise.
6444         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
6445         and TIME_T_MIN.
6446         (do_test): Likewise.
6448 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
6450         [BZ #19467]
6451         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6452         index_Fast_Unaligned_Load flag for Excavator family CPUs.
6454 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
6456         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
6458 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
6460         * benchtests/Makefile (PYTHON): Define.
6461         (bench-func): Use $(PYTHON) to run python scripts.
6462         ($(objpfx)bench-%.c): Likewise.
6464 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
6466         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
6467         leading slash when `file_name' is "/".
6469 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
6471         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
6472         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
6473         Likewise.
6474         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
6475         Likewise.
6476         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
6477         Likewise.
6478         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
6479         enum constant and macro.
6480         (PTRACE_SETSIGMASK): Likewise.
6481         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6482         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6483         (PTRACE_GETSIGMASK): Likewise.
6484         (PTRACE_SETSIGMASK): Likewise.
6485         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6486         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
6487         Likewise.
6488         (PTRACE_SETSIGMASK): Likewise.
6489         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6490         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6491         (PTRACE_GETSIGMASK): Likewise.
6492         (PTRACE_SETSIGMASK): Likewise.
6493         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6494         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
6495         Likewise.
6496         (PTRACE_SETSIGMASK): Likewise.
6497         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6498         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
6499         Likewise.
6500         (PTRACE_SETSIGMASK): Likewise.
6501         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6502         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
6503         Likewise.
6504         (PTRACE_SETSIGMASK): Likewise.
6505         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6507 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
6508             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6510         [BZ #19439]
6511         * math/bits/mathcalls.h
6512         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
6513         prototype.
6514         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
6516 2016-01-11  Andreas Schwab  <schwab@suse.de>
6518         [BZ #19253]
6519         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
6520         cache when TZDEFRULES was used.
6521         * time/tst-tzname.c: New file.
6522         * time/Makefile (test): Add tst-tzname.
6523         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
6524         * timezone/Makefile (test-zones): Add $(posixrules-file).
6525         ($(testdata)/$(posixrules-file)): New rule.
6527 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
6529         Fix doc quoting problems with Texinfo 5
6530         Without this change, in the info file output, Texinfo 5 quotes code
6531         in text with undirected single quotes 'like this' and generates
6532         code examples that with many PDF readers cannot be cut out of PDFs
6533         and pasted into code.
6534         * manual/libc.texinfo: Configure the libc manual like the GNU
6535         Emacs manual, by using @documentencoding and setting
6536         txicodequoteundirected and txicodequotebacktick.  This way,
6537         Texinfo 5 quotes code in text with directed single quotes ‘like
6538         this’ and produces examples that can be cut out of PDFs.  This
6539         change causes Texinfo 5 to generate info files that contain UTF-8
6540         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
6541         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
6543 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6545         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
6546         __libc_tabort, __libc_tend): New wrappers that enforce compiler
6547         barriers to their respective compiler built-ins.
6548         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
6549         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
6550         * sysdeps/powerpc/sysdep.h: Likewise.
6551         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
6552         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
6553         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
6555 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
6557         * scripts/config.guess: Revert previous shebang change.
6558         * scripts/config.sub: Likewise.
6559         * scripts/mkinstalldirs: Likewise.
6561 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6563         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
6564         PPC_FEATURE2_HAS_IEEE128.
6565         * sysdeps/powerpc/dl-procinfo.c:
6566         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
6568 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
6570         [BZ #19415]
6571         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
6572         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
6573         (_dl_lookup_address): Rewrite using function resolver trampoline.
6574         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
6575         two bits in address.
6577 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6579         * longlong.h: Change !__SHMEDIA__ to
6580         (!defined (__SHMEDIA__) || !__SHMEDIA__).
6581         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
6583 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
6584             Joseph Myers  <joseph@codesourcery.com>
6585             Mark Shinwell  <shinwell@codesourcery.com>
6586             Andrew Stubbs  <ams@codesourcery.com>
6587             Rich Felker <dalias@libc.org>
6589         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
6591 2016-01-07  Richard Henderson  <rth@redhat.com>
6593         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
6595 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6597         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
6598         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
6599         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6600         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6601         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
6603 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
6604             Joseph Myers  <joseph@codesourcery.com>
6606         * timezone/private.h: Update from tzcode 2015g.
6607         * timezone/tzfile.h: Likewise.
6608         * timezone/tzselect.ksh: Likewise.
6609         * timezone/zdump.c: Likewise.
6610         * timezone/zic.c: Likewise.
6611         * timezone/ialloc.c: Remove file.
6612         * timezone/scheck.c: Likewise.
6613         * timezone/Makefile (extra-objs): Remove variable.
6614         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
6615         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
6616         -Wno-maybe-uninitialized.
6617         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
6618         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
6619         (CFLAGS-ialloc.c): Remove variable.
6620         (CFLAGS-scheck.c): Likewise.
6621         * timezone/README: Update list of files from tzcode.
6623 2016-01-07  Khem Raj  <raj.khem@gmail.com>
6625         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
6626         instead of __fxprintf when _LIBC is undefined.
6628 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
6630         * catgets/test-gencat.sh: Remove space after shebang.
6631         * conform/GlibcConform.pm: Likewise.
6632         * conform/check-header-lists.sh: Likewise.
6633         * conform/conformtest.pl: Likewise.
6634         * conform/linknamespace.pl: Likewise.
6635         * conform/list-header-symbols.pl: Likewise.
6636         * debug/catchsegv.sh: Likewise.
6637         * elf/genrtldtbl.awk: Likewise.
6638         * elf/tst-pathopt.sh: Likewise.
6639         * elf/tst-rtld-load-self.sh: Likewise.
6640         * grp/tst_fgetgrent.sh: Likewise.
6641         * iconvdata/gen-8bit-gap-1.sh: Likewise.
6642         * iconvdata/gen-8bit-gap.sh: Likewise.
6643         * iconvdata/gen-8bit.sh: Likewise.
6644         * iconvdata/run-iconv-test.sh: Likewise.
6645         * intl/tst-gettext.sh: Likewise.
6646         * intl/tst-gettext2.sh: Likewise.
6647         * intl/tst-gettext4.sh: Likewise.
6648         * intl/tst-gettext6.sh: Likewise.
6649         * intl/tst-translit.sh: Likewise.
6650         * io/ftwtest-sh: Likewise.
6651         * libio/test-freopen.sh: Likewise.
6652         * locale/gen-translit.pl: Likewise.
6653         * malloc/tst-mtrace.sh: Likewise.
6654         * manual/check-safety.sh: Likewise.
6655         * manual/libc-texinfo.sh: Likewise.
6656         * manual/tsort.awk: Likewise.
6657         * manual/xtract-typefun.awk: Likewise.
6658         * nptl/tst-cancel-wrappers.sh: Likewise.
6659         * nptl/tst-tls6.sh: Likewise.
6660         * posix/globtest.sh: Likewise.
6661         * posix/tst-getconf.sh: Likewise.
6662         * posix/wordexp-tst.sh: Likewise.
6663         * scripts/check-c++-types.sh: Likewise.
6664         * scripts/check-local-headers.sh: Likewise.
6665         * scripts/config.guess: Likewise.
6666         * scripts/config.sub: Likewise.
6667         * scripts/cpp: Likewise.
6668         * scripts/cross-test-ssh.sh: Likewise.
6669         * scripts/documented.sh: Likewise.
6670         * scripts/evaluate-test.sh: Likewise.
6671         * scripts/gen-libc-abis: Likewise.
6672         * scripts/gen-sorted.awk: Likewise.
6673         * scripts/list-fixed-bugs.py: Likewise.
6674         * scripts/merge-test-results.sh: Likewise.
6675         * scripts/mkinstalldirs: Likewise.
6676         * scripts/rellns-sh: Likewise.
6677         * scripts/test-installation.pl: Likewise.
6678         * scripts/update-copyrights: Likewise.
6679         * stdio-common/tst-printf.sh: Likewise.
6680         * stdio-common/tst-unbputc.sh: Likewise.
6681         * stdlib/tst-fmtmsg.sh: Likewise.
6682         * stdlib/tst-setcontext3.sh: Likewise.
6683         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6684         * sysdeps/unix/make-syscalls.sh: Likewise.
6686 2016-01-06  John David Anglin  <dave.anglin@bell.net>
6688         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6689         asm stw with atomic_exchange_rel.  Add explanatory comment.
6690         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6691         Likewise.
6693 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6695         [BZ #19122]
6696         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6697         * sysdeps/generic/dl-unistd.h: New file.
6698         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6700 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6702          [BZ #19122]
6703          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6704          * sysdeps/generic/dl-mman.h: New file.
6705          * sysdeps/mach/hurd/dl-mman.h: Likewise.
6707 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
6709         * manual/texinfo.tex: Update to version 2016-01-04.21 with
6710         trailing whitespace removed.
6711         * scripts/config.guess: Update to version 2016-01-01.
6712         * scripts/config.sub: Update to version 2016-01-01.
6713         * scripts/move-if-change: Update from gnulib.
6715 2016-01-04  Anton Blanchard  <anton@samba.org>
6717         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6718         for array indices.
6719         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6721 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
6723         * NEWS: Update copyright dates.
6724         * catgets/gencat.c (print_version): Likewise.
6725         * csu/version.c (banner): Likewise.
6726         * debug/catchsegv.sh: Likewise.
6727         * debug/pcprofiledump.c (print_version): Likewise.
6728         * debug/xtrace.sh (do_version): Likewise.
6729         * elf/ldconfig.c (print_version): Likewise.
6730         * elf/ldd.bash.in: Likewise.
6731         * elf/pldd.c (print_version): Likewise.
6732         * elf/sotruss.sh: Likewise.
6733         * elf/sprof.c (print_version): Likewise.
6734         * iconv/iconv_prog.c (print_version): Likewise.
6735         * iconv/iconvconfig.c (print_version): Likewise.
6736         * locale/programs/locale.c (print_version): Likewise.
6737         * locale/programs/localedef.c (print_version): Likewise.
6738         * login/programs/pt_chown.c (print_version): Likewise.
6739         * malloc/memusage.sh (do_version): Likewise.
6740         * malloc/memusagestat.c (print_version): Likewise.
6741         * malloc/mtrace.pl: Likewise.
6742         * manual/libc.texinfo: Likewise.
6743         * nptl/version.c (banner): Likewise.
6744         * nscd/nscd.c (print_version): Likewise.
6745         * nss/getent.c (print_version): Likewise.
6746         * nss/makedb.c (print_version): Likewise.
6747         * posix/getconf.c (main): Likewise.
6748         * scripts/test-installation.pl: Likewise.
6749         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6751         * All files with FSF copyright notices: Update copyright dates
6752         using scripts/update-copyrights.
6753         * intl/plural.c: Regenerated.
6754         * locale/programs/charmap-kw.h: Likewise.
6755         * locale/programs/locfile-kw.h: Likewise.
6757 2016-01-02  Helge Deller  <deller@gmx.de>
6759         [BZ #19285]
6760         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6761         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6762         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6763         (MADV_xxK_PAGES): Remove.
6765 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
6767         [BZ #15421]
6768         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6769         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
6770         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6771         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6773 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
6775         [BZ #19408]
6776         * sysdeps/unix/sysv/linux/personality.c: New file.
6777         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6778         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6779         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6780         (sysdep_routines): Add personality.
6781         (tests): Add tst-personality.
6782         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6783         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6784         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6785         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6786         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6787         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6788         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6789         Likewise.
6790         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6791         Likewise.
6792         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6793         Likewise.
6794         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6795         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6796         Likewise.
6798 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
6800         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6801         (PATH_ARM_SYSTYPE): Remove.
6802         (PATH_CPUINFO): Likewise.
6803         (IO_BASE_FOOTBRIDGE): Likewise.
6804         (IO_SHIFT_FOOTBRIDGE): Likewise.
6805         (struct platform): Likewise.
6806         (init_iosys): Remove compatibility code for 2.4 kernels.
6807         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6809 2015-12-29  Florian Weimer  <fweimer@redhat.com>
6811         * malloc/tst-malloc-thread-fail.c: New file.
6812         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6813         (tst-malloc-thread-fail): Link against libpthread.
6815 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
6817         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
6818         (get_parser): New function.
6819         (main): New function.
6821 2015-12-29  Rob Wu  <rob@robwu.nl>
6823         [BZ #19369]
6824         * resolv/res_init.c (__res_vinit): Reset defdname before use.
6826 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
6828         [BZ #19270]
6829         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6831 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
6833         [BZ #15421]
6834         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6836 2015-12-23  Torvald Riegel  <triegel@redhat.com>
6838         [BZ #13690]
6839         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6840         after releasing it.
6841         (__lll_robust_unlock): Likewise.
6842         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6843         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6844         (lll_robust_unlock): Likewise.
6845         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6846         Prevent warnings in callers.
6848 2015-12-23  Florian Weimer  <fweimer@redhat.com>
6850         * malloc/arena.c (list_lock): Update comment.
6852 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6854         * sysdeps/powerpc/hwcapinfo.c: Export symbol
6855         __parse_hwcap_and_convert_at_platform to libc.a.
6857 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6859         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6860         platform and feature support for POWER9.
6861         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6862         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6863         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6864         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6865         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6866         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6867         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6868         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6870 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6872         Harmonize generic stdio-lock support with nptl
6874         This fixes build when _IO_funlockfile is a macro, fixes build where
6875         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6876         stack unwind.
6878         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6879         _IO_release_lock ): Use cleanup attribute on new
6880         _IO_acquire_lock_file variable instead of assuming that
6881         _IO_release_lock will be called.
6882         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6883         _IO_acquire_lock_needs_exceptions_enabled.
6884         (_IO_acquire_lock_clear_flags2): New macro.
6886 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6888         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6890 2015-12-21  Florian Weimer  <fweimer@redhat.com>
6892         [BZ #19182]
6893         * malloc/arena.c (list_lock): Document lock ordering requirements.
6894         (free_list_lock): New lock.
6895         (ptmalloc_lock_all): Comment on free_list_lock.
6896         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6897         (detach_arena): Update comment.  free_list_lock is now needed.
6898         (_int_new_arena): Use free_list_lock around detach_arena call.
6899         Acquire arena lock after list_lock.  Add comment, including FIXME
6900         about incorrect synchronization.
6901         (get_free_list): Switch to free_list_lock.
6902         (reused_arena): Acquire free_list_lock around detach_arena call
6903         and attached threads counter update.  Add two FIXMEs about
6904         incorrect synchronization.
6905         (arena_thread_freeres): Switch to free_list_lock.
6906         * malloc/malloc.c (struct malloc_state): Update comments to
6907         mention free_list_lock.
6909 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6911         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6912         Remove functions.
6913         (sloww, sloww1): Accept argument to offset quadrant.
6914         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6915         quadrant.
6916         (__sin, __cos): Consolidate common code into new functions.
6917         (reduce_sincos_1, do_sincos_1): New functions.
6918         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6920         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6921         code to new functions.
6922         (reduce_sincos_2, do_sincos_2): New functions.
6923         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6925         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6926         common code for sincos.
6927         (__cos) [!IN_SINCOS]: Likewise.
6928         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6929         New function.
6930         (__sincos): Use it.
6932 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
6934         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6935         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6936         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6938 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6940         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6941         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6942         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6943         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6944         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6945         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6946         index_Prefer_No_VZEROUPPER): New feature.
6947         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6948         Prefer_No_VZEROUPPER for Knights Landing.
6950 015-12-18  Torvald Riegel  <triegel@redhat.com>
6952         * math/atest-exp2.c (mp_exp_m1): Remove.
6954 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6956         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6957         syscalls.
6958         (__SYSCALL0): New macro.
6959         (__SYSCALL1): Likewise.
6960         (__SYSCALL2): Likewise.
6961         (__SYSCALL3): Likewise.
6962         (__SYSCALL4): Likewise.
6963         (__SYSCALL5): Likewise.
6964         (__SYSCALL6): Likewise.
6965         (__SYSCALL_CONCAT_X): Likewise.
6966         (__SYSCALL_CONCAT): Likewise.
6967         (__SYSCALL_DIST): Likewise.
6968         (__SYSCALL_CALL): Likewise.
6970 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
6972         [BZ #19363]
6973         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6975 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6977         [BZ #19375]
6978         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6979         negative subnormals.
6981 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
6983         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6984         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6985         (INTERNAL_SYSCALL_NCS): Use it.
6986         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6988 2015-12-16  Florian Weimer  <fweimer@redhat.com>
6990         [BZ #19243]
6991         * malloc/arena.c (get_free_list): Remove assert and adjust
6992         reference count handling.  Add comment about reused_arena
6993         interaction.
6994         (reused_arena): Add comments abount get_free_list interaction.
6995         * malloc/tst-malloc-thread-exit.c: New file.
6996         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6997         (tst-malloc-thread-exit): Link against libpthread.
6999 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7001         [BZ #19367]
7002         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
7003         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
7004         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
7005         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
7006         (index_Prefer_MAP_32BIT_EXEC): Likewise.
7008 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7010         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
7011         Silvermont optimizations for Knights Landing.
7013 2015-12-15  Andreas Schwab  <schwab@suse.de>
7015         [BZ #17197]
7016         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
7017         immediately after emitting SI.
7018         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
7019         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
7020         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
7021         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
7022         * iconvdata/bug-iconv10.c: New file.
7023         * iconvdata/Makefile (tests): Add bug-iconv10.
7024         ($(objpfx)bug-iconv10.out): New rule.
7026 2015-12-15  Florian Weimer  <fweimer@redhat.com>
7028         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
7029         aliasing violation.
7031 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
7033         [BZ #18472]
7034         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
7035         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
7036         conditionals for them.
7037         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
7038         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
7039         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
7040         sys/kdaemon.h.
7041         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
7042         compat-only syscall, obsoleted in glibc 2.23.
7043         (create_module): Likewise.
7044         (get_kernel_syms): Likewise.
7045         (query_module): Likewise.
7046         (uselib): Likewise.
7047         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
7049 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
7051         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
7052         <linux/version.h>.
7053         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
7054         conditional code.
7055         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
7056         and ioshift_name initialization.
7058 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7060         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7061         Fix indentation.
7063 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7065         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
7067 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7069         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
7071 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
7072             Jakub Wilk  <jwilk@debian.org>
7074         [BZ #19347]
7075         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
7076         to change the group of the device to the tty group.
7078 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
7080         Split large string section; add truncation advice
7081         * manual/examples/strncat.c: Remove.
7082         This example was misleading, as the code would have undefined
7083         behavior if "hello" was longer than SIZE.  Anyway, the manual
7084         shouldn't encourage strncpy+strncat for this sort of thing.
7085         * manual/string.texi (Copying Strings and Arrays): Split into
7086         three sections Copying Strings and Arrays, Concatenating Strings,
7087         and Truncating Strings, as this section was way too long.  All
7088         cross-referenced changed.  Add advice about string-truncation
7089         functions.  Remove misleading strncat example.
7091 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
7093         * manual/nss.texi (NSS Modules Interface): Document
7094         NSS_STATUS_NOTFOUND and SUCCESS.
7096 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7098         [BZ 18568]
7099         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7100         201505L, for Unicode 8.
7102 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
7104         * locale/C-translit.h: Regenerate.
7106 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7108         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
7109         and U+0153.
7111 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
7113         [BZ #19351]
7114         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
7115         expanding log(1+z), compare z rather than its square with epsilon
7116         to determine when to avoid evaluating the expansion.
7118         [BZ #19350]
7119         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7120         Increase overflow threshold.
7122         [BZ #19349]
7123         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
7124         when small.
7126         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7127         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7128         New macro.
7129         [__LINUX_KERNEL_VERSION >= 0x040300]
7130         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7131         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7132         Likewise.
7133         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7134         Likewise.
7135         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7136         Likewise.
7137         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7138         Likewise.
7139         [__LINUX_KERNEL_VERSION >= 0x040300]
7140         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7141         [__LINUX_KERNEL_VERSION >= 0x040300]
7142         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7143         [__LINUX_KERNEL_VERSION >= 0x040300]
7144         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7145         [__LINUX_KERNEL_VERSION >= 0x040300]
7146         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7147         [__LINUX_KERNEL_VERSION >= 0x040300]
7148         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7149         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7150         Likewise.
7151         [__LINUX_KERNEL_VERSION >= 0x040300]
7152         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7153         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7154         Likewise.
7155         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7156         Likewise.
7157         [__LINUX_KERNEL_VERSION >= 0x040300]
7158         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7159         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7160         Likewise.
7161         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7162         Likewise.
7163         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7164         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
7165         Likewise.
7166         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
7167         Likewise.
7168         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7169         Likewise.
7170         [__LINUX_KERNEL_VERSION >= 0x040300]
7171         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7172         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7173         Likewise.
7174         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7175         Likewise.
7176         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7177         Likewise.
7178         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7179         Likewise.
7180         [__LINUX_KERNEL_VERSION >= 0x040300]
7181         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7182         [__LINUX_KERNEL_VERSION >= 0x040300]
7183         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7184         [__LINUX_KERNEL_VERSION >= 0x040300]
7185         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7186         [__LINUX_KERNEL_VERSION >= 0x040300]
7187         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7188         [__LINUX_KERNEL_VERSION >= 0x040300]
7189         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7190         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7191         Likewise.
7192         [__LINUX_KERNEL_VERSION >= 0x040300]
7193         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7194         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7195         Likewise.
7196         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7197         Likewise.
7198         [__LINUX_KERNEL_VERSION >= 0x040300]
7199         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7200         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7201         Likewise.
7202         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7203         Likewise.
7204         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7205         (__ASSUME_SOCKET_SYSCALL): Likewise.
7206         (__ASSUME_BIND_SYSCALL): Likewise.
7207         (__ASSUME_CONNECT_SYSCALL): Likewise.
7208         (__ASSUME_LISTEN_SYSCALL): Likewise.
7209         (__ASSUME_ACCEPT_SYSCALL): Likewise.
7210         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7211         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7212         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7213         (__ASSUME_SEND_SYSCALL): Likewise.
7214         (__ASSUME_SENDTO_SYSCALL): Likewise.
7215         (__ASSUME_RECV_SYSCALL): Likewise.
7216         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7217         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
7218         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7219         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7220         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7221         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7222         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7223         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
7224         Likewise.
7225         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
7226         Likewise.
7227         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
7228         Likewise.
7229         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
7230         Likewise.
7231         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
7232         Likewise.
7233         [__LINUX_KERNEL_VERSION >= 0x020625]
7234         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7235         [__LINUX_KERNEL_VERSION >= 0x020625]
7236         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7237         [__LINUX_KERNEL_VERSION >= 0x020625]
7238         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7239         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
7240         Likewise.
7241         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
7242         Likewise.
7243         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
7244         Likewise.
7245         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
7246         Likewise.
7247         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
7248         Likewise.
7249         [__LINUX_KERNEL_VERSION >= 0x020625]
7250         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7251         [__LINUX_KERNEL_VERSION >= 0x020625]
7252         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7253         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
7254         Likewise.
7255         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
7256         Likewise.
7258 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7260         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
7261         record the current if the current ABI and CPU support the FP64
7262         extension.
7263         (has-modd-spreg): Define to record the current if the current ABI and
7264         CPU support 32-bit floating point values in odd FPU registers.
7265         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7266         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
7267         $(has-modd-spreg) equals yes.
7268         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
7269         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
7270         $(has-modd-spreg) equal yes.
7272 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7274         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
7275         basename.
7277 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
7279         * benchtests/Makefile (bench-math): Move ffs and ffsll...
7280         (bench-string): ... here.
7281         (bench): Add bench-string.
7282         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
7283         to *-benchset to reflect what they are.
7284         (benchset): Adjust.
7286         * benchtests/sincos-inputs: Add inputs from sin-inputs and
7287         cos-inputs.
7289 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
7291         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
7292         __attribute__ ((__simd__)) for vector math function declarations.
7294 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7296         Fix typo in strncat, wcsncat manual entries
7297         * manual/string.texi (Copying and Concatenation): Fix typos in
7298         sample implementations of strncat and wcsncat, by having them use
7299         the old value of the destination length, not the new one.
7301 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
7303         [BZ #16961]
7304         [BZ #16962]
7305         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
7306         string on the stack for strtod.
7307         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
7308         a string on the stack for strtof.
7309         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
7310         constructing a string on the stack for strtold.
7311         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
7312         __strtold_nan to GLIBC_PRIVATE.
7313         * math/test-nan-overflow.c: New file.
7314         * math/test-nan-payload.c: Likewise.
7315         * math/Makefile (tests): Add test-nan-overflow and
7316         test-nan-payload.
7318 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7320         Consistency about byte vs character in string.texi
7321         * manual/string.texi (String and Array Utilities):
7322         Distinguish more carefully among bytes, multibyte characters,
7323         and wide characters.  Use "byte" when talking about C 'char',
7324         to distinguish it more clearly from multibyte characters.
7325         Say "wide character" or "multibyte character" instead of
7326         "character", when a wide or multibyte character is intended.
7327         Similarly for "multibyte string" versus "string".
7328         Define these terms more carefully.
7330 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
7332         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
7333         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
7334         Likewise.
7335         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7336         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7337         * sysdeps/sh/math_private.h: New file.
7338         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
7339         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
7340         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
7341         long double function name.
7342         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7343         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7344         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7345         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7346         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
7348         Remove __finitel, __isinfl, and __isnanl.
7349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7350         Likewise.
7351         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7353         Remove __finitel.
7354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7355         Likewise.
7356         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7358 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
7360         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
7361         installed libmvec_nonshared.a.
7363 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7365         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
7366         (sysdep_routines): Likewise.
7367         (sysdep-rtld-routines): Likewise.
7368         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
7369         [$(subdir) = nptl](tests-static): test-get_hwcap-static
7370         * sysdeps/powerpc/Versions: Added new
7371         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
7372         * sysdeps/powerpc/hwcapinfo.c: New file.
7373         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
7374         and parse hwcap, hwcap2 and platform number information.
7375         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
7376         to store HWCAP+HWCAP2 and platform number.
7377         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
7378         for HWCAP+HWCAP2 and platform number in the TCB.
7379         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
7380         the HWCAP, HWCAP2 and platform number in the TCB.
7381         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
7382         (TLS_INIT_TP): Included calls to add the hwcap and
7383         at_platform values in the TCB in TP initialization.
7384         (TLS_DEFINE_INIT_TP): Likewise.
7385         (THREAD_GET_HWCAP): New macro.
7386         (THREAD_SET_HWCAP): Likewise.
7387         (THREAD_GET_AT_PLATFORM): Likewise.
7388         (THREAD_SET_AT_PLATFORM): Likewise.
7389         * sysdeps/powerpc/powerpc32/dl-machine.h:
7390         (dl_platform_init): New function that calls
7391         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
7392         powerpc32.
7393         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
7394         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
7395         this functionality, static linking case.
7396         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
7397         linking case.
7398         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
7399         __parse_hwcap_and_convert_at_platform for the static linking case.
7400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
7401         Included the new __parse_hwcap_and_convert_at_platform symbol in the
7402         ABI list for GLIBC 2.23.
7403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
7404         Likewise.
7405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
7406         Likewise.
7408 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
7410         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
7411         * configure: Regenerate.
7412         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
7413         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
7415 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
7417         * iconvdata/ibm930.c: Add comment explaining encoding uses.
7418         * iconvdata/ibm933.c: Likewise.
7419         * iconvdata/ibm935.c: Likewise.
7420         * iconvdata/ibm937.c: Likewise.
7421         * iconvdata/ibm939.c: Likewise.
7423 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7425         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
7426         pthread_join.
7427         * nptl/tst-cancel21.c (tf): Likewise.
7429 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
7431         [BZ #19313]
7432         * bits/typesizes.h (__CPU_MASK_TYPE): New.
7433         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7434         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7435         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
7436         Likewise.
7437         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
7438         Likewise.
7439         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
7440         Likewise.
7441         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
7442         Likewise.
7443         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
7444         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
7445         unsigned long int with __CPU_MASK_TYPE.
7447 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7449         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7451 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
7453         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
7454         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
7455         t512.x.
7456         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
7458 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
7460         [BZ #19214]
7461         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
7462         argument to return extended model.  Update family and model
7463         with extended family and model when family == 0x0f.
7464         (init_cpu_features): Updated.
7466 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7468         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
7469         signed off_t, so 32bit bigger than 2GiB values are fine actually.
7471         * sysdeps/mach/hurd/mmap64.c: New file.
7473 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
7475         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
7476         rights for its main user thread in NEWTASK.
7478 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
7480         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
7481         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
7483 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
7485         [BZ #14259]
7486         * Makeconfig: Rename localedir to complocaledir.
7487         Rename inst_localedir to inst_complocaledir.
7488         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
7489         * config.make.in: Use complocaledir and libc_cv_complocaledir.
7490         * configure.ac: Use libc_cv_complocaledir.
7491         * configure: Regenerate.
7492         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
7493         -DCOMPLOCALEDIR.
7494         * locale/findlocale.c: Use COMPLOCALEDIR.
7495         * locale/loadarchive.c: Likewise.
7496         * locale/programs/locale.c: Likewise.
7497         * locale/programs/localedef.c: Likewise.
7498         * locale/programs/locarchive.c: Likewise.
7499         * localedata/Makefile: Use inst_complocaledir.
7500         * sysdeps/gnu/configure: Regenerate.
7501         * sysdeps/hppa/configure: Regenerate.
7502         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
7503         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7505         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
7506         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
7507         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
7508         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
7510 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
7512         [BZ #19058]
7513         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
7514         AS_NEEDED.
7515         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
7516         workaround.
7517         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
7518         libmvec-static-only-routines): Added new file.
7519         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
7521 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7523         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
7524         of interrupted RPC instead of restoring it.
7526         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
7527         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
7528         libc_hidden_def.
7529         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
7530         into initialized data instead of common. Define rtld_hidden_data_def.
7531         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
7532         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
7533         libc_hidden_def.
7534         (if_freenameindex): Add libc_hidden_weak.
7535         (if_nameindex): Add libc_hidden_weak.
7536         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
7537         __open64.
7538         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
7539         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
7540         * sysdeps/mach/nanosleep.c: Include <time.h>
7541         (__nanosleep): Rename to __libc_nanosleep.
7542         (__nanosleep): Add weak_alias.
7543         (nanosleep): Update alias.
7545 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
7547         * stdlib/strtod_nan.c: New file.
7548         * stdlib/strtod_nan_double.h: Likewise.
7549         * stdlib/strtod_nan_float.h: Likewise.
7550         * stdlib/strtod_nan_main.c: Likewise.
7551         * stdlib/strtod_nan_narrow.h: Likewise.
7552         * stdlib/strtod_nan_wide.h: Likewise.
7553         * stdlib/strtof_nan.c: Likewise.
7554         * stdlib/strtold_nan.c: Likewise.
7555         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
7556         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
7557         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
7558         * wcsmbs/wcstod_nan.c: Likewise.
7559         * wcsmbs/wcstof_nan.c: Likewise.
7560         * wcsmbs/wcstold_nan.c: Likewise.
7561         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
7562         strtold_nan.
7563         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
7564         wcstof_nan.
7565         * include/stdlib.h (__strtof_nan): Declare and use
7566         libc_hidden_proto.
7567         (__strtod_nan): Likewise.
7568         (__strtold_nan): Likewise.
7569         (__wcstof_nan): Likewise.
7570         (__wcstod_nan): Likewise.
7571         (__wcstold_nan): Likewise.
7572         * include/wchar.h (____wcstoull_l_internal): Declare.
7573         * stdlib/strtod_l.c: Do not include <ieee754.h>.
7574         (____strtoull_l_internal): Remove declaration.
7575         (STRTOF_NAN): Define macro.
7576         (SET_MANTISSA): Remove macro.
7577         (STRTOULL): Likewise.
7578         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
7579         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
7580         (STRTOF_NAN): Define macro.
7581         (SET_MANTISSA): Remove macro.
7582         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
7583         (SET_MANTISSA): Remove macro.
7584         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
7585         macro.
7586         (SET_MANTISSA): Remove macro.
7587         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
7588         macro.
7589         (SET_MANTISSA): Remove macro.
7590         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
7591         (SET_MANTISSA): Remove macro.
7592         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
7593         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
7594         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
7596         [BZ #19266]
7597         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
7598         upper case and lower case letters inside NAN(), not using TOLOWER.
7599         * stdlib/tst-strtod-nan-locale-main.c: New file.
7600         * stdlib/tst-strtod-nan-locale.c: Likewise.
7601         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
7602         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
7603         Depend on $(gen-locales).
7604         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
7605         * wcsmbs/tst-wcstod-nan-locale.c: New file.
7606         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
7607         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
7608         Depend on $(gen-locales).
7609         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
7611 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
7613         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
7615         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
7617         __finitel, __isinfl, and __isnanl.
7618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7619         Likewise.
7620         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
7622         __finitel.
7623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7624         Likewise.
7625         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7627 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7629         * malloc/memusage.c (me): Remove redundant getenv call.
7631 2015-10-24  Florian Weimer  <fweimer@redhat.com>
7633         [BZ #19143]
7634         [BZ #19164]
7635         * nptl/check-cpuset.h: Remove.
7636         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
7637         Remove CPU set size check.
7638         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
7639         Likewise.
7640         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
7641         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7642         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
7643         (__pthread_setaffinity_new): Remove CPU set size check.
7644         * sysdeps/unix/sysv/linux/sched_setaffinity.c
7645         (__kernel_cpumask_size): Remove.
7646         (__sched_setaffinity_new): Remove CPU set size check.
7647         * manual/threads.texi (Default Thread Attributes): Remove stale
7648         reference to check_cpuset_attr, determine_cpumask_size in comment.
7649         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
7650         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
7651         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
7652         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
7653         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
7654         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
7655         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
7656         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
7657         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
7658         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
7659         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
7660         skeleton test file.
7661         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
7662         tst-affinity-pid.
7664 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7666         * scripts/update-abilist.sh: New file.
7667         * Makefile (+subdir_targets): Add subdir_update-all-abi.
7668         * Makerules (update-all-abi-%, update-all-abi)
7669         (subdir_update-all-abi): New targets.
7670         * elf/Makefile (update-all-abi): New target.
7672 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7674         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7675         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7676         (__libc_lock_define_initialized): Use it.
7677         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7678         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7679         * malloc/malloc.c (main_arena): Likewise.
7680         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7681         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7683 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
7685         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7686         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7687         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7688         (PTRACE_O_MASK): Update value.
7689         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7690         New value in enum __ptrace_setoptions.
7691         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7692         (PTRACE_O_MASK): Update value.
7693         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7694         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7695         (PTRACE_O_MASK): Update value.
7696         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7697         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7698         (PTRACE_O_MASK): Update value.
7699         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7700         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7701         (PTRACE_O_MASK): Update value.
7702         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7703         New value in enum __ptrace_setoptions.
7704         (PTRACE_O_MASK): Update value.
7705         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7706         New value in enum __ptrace_setoptions.
7707         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7708         (PTRACE_O_MASK): Update value.
7710         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7711         New macro.
7712         (PACKET_AUXDATA): Likewise.
7713         (PACKET_ORIGDEV): Likewise.
7714         (PACKET_VERSION): Likewise.
7715         (PACKET_HDRLEN): Likewise.
7716         (PACKET_RESERVE): Likewise.
7717         (PACKET_TX_RING): Likewise.
7718         (PACKET_LOSS): Likewise.
7719         (PACKET_VNET_HDR): Likewise.
7720         (PACKET_TX_TIMESTAMP): Likewise.
7721         (PACKET_TIMESTAMP): Likewise.
7722         (PACKET_FANOUT): Likewise.
7723         (PACKET_TX_HAS_OFF): Likewise.
7724         (PACKET_QDISC_BYPASS): Likewise.
7725         (PACKET_ROLLOVER_STATS): Likewise.
7726         (PACKET_FANOUT_DATA): Likewise.
7727         (PACKET_MR_UNICAST): Likewise.
7729         [BZ #19242]
7730         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7731         (TOUPPER): Likewise.
7732         * stdlib/tst-strtol-locale-main.c: New file.
7733         * stdlib/tst-strtol-locale.c: Likewise.
7734         * stdlib/Makefile (tests): Add tst-strtol-locale.
7735         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7736         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7737         Depend on $(gen-locales).
7738         * wcsmbs/tst-wcstol-locale.c: New file.
7739         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7740         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7741         tr_TR.ISO-8859-9.
7742         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7743         Depend on $(gen-locales).
7745 2015-11-20  Roland McGrath  <roland@hack.frob.com>
7747         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7748         __glibc_likely instead of __builtin_expect.  After falling back to
7749         dyncode_create in a non-ET_DYN case, use the allocate_code_data
7750         system interface to register the code pages as occupied.
7752 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
7754         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7755         [!ARM_MATH_PRIVATE_H].
7756         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7757         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7758         [!HPPA_MATH_PRIVATE_H].
7759         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7760         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7761         to [!I386_MATH_PRIVATE_H].
7762         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7763         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7764         Change guard to [!M68K_MATH_PRIVATE_H].
7765         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7766         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7767         guard to [!MICROBLAZE_MATH_PRIVATE_H].
7768         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7769         macro.
7770         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7771         [!MIPS_MATH_PRIVATE_H].
7772         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7773         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7774         [!NIO2_MATH_PRIVATE_H].
7775         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7776         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7777         [!TILE_MATH_PRIVATE_H].
7778         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7780         [BZ #15421]
7781         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7782         initialize with 0 and define as weak alias of __signgam.
7783         * include/math.h [!_ISOMAC] (__signgam): Declare.
7784         * math/Makefile (libm-calls): Add w_lgamma_compat.
7785         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7786         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7787         test-signgam-ullong-init.
7788         (tests-static): Add test-signgam-uchar-static,
7789         test-signgam-uchar-init-static, test-signgam-uint-static,
7790         test-signgam-uint-init-static, test-signgam-ullong-static and
7791         test-signgam-ullong-init-static.
7792         (CFLAGS-test-signgam-uchar.c): New variable.
7793         (CFLAGS-test-signgam-uchar-init.c): Likewise.
7794         (CFLAGS-test-signgam-uchar-static.c): Likewise.
7795         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7796         (CFLAGS-test-signgam-uint.c): Likewise.
7797         (CFLAGS-test-signgam-uint-init.c): Likewise.
7798         (CFLAGS-test-signgam-uint-static.c): Likewise.
7799         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7800         (CFLAGS-test-signgam-ullong.c): Likewise.
7801         (CFLAGS-test-signgam-ullong-init.c): Likewise.
7802         (CFLAGS-test-signgam-ullong-static.c): Likewise.
7803         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7804         * math/Versions (libm): Add GLIBC_2.23.
7805         * math/lgamma-compat.h: New file.
7806         * math/test-signgam-main.c: Likewise.
7807         * math/test-signgam-uchar-init-static.c: Likewise.
7808         * math/test-signgam-uchar-init.c: Likewise.
7809         * math/test-signgam-uchar-static.c: Likewise.
7810         * math/test-signgam-uchar.c: Likewise.
7811         * math/test-signgam-uint-init-static.c: Likewise.
7812         * math/test-signgam-uint-init.c: Likewise.
7813         * math/test-signgam-uint-static.c: Likewise.
7814         * math/test-signgam-uint.c: Likewise.
7815         * math/test-signgam-ullong-init-static.c: Likewise.
7816         * math/test-signgam-ullong-init.c: Likewise.
7817         * math/test-signgam-ullong-static.c: Likewise.
7818         * math/test-signgam-ullong.c: Likewise.
7819         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7820         wrapper of w_lgamma_main.c.
7821         * math/w_lgamma_compat.c: New file.
7822         * math/w_lgamma_compatf.c: Likewise.
7823         * math/w_lgamma_compatl.c: Likewise.
7824         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
7825         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7826         defining compatibility symbols.
7827         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
7828         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7829         wrapper of w_lgammaf_main.c.
7830         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
7831         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7832         defining compatibility symbols.
7833         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
7834         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7835         wrapper of w_lgammal_main.c.
7836         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
7837         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7838         defining compatibility symbols.
7839         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
7840         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7841         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7842         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
7843         <lgamma-compat.h>.
7844         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
7845         (__ieee754_gamma): Define as alias.
7846         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7847         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
7848         <lgamma-compat.h>.
7849         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
7850         (__ieee754_gammaf): Define as alias.
7851         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7852         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
7853         <lgamma-compat.h>.
7854         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
7855         (__ieee754_gammal): Define as alias.
7856         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7857         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
7858         <math/w_lgamma_compat.c>.
7859         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7860         Define as alias of __lgamma_compat and use in defining lgammal.
7861         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7862         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
7863         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7864         (USE_AS_COMPAT): New macro.
7865         (LGAMMA_OLD_VER): Undefine and redefine.
7866         (lgammal): Do not define here.
7867         (gammal): Only define here if [GAMMA_ALIAS].
7868         * conform/linknamespace.pl (@whitelist): Remove signgam.
7869         * sysdeps/nacl/libm.abilist: Update.
7870         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7871         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7872         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7873         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7874         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7875         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7876         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7877         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7878         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7879         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7880         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7881         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7883         Likewise.
7884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7885         Likewise.
7886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7887         Likewise.
7888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7889         Likewise.
7890         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7891         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7892         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7893         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7894         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7896         Likewise.
7897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7898         Likewise.
7899         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7900         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7901         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7903 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7905         [BZ #16364]
7906         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7907         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7909 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7911         * sysdeps/s390/fpu/bits/mathinline.h:
7912         Use __asm__ [__volatile__] instead of asm [volatile].
7913         * sysdeps/s390/abort-instr.h: Likewise.
7914         * sysdeps/s390/atomic-machine.h: Likewise.
7915         * sysdeps/s390/bits/string.h: Likewise.
7916         * sysdeps/s390/dl-tls.h: Likewise.
7917         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7918         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7919         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7920         * sysdeps/s390/fpu/fesetround.c: Likewise.
7921         * sysdeps/s390/fpu/fpu_control.h: Likewise.
7922         * sysdeps/s390/fpu/s_fma.c: Likewise.
7923         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7924         * sysdeps/s390/memusage.h: Likewise.
7925         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7926         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7927         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7928         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7929         * sysdeps/s390/nptl/tls.h: Likewise.
7930         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7931         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7932         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7933         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7934         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7935         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7936         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7937         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7938         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7939         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7940         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7941         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7942         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7943         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7944         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7945         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7946         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7947         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7948         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7949         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7950         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7951         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7952         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7954 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7955             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7957         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7958         Add lwarx hint, and use macro for acquire instruction.
7959         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7960         Likewise.
7961         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7962         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7963         update to use new atomic macros.
7965 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7967         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7968         (__lll_trylock_elision): Fix setting of adapt_count.
7969         * sysdeps/unix/sysv/linux/powerpc/htm.h
7970         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7971         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7972         (_ABORT_SYSCALL): Renumber, and clarify definition.
7973         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7975 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7977         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7978         after system headers to prevent MIN/MAX redefinition.  Define
7979         HAVE_ALLOCA to preserve builtin alloca usage.
7981 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7983         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7984         static and don't set or restore rounding.
7985         (__cos)[IN_SINCOS]: Likewise.
7986         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7987         (__sincos): Set and restore rounding mode.  Remove check for infinite
7988         or NaN input.
7990         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7992         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7993         as used.
7995 2015-11-16  Florian Weimer  <fweimer@redhat.com>
7997         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7999 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
8001         * config.make.in (have-glob-dat-reloc): New.
8002         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
8003         target supports GLOB_DAT relocaton. AC_SUBST.
8004         * configure: Regenerated.
8005         * elf/Makefile (tests): Add tst-prelink.
8006         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8007         (tst-prelink-ENV): New.
8008         ($(objpfx)tst-prelink-conflict.out): Likewise.
8009         ($(objpfx)tst-prelink-cmp.out): Likewise.
8010         * sysdeps/x86/tst-prelink.c: Moved to ...
8011         * elf/tst-prelink.c: Here.
8012         * sysdeps/x86/tst-prelink.exp: Moved to ...
8013         * elf/tst-prelink.exp: Here.
8014         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
8015         (tst-prelink-ENV): Removed.
8016         ($(objpfx)tst-prelink-conflict.out): Likewise.
8017         ($(objpfx)tst-prelink-cmp.out): Likewise.
8018         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
8020 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
8022         [BZ #14551]
8023         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
8024         (__mpn_construct_long_double): If high part overflows to infinity,
8025         set errno and recompute overflowed result of the correct sign.
8026         * sysdeps/ieee754/ldbl-128ibm/Makefile
8027         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
8028         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
8029         $(libm).
8030         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
8032 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
8034         [BZ #15479]
8035         [BZ #19238]
8036         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
8037         floating-point state after first operation on input.  Restore full
8038         state rather than just rounding mode.
8039         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8040         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8041         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8043         [BZ #19235]
8044         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
8045         add 0.5 to integer arguments.
8046         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
8047         Likewise.
8048         (.LC2): New object.
8050 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
8052         * scripts/pylintrc (reports): Set to no.
8054 2015-11-10  Roland McGrath  <roland@hack.frob.com>
8056         * elf/dl-load.c (open_verify): Take new argument FD.
8057         Skip __open call if passed FD is not -1.
8058         (_dl_map_object, open_path): Update callers.
8059         * elf/dl-sysdep-open.h: New file.
8060         * elf/dl-load.c: Include it.
8061         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
8062         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
8063         * sysdeps/nacl/dl-sysdep-open.h: New file.
8064         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
8065         from libc to rtld.
8067 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8069         [BZ #19228]
8070         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
8071         and restore full floating-point state.
8072         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8073         Likewise.
8074         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8075         Likewise.
8076         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8077         Likewise.
8078         * math/test-nearbyint-except-2.c: New file.
8079         * math/Makefile (tests): Add test-nearbyint-except-2.
8081 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
8083         [BZ #19178]
8084         * sysdeps/x86/Makefile (tests): Add tst-prelink.
8085         (tst-prelink-ENV): New.
8086         ($(objpfx)tst-prelink-conflict.out): Likewise.
8087         ($(objpfx)tst-prelink-cmp.out): Likewise.
8088         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8089         * sysdeps/x86/tst-prelink.c: New file.
8090         * sysdeps/x86/tst-prelink.exp: Likewise.
8092 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8094         * math/auto-libm-test-in: Add another test of pow.
8095         * math/auto-libm-test-out: Regenerated.
8096         * math/libm-test.inc (pow_test_data): Add another test.
8098 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8100         [BZ #19219]
8101         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
8102         weak_alias to nearbyintl.
8104 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8106         * sysdeps/aarch64/bits/string.h: New file.
8107         (_STRING_ARCH_unaligned): Define.
8109 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8111         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
8112         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8113         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8114         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
8115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
8117 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
8119         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
8120         for original name of the DSO.  Add it to the name list of the DSO
8121         if it is actually given.
8122         (_dl_map_object): Keep track of whether an audit module rewrote
8123         the file name.  If yes, pass the original name to
8124         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
8125         debugging is enabled, log the change of the file name.
8126         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
8127         _dl_map_object_from_fd.
8128         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
8129         * elf/tst-audit11.c: New file
8130         * elf/tst-auditmod11.c: New file.
8131         * elf/tst-audit11mod1.c: New file.
8132         * elf/tst-audit11mod2.c: New file.
8133         * elf/tst-audit11mod2.map: New file.
8134         * elf/tst-audit12.c: New file
8135         * elf/tst-auditmod12.c: New file.
8136         * elf/tst-audit12mod1.c: New file.
8137         * elf/tst-audit12mod2.c: New file.
8138         * elf/tst-audit12mod2.map: New file.
8139         * elf/tst-audit12mod3.c: New file.
8141 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8143         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
8144         Don't create weak aliases,
8145         because versioned symbols are created later.
8146         * sysdeps/s390/s390-32/setjmp.S
8147         (setjmp, _setjmp): Remove weak and rename to an unique name
8148         in SHARED case due to existing versioned symbols.
8149         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8150         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
8151         (getcontext): Create weak alias only in non SHARED case.
8152         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8154 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8156         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
8157         (__ASSUME_*_SYSCALL) Define new macros.
8158         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
8159         Remove socketcall syscalls.
8160         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
8161         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
8162         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
8163         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
8164         * sysdeps/unix/sysv/linux/send.c (__libc_send):
8165         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
8167 2015-11-09  Florian Weimer  <fweimer@redhat.com>
8169         [BZ #12926]
8170         Terminate process on invalid netlink response.
8171         * sysdeps/unix/sysv/linux/netlinkaccess.h
8172         (__netlink_assert_response): Declare.
8173         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
8174         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
8175         (sysdep_routines): Add netlink_assert_response.
8176         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
8177         __netlink_assert_response.
8178         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8179         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8180         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
8181         __netlink_assert_response.
8183 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
8185         [BZ #19178]
8186         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
8187         (RTYPE_CLASS_PLT): Likewise.
8188         (RTYPE_CLASS_COPY): Likewise.
8189         (RTYPE_CLASS_TLS): Likewise.
8190         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
8191         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
8192         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
8193         DL_DEBUG_PRELINK.
8195 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
8197         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
8198         calls with argument -0.5.
8199         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
8201         * configure.ac (libc_cv_z_nodelete): Remove configure test.
8202         (libc_cv_z_nodlopen): Likewise.
8203         (libc_cv_z_initfirst): Likewise.
8204         * configure: Regenerated.
8206 2015-11-06  Florian Weimer  <fweimer@redhat.com>
8208         Simplify abilist format to be line-based.
8209         * scripts/abilist.awk: Collect descriptors in the descs variable.
8210         (emit): Write descs variable and sort it
8211         externally, with sort.
8212         * sysdeps/**/*.abilist: Convert to new format.
8214 2015-11-06  Mark Wielaard  <mjw@redhat.com>
8216         [BZ #11460]
8217         * io/Makefile (routines): Add fts64.
8218         (tests): Add tst-fts and tst-fts-lfs.
8219         (CFLAGS-fts64.c): New.
8220         * io/Versions (GLIBC_2.23): New.
8221         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
8222         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
8223         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
8224         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
8225         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
8226         (FTSENT64): Likewise.
8227         (fts64_children): Likewise.
8228         (fts64_close): Likewise.
8229         (fts64_open): Likewise.
8230         (fts64_read): Likewise.
8231         (fts64_set): Likewise.
8232         * io/fts64.c: New file.
8233         * io/tst-fts.c: New test.
8234         * io/tst-fts-lfs.c: Likewise.
8235         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
8236         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
8237         fts64_set.
8238         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8239         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8240         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8241         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8242         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8243         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8244         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8245         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8246         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8247         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8248         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8249         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8250         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8252         Likewise.
8253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8254         Likewise.
8255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8257         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8258         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8259         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8260         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8261         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8264         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8265         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8266         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8267         * sysdeps/wordsize-64/fts.c: New file.
8268         * sysdeps/wordsize-64/fts64.c: Likewise.
8269         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
8270         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
8271         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
8272         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
8274 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8276         * math/libm-test.inc (NON_FINITE): New macro.
8277         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
8278         * math/gen-libm-test.pl (show_exceptions): Add argument
8279         $non_finite.
8280         (parse_args): Update call to show_exceptions.
8281         * math/test-math-finite.h: New file.
8282         * math/test-math-no-finite.h: Likewise.
8283         * math/test-double-finite.c: Likewise.
8284         * math/test-float-finite.c: Likewise.
8285         * math/test-ldouble-finite.c: Likewise.
8286         * math/test-double.c: Include "test-math-no-finite.h".
8287         * math/test-float.c: Include "test-math-no-finite.h".
8288         * math/test-ldouble.c: Include "test-math-no-finite.h".
8289         * math/test-math-inline.h (TEST_FINITE): New macro.
8290         * math/test-math-vector.h (TEST_FINITE): Likewise.
8291         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
8292         (libm-tests): Add test-float-finite and test-double-finite.
8293         ($(objpfx)test-float-finite.o): New dependency on
8294         $(objpfx)libm-test.stmp.
8295         ($(objpfx)test-double-finite.o): Likewise.
8296         ($(objpfx)test-ldouble-finite.o): Likewise.
8297         (libm-test-no-inline-cflags): New variable.
8298         (libm-test-finite-cflags): Likewise.
8299         (CFLAGS-test-float-finite.c): Likewise.
8300         (CFLAGS-test-double-finite.c): Likewise.
8301         (CFLAGS-test-ldouble-finite.c): Likewise.
8302         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
8303         (CFLAGS-test-double.c): Likewise.
8304         (CFLAGS-test-ldouble.c): Likewise.
8306 2015-11-05  Roland McGrath  <roland@hack.frob.com>
8308         * io/fcntl.c (__fcntl): Add ... to prototype.
8309         * misc/ioctl.c (__ioctl): Likewise.
8310         * misc/syscall.c (syscall): Likewise.
8312 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8314         * scripts/list-fixed-bugs.py: New file.
8316         [BZ #19213]
8317         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
8318         returned for argument 1.
8319         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
8320         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
8321         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
8322         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
8323         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
8324         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
8326         [BZ #19211]
8327         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
8328         __USE_XOPEN], not if [!__USE_ISOC99].
8329         (lgammaf): Likewise.
8330         (lgammal): Likewise.
8331         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
8332         (gammaf): Likewise.
8333         (gammal): Likewise.
8334         * math/test-signgam-finite-c11.c: New file.
8335         * math/test-signgam-finite-c99.c: Likewise.
8336         * math/test-signgam-finite.c: Likewise.
8337         * math/Makefile (tests): Add test-signgam-finite,
8338         test-signgam-finite-c99 and test-signgam-finite-c11.
8339         (CFLAGS-test-signgam-finite.c): New variable.
8340         (CFLAGS-test-signgam-finite-c99.c): Likewise.
8341         (CFLAGS-test-signgam-finite-c11.c): Likewise.
8343         [BZ #19212]
8344         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
8345         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
8346         500].
8347         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
8348         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
8349         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
8350         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
8351         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
8352         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
8353         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
8354         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
8355         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
8356         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
8358         [BZ #19209]
8359         * math/bits/math-finite.h (ldexp): Remove declaration.
8360         (ldexpf): Likewise.
8361         (ldexpl): Likewise.
8363         [BZ #19205]
8364         * math/bits/math-finite.h (acosf): Condition declaration on
8365         [__USE_ISOC99].
8366         (acosl): Likewise.
8367         (acoshf): Likewise.
8368         (acoshl): Likewise.
8369         (asinf): Likewise.
8370         (asinl): Likewise.
8371         (atan2f): Likewise.
8372         (atan2l): Likewise.
8373         (atanhf): Likewise.
8374         (atanhl): Likewise.
8375         (coshf): Likewise.
8376         (coshl): Likewise.
8377         (expf): Likewise.
8378         (expl): Likewise.
8379         (fmodf): Likewise.
8380         (fmodl): Likewise.
8381         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
8382         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
8383         (j0l): Likewise.
8384         (y0f): Likewise.
8385         (y0l): Likewise.
8386         (j1f): Likewise.
8387         (j1l): Likewise.
8388         (y1f): Likewise.
8389         (y1l): Likewise.
8390         (jnf): Likewise.
8391         (jnl): Likewise.
8392         (ynf): Likewise.
8393         (ynl): Likewise.
8394         (lgammaf_r): Condition declaration on [__USE_ISOC99].
8395         (lgammal_r): Likewise.
8396         (__lgamma_r_finite): New declaration.
8397         (__lgammaf_r_finite): Likewise.
8398         (__lgammal_r_finite): Likewise.
8399         (lgamma): Use __lgamma_r_finite.
8400         (lgammaf): Condition definition on [__USE_ISOC99].  Use
8401         __lgammaf_r_finite.
8402         (lgammal): Condition definition on [__USE_ISOC99].  Use
8403         __lgammal_r_finite.
8404         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
8405         __lgamma_r_finite.
8406         (gammaf): Condition definition on [__USE_ISOC99].  Use
8407         __lgammaf_r_finite.
8408         (gammal): Condition definition on [__USE_ISOC99].  Use
8409         __lgammal_r_finite.
8410         (logf): Condition declaration on [__USE_ISOC99].
8411         (logl): Likewise.
8412         (log10f): Likewise.
8413         (log10l): Likewise.
8414         (ldexpf): Likewise.
8415         (ldexpl): Likewise.
8416         (powf): Likewise.
8417         (powl): Likewise.
8418         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
8419         __USE_ISOC99].
8420         (remainderf): Condition declaration on [__USE_ISOC99].
8421         (remainderl): Likewise.
8422         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
8423         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
8424         (scalbl): Likewise.
8425         (sinhf): Condition declaration on [__USE_ISOC99].
8426         (sinhl): Likewise.
8427         (sqrtf): Likewise.
8428         (sqrtl): Likewise.
8430 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8432         * sysdeps/arm/atomic-machine.h
8433         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8434         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8435         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
8436         Remove conditional code.
8437         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8438         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8439         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
8440         Change conditional to [__ASSEMBLER__].
8441         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8442         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
8443         [!__ASSEMBLER__].
8444         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
8445         code.
8446         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
8447         conditional macro definitions.
8448         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
8449         (__arch_compare_and_exchange_val_16_acq): Likewise.
8450         (__arch_compare_and_exchange_val_32_acq): Likewise.
8451         (atomic_exchange_and_add): Likewise.
8452         (atomic_add): Likewise.
8453         (atomic_add_negative): Likewise.
8454         (atomic_add_zero): Likewise.
8455         (atomic_bit_set): Likewise.
8456         (atomic_bit_test_set): Likewise.
8457         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
8458         code unconditional.
8459         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8461         * math/test-math-errno.h: New file.
8462         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
8463         empty.
8464         (TEST_ERRNO): New macro.
8465         (TEST_EXCEPTIONS): Likewise.
8466         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
8467         (TEST_EXCEPTIONS): Likewise.
8468         * math/test-math-vector.h (TEST_ERRNO): Likewise.
8469         * math/test-double.c: Include "test-math-errno.h".
8470         * math/test-float.c: Likewise.
8471         * math/test-ldouble.c: Likewise.
8472         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
8473         code unconditional.
8474         (test_exceptions): Only run code if TEST_EXCEPTIONS.
8475         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
8476         unconditional.
8477         (test_errno): Only run code if TEST_ERRNO.
8478         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
8480 2015-11-04  Florian Weimer  <fweimer@redhat.com>
8482         * nptl/tst-once5.cc: Remove attribution.
8484 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8486         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
8487         sqrt, tan, tanh, y0, y1 and yn.
8488         * math/auto-libm-test-out: Regenerated.
8489         * math/libm-test.inc (scalb_test_data): Add more tests.
8490         (scalbn_test_data): Likewise.
8491         (scalbln_test_data): Likewise.
8492         (signbit_test_data): Likewise.
8493         (sin_test_data): Likewise.
8494         (sincos_test_data): Likewise.
8495         (sinh_test_data): Likewise.
8496         (sqrt_test_data): Likewise.
8497         (tan_test_data): Likewise.
8498         (tanh_test_data): Likewise.
8499         (tgamma_test_data): Likewise.
8500         (y0_test_data): Likewise.
8501         (y1_test_data): Likewise.
8502         (yn_test_data): Likewise.
8503         (significand_test_data): Likewise.
8504         * sysdeps/i386/fpu/libm-test-ulps: Update.
8506 2015-11-03  David Kastrup  <dak@gnu.org>
8508         [BZ #18604]
8509         * assert/assert.h (assert): Don't macro-expand failed assertion
8510         expression in error message.
8511         * malloc/malloc.c (assert): Likewise.
8513 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
8515         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
8516         test.
8517         * configure: Regenerated.
8519 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
8521         * math/libm-test.inc (modf_test_data): Add more tests.
8522         (nearbyint_test_data): Likewise.
8523         (nextafter_test_data): Likewise.
8524         (nexttoward_test_data): Likewise.
8525         (pow_test_data): Likewise.
8526         (remainder_test_data): Likewise.
8527         (remquo_test_data): Likewise.
8528         (rint_test_data): Likewise.
8530         [BZ #19201]
8531         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8532         Check for zero remainder in case of large exponents and ensure
8533         correct sign of result in that case.
8534         * math/libm-test.inc (remainder_test_data): Add more tests.
8536         [BZ #6799]
8537         * math/s_nextafter.c: Include <errno.h>.
8538         (__nextafter): Set errno on overflow and underflow.
8539         * math/s_nexttowardf.c: Include <errno.h>.
8540         (__nexttowardf): Set errno on overflow and underflow.
8541         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
8542         (__nextafterl): Set errno on overflow and underflow.
8543         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
8544         (__nexttoward): Set errno on overflow and underflow.
8545         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
8546         (__nexttowardf): Set errno on overflow and underflow.
8547         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
8548         (__nextafterf): Set errno on overflow and underflow.
8549         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
8550         (__nextafterl): Set errno on overflow and underflow.
8551         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
8552         (__nexttoward): Set errno on overflow and underflow.
8553         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
8554         (__nexttowardf): Set errno on overflow and underflow.
8555         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
8556         (__nextafterl): Set errno on overflow and underflow.
8557         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
8558         (__nexttoward): Set errno on overflow and underflow.
8559         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
8560         (__nexttowardf): Set errno on overflow and underflow.
8561         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
8562         (__nexttoward): Set errno on overflow and underflow.
8563         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
8564         (__nexttowardf): Set errno on overflow and underflow.
8565         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
8566         (__nldbl_nexttowardf): Set errno on overflow and underflow.
8567         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
8568         (__nextafterl): Set errno on overflow and underflow.
8569         * math/libm-test.inc (nextafter_test_data): Do not allow errno
8570         setting to be missing on overflow.  Add more tests.
8571         (nexttoward_test_data): Likewise.
8573         * configure.ac (libc_cv_initfini_array): Remove configure test.
8574         * configure: Regenerated.
8576 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
8578         [BZ #19189]
8579         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
8580         non-finite argument handle arguments with negative sign.
8582         * math/libm-test.inc (j0_test_data): Do not test sign of zero
8583         result from infinite argument.
8584         (j1_test_data): Likewise.
8585         (jn_test_data): Likewise.
8586         (y0_test_data): Likewise.
8587         (y1_test_data): Likewise.
8588         (yn_test_data): Likewise.
8590         [BZ #16171]
8591         * math/w_remainder.c (drem): Define as weak alias of __remainder.
8592         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
8593         * math/w_remainderf.c (dremf): Define as weak alias of
8594         __remainderf.
8595         * math/w_remainderl.c (dreml): Define as weak alias of
8596         __remainderl.
8597         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
8598         __remainder.
8599         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
8600         __remainderf.
8601         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
8602         __remainderl.
8603         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
8604         weak alias of remainderl.
8605         * sysdeps/ieee754/ldbl-opt/w_remainder.c
8606         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
8607         alias of __remainder.
8608         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
8609         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
8610         strong alias of __remainderl.
8611         (dreml): Use long_double_symbol.
8612         * math/Makefile (libm-calls): Remove w_drem.
8613         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
8614         (CFLAGS-nldbl-drem.c): Remove variable.
8615         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
8616         * math/w_drem.c: Remove file.
8617         * math/w_dremf.c: Likewise.
8618         * math/w_dreml.c: Likewise.
8619         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
8620         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
8621         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
8623         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
8624         * sysdeps/i386/configure: Regenerated.
8625         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
8626         * sysdeps/x86_64/configure: Regenerated.
8628         * configure.ac (libc_cv_asm_protected_directive): Remove configure
8629         test.
8630         (libc_cv_visibility_attribute): Likewise.
8631         (libc_cv_protected_data): Test unconditionally.
8632         (libc_cv_broken_visibility_attribute): Remove configure test.
8633         (libc_cv_have_sdata_section): Test unconditionally.
8634         * configure: Regenerated.
8636         * include/libc-internal.h (libc_max_align_t): Remove typedef.
8637         * include/scratch_buffer.h: Include <stddef.h> instead of
8638         <libc-internal.h>.
8639         (struct scratch_buffer): Use max_align_t instead of
8640         libc_max_align_t.
8642 2015-10-29  Florian Weimer  <fweimer@redhat.com>
8644         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
8645         instead of extend_alloca.  Change control flow to avoid a goto.
8646         Remove assert which is trivially always true.
8648 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8650         [BZ #16068]
8651         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
8652         (FE_ALL_EXCEPT_X86): New macro.
8653         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8654         FE_ALL_EXCEPT.  Ensure precision control is included in
8655         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8656         handle "denormal operand exception" and clear FZ and DAZ bits.
8657         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
8658         (FE_ALL_EXCEPT_X86): New macro.
8659         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8660         FE_ALL_EXCEPT.  Ensure precision control is included in
8661         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8662         handle "denormal operand exception" and clear FZ and DAZ bits.
8663         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
8664         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
8665         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8666         test-fenv-x87 and test-fenv-sse-2.
8667         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
8669         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
8670         * math/test-double.h (BUILD_COMPLEX): New macro.
8671         * math/test-float.h (BUILD_COMPLEX): Likewise.
8672         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8674         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8675         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8676         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8677         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8678         instead of DBL_DENORM_MIN in comment.
8679         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8680         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8681         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8682         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8683         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8684         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8686 2015-10-28  Florian Weimer  <fweimer@redhat.com>
8688         [BZ# 19048]
8689         * malloc/malloc.c (struct malloc_state): Update comment.  Add
8690         attached_threads member.
8691         (main_arena): Initialize attached_threads.
8692         * malloc/arena.c (list_lock): Update comment.
8693         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8694         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8695         (deattach_arena): New function.
8696         (_int_new_arena): Initialize arena reference count and deattach
8697         replaced arena.
8698         (get_free_list, reused_arena): Update reference count and deattach
8699         replaced arena.
8700         (arena_thread_freeres): Update arena reference count and only put
8701         unreferenced arenas on the free list.
8703 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8705         [BZ #19181]
8706         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8707         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8708         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8709         * math/test-fenv-clear-main.c: New file.
8710         * math/test-fenv-clear.c: Likewise.
8711         * math/Makefile (tests): Add test-fenv-clear.
8712         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8713         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8714         test-fenv-clear-sse.
8715         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8717         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8718         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8719         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8721 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8723         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8724         static libc.
8726 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8728         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8729         test.
8730         * sysdeps/i386/configure: Regenerated.
8731         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8732         test.
8733         * sysdeps/x86_64/configure: Regenerated.
8734         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8735         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8736         memset-avx2 unconditionally instead of conditionally on
8737         [$(config-cflags-avx2) = yes].
8738         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8739         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8740         unconditional.
8741         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8742         * sysdeps/x86_64/multiarch/memset_chk.S
8743         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8744         to [IS_IN (libc) && SHARED].
8746 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8748         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8749         configure test.
8750         * sysdeps/arm/configure: Regenerated.
8751         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8752         Define variable if not already defined.
8754         [BZ #17404]
8755         * sysdeps/mips/atomic-machine.h
8756         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8757         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8758         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8760         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8761         unconditional.
8762         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8763         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8764         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8765         unconditional.
8766         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8767         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8768         unconditional.
8769         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8770         * stdlib/setenv.c
8771         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8772         code unconditional.
8773         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8774         Remove conditional code.
8775         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8776         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8777         unconditional.
8778         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8779         code.
8780         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8781         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8782         unconditional.
8783         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8784         code.
8785         * sysdeps/ieee754/ldbl-128/k_tanl.c
8786         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8787         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8788         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8789         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8790         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8791         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8792         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8793         unconditional.
8794         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8795         code.
8796         * sysdeps/ieee754/ldbl-96/k_tanl.c
8797         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8798         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8800         * nptl/tst-initializers1-c11.c: New file.
8801         * nptl/tst-initializers1-gnu11.c: Likewise.
8802         * nptl/Makefile (tests): Add these new tests.
8803         (CFLAGS-tst-initializers1-c11.c): New variable.
8804         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8806         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8807         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8808         instead of -std=gnu99.
8809         * configure.ac (systemtap): Test with -std=gnu11 instead of
8810         -std=gnu99.
8811         * configure: Regenerated.
8812         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8813         in compilation command in comment.
8815         * sysdeps/nptl/configure.ac: Remove file.
8816         * sysdeps/nptl/configure: Remove generated file.
8817         * configure.ac (libc_cv_forced_unwind): Do not substitute.
8818         * configure: Regenerated.
8819         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8820         * config.make.in (have-forced-unwind): Remove variable.
8821         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8822         unconditional.
8823         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8824         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8825         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8826         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8827         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8828         unconditional.
8830 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8832         [BZ #19174]
8833         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8834         .skip_lock_out_of_tbegin_retries.
8835         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8836         (__lll_lock_elision): Likewise, and respect a value of
8837         try_tbegin <= 0.
8839 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8841         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8842         statement.
8844 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8846         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8847         variable.
8848         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8849         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8851         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8852         of -std=c1x -D_ISOC11_SOURCE.
8854         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8855         * configure: Regenerated.
8856         * manual/install.texi (Tools for Compilation): Document
8857         requirement for GCC 4.7 or later.
8858         * INSTALL: Regenerated.
8860 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
8862         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8863         on CNT to a conditional jump to 'puntdata'.
8865 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8867         * configure.ac (libc_cv_gcc___thread): Remove configure test.
8868         (libc_cv_gcc_tls_model_attr): Likewise.
8869         * configure: Regenerated.
8871         * configure.ac (libc_cv_need_minus_P): Remove configure test.
8872         * configure: Regenerated.
8873         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8875 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
8877         * configure.ac (old_glibc_headers): Remove configure test.
8878         * configure: Regenerated.
8879         * config.make.in (old-glibc-headers): Remove variable.
8880         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8881         (install): Remove dependency on remove-old-headers.
8882         (headers2_0): Remove variable.
8883         (remove-old-headers): Remove rule.
8885         * configure.ac (libc_cv_dot_text): Remove configure test.
8886         (libc_cv_asm_set_directive): Use .text instead of
8887         ${libc_cv_dot_text} in configure test.
8888         * configure: Regenerated.
8890 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8892         [BZ #19168]
8893         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8895 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8897         * configure.ac (CXX): Clear the variable if the C++ toolchain does
8898         not support static linking.
8899         * configure: Regenerate.
8901 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
8903         * math/libm-test.inc (check_float_internal): Do not special-case
8904         errors up to 0.5 ulp.
8906         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8907         log2.
8908         * math/auto-libm-test-out: Regenerated.
8909         * math/libm-test.inc (MAX_EXP): New macro.
8910         (ilogb_test_data): Add more tests.
8911         (isfinite_test_data): Likewise.
8912         (isgreater_test_data): Likewise.
8913         (isgreaterequal_test_data): Likewise.
8914         (isinf_test_data): Likewise.
8915         (isless_test_data): Likewise.
8916         (islessequal_test_data): Likewise.
8917         (islessgreater_test_data): Likewise.
8918         (isnan_test_data): Likewise.
8919         (isnormal_test_data): Likewise.
8920         (issignaling_test_data): Likewise.
8921         (isunordered_test_data): Likewise.
8922         (j0_test_data): Likewise.
8923         (j1_test_data): Likewise.
8924         (jn_test_data): Likewise.
8925         (lgamma_test_data): Likewise.
8926         (log_test_data): Likewise.
8927         (log10_test_data): Likewise.
8928         (log1p_test_data): Likewise.
8929         (log2_test_data): Likewise.
8930         (logb_test_data): Likewise.
8931         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8933         [BZ #18611]
8934         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8935         avoid excess range and precision on underflow.
8936         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8937         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8938         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8939         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8940         underflow.
8941         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8942         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8943         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8944         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8945         * math/auto-libm-test-in: Do not allow missing errno setting for
8946         tests of j1 and jn.
8947         * math/auto-libm-test-out: Regenerated.
8949 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
8951         [BZ #15491]
8952         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8953         floating-point environment instead of clearing all exceptions.
8954         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8955         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8956         merging in "invalid" exceptions from frndint.
8957         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8958         * math/test-nearbyint-except.c: New file.
8959         * math/Makefile (tests): Add test-nearbyint-except.
8961 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
8963         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8965         * sysdeps/tile/libm-test-ulps: Regenerated.
8967 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8970         (__NR_sync_file_range2): Assume it is always defined.
8971         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8972         (__NR_sync_file_range): Assume it is always defined.
8974 2015-10-22  Andreas Schwab  <schwab@suse.de>
8976         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8977         INTERNAL_SYSCALL_ERRNO.
8978         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8979         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8980         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8981         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8982         Likewise.
8983         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8985 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8987         * io/tst-fcntl.c (fd): New static variable.
8988         (do_prepare): Open temporary file here....
8989         (do_test): ...not here.
8991         * io/ftwtest-sh: Also trap on exit to remove temporary files.
8993 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8995         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8996         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8997         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8998         Moved before "#ifdef __ASSEMBLER__".
9000 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9002         [BZ #19156]
9003         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
9004         arguments very close to 0.
9006 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
9008         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
9009         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
9011 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9013         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9014         New.  Defined for GCC 5 and above when not compiling for
9015         profiling.
9016         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9018         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9019         Renamed to ...
9020         (CFLAGS-epoll_pwait.o): This.
9021         (CFLAGS-mmap.c): Renamed to ...
9022         (CFLAGS-mmap.o): This.
9023         (CFLAGS-mmap64.c): Renamed to ...
9024         (CFLAGS-mmap64.o): This.
9025         (CFLAGS-epoll_pwait.os): New.
9026         (CFLAGS-mmap.os): Likewise.
9027         (CFLAGS-mmap64.os): Likewise.
9028         (CFLAGS-semtimedop.os): Likewise.
9029         (CFLAGS-semtimedop.c): Renamed to ...
9030         (CFLAGS-semtimedop.o): This.
9032 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9034         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
9035         warning message.
9037 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9039         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
9040         * Makefile ($(objpfx)c++-types-check.out): Filter out
9041         $(+gccwarn-c) instead of -Wstrict-prototypes.
9043         * io/fts.c (fts_open): Convert to prototype-style function
9044         definition.
9045         * malloc/mcheck.c (mcheck): Likewise.
9046         (mcheck_pedantic): Likewise.
9047         * posix/regexec.c (re_search_2_stub): Likewise.  Use
9048         internal_function.
9049         (re_search_internal): Likewise.
9050         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
9051         prototype-style function definition.
9052         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9053         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9054         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
9055         (xdr_utmpptr): Likewise.
9056         (xdr_utmparr): Likewise.
9057         (xdr_utmpidle): Likewise.
9058         (xdr_utmpidleptr): Likewise.
9059         (xdr_utmpidlearr): Likewise.
9061         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
9062         log, log10 and log2.
9063         * math/auto-libm-test-out: Regenerated.
9064         * math/libm-test.inc (fmod_test_data): Add more tests.
9065         (fpclassify_test_data): Likewise.
9066         (frexp_test_data): Likewise.
9067         (hypot_test_data): Likewise.
9068         (ilogb_test_data): Likewise.
9070 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
9072         * debug/fortify_fail.c (__fortify_fail): Convert to
9073         prototype-style function definition.  Use internal_function.
9074         * libio/genops.c (save_for_backup): Convert to prototype-style
9075         function definition.
9076         * libio/wgenops.c (save_for_wbackup): Likewise.
9077         * login/grantpt.c (grantpt): Likewise.
9078         * login/ptsname.c (ptsname): Likewise.
9079         (__ptsname_r): Likewise.
9080         * login/unlockpt.c (unlockpt): Likewise.
9081         * mach/msgserver.c (__mach_msg_server): Likewise.
9082         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
9083         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
9084         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
9085         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
9086         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
9087         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
9088         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
9089         Likewise.
9090         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
9091         internal_function.
9092         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
9093         prototype-style function definition.
9094         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
9095         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
9096         (__pthread_create_2_0): Likewise.
9097         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
9098         * nptl/register-atfork.c (__register_atfork): Likewise.
9099         * posix/glob.c (glob): Likewise.
9100         * posix/regcomp.c (re_comp): Likewise.
9101         * posix/regexec.c (re_exec): Likewise.
9102         * stdlib/add_n.c [__STDC__]: Make code unconditional.
9103         [!__STDC__]: Remove conditional code.
9104         * stdlib/cmp.c [__STDC__]: Make code unconditional.
9105         [!__STDC__]: Remove conditional code.
9106         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
9107         [!__STDC__]: Remove conditional code.
9108         * stdlib/divrem.c [__STDC__]: Make code unconditional.
9109         [!__STDC__]: Remove conditional code.
9110         * stdlib/lshift.c [__STDC__]: Make code unconditional.
9111         [!__STDC__]: Remove conditional code.
9112         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
9113         [!__STDC__]: Remove conditional code.
9114         * stdlib/mul.c [__STDC__]: Make code unconditional.
9115         [!__STDC__]: Remove conditional code.
9116         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
9117         [!__STDC__]: Remove conditional code.
9118         * stdlib/rshift.c [__STDC__]: Make code unconditional.
9119         [!__STDC__]: Remove conditional code.
9120         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
9121         function definition.
9122         (STRTOF): Likewise.
9123         * stdlib/strtod_l.c (__STRTOF): Likewise.
9124         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
9125         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
9126         (__strtol_l): Likewise.
9127         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
9128         [!__STDC__]: Remove conditional code.
9129         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
9130         definition.
9131         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9132         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9133         type.
9134         (__strcasecmp): Convert to prototype-style function definition.
9135         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
9136         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9137         type.
9138         (__strncasecmp): Convert to prototype-style function definition.
9139         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
9140         * sunrpc/xdr.c (xdr_union): Likewise.
9141         * sunrpc/xdr_array.c (xdr_array): Likewise.
9142         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
9143         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
9144         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
9145         Likewise.
9146         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
9147         Likewise.
9148         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
9149         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9150         Likewise.
9151         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
9152         (LOCALE_PARAM_PROTO): Likewise.
9153         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
9154         argument type.
9155         (ut_argument_spec): Remove macro.
9156         (ut_argument_spec_iso): Rename to ut_argument_spec.
9157         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
9158         prototype-style function definition.
9159         (memcpy_uppcase): Likewise.
9160         (__strftime_internal): Likewise.
9161         (my_strftime): Likewise.
9162         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
9163         (LOCALE_PARAM_DECL): Likewise.
9164         [_LIBC] (LOCALE_PARAM): Include argument type.
9165         (__strptime_internal): Convert to prototype-style function
9166         definition.
9167         (strptime): Likewise.
9168         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9169         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9170         type.
9171         (__wcscasecmp): Convert to prototype-style function definition.
9172         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
9173         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9174         type.
9175         (__wcsncasecmp): Convert to prototype-style function definition.
9177         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
9178         function definition.
9179         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9180         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9181         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
9182         * elf/dl-minimal.c (_itoa): Likewise.
9183         * hurd/hurdmalloc.c (malloc): Likewise.
9184         (free): Likewise.
9185         (realloc): Likewise.
9186         * inet/inet6_option.c (inet6_option_space): Likewise.
9187         (inet6_option_init): Likewise.
9188         (inet6_option_append): Likewise.
9189         (inet6_option_alloc): Likewise.
9190         (inet6_option_next): Likewise.
9191         (inet6_option_find): Likewise.
9192         * io/ftw.c (FTW_NAME): Likewise.
9193         (NFTW_NAME): Likewise.
9194         (NFTW_NEW_NAME): Likewise.
9195         (NFTW_OLD_NAME): Likewise.
9196         * libio/iofwide.c (_IO_fwide): Likewise.
9197         * libio/strops.c (_IO_str_init_static_internal): Likewise.
9198         (_IO_str_init_static): Likewise.
9199         (_IO_str_init_readonly): Likewise.
9200         (_IO_str_overflow): Likewise.
9201         (_IO_str_underflow): Likewise.
9202         (_IO_str_count): Likewise.
9203         (_IO_str_seekoff): Likewise.
9204         (_IO_str_pbackfail): Likewise.
9205         (_IO_str_finish): Likewise.
9206         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
9207         (_IO_wstr_overflow): Likewise.
9208         (_IO_wstr_underflow): Likewise.
9209         (_IO_wstr_count): Likewise.
9210         (_IO_wstr_seekoff): Likewise.
9211         (_IO_wstr_pbackfail): Likewise.
9212         (_IO_wstr_finish): Likewise.
9213         * locale/programs/localedef.c (normalize_codeset): Likewise.
9214         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9215         (add_locales_to_archive): Likewise.
9216         (delete_locales_from_archive): Likewise.
9217         * malloc/malloc.c (__libc_mallinfo): Likewise.
9218         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
9219         * misc/tsearch.c (__tfind): Likewise.
9220         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
9221         * nptl/pthread_attr_getdetachstate.c
9222         (__pthread_attr_getdetachstate): Likewise.
9223         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
9224         Likewise.
9225         * nptl/pthread_attr_getinheritsched.c
9226         (__pthread_attr_getinheritsched): Likewise.
9227         * nptl/pthread_attr_getschedparam.c
9228         (__pthread_attr_getschedparam): Likewise.
9229         * nptl/pthread_attr_getschedpolicy.c
9230         (__pthread_attr_getschedpolicy): Likewise.
9231         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
9232         Likewise.
9233         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
9234         Likewise.
9235         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
9236         Likewise.
9237         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
9238         Likewise.
9239         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
9240         (__pthread_attr_init_2_0): Likewise.
9241         * nptl/pthread_attr_setdetachstate.c
9242         (__pthread_attr_setdetachstate): Likewise.
9243         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
9244         Likewise.
9245         * nptl/pthread_attr_setinheritsched.c
9246         (__pthread_attr_setinheritsched): Likewise.
9247         * nptl/pthread_attr_setschedparam.c
9248         (__pthread_attr_setschedparam): Likewise.
9249         * nptl/pthread_attr_setschedpolicy.c
9250         (__pthread_attr_setschedpolicy): Likewise.
9251         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
9252         Likewise.
9253         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
9254         Likewise.
9255         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
9256         Likewise.
9257         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
9258         Likewise.
9259         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
9260         Likewise.
9261         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
9262         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
9263         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
9264         use internal_function.
9265         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
9266         prototype-style function definition.
9267         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
9268         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
9269         internal_function.
9270         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
9271         Convert to prototype-style function definition.
9272         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9273         Likewise.
9274         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
9275         Likewise.
9276         (__pthread_mutex_unlock): Likewise.
9277         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
9278         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
9279         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
9280         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
9281         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
9282         * nss/makedb.c (process_input): Likewise.
9283         * posix/fnmatch.c (__strchrnul): Likewise.
9284         (__wcschrnul): Likewise.
9285         (fnmatch): Likewise.
9286         * posix/fnmatch_loop.c (FCT): Likewise.
9287         * posix/glob.c (globfree): Likewise.
9288         (__glob_pattern_type): Likewise.
9289         (__glob_pattern_p): Likewise.
9290         * posix/regcomp.c (re_compile_pattern): Likewise.
9291         (re_set_syntax): Likewise.
9292         (re_compile_fastmap): Likewise.
9293         (regcomp): Likewise.
9294         (regerror): Likewise.
9295         (regfree): Likewise.
9296         * posix/regexec.c (regexec): Likewise.
9297         (re_match): Likewise.
9298         (re_search): Likewise.
9299         (re_match_2): Likewise.
9300         (re_search_2): Likewise.
9301         (re_search_stub): Likewise.  Use internal_function
9302         (re_copy_regs): Likewise.
9303         (re_set_registers): Convert to prototype-style function
9304         definition.
9305         (prune_impossible_nodes): Likewise.  Use internal_function.
9306         * resolv/inet_net_pton.c (inet_net_pton): Convert to
9307         prototype-style function definition.
9308         (inet_net_pton_ipv4): Likewise.
9309         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9310         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
9311         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9312         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
9313         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9314         Make variadic.
9315         * time/strptime_l.c (localtime_r): Convert to prototype-style
9316         function definition.
9317         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9318         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9319         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9320         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9322         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
9323         definition.
9324         (_ufc_doit_r): Likewise.
9325         * crypt/crypt_util.c (_ufc_copymem): Likewise.
9326         (_ufc_output_conversion_r): Likewise.
9327         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
9328         * inet/rcmd.c (rcmd_af): Likewise.
9329         (rcmd): Likewise.
9330         (ruserok_af): Likewise.
9331         (ruserok): Likewise.
9332         (ruserok2_sa): Likewise.
9333         (ruserok_sa): Likewise.
9334         (iruserok_af): Likewise.
9335         (iruserok): Likewise.
9336         (__ivaliduser): Likewise.
9337         (__validuser2_sa): Likewise.
9338         * inet/rexec.c (rexec_af): Likewise.
9339         (rexec): Likewise.
9340         * inet/ruserpass.c (ruserpass): Likewise.
9341         * locale/programs/xmalloc.c (xcalloc): Likewise.
9342         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
9343         * math/w_drem.c (__drem): Likewise.
9344         * math/w_dremf.c (__dremf): Likewise.
9345         * math/w_dreml.c (__dreml): Likewise.
9346         * misc/daemon.c (daemon): Likewise.
9347         * resolv/res_debug.c (p_fqnname): Likewise.
9348         * stdlib/div.c (div): Likewise.
9349         * string/memcmp.c (memcmp_bytes): Likewise.
9350         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
9351         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
9353         * crypt/cert.c (main): Convert to prototype-style function
9354         definition.
9355         * io/pipe.c (__pipe): Likewise.
9356         * io/pipe2.c (__pipe2): Likewise.
9357         * misc/futimesat.c (futimesat): Likewise.
9358         * misc/utimes.c (__utimes): Likewise.
9359         * posix/execve.c (__execve): Likewise.
9360         * posix/execvp.c (execvp): Likewise.
9361         * posix/execvpe.c (__execvpe): Likewise.
9362         * posix/fexecve.c (fexecve): Likewise.
9363         * socket/socketpair.c (socketpair): Likewise.
9364         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9365         * stdlib/erand48.c (erand48): Likewise.
9366         * stdlib/erand48_r.c (__erand48_r): Likewise.
9367         * stdlib/jrand48.c (jrand48): Likewise.
9368         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
9369         * stdlib/lcong48.c (lcong48): Likewise.
9370         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
9371         * stdlib/nrand48.c (nrand48): Likewise.
9372         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
9373         * stdlib/seed48.c (seed48): Likewise.
9374         * stdlib/seed48_r.c (__seed48_r): Likewise.
9375         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
9376         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
9377         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
9379 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9381         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
9382         * configure: Regenerated.
9383         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
9384         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
9385         unconditional.
9386         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9387         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9388         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9389         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
9390         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
9391         unconditional.
9392         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9394         * posix/Makefile (CFLAGS-regex.c): Remove variable.
9395         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
9397         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
9398         function definition.
9399         * crypt/crypt_util.c (__encrypt_r): Likewise.
9400         * libio/genops.c (_IO_no_init): Likewise.
9401         * libio/iofopncook.c (_IO_fopencookie): Likewise.
9402         (_IO_old_fopencookie): Likewise.
9403         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9404         * libio/iogetline.c (_IO_getline): Likewise.
9405         (_IO_getline_info): Likewise.
9406         * libio/iogetwline.c (_IO_getwline): Likewise.
9407         (_IO_getwline_info): Likewise.
9408         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
9409         * libio/vswprintf.c (_IO_vswprintf): Likewise.
9410         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
9411         (find_entry): Likewise.
9412         (iterate_table): Likewise.
9413         (lookup): Likewise.
9414         * login/forkpty.c (forkpty): Likewise.
9415         * misc/hsearch_r.c (__hsearch_r): Likewise.
9416         * misc/select.c (__select): Likewise.
9417         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
9418         Likewise.
9419         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
9420         Likewise.
9421         * nptl/old_pthread_cond_timedwait.c
9422         (__pthread_cond_timedwait_2_0): Likewise.
9423         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9424         * nptl/pthread_barrierattr_getpshared.c
9425         (pthread_barrierattr_getpshared): Likewise.
9426         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9427         Likewise.
9428         * nptl/pthread_mutex_setprioceiling.c
9429         (pthread_mutex_setprioceiling): Likewise.
9430         * nptl/pthread_mutexattr_getprioceiling.c
9431         (pthread_mutexattr_getprioceiling): Likewise.
9432         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9433         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9434         Likewise.
9435         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9436         Likewise.
9437         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
9438         Likewise.
9439         * socket/recvfrom.c (__recvfrom): Likewise.
9440         * socket/sendto.c (__sendto): Likewise.
9441         * socket/setsockopt.c (__setsockopt): Likewise.
9442         * stdio-common/_itoa.c (_itoa): Likewise.
9443         * stdio-common/_itowa.c (_itowa): Likewise.
9444         * stdio-common/reg-printf.c (__register_printf_specifier):
9445         Likewise.
9446         (__register_printf_function): Likewise.
9447         * stdio-common/tempname.c (__path_search): Likewise.
9448         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
9449         * stdlib/mul_1.c (mpn_mul_1): Likewise.
9450         * stdlib/random_r.c (__initstate_r): Likewise.
9451         * stdlib/setenv.c (__add_to_environ): Likewise.
9452         * stdlib/submul_1.c (mpn_submul_1): Likewise.
9453         * streams/getpmsg.c (getpmsg): Likewise.
9454         * streams/putmsg.c (putmsg): Likewise.
9455         * streams/putpmsg.c (putpmsg): Likewise.
9456         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
9457         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9458         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
9459         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9460         * sunrpc/pm_getport.c (pmap_getport): Likewise.
9461         * sunrpc/svc_udp.c (cache_get): Likewise.
9462         * sunrpc/xdr_array.c (xdr_vector): Likewise.
9463         * sysdeps/mach/hurd/getcwd.c
9464         (__canonicalize_directory_name_internal): Likewise.
9465         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
9466         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
9467         * sysdeps/mach/hurd/select.c (__select): Likewise.
9468         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9469         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9470         * sysdeps/sparc/nptl/pthread_barrier_init.c
9471         (__pthread_barrier_init): Likewise.
9472         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
9473         (__pthread_cond_timedwait): Likewise.
9474         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
9475         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
9476         Likewise.
9477         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
9478         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
9479         Likewise.
9480         * sysvipc/semtimedop.c (semtimedop): Likewise.
9481         * time/setitimer.c (__setitimer): Likewise.
9482         * time/strftime_l.c (emacs_strftime): Likewise.
9484 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9486         * config.make.in (have-ssp): Delete.
9487         (stack-protector): New variable.
9488         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
9489         cache test for -fstack-protector-strong.  Export stack_protector to
9490         the best ssp flag.
9491         * configure: Regenerated.
9492         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
9493         * nscd/Makefile (CFLAGS-nscd): Likewise.
9494         * resolv/Makefile (CFLAGS-libresolv): Likewise.
9496 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
9498         [BZ #19122]
9499         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
9500         attribute_hidden.
9502 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9504         [BZ #18743]
9505         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
9506         code to...
9507         (ELIDE_LOCK): ...here.
9508         (__get_new_count): New function with part of the code from
9509         __elide_lock that updates the value of adapt_count after a
9510         transaction abort.
9511         (__elided_trylock): Moved this code to...
9512         (ELIDE_TRYLOCK): ...here.
9514 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9516         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
9517         * configure: Regenerate.
9518         * INSTALL: Regenerate.
9519         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
9520         and tweak grammar.
9522 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
9524         * login/programs/pt_chown.c: Include signal.h
9525         (main): Clear any signal mask from the parent process.
9527 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9529         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
9530         * configure: Regenerated.
9531         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
9532         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
9533         $(gnu89-inline-CFLAGS).
9535         * configure.ac (libc_cv_asm_weak_directive): Remove configure
9536         test.
9537         (libc_cv_asm_weakext_directive): Likewise.
9538         * configure: Regenerated.
9539         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
9540         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
9541         * include/libc-symbols.h
9542         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
9543         #error.
9544         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
9545         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
9547         * sysdeps/arm/backtrace.c (__backtrace): Convert to
9548         prototype-style function definition.
9549         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9550         * sysdeps/i386/ffs.c (__ffs): Likewise.
9551         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9552         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
9553         Likewise.
9554         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9555         Likewise.
9556         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9557         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9558         Likewise.
9559         * sysdeps/m68k/ffs.c (__ffs): Likewise.
9560         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
9561         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
9562         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
9563         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
9564         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
9565         * sysdeps/mach/hurd/access.c (__access): Likewise.
9566         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
9567         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
9568         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
9569         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
9570         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
9571         (cthread_getspecific): Likewise.
9572         (cthread_setspecific): Likewise.
9573         (__libc_getspecific): Likewise.
9574         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
9575         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
9576         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
9577         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
9578         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
9579         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
9580         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
9581         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
9582         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
9583         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
9584         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
9585         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9586         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
9587         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
9588         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
9589         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
9590         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
9591         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
9592         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
9593         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
9594         * sysdeps/mach/hurd/link.c (__link): Likewise.
9595         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
9596         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
9597         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
9598         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
9599         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9600         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
9601         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
9602         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
9603         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9604         * sysdeps/mach/hurd/rename.c (rename): Likewise.
9605         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
9606         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
9607         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
9608         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
9609         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
9610         * sysdeps/mach/hurd/send.c (__send): Likewise.
9611         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
9612         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
9613         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
9614         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
9615         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
9616         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
9617         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
9618         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
9619         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
9620         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
9621         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
9622         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
9623         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
9624         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
9625         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
9626         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9627         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
9628         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9629         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
9630         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9631         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
9632         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
9633         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
9634         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
9635         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
9636         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
9637         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
9638         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9639         * sysdeps/posix/alarm.c (alarm): Likewise.
9640         * sysdeps/posix/cuserid.c (cuserid): Likewise.
9641         * sysdeps/posix/dirfd.c (dirfd): Likewise.
9642         * sysdeps/posix/dup.c (__dup): Likewise.
9643         * sysdeps/posix/dup2.c (__dup2): Likewise.
9644         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
9645         (main): Likewise.
9646         * sysdeps/posix/flock.c (__flock): Likewise.
9647         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
9648         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9649         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
9650         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
9651         * sysdeps/posix/isatty.c (__isatty): Likewise.
9652         * sysdeps/posix/killpg.c (killpg): Likewise.
9653         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9654         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
9655         * sysdeps/posix/raise.c (raise): Likewise.
9656         * sysdeps/posix/remove.c (remove): Likewise.
9657         * sysdeps/posix/rename.c (rename): Likewise.
9658         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
9659         * sysdeps/posix/seekdir.c (seekdir): Likewise.
9660         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9661         * sysdeps/posix/sigignore.c (sigignore): Likewise.
9662         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
9663         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9664         * sysdeps/posix/sigset.c (sigset): Likewise.
9665         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
9666         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
9667         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
9668         * sysdeps/posix/time.c (time): Likewise.
9669         * sysdeps/posix/ttyname.c (getttyname): Likewise.
9670         (ttyname): Likewise.
9671         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
9672         * sysdeps/posix/utime.c (utime): Likewise.
9673         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9674         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9675         Likewise.
9676         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9677         (pthread_spin_trylock): Likewise.
9678         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9679         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9680         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9681         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9682         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9683         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9684         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9685         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9686         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9687         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9688         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9689         * sysdeps/s390/ffs.c (__ffs): Likewise.
9690         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9691         Likewise.
9692         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9693         Likewise.
9694         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9695         Likewise.
9696         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9697         (pthread_barrier_destroy): Likewise.
9698         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9699         (__pthread_barrier_wait): Likewise.
9700         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9701         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9702         (__pthread_barrier_wait): Likewise.
9703         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9704         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9705         (memcmp_not_common_alignment): Likewise.
9706         (MEMCMP): Likewise.
9707         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9708         (_wordcopy_fwd_dest_aligned): Likewise.
9709         (_wordcopy_bwd_aligned): Likewise.
9710         (_wordcopy_bwd_dest_aligned): Likewise.
9711         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9712         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9713         * sysdeps/unix/bsd/stty.c (stty): Likewise.
9714         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9715         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9716         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9717         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9718         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9719         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9720         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9721         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9722         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9723         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9724         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9725         * sysdeps/unix/stime.c (stime): Likewise.
9726         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9727         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9728         Likewise.  Use internal_function.
9729         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9730         Convert to prototype-style function definition.
9731         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9732         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9733         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9734         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9735         Likewise.  Use internal_function.
9736         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9737         prototype-style function definition
9738         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9739         Likewise.
9740         (__getlogin_r): Likewise.
9741         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9742         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9743         (__pthread_cond_broadcast): Likewise.
9744         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9745         (__pthread_cond_destroy): Likewise.
9746         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9747         (__pthread_cond_init): Likewise.
9748         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9749         (__pthread_cond_signal): Likewise.
9750         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9751         (__pthread_cond_wait): Likewise.
9752         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9753         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9754         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9755         Likewise.
9756         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9757         Likewise.
9758         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9759         Likewise.
9760         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9761         Likewise.
9762         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9764         (__ftruncate64): Likewise.
9765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9766         (truncate64): Likewise.
9767         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9768         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9769         (pthread_getcpuclockid): Likewise.
9770         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9771         Likewise.
9772         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9773         Likewise.
9774         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9775         Likewise.
9776         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9777         Likewise.
9778         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9779         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9780         (__libc_sigaction): Likewise.
9781         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9782         Likewise.
9783         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9784         (__sigprocmask): Likewise.
9785         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9786         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9787         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9788         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9789         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9790         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9791         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9792         Likewise.
9793         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9794         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9795         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9796         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9797         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9798         Likewise.
9799         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9800         (__sigprocmask): Likewise.
9801         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9802         (cfgetispeed): Likewise.
9803         (cfsetospeed): Likewise.
9804         (cfsetispeed): Likewise.
9805         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9806         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9807         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9808         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9809         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9810         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9811         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9812         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9813         Likewise.
9814         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9815         Likewise.
9816         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9817         Likewise.
9818         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9819         Likewise.
9820         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9822 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9824         sunrpc: Rewrite with explicit TLS access using __thread.
9825         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9826         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9827         directly.
9828         (__rpc_thread_variables): Access thread_rpc_vars directly.
9829         Eliminate redundant assignment of the tvp variable.
9831 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9833         malloc: Rewrite with explicit TLS access using __thread.
9834         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9835         (tsd_setspecific, tsd_getspecific): Remove.
9836         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9837         (tsd_setspecific, tsd_getspecific): Likewise.
9838         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9839         (tsd_setspecific, tsd_getspecific): Likewise.
9840         * malloc/arena.c (thread_arena): New TLS variable.
9841         (arena_key): Remove variable.
9842         (arena_get): Use thread_arena.
9843         (arena_lookup): Remove macro.
9844         (malloc_atfork, free_atfork, ptmalloc_lock_all)
9845         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9846         (_int_new_arena, get_free_list, reused_arena)
9847         (arena_thread_freeres): Use thread_arena.
9848         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9849         tsd_getspecific, tsd_setspecific from safety annotations.
9850         (Allocating Cleared Space): Remove arena_lookup from safety
9851         annotations.
9853 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9855         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9856         struct scratch_buffer instead of extend_alloca.
9858 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9860         * sysdeps/unix/sysv/linux/kernel-features.h
9861         (__ASSUME_SOCK_CLOEXEC): Remove.
9862         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9863         (__have_paccept): Remove unused macro.
9864         * include/unistd.h (__have_sock_cloexec): Remove declaration.
9865         * misc/syslog.c (openlog_internal): Remove fallback code for
9866         !__ASSUME_SOCK_CLOEXEC.
9867         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9868         missing SOCK_CLOEXEC.
9869         * nscd/connections.c (have_sock_cloexec): Remove definition.
9870         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9871         * nscd/nscd_helper.c (open_socket): Remove fallback code for
9872         !__ASSUME_SOCK_CLOEXEC.
9873         * resolv/res_send.c (__have_o_nonblock): Remove definition.
9874         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9875         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9876         definition.
9877         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9878         code for !__ASSUME_SOCK_CLOEXEC.
9880 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9882         [BZ #18982]
9883         * manual/stdio.texi (Variable Arguments Output): Add portability
9884         note, explaining that vfprintf clobbers the va_list pointer.
9886 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9888         * math/libm-test.inc (fabs_test_data): Add more tests.
9889         (fdim_test_data): Likewise.
9890         (fma_test_data): Likewise.
9891         (fmax_test_data): Likewise.
9892         (fmin_test_data): Likewise.
9893         (fmod_test_data): Likewise.
9895 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
9897         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
9898         data.
9900 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9902         * math/libm-test.inc (ceil_test_data): Add more tests and more
9903         expectations for "inexact".
9904         (floor_test_data): Add more tests.
9905         (round_test_data): Likewise.
9906         (trunc_test_data): Likewise.
9908         * crypt/cert.c (good_bye): Convert to prototype-style function
9909         definition.
9910         (get8): Likewise.
9911         (put8): Likewise.
9912         * crypt/crypt-entry.c (crypt): Likewise.
9913         (__fcrypt): Likewise.
9914         * crypt/crypt_util.c (_ufc_prbits): Likewise.
9915         (_ufc_set_bits): Likewise.
9916         (_ufc_clearmem): Likewise.
9917         (__init_des_r): Likewise.
9918         (shuffle_sb): Likewise.
9919         (shuffle_sb): Likewise.
9920         (_ufc_setup_salt_r): Likewise.
9921         (_ufc_mk_keytab_r): Likewise.
9922         (_ufc_dofinalperm_r): Likewise.
9923         (encrypt): Likewise.
9924         (__setkey_r): Likewise.
9925         (setkey): Likewise.
9926         * crypt/md5.c (md5_init_ctx): Likewise.
9927         (md5_read_ctx): Likewise.
9928         (md5_finish_ctx): Likewise.
9929         (md5_stream): Likewise.
9930         (md5_buffer): Likewise.
9931         (md5_process_bytes): Likewise.
9932         * crypt/sha256.c (__sha256_init_ctx): Likewise.
9933         (__sha256_finish_ctx): Likewise.
9934         (__sha256_process_bytes): Likewise.
9935         * crypt/sha512.c (__sha512_init_ctx): Likewise.
9936         (__sha512_finish_ctx): Likewise.
9937         (__sha512_process_bytes): Likewise.
9938         * ctype/isctype.c (__isctype): Likewise.
9939         * debug/backtrace.c (__backtrace): Likewise.
9940         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9941         * debug/fgets_chk.c (__fgets_chk): Likewise.
9942         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9943         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9944         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9945         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9946         * debug/memset_chk.c (__memset_chk): Likewise.
9947         * debug/strcat_chk.c (__strcat_chk): Likewise.
9948         * debug/strncat_chk.c (__strncat_chk): Likewise.
9949         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9950         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9951         * dirent/dirfd.c (dirfd): Likewise.
9952         * dirent/getdents.c (__getdirentries): Likewise.
9953         * dirent/getdents64.c (getdirentries64): Likewise.
9954         * dirent/rewinddir.c (__rewinddir): Likewise.
9955         * dirent/seekdir.c (seekdir): Likewise.
9956         * dirent/telldir.c (telldir): Likewise.
9957         * elf/sln.c (makesymlinks): Likewise.
9958         (makesymlink): Likewise.
9959         * gmon/gmon.c (__moncontrol): Likewise.
9960         (__monstartup): Likewise.
9961         (write_hist): Likewise.
9962         (write_call_graph): Likewise.
9963         (write_bb_counts): Likewise.
9964         * grp/setgroups.c (setgroups): Likewise.
9965         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9966         * inet/inet_net.c (inet_network): Likewise.
9967         * inet/inet_netof.c (inet_netof): Likewise.
9968         * inet/rcmd.c (rresvport_af): Likewise.
9969         (rresvport): Likewise.
9970         * io/access.c (__access): Likewise.
9971         * io/chdir.c (__chdir): Likewise.
9972         * io/chmod.c (__chmod): Likewise.
9973         * io/chown.c (__chown): Likewise.
9974         * io/close.c (__close): Likewise.
9975         * io/creat.c (creat): Likewise.
9976         * io/creat64.c (creat64): Likewise.
9977         * io/dup.c (__dup): Likewise.
9978         * io/dup2.c (__dup2): Likewise.
9979         * io/dup3.c (__dup3): Likewise.
9980         * io/euidaccess.c (__euidaccess): Likewise.
9981         * io/faccessat.c (faccessat): Likewise.
9982         * io/fchmod.c (__fchmod): Likewise.
9983         * io/fchmodat.c (fchmodat): Likewise.
9984         * io/fchown.c (__fchown): Likewise.
9985         * io/fchownat.c (fchownat): Likewise.
9986         * io/fcntl.c (__fcntl): Likewise.
9987         * io/flock.c (__flock): Likewise.
9988         * io/fts.c (fts_load): Likewise.
9989         (fts_close): Likewise.
9990         (fts_read): Likewise.
9991         (fts_set): Likewise.
9992         (fts_children): Likewise.
9993         (fts_build): Likewise.
9994         (fts_stat): Likewise.
9995         (fts_sort): Likewise.
9996         (fts_alloc): Likewise.
9997         (fts_lfree): Likewise.
9998         (fts_palloc): Likewise.
9999         (fts_padjust): Likewise.
10000         (fts_maxarglen): Likewise.
10001         (fts_safe_changedir): Likewise.
10002         * io/getwd.c (getwd): Likewise.
10003         * io/isatty.c (__isatty): Likewise.
10004         * io/lchown.c (__lchown): Likewise.
10005         * io/link.c (__link): Likewise.
10006         * io/linkat.c (linkat): Likewise.
10007         * io/lseek.c (__libc_lseek): Likewise.
10008         * io/mkdir.c (__mkdir): Likewise.
10009         * io/mkdirat.c (mkdirat): Likewise.
10010         * io/mkfifo.c (mkfifo): Likewise.
10011         * io/mkfifoat.c (mkfifoat): Likewise.
10012         * io/open.c (__libc_open): Likewise.
10013         * io/open64.c (__libc_open64): Likewise.
10014         * io/readlink.c (__readlink): Likewise.
10015         * io/readlinkat.c (readlinkat): Likewise.
10016         * io/rmdir.c (__rmdir): Likewise.
10017         * io/symlink.c (__symlink): Likewise.
10018         * io/symlinkat.c (symlinkat): Likewise.
10019         * io/ttyname.c (ttyname): Likewise.
10020         * io/ttyname_r.c (__ttyname_r): Likewise.
10021         * io/umask.c (__umask): Likewise.
10022         * io/unlink.c (__unlink): Likewise.
10023         * io/unlinkat.c (unlinkat): Likewise.
10024         * io/utime.c (utime): Likewise.
10025         * libio/clearerr.c (clearerr): Likewise.
10026         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
10027         * libio/feof.c (_IO_feof): Likewise.
10028         * libio/feof_u.c (feof_unlocked): Likewise.
10029         * libio/ferror.c (_IO_ferror): Likewise.
10030         * libio/ferror_u.c (ferror_unlocked): Likewise.
10031         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10032         * libio/fileno.c (__fileno): Likewise.
10033         * libio/fputc.c (fputc): Likewise.
10034         * libio/fputc_u.c (fputc_unlocked): Likewise.
10035         * libio/fputwc.c (fputwc): Likewise.
10036         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
10037         * libio/freopen.c (freopen): Likewise.
10038         * libio/freopen64.c (freopen64): Likewise.
10039         * libio/fseek.c (fseek): Likewise.
10040         * libio/fseeko.c (fseeko): Likewise.
10041         * libio/fseeko64.c (fseeko64): Likewise.
10042         * libio/ftello.c (__ftello): Likewise.
10043         * libio/ftello64.c (ftello64): Likewise.
10044         * libio/fwide.c (fwide): Likewise.
10045         * libio/genops.c (_IO_un_link): Likewise.
10046         (_IO_link_in): Likewise.
10047         (_IO_least_marker): Likewise.
10048         (_IO_switch_to_main_get_area): Likewise.
10049         (_IO_switch_to_backup_area): Likewise.
10050         (_IO_switch_to_get_mode): Likewise.
10051         (_IO_free_backup_area): Likewise.
10052         (_IO_switch_to_put_mode): Likewise.
10053         (__overflow): Likewise.
10054         (__underflow): Likewise.
10055         (__uflow): Likewise.
10056         (_IO_setb): Likewise.
10057         (_IO_doallocbuf): Likewise.
10058         (_IO_default_underflow): Likewise.
10059         (_IO_default_uflow): Likewise.
10060         (_IO_default_xsputn): Likewise.
10061         (_IO_sgetn): Likewise.
10062         (_IO_default_xsgetn): Likewise.
10063         (_IO_sync): Likewise.
10064         (_IO_default_setbuf): Likewise.
10065         (_IO_default_seekpos): Likewise.
10066         (_IO_default_doallocate): Likewise.
10067         (_IO_init): Likewise.
10068         (_IO_old_init): Likewise.
10069         (_IO_default_sync): Likewise.
10070         (_IO_default_finish): Likewise.
10071         (_IO_default_seekoff): Likewise.
10072         (_IO_sputbackc): Likewise.
10073         (_IO_sungetc): Likewise.
10074         (_IO_set_column): Likewise.
10075         (_IO_set_column): Likewise.
10076         (_IO_adjust_column): Likewise.
10077         (_IO_get_column): Likewise.
10078         (_IO_init_marker): Likewise.
10079         (_IO_remove_marker): Likewise.
10080         (_IO_marker_difference): Likewise.
10081         (_IO_marker_delta): Likewise.
10082         (_IO_seekmark): Likewise.
10083         (_IO_unsave_markers): Likewise.
10084         (_IO_nobackup_pbackfail): Likewise.
10085         (_IO_default_pbackfail): Likewise.
10086         (_IO_default_seek): Likewise.
10087         (_IO_default_stat): Likewise.
10088         (_IO_default_read): Likewise.
10089         (_IO_default_write): Likewise.
10090         (_IO_default_showmanyc): Likewise.
10091         (_IO_default_imbue): Likewise.
10092         (_IO_iter_next): Likewise.
10093         (_IO_iter_file): Likewise.
10094         * libio/getc.c (_IO_getc): Likewise.
10095         * libio/getwc.c (_IO_getwc): Likewise.
10096         * libio/iofclose.c (_IO_new_fclose): Likewise.
10097         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10098         * libio/iofflush.c (_IO_fflush): Likewise.
10099         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
10100         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
10101         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
10102         * libio/iofgets.c (_IO_fgets): Likewise.
10103         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
10104         * libio/iofgetws.c (fgetws): Likewise.
10105         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10106         * libio/iofopen64.c (_IO_fopen64): Likewise.
10107         * libio/iofopncook.c (_IO_cookie_read): Likewise.
10108         (_IO_cookie_write): Likewise.
10109         (_IO_cookie_seek): Likewise.
10110         (_IO_cookie_close): Likewise.
10111         (_IO_cookie_seekoff): Likewise.
10112         (_IO_old_cookie_seek): Likewise.
10113         * libio/iofputs.c (_IO_fputs): Likewise.
10114         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
10115         * libio/iofputws.c (fputws): Likewise.
10116         * libio/iofputws_u.c (fputws_unlocked): Likewise.
10117         * libio/iofread.c (_IO_fread): Likewise.
10118         * libio/iofread_u.c (__fread_unlocked): Likewise.
10119         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
10120         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
10121         * libio/ioftell.c (_IO_ftell): Likewise.
10122         * libio/iofwrite.c (_IO_fwrite): Likewise.
10123         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10124         * libio/iogets.c (_IO_gets): Likewise.
10125         * libio/iopadn.c (_IO_padn): Likewise.
10126         * libio/iopopen.c (_IO_new_proc_open): Likewise.
10127         (_IO_new_popen): Likewise.
10128         (_IO_new_proc_close): Likewise.
10129         * libio/ioputs.c (_IO_puts): Likewise.
10130         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
10131         (_IO_seekoff): Likewise.
10132         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
10133         (_IO_seekpos): Likewise.
10134         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
10135         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
10136         * libio/ioungetc.c (_IO_ungetc): Likewise.
10137         * libio/ioungetwc.c (ungetwc): Likewise.
10138         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10139         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
10140         * libio/iowpadn.c (_IO_wpadn): Likewise.
10141         * libio/libc_fatal.c (__libc_fatal): Likewise.
10142         * libio/memstream.c (__open_memstream): Likewise.
10143         (_IO_mem_sync): Likewise.
10144         (_IO_mem_finish): Likewise.
10145         * libio/oldfileops.c (_IO_old_file_init): Likewise.
10146         (_IO_old_file_close_it): Likewise.
10147         (_IO_old_file_finish): Likewise.
10148         (_IO_old_file_fopen): Likewise.
10149         (_IO_old_file_attach): Likewise.
10150         (_IO_old_file_setbuf): Likewise.
10151         (_IO_old_do_write): Likewise.
10152         (old_do_write): Likewise.
10153         (_IO_old_file_underflow): Likewise.
10154         (_IO_old_file_overflow): Likewise.
10155         (_IO_old_file_sync): Likewise.
10156         (_IO_old_file_seekoff): Likewise.
10157         (_IO_old_file_write): Likewise.
10158         (_IO_old_file_xsputn): Likewise.
10159         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
10160         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10161         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
10162         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
10163         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10164         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
10165         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
10166         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10167         (_IO_old_popen): Likewise.
10168         (_IO_old_proc_close): Likewise.
10169         * libio/oldpclose.c (__old_pclose): Likewise.
10170         * libio/pclose.c (__new_pclose): Likewise.
10171         * libio/peekc.c (_IO_peekc_locked): Likewise.
10172         * libio/putc.c (_IO_putc): Likewise.
10173         * libio/putc_u.c (putc_unlocked): Likewise.
10174         * libio/putchar.c (putchar): Likewise.
10175         * libio/putchar_u.c (putchar_unlocked): Likewise.
10176         * libio/putwc.c (putwc): Likewise.
10177         * libio/putwc_u.c (putwc_unlocked): Likewise.
10178         * libio/putwchar.c (putwchar): Likewise.
10179         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
10180         * libio/rewind.c (rewind): Likewise.
10181         * libio/setbuf.c (setbuf): Likewise.
10182         * libio/setlinebuf.c (setlinebuf): Likewise.
10183         * libio/vasprintf.c (_IO_vasprintf): Likewise.
10184         * libio/vscanf.c (_IO_vscanf): Likewise.
10185         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
10186         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
10187         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10188         * libio/wgenops.c (_IO_least_wmarker): Likewise.
10189         (_IO_switch_to_main_wget_area): Likewise.
10190         (_IO_switch_to_wbackup_area): Likewise.
10191         (_IO_wsetb): Likewise.
10192         (_IO_wdefault_pbackfail): Likewise.
10193         (_IO_wdefault_finish): Likewise.
10194         (_IO_wdefault_uflow): Likewise.
10195         (__woverflow): Likewise.
10196         (__wuflow): Likewise.
10197         (__wunderflow): Likewise.
10198         (_IO_wdefault_xsputn): Likewise.
10199         (_IO_wdefault_xsgetn): Likewise.
10200         (_IO_wdoallocbuf): Likewise.
10201         (_IO_wdefault_doallocate): Likewise.
10202         (_IO_switch_to_wget_mode): Likewise.
10203         (_IO_free_wbackup_area): Likewise.
10204         (_IO_switch_to_wput_mode): Likewise.
10205         (_IO_sputbackwc): Likewise.
10206         (_IO_sungetwc): Likewise.
10207         (_IO_adjust_wcolumn): Likewise.
10208         (_IO_init_wmarker): Likewise.
10209         (_IO_wmarker_delta): Likewise.
10210         (_IO_seekwmark): Likewise.
10211         (_IO_unsave_wmarkers): Likewise.
10212         * libio/wmemstream.c (open_wmemstream): Likewise.
10213         (_IO_wmem_sync): Likewise.
10214         (_IO_wmem_finish): Likewise.
10215         * locale/nl_langinfo.c (nl_langinfo): Likewise.
10216         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
10217         * locale/programs/simple-hash.c (init_hash): Likewise.
10218         (delete_hash): Likewise.
10219         (insert_entry): Likewise.
10220         (set_entry): Likewise.
10221         (next_prime): Likewise.
10222         (is_prime): Likewise.
10223         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
10224         (xmalloc): Likewise.
10225         (xrealloc): Likewise.
10226         * locale/programs/xstrdup.c (xstrdup): Likewise.
10227         * localedata/collate-test.c (xstrcoll): Likewise.
10228         * localedata/xfrm-test.c (xstrcmp): Likewise.
10229         * login/getlogin_r.c (__getlogin_r): Likewise.
10230         * login/getpt.c (__posix_openpt): Likewise.
10231         * login/login_tty.c (login_tty): Likewise.
10232         * login/setlogin.c (setlogin): Likewise.
10233         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
10234         (mach_msg_destroy_port): Likewise.
10235         (mach_msg_destroy_memory): Likewise.
10236         * malloc/mcheck.c (flood): Likewise.
10237         * misc/acct.c (acct): Likewise.
10238         * misc/brk.c (__brk): Likewise.
10239         * misc/chflags.c (chflags): Likewise.
10240         * misc/chroot.c (chroot): Likewise.
10241         * misc/fchflags.c (fchflags): Likewise.
10242         * misc/fstab.c (getfsspec): Likewise.
10243         (getfsfile): Likewise.
10244         * misc/fsync.c (fsync): Likewise.
10245         * misc/ftruncate.c (__ftruncate): Likewise.
10246         * misc/ftruncate64.c (__ftruncate64): Likewise.
10247         * misc/getdomain.c (getdomainname): Likewise.
10248         (getdomainname): Likewise.
10249         * misc/gethostname.c (__gethostname): Likewise.
10250         * misc/getpass.c (getpass): Likewise.
10251         * misc/getttyent.c (skip): Likewise.
10252         (value): Likewise.
10253         * misc/gtty.c (gtty): Likewise.
10254         * misc/hsearch.c (hsearch): Likewise.
10255         (hcreate): Likewise.
10256         * misc/hsearch_r.c (__hcreate_r): Likewise.
10257         (__hdestroy_r): Likewise.
10258         * misc/ioctl.c (__ioctl): Likewise.
10259         * misc/mkdtemp.c (mkdtemp): Likewise.
10260         * misc/mkostemp.c (mkostemp): Likewise.
10261         * misc/mkostemp64.c (mkostemp64): Likewise.
10262         * misc/mkostemps.c (mkostemps): Likewise.
10263         * misc/mkostemps64.c (mkostemps64): Likewise.
10264         * misc/mkstemp.c (mkstemp): Likewise.
10265         * misc/mkstemp64.c (mkstemp64): Likewise.
10266         * misc/mkstemps.c (mkstemps): Likewise.
10267         * misc/mkstemps64.c (mkstemps64): Likewise.
10268         * misc/mktemp.c (__mktemp): Likewise.
10269         * misc/preadv.c (preadv): Likewise.
10270         * misc/preadv64.c (preadv64): Likewise.
10271         * misc/pwritev.c (pwritev): Likewise.
10272         * misc/pwritev64.c (pwritev64): Likewise.
10273         * misc/readv.c (__readv): Likewise.
10274         * misc/revoke.c (revoke): Likewise.
10275         * misc/setdomain.c (setdomainname): Likewise.
10276         * misc/setegid.c (setegid): Likewise.
10277         * misc/seteuid.c (seteuid): Likewise.
10278         * misc/sethostid.c (sethostid): Likewise.
10279         * misc/sethostname.c (sethostname): Likewise.
10280         * misc/setregid.c (__setregid): Likewise.
10281         * misc/setreuid.c (__setreuid): Likewise.
10282         * misc/sstk.c (sstk): Likewise.
10283         * misc/stty.c (stty): Likewise.
10284         * misc/syscall.c (syscall): Likewise.
10285         * misc/syslog.c (setlogmask): Likewise.
10286         * misc/truncate.c (__truncate): Likewise.
10287         * misc/truncate64.c (truncate64): Likewise.
10288         * misc/ualarm.c (ualarm): Likewise.
10289         * misc/usleep.c (usleep): Likewise.
10290         * misc/ustat.c (ustat): Likewise.
10291         * misc/writev.c (__writev): Likewise.
10292         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
10293         * nptl/old_pthread_cond_broadcast.c
10294         (__pthread_cond_broadcast_2_0): Likewise.
10295         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
10296         Likewise.
10297         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
10298         Likewise.
10299         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
10300         Likewise.
10301         * nptl/pt-raise.c (raise): Likewise.
10302         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
10303         Likewise.
10304         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
10305         * nptl/pthread_barrierattr_destroy.c
10306         (pthread_barrierattr_destroy): Likewise.
10307         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
10308         Likewise.
10309         * nptl/pthread_barrierattr_setpshared.c
10310         (pthread_barrierattr_setpshared): Likewise.
10311         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10312         Likewise.
10313         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10314         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10315         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10316         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
10317         Likewise.
10318         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
10319         Likewise.
10320         * nptl/pthread_condattr_getpshared.c
10321         (pthread_condattr_getpshared): Likewise.
10322         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
10323         Likewise.
10324         * nptl/pthread_condattr_setpshared.c
10325         (pthread_condattr_setpshared): Likewise.
10326         * nptl/pthread_detach.c (pthread_detach): Likewise.
10327         * nptl/pthread_equal.c (__pthread_equal): Likewise.
10328         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
10329         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
10330         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
10331         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
10332         Likewise.
10333         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10334         Likewise.
10335         * nptl/pthread_mutex_getprioceiling.c
10336         (pthread_mutex_getprioceiling): Likewise.
10337         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
10338         Likewise.
10339         * nptl/pthread_mutexattr_getprotocol.c
10340         (pthread_mutexattr_getprotocol): Likewise.
10341         * nptl/pthread_mutexattr_getpshared.c
10342         (pthread_mutexattr_getpshared): Likewise.
10343         * nptl/pthread_mutexattr_getrobust.c
10344         (pthread_mutexattr_getrobust): Likewise.
10345         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10346         Likewise.
10347         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
10348         Likewise.
10349         * nptl/pthread_mutexattr_setprioceiling.c
10350         (pthread_mutexattr_setprioceiling): Likewise.
10351         * nptl/pthread_mutexattr_setprotocol.c
10352         (pthread_mutexattr_setprotocol): Likewise.
10353         * nptl/pthread_mutexattr_setpshared.c
10354         (pthread_mutexattr_setpshared): Likewise.
10355         * nptl/pthread_mutexattr_setrobust.c
10356         (pthread_mutexattr_setrobust): Likewise.
10357         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
10358         Likewise.
10359         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
10360         Likewise.
10361         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
10362         Likewise.
10363         * nptl/pthread_rwlockattr_getkind_np.c
10364         (pthread_rwlockattr_getkind_np): Likewise.
10365         * nptl/pthread_rwlockattr_getpshared.c
10366         (pthread_rwlockattr_getpshared): Likewise.
10367         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
10368         Likewise.
10369         * nptl/pthread_rwlockattr_setkind_np.c
10370         (pthread_rwlockattr_setkind_np): Likewise.
10371         * nptl/pthread_rwlockattr_setpshared.c
10372         (pthread_rwlockattr_setpshared): Likewise.
10373         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
10374         Likewise.
10375         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
10376         Likewise.
10377         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
10378         Likewise.
10379         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10380         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
10381         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
10382         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
10383         * nptl/sem_close.c (sem_close): Likewise.
10384         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
10385         * nptl/sem_init.c (__old_sem_init): Likewise.
10386         * nptl/sigaction.c (__sigaction): Likewise.
10387         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10388         * posix/_exit.c (_exit): Likewise.
10389         * posix/alarm.c (alarm): Likewise.
10390         * posix/confstr.c (confstr): Likewise.
10391         * posix/fpathconf.c (__fpathconf): Likewise.
10392         * posix/getgroups.c (__getgroups): Likewise.
10393         * posix/getpgid.c (__getpgid): Likewise.
10394         * posix/group_member.c (__group_member): Likewise.
10395         * posix/pathconf.c (__pathconf): Likewise.
10396         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
10397         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
10398         * posix/setgid.c (__setgid): Likewise.
10399         * posix/setpgid.c (__setpgid): Likewise.
10400         * posix/setuid.c (__setuid): Likewise.
10401         * posix/sleep.c (__sleep): Likewise.
10402         * posix/sysconf.c (__sysconf): Likewise.
10403         * posix/times.c (__times): Likewise.
10404         * posix/uname.c (__uname): Likewise.
10405         * posix/waitid.c (__waitid): Likewise.
10406         * pwd/getpw.c (__getpw): Likewise.
10407         * resolv/base64.c (b64_pton): Likewise.
10408         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
10409         * resolv/gethnamaddr.c (Dprintf): Likewise.
10410         (gethostbyname): Likewise.
10411         (gethostbyname2): Likewise.
10412         (gethostbyaddr): Likewise.
10413         (_sethtent): Likewise.
10414         (_gethtbyname): Likewise.
10415         (_gethtbyname2): Likewise.
10416         (_gethtbyaddr): Likewise.
10417         (map_v4v6_address): Likewise.
10418         (map_v4v6_hostent): Likewise.
10419         (addrsort): Likewise.
10420         (ht_sethostent): Likewise.
10421         (ht_gethostbyname): Likewise.
10422         (ht_gethostbyaddr): Likewise.
10423         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
10424         (inet_net_ntop_ipv4): Likewise.
10425         * resolv/inet_neta.c (inet_neta): Likewise.
10426         * resolv/inet_ntop.c (inet_ntop): Likewise.
10427         (inet_ntop4): Likewise.
10428         (inet_ntop6): Likewise.
10429         * resolv/inet_pton.c (__inet_pton): Likewise.
10430         (inet_pton4): Likewise.
10431         (inet_pton6): Likewise.
10432         * resolv/res_debug.c (loc_aton): Likewise.
10433         (loc_ntoa): Likewise.
10434         * resource/getpriority.c (__getpriority): Likewise.
10435         * resource/getrusage.c (__getrusage): Likewise.
10436         * resource/nice.c (nice): Likewise.
10437         * resource/setpriority.c (__setpriority): Likewise.
10438         * resource/setrlimit64.c (setrlimit64): Likewise.
10439         * resource/vlimit.c (vlimit): Likewise.
10440         * resource/vtimes.c (vtimes): Likewise.
10441         * rt/aio_error.c (aio_error): Likewise.
10442         * rt/aio_return.c (aio_return): Likewise.
10443         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
10444         * signal/kill.c (__kill): Likewise.
10445         * signal/killpg.c (killpg): Likewise.
10446         * signal/raise.c (raise): Likewise.
10447         * signal/sigaction.c (__sigaction): Likewise.
10448         * signal/sigaddset.c (sigaddset): Likewise.
10449         * signal/sigaltstack.c (sigaltstack): Likewise.
10450         * signal/sigandset.c (sigandset): Likewise.
10451         * signal/sigblock.c (__sigblock): Likewise.
10452         * signal/sigdelset.c (sigdelset): Likewise.
10453         * signal/sigempty.c (sigemptyset): Likewise.
10454         * signal/sigfillset.c (sigfillset): Likewise.
10455         * signal/sighold.c (sighold): Likewise.
10456         * signal/sigignore.c (sigignore): Likewise.
10457         * signal/sigintr.c (siginterrupt): Likewise.
10458         * signal/sigisempty.c (sigisemptyset): Likewise.
10459         * signal/sigismem.c (sigismember): Likewise.
10460         * signal/signal.c (signal): Likewise.
10461         * signal/sigorset.c (sigorset): Likewise.
10462         * signal/sigpause.c (__sigpause): Likewise.
10463         * signal/sigpending.c (sigpending): Likewise.
10464         * signal/sigprocmask.c (__sigprocmask): Likewise.
10465         * signal/sigrelse.c (sigrelse): Likewise.
10466         * signal/sigreturn.c (__sigreturn): Likewise.
10467         * signal/sigset.c (sigset): Likewise.
10468         * signal/sigsetmask.c (__sigsetmask): Likewise.
10469         * signal/sigstack.c (sigstack): Likewise.
10470         * signal/sigsuspend.c (__sigsuspend): Likewise.
10471         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
10472         * signal/sysv_signal.c (__sysv_signal): Likewise.
10473         * socket/accept.c (accept): Likewise.
10474         * socket/accept4.c (__libc_accept4): Likewise.
10475         * socket/bind.c (__bind): Likewise.
10476         * socket/connect.c (__connect): Likewise.
10477         * socket/getpeername.c (getpeername): Likewise.
10478         * socket/getsockname.c (__getsockname): Likewise.
10479         * socket/getsockopt.c (getsockopt): Likewise.
10480         * socket/listen.c (__listen): Likewise.
10481         * socket/recv.c (__recv): Likewise.
10482         * socket/recvmsg.c (__recvmsg): Likewise.
10483         * socket/send.c (__send): Likewise.
10484         * socket/sendmsg.c (__sendmsg): Likewise.
10485         * socket/shutdown.c (shutdown): Likewise.
10486         * socket/sockatmark.c (sockatmark): Likewise.
10487         * socket/socket.c (__socket): Likewise.
10488         * stdio-common/ctermid.c (ctermid): Likewise.
10489         * stdio-common/cuserid.c (cuserid): Likewise.
10490         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
10491         * stdio-common/remove.c (remove): Likewise.
10492         * stdio-common/rename.c (rename): Likewise.
10493         * stdio-common/renameat.c (renameat): Likewise.
10494         * stdio-common/tempname.c (__gen_tempname): Likewise.
10495         * stdio-common/xbug.c (InitBuffer): Likewise.
10496         (AppendToBuffer): Likewise.
10497         (ReadFile): Likewise.
10498         * stdlib/a64l.c (a64l): Likewise.
10499         * stdlib/drand48_r.c (drand48_r): Likewise.
10500         * stdlib/getcontext.c (getcontext): Likewise.
10501         * stdlib/getenv.c (getenv): Likewise.
10502         * stdlib/l64a.c (l64a): Likewise.
10503         * stdlib/llabs.c (llabs): Likewise.
10504         * stdlib/lldiv.c (lldiv): Likewise.
10505         * stdlib/lrand48_r.c (lrand48_r): Likewise.
10506         * stdlib/mrand48_r.c (mrand48_r): Likewise.
10507         * stdlib/putenv.c (putenv): Likewise.
10508         * stdlib/random.c (__srandom): Likewise.
10509         (__initstate): Likewise.
10510         (__setstate): Likewise.
10511         * stdlib/random_r.c (__srandom_r): Likewise.
10512         (__setstate_r): Likewise.
10513         (__random_r): Likewise.
10514         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
10515         * stdlib/setcontext.c (setcontext): Likewise.
10516         * stdlib/setenv.c (setenv): Likewise.
10517         (unsetenv): Likewise.
10518         * stdlib/srand48.c (srand48): Likewise.
10519         * stdlib/srand48_r.c (__srand48_r): Likewise.
10520         * stdlib/swapcontext.c (swapcontext): Likewise.
10521         * stdlib/system.c (__libc_system): Likewise.
10522         * stdlib/tst-strtod.c (expand): Likewise.
10523         * stdlib/tst-strtol.c (expand): Likewise.
10524         * stdlib/tst-strtoll.c (expand): Likewise.
10525         * streams/fattach.c (fattach): Likewise.
10526         * streams/fdetach.c (fdetach): Likewise.
10527         * streams/getmsg.c (getmsg): Likewise.
10528         * streams/isastream.c (isastream): Likewise.
10529         * string/ffs.c (__ffs): Likewise.
10530         * string/ffsll.c (ffsll): Likewise.
10531         * string/memcmp.c (memcmp_common_alignment): Likewise.
10532         (memcmp_not_common_alignment): Likewise.
10533         (MEMCMP): Likewise.
10534         * string/memcpy.c (memcpy): Likewise.
10535         * string/memmove.c (MEMMOVE): Likewise.
10536         * string/memset.c (memset): Likewise.
10537         * string/rawmemchr.c (RAWMEMCHR): Likewise.
10538         * string/strchrnul.c (STRCHRNUL): Likewise.
10539         * string/strerror.c (strerror): Likewise.
10540         * string/strndup.c (__strndup): Likewise.
10541         * string/strverscmp.c (__strverscmp): Likewise.
10542         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
10543         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
10544         (clnttcp_freeres): Likewise.
10545         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
10546         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
10547         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
10548         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
10549         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
10550         (xdr_callhdr): Likewise.
10551         * sunrpc/rpcinfo.c (udpping): Likewise.
10552         (tcpping): Likewise.
10553         (pstatus): Likewise.
10554         (pmapdump): Likewise.
10555         (brdcst): Likewise.
10556         (deletereg): Likewise.
10557         (getprognum): Likewise.
10558         (getvers): Likewise.
10559         (get_inet_address): Likewise.
10560         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
10561         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10562         (svcudp_stat): Likewise.
10563         (svcudp_recv): Likewise.
10564         (svcudp_reply): Likewise.
10565         (svcudp_getargs): Likewise.
10566         (svcudp_freeargs): Likewise.
10567         (svcudp_destroy): Likewise.
10568         * sunrpc/xdr.c (xdr_bytes): Likewise.
10569         (xdr_netobj): Likewise.
10570         (xdr_string): Likewise.
10571         (xdr_wrapstring): Likewise.
10572         * sunrpc/xdr_float.c (xdr_float): Likewise.
10573         (xdr_double): Likewise.
10574         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
10575         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
10576         * sysvipc/ftok.c (ftok): Likewise.
10577         * sysvipc/msgctl.c (msgctl): Likewise.
10578         * sysvipc/msgget.c (msgget): Likewise.
10579         * sysvipc/msgrcv.c (msgrcv): Likewise.
10580         * sysvipc/msgsnd.c (msgsnd): Likewise.
10581         * sysvipc/semget.c (semget): Likewise.
10582         * sysvipc/semop.c (semop): Likewise.
10583         * sysvipc/shmat.c (shmat): Likewise.
10584         * sysvipc/shmctl.c (shmctl): Likewise.
10585         * sysvipc/shmdt.c (shmdt): Likewise.
10586         * sysvipc/shmget.c (shmget): Likewise.
10587         * termios/cfmakeraw.c (cfmakeraw): Likewise.
10588         * termios/speed.c (cfgetospeed): Likewise.
10589         (cfgetispeed): Likewise.
10590         (cfsetospeed): Likewise.
10591         (cfsetispeed): Likewise.
10592         * termios/tcflow.c (tcflow): Likewise.
10593         * termios/tcflush.c (tcflush): Likewise.
10594         * termios/tcgetattr.c (__tcgetattr): Likewise.
10595         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
10596         * termios/tcgetsid.c (tcgetsid): Likewise.
10597         * termios/tcsendbrk.c (tcsendbreak): Likewise.
10598         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
10599         * time/adjtime.c (__adjtime): Likewise.
10600         * time/dysize.c (dysize): Likewise.
10601         * time/ftime.c (ftime): Likewise.
10602         * time/getitimer.c (__getitimer): Likewise.
10603         * time/gettimeofday.c (__gettimeofday): Likewise.
10604         * time/gmtime.c (__gmtime_r): Likewise.
10605         (gmtime): Likewise.
10606         * time/localtime.c (__localtime_r): Likewise.
10607         (localtime): Likewise.
10608         * time/offtime.c (__offtime): Likewise.
10609         * time/settimeofday.c (__settimeofday): Likewise.
10610         * time/stime.c (stime): Likewise.
10611         * time/strftime_l.c (tm_diff): Likewise.
10612         (iso_week_days): Likewise.
10613         * time/strptime.c (strptime): Likewise.
10614         * time/time.c (time): Likewise.
10615         * time/timespec_get.c (timespec_get): Likewise.
10616         * time/tzset.c (tzset_internal): Likewise.
10617         (compute_change): Likewise.
10618         (__tz_compute): Likewise.
10619         * wcsmbs/btowc.c (__btowc): Likewise.
10620         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
10621         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
10622         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
10623         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
10624         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
10625         * wcsmbs/wcscat.c (__wcscat): Likewise.
10626         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10627         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
10628         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
10629         * wcsmbs/wcscspn.c (wcscspn): Likewise.
10630         * wcsmbs/wcsdup.c (wcsdup): Likewise.
10631         * wcsmbs/wcslen.c (__wcslen): Likewise.
10632         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
10633         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
10634         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
10635         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
10636         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10637         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
10638         * wcsmbs/wcsspn.c (wcsspn): Likewise.
10639         * wcsmbs/wcsstr.c (wcsstr): Likewise.
10640         * wcsmbs/wcstok.c (wcstok): Likewise.
10641         * wcsmbs/wctob.c (wctob): Likewise.
10642         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
10643         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10644         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
10645         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
10646         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
10647         * wcsmbs/wmemset.c (__wmemset): Likewise.
10648         * wctype/wcfuncs.c (__towlower): Likewise.
10649         (__towupper): Likewise.
10651         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
10652         (lll_unlock_elision): Add adapt_count parameter.
10654 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10656         * sysdeps/nptl/configure.ac: Do not give errors based on the
10657         results of top-level configure tests.
10658         * sysdeps/nptl/configure: Regenerated.
10660         * configure.ac (libc_cv_Bgroup): Remove configure test.
10661         * configure: Regenerated.
10662         * config.make.in (have-Bgroup): Remove variable.
10664         * configure.ac (sizeof_long_double): Remove configure test.
10665         * configure: Regenerated.
10666         * config.make.in (sizeof-long-double): Remove variable.
10668         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
10669         * configure: Regenerated.
10670         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
10671         variable.
10672         (exceptions): Likewise.
10673         * sysdeps/arm/configure: Regenerated.
10674         * config.make.in (exceptions): Remove variable.
10675         * Makeconfig (uses-callbacks): Use -fexceptions instead of
10676         $(exceptions).
10677         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10678         (CFLAGS-vdprintf_chk.c): Likewise.
10679         (CFLAGS-printf_chk.c): Likewise.
10680         (CFLAGS-fprintf_chk.c): Likewise.
10681         (CFLAGS-vprintf_chk.c): Likewise.
10682         (CFLAGS-vfprintf_chk.c): Likewise.
10683         (CFLAGS-gets_chk.c): Likewise.
10684         (CFLAGS-fgets_chk.c): Likewise.
10685         (CFLAGS-fgets_u_chk.c): Likewise.
10686         (CFLAGS-fread_chk.c): Likewise.
10687         (CFLAGS-fread_u_chk.c): Likewise.
10688         (CFLAGS-wprintf_chk.c): Likewise.
10689         (CFLAGS-fwprintf_chk.c): Likewise.
10690         (CFLAGS-vwprintf_chk.c): Likewise.
10691         (CFLAGS-vfwprintf_chk.c): Likewise.
10692         (CFLAGS-fgetws_chk.c): Likewise.
10693         (CFLAGS-fgetws_u_chk.c): Likewise.
10694         * libio/Makefile (CFLAGS-fileops.c): Likewise.
10695         (CFLAGS-fputc.c): Likewise.
10696         (CFLAGS-fputwc.c): Likewise.
10697         (CFLAGS-freopen64.c): Likewise.
10698         (CFLAGS-freopen.c): Likewise.
10699         (CFLAGS-fseek.c): Likewise.
10700         (CFLAGS-fseeko64.c): Likewise.
10701         (CFLAGS-fseeko.c): Likewise.
10702         (CFLAGS-ftello64.c): Likewise.
10703         (CFLAGS-ftello.c): Likewise.
10704         (CFLAGS-fwide.c): Likewise.
10705         (CFLAGS-genops.c): Likewise.
10706         (CFLAGS-getc.c): Likewise.
10707         (CFLAGS-getchar.c): Likewise.
10708         (CFLAGS-getwc.c): Likewise.
10709         (CFLAGS-getwchar.c): Likewise.
10710         (CFLAGS-iofclose.c): Likewise.
10711         (CFLAGS-iofflush.c): Likewise.
10712         (CFLAGS-iofgetpos64.c): Likewise.
10713         (CFLAGS-iofgetpos.c): Likewise.
10714         (CFLAGS-iofgets.c): Likewise.
10715         (CFLAGS-iofgetws.c): Likewise.
10716         (CFLAGS-iofputs.c): Likewise.
10717         (CFLAGS-iofputws.c): Likewise.
10718         (CFLAGS-iofread.c): Likewise.
10719         (CFLAGS-iofsetpos64.c): Likewise.
10720         (CFLAGS-iofsetpos.c): Likewise.
10721         (CFLAGS-ioftell.c): Likewise.
10722         (CFLAGS-iofwrite.c): Likewise.
10723         (CFLAGS-iogetdelim.c): Likewise.
10724         (CFLAGS-iogetline.c): Likewise.
10725         (CFLAGS-iogets.c): Likewise.
10726         (CFLAGS-iogetwline.c): Likewise.
10727         (CFLAGS-ioputs.c): Likewise.
10728         (CFLAGS-ioseekoff.c): Likewise.
10729         (CFLAGS-ioseekpos.c): Likewise.
10730         (CFLAGS-iosetbuffer.c): Likewise.
10731         (CFLAGS-iosetvbuf.c): Likewise.
10732         (CFLAGS-ioungetc.c): Likewise.
10733         (CFLAGS-ioungetwc.c): Likewise.
10734         (CFLAGS-oldfileops.c): Likewise.
10735         (CFLAGS-oldiofclose.c): Likewise.
10736         (CFLAGS-oldiofgetpos64.c): Likewise.
10737         (CFLAGS-oldiofgetpos.c): Likewise.
10738         (CFLAGS-oldiofsetpos64.c): Likewise.
10739         (CFLAGS-oldiofsetpos.c): Likewise.
10740         (CFLAGS-peekc.c): Likewise.
10741         (CFLAGS-putc.c): Likewise.
10742         (CFLAGS-putchar.c): Likewise.
10743         (CFLAGS-putwc.c): Likewise.
10744         (CFLAGS-putwchar.c): Likewise.
10745         (CFLAGS-rewind.c): Likewise.
10746         (CFLAGS-wfileops.c): Likewise.
10747         (CFLAGS-wgenops.c): Likewise.
10748         (CFLAGS-oldiofopen.c): Likewise.
10749         (CFLAGS-iofopen.c): Likewise.
10750         (CFLAGS-iofopen64.c): Likewise.
10751         (CFLAGS-oldtmpfile.c): Likewise.
10752         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10753         (CFLAGS-fprintf.c): Likewise.
10754         (CFLAGS-printf.c): Likewise.
10755         (CFLAGS-vfwprintf.c): Likewise.
10756         (CFLAGS-vfscanf.c): Likewise.
10757         (CFLAGS-vfwscanf.c): Likewise.
10758         (CFLAGS-fscanf.c): Likewise.
10759         (CFLAGS-scanf.c): Likewise.
10760         (CFLAGS-isoc99_vfscanf.c): Likewise.
10761         (CFLAGS-isoc99_vscanf.c): Likewise.
10762         (CFLAGS-isoc99_fscanf.c): Likewise.
10763         (CFLAGS-isoc99_scanf.c): Likewise.
10764         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10765         (CFLAGS-isoc99_fwscanf.c): Likewise.
10766         (CFLAGS-isoc99_vwscanf.c): Likewise.
10767         (CFLAGS-isoc99_vfwscanf.c): Likewise.
10769         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10770         after mkstemp64.
10771         * login/tst-utmp.c (do_prepare): Likewise.
10772         * rt/tst-aio.c (do_prepare): Likewise.
10773         * rt/tst-aio64.c (do_prepare): Likewise.
10775 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10777         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10778         (__lll_lock_elision): Remove adapt_count decrement...
10779         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10780         (__lll_trylock_elision): Likewise.
10781         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10782         (__lll_unlock_elision): ... to here. And utilize
10783         new adapt_count parameter.
10784         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10785         (__lll_unlock_elision): Update to include adapt_count
10786         parameter.
10787         (lll_unlock_elision): Pass pointer to adapt_count
10788         variable.
10790 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10792         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10793         Add elision adapt_count parameter to list of arguments.
10794         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10795         (lll_unlock_elision): Update with new parameter list
10796         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10797         (lll_unlock_elision): Likewise.
10798         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10799         (lll_unlock_elision): Likewise.
10801 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10803         [BZ #19122]
10804         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10805         attribute_hidden.
10807         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10808         attribute_hidden.
10809         [IS_IN (rtld)] (__strdup): Likewise.
10810         [IS_IN (rtld)] (__strerror_r): Likewise.
10811         [IS_IN (rtld)] (__strsep_g): Likewise.
10812         [IS_IN (rtld)] (memchr): Likewise.
10813         [IS_IN (rtld)] (memcmp): Likewise.
10814         [IS_IN (rtld)] (memcpy): Likewise.
10815         [IS_IN (rtld)] (memmove): Likewise.
10816         [IS_IN (rtld)] (memset): Likewise.
10817         [IS_IN (rtld)] (rawmemchr): Likewise.
10818         [IS_IN (rtld)] (stpcpy): Likewise.
10819         [IS_IN (rtld)] (strchr): Likewise.
10820         [IS_IN (rtld)] (strcmp): Likewise.
10821         [IS_IN (rtld)] (strlen): Likewise.
10822         [IS_IN (rtld)] (strnlen): Likewise.
10823         [IS_IN (rtld)] (strsep): Likewise.
10825         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10826         attribute_hidden.
10827         [IS_IN (rtld)] (__strtoul_internal): Likewise.
10829         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10830         attribute_hidden.
10831         [IS_IN (rtld)] (__libc_sigaction): Likewise.
10833         * include/setjmp.h (__longjmp): Add attribute_hidden.
10834         [IS_IN (rtld)] (__sigsetjmp): Likewise.
10836         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10837         Add attribute_hidden.
10839         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10840         [IS_IN (rtld)] (__open): Likewise.
10841         [IS_IN (rtld)] (__fcntl): Likewise.
10843         * include/dirent.h (__opendirat): Add attribute_hidden.
10844         (__getdents): Likewise.
10845         (__getdents64): Likewise.
10846         (__alloc_dir): Likewise.
10847         [IS_IN (rtld)] (__closedir): Likewise.
10848         [IS_IN (rtld)] (__fdopendir): Likewise.
10849         [IS_IN (rtld)] (__readdir): Likewise.
10850         [IS_IN (rtld)] (__readdir64): Likewise.
10851         [IS_IN (rtld)] (__rewinddir): Likewise.
10853         * include/dlfcn.h (_dl_catch_error): Moved to ...
10854         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10855         attribute_hidden.
10857         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10858         (_itoa_word): Likewise.
10860         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10861         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10862         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10863         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10864         (_dl_higher_prime_number): Likewise.
10865         (_dl_debug_printf_c): Likewise.
10866         (_dl_signal_cerror): Likewise.
10867         (_dl_receive_error): Likewise.
10868         (_dl_reloc_bad_type): Likewise.
10869         (_dl_resolve_conflicts): Likewise.
10870         (_dl_check_all_versions): Likewise.
10871         (_dl_check_map_versions): Likewise.
10872         (_dl_sort_fini): Likewise.
10873         (_dl_debug_initialize): Likewise.
10874         (_dl_init_paths): Likewise.
10875         (_dl_show_auxv): Likewise.
10876         (_dl_next_ld_env_entry): Likewise.
10877         (_dl_important_hwcaps): Likewise.
10878         (_dl_load_cache_lookup): Likewise.
10879         (_dl_update_slotinfo): Likewise.
10880         (_dl_show_scope): Likewise.
10882         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10883         attribute_hidden.
10884         (_wordcopy_fwd_dest_aligned): Likewise.
10885         (_wordcopy_bwd_aligned): Likewise.
10886         (_wordcopy_bwd_dest_aligned): Likewise.
10888         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10889         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10890         Likewise.
10891         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10892         Likewise.
10893         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10895 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10897         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10898         GCC 5 requirement.
10900 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10902         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10903         test.
10904         * sysdeps/i386/configure: Regenerated.
10905         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10906         code unconditional.
10908         * configure.ac (libc_cv_asm_previous_directive): Remove configure
10909         test.
10910         (libc_cv_asm_popsection_directive): Likewise.
10911         * configure: Regenerated.
10912         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10913         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10914         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10915         (__make_section_unallocated): Make definition unconditional.
10916         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10917         Remove conditional definition.
10918         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10919         (__make_section_unallocated): Likewise.
10921         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10922         * configure: Regenerated.
10923         * config.make.in (static-libgcc): Remove variable.
10924         * Makerules (build-shlib-helper): Use -static-libgcc instead of
10925         $(static-libgcc).
10926         (build-module-helper): Likewise.
10928         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10929         * configure: Regenerated.
10931 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10933         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10934         (struct char_buffer): New type.
10935         (char_buffer_start, char_buffer_size, char_buffer_error)
10936         (char_buffer_rewind, char_buffer_add): New functions.
10937         (ADDW): Remove macro, replaced by the char_buffer_add function.
10938         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10939         of extend_alloca.  Make control flow more explicit.
10941 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10943         [BZ #19137]
10944         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10945         Add -fomit-frame-pointer.
10946         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10948 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10950         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10951         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10952         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10953         only if !__GNUC_PREREQ (5,0).
10954         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10955         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10956         (INTERNAL_SYSCALL_NCS): Likewise.
10957         (LOADREGS_0): New macro for GCC 5.
10958         (ASMARGS_0): Likewise.
10959         (LOADREGS_1): Likewise.
10960         (ASMARGS_1): Likewise.
10961         (LOADREGS_2): Likewise.
10962         (ASMARGS_2): Likewise.
10963         (LOADREGS_3): Likewise.
10964         (ASMARGS_3): Likewise.
10965         (LOADREGS_4): Likewise.
10966         (ASMARGS_4): Likewise.
10967         (LOADREGS_5): Likewise.
10968         (ASMARGS_5): Likewise.
10969         (LOADREGS_6): Likewise.
10970         (ASMARGS_6): Likewise.
10972 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10974         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10975         -fomit-frame-pointer.
10976         (CFLAGS-mmap64.c): Likewise.
10977         (CFLAGS-semtimedop.c): Likewise.
10978         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10979         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10980         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10981         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10983 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10985         [BZ #18928]
10986         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10987         _dl_pointer_guard member.
10988         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10989         initializer.
10990         (security_init): Always set up pointer guard.
10991         (process_envvars): Do not process LD_POINTER_GUARD.
10993 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
10995         [BZ #19134]
10996         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10997         (.LC2): Likewise.
10998         (.LC3): Likewise.
10999         (__lround): Do not add 0.5 to integer or out-of-range arguments.
11001 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11003         [BZ #19129]
11004         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
11005         r0 and r1.
11007 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
11009         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
11011 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
11013         * include/stap-probe.h: Fix macro definition formatting.
11015 2015-10-14  Florian Weimer  <fweimer@redhat.com>
11017         [BZ #19074]
11018         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
11019         load and store num_ifs.
11021 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11023         [BZ #18822]
11024         * sysdeps/unix/sysv/linux/sched_getaffinity.c
11025         (__sched_getaffinity_new): Add libc_hidden_proto and
11026         libc_hidden_def.
11028 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11030         [BZ #19007]
11031         * scripts/localplt.awk: Also allow GOT references.
11032         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
11033         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
11034         with "+ REL R_386_GLOB_DAT".
11035         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
11036         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
11038 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11040         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
11041         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11042         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
11043         Likewise.
11044         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11045         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
11046         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11047         INTERNAL_SYSCALLINTERNAL_SYSCALL and
11048         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11049         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11050         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11051         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11052         Likewise.
11053         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11055 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11057         [BZ #19125]
11058         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
11059         <math_private.h> and <stdint.h>.
11060         (__llround): Avoid conversions to and from long long int, and
11061         subtractions, where those might raise spurious exceptions.
11062         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
11063         <math_private.h> and <stdint.h>.
11064         (__llroundf): Avoid conversions to and from long long int, and
11065         subtractions, where those might raise spurious exceptions.
11067 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11069         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
11070         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11071         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11072         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
11073         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11074         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11075         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
11076         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
11077         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
11078         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11079         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11080         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11081         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
11082         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11083         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11084         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
11085         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
11086         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11087         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
11088         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
11089         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11090         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
11091         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
11092         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11093         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
11094         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11095         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
11096         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11097         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11098         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
11099         (__xstat64_conv): Likewise.
11100         (__xstat32_conv): Likewise.
11102 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11104         * sysdeps/unix/sysv/linux/sysdep.h: New file.
11105         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
11106         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
11107         <sysdeps/unix/sysv/linux/sysdep.h>.
11108         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11109         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
11110         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
11111         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11112         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11113         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
11114         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
11115         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11116         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11119         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11120         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11121         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11122         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11123         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11124         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
11125         (sysdep-dl-routines): Add sysdep.
11126         [$(subdir) == nptl] (libpthread-routines): Likewise.
11127         [$(subdir) == rt] (librt-routines): Likewise.
11128         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
11129         PIC when branching to SYSCALL_ERROR_LABEL.
11130         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
11131         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
11132         <sysdeps/unix/sysv/linux/sysdep.h>.
11133         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
11134         (SYSCALL_ERROR_ERRNO): Removed.
11135         (SYSCALL_ERROR_HANDLER): Changed to empty.
11136         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
11137         (__syscall_error): New prototype.
11138         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
11139         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
11141 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11143         [BZ #19124]
11144         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
11145         (_dl_runtime_resolve_avx512): Make it a hidden alias of
11146         _dl_runtime_resolve_avx.
11147         (_dl_runtime_profile_avx512): Make it a hidden alias of
11148         _dl_runtime_profile_avx.
11150 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11152         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
11153         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
11154         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
11155         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
11157         [BZ #16422]
11158         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
11159         New configure test.
11160         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
11161         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
11162         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
11163         <math_private.h> and <stdint.h>.
11164         (__llrint): Avoid conversions to long long int where those might
11165         raise spurious exceptions.
11166         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
11167         <math_private.h> and <stdint.h>.
11168         (__llrintf): Avoid conversions to long long int where those might
11169         raise spurious exceptions.
11171 2015-10-12  Andreas Schwab  <schwab@suse.de>
11173         [BZ #18969]
11174         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
11175         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
11176         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
11177         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
11178         $(gen-locales).
11179         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
11180         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
11181         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
11182         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
11183         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
11184         $(gen-locales).
11185         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
11186         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
11187         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
11188         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
11189         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
11190         ($(objpfx)tst-ftell-active-handler.out)
11191         ($(objpfx)tst-ftell-append.out)
11192         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
11193         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
11194         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
11195         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
11196         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
11197         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
11198         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
11199         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
11200         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
11201         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
11202         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
11203         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
11204         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
11205         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
11206         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
11207         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
11208         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
11209         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
11210         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
11211         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
11212         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
11213         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
11214         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
11215         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
11216         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
11217         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
11218         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
11219         $(gen-locales).
11220         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
11221         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
11222         $(gen-locales).
11223         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
11224         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
11225         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
11226         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
11227         $(gen-locales).
11228         * libio/tst_wprintf2.c (main): Use explicit locale.
11229         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
11231 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11233         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
11234         __msg_sig_post.
11235         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
11237 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11239         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11240         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11242         * sysdeps/arm/libm-test-ulps: Regenerated.
11244         [BZ #15470]
11245         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
11247         [BZ #16399]
11248         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
11249         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
11250         and <fix-fp-int-convert-overflow.h>.
11251         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11252         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11253         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
11254         and <fix-fp-int-convert-overflow.h>.
11255         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
11256         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11257         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
11258         <fix-fp-int-convert-overflow.h>.
11259         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11260         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11261         * sysdeps/ieee754/dbl-64/s_lround.c: Include
11262         <fix-fp-int-convert-overflow.h>.
11263         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
11264         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11265         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
11266         and <fix-fp-int-convert-overflow.h>.
11267         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11268         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11269         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
11270         <limits.h> and <fix-fp-int-convert-overflow.h>.
11271         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11272         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11273         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
11274         and <fix-fp-int-convert-overflow.h>.
11275         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11276         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11277         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
11278         and <fix-fp-int-convert-overflow.h>.
11279         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11280         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11281         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
11283 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
11285         [BZ #18589]
11286         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
11287         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
11288         $(gen-locales).
11290 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11291             Phil Blundell <pb@pbcl.net>
11293         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
11294         * nptl/tst-cancel26.c: New file.
11295         * nptl/tst-cancel27.c: Likewise.
11297 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
11299         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
11300         __ILP32__ isn't defined.
11301         (lrint): Likewise.
11302         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
11303         (lrintf): Likewise.
11304         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
11305         (lrintl): Likewise.
11306         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
11307         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
11308         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
11310 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11312         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11313         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11315         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
11316         file.
11317         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
11318         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
11320 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11322         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
11323         configure test.
11324         * sysdeps/i386/configure: Regenerated.
11325         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
11326         configure test.
11327         * sysdeps/x86_64/configure: Regenerated.
11328         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
11329         Make code unconditional.
11331         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
11332         test.
11333         * sysdeps/i386/configure: Regenerated.
11334         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
11335         test.
11336         * sysdeps/x86_64/configure: Regenerated.
11337         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
11338         Make code unconditional.
11339         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11340         Likewise.
11341         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
11342         Likewise.
11343         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11344         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
11345         code unconditional.
11346         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11347         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
11348         code unconditional.
11349         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11350         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
11351         code unconditional.
11352         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
11353         code unconditional.
11354         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11355         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
11356         code unconditional.
11357         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11358         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
11359         code unconditional.
11360         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11361         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
11362         code unconditional.
11363         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11364         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
11365         code unconditional.
11366         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11367         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
11369         [BZ #19095]
11370         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
11371         mantissa to long int before shifting left.
11373 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11375         [BZ #19094]
11376         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
11377         <limits.h>.
11378         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11379         when result overflows but exception would not result from cast.
11380         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
11381         <limits.h>.
11382         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11383         when result overflows but exception would not result from cast.
11384         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
11385         <limits.h>.
11386         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11387         when result overflows but exception would not result from cast.
11388         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
11389         <limits.h>.
11390         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11391         when result overflows but exception would not result from cast.
11392         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
11393         <limits.h>.
11394         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11395         when result overflows but exception would not result from cast.
11396         * math/libm-test.inc (lrint_test_data): Add more tests.
11397         (llrint_test_data): Likewise.
11399 2015-10-08  Roland McGrath  <roland@hack.frob.com>
11401         [BZ #18872]
11402         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
11403         Move out from under [$(run-built-tests) = yes] conditional.
11404         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
11405         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
11407 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
11409         [BZ #18589]
11410         * string/Makefile (tests): Add bug-strcoll2.
11411         (LOCALES): Add cs_CZ.UTF-8.
11412         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
11414         [BZ #18589]
11415         * string/bug-strcoll2.c: New file.
11416         * locale/categories.def: Revert commit
11417         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
11418         * locale/langinfo.h: Likewise.
11419         * locale/localeinfo.h: Likewise.
11420         * locale/C-collate.c: Likewise.
11421         * locale/programs/ld-collate.c (collate_output): Likewise.
11422         * string/strcoll_l.c (STRDIFF): Likewise.
11423         (STRCOLL): Likewise.
11424         * wcsmbs/wcscoll_l.c: Likewise.
11426 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11428         * math/libm-test.inc (lround_test_data): Do not expect the absence
11429         of "inexact" for some tests with non-integer arguments.
11430         (llround_test_data): Likewise.
11432         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
11433         test.
11434         (libc_cv_cc_sse2avx): Likewise.
11435         * sysdeps/i386/configure: Regenerated.
11436         * sysdeps/i386/i686/multiarch/Makefile
11437         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
11438         [$(subdir) = math].
11439         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
11440         code unconditional.
11441         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11442         Likewise.
11443         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
11444         Likewise.
11445         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11446         Likewise.
11447         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
11448         test.
11449         (libc_cv_cc_sse2avx): Likewise.
11450         * sysdeps/x86_64/configure: Regenerated.
11451         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
11452         unconditional.
11453         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
11454         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
11455         unconditional.
11456         (_dl_runtime_profile)
11457         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
11458         conditional code.
11459         * sysdeps/x86_64/fpu/multiarch/Makefile
11460         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
11461         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11462         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11463         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11464         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11465         * sysdeps/x86_64/fpu/multiarch/e_log.c
11466         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11467         * sysdeps/x86_64/fpu/multiarch/s_atan.c
11468         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11469         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11470         Likewise.
11471         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11472         Likewise.
11473         * sysdeps/x86_64/fpu/multiarch/s_sin.c
11474         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11475         * sysdeps/x86_64/fpu/multiarch/s_tan.c
11476         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11477         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
11478         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
11479         (HAVE_SSE2AVX_SUPPORT): Likewise.
11481 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
11483         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
11484         instead of #pragma optimize.
11486 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11488         [BZ #17195]
11489         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
11490         as is similarly done in systrim and _int_free already.
11492 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11494         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
11496 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11498         [BZ #19088]
11499         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
11500         <limits.h>.
11501         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11502         overflows but exception would not result from cast.
11503         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
11504         and <limits.h>.
11505         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11506         overflows but exception would not result from cast.
11507         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
11508         <limits.h>.
11509         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11510         overflows but exception would not result from cast.
11511         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
11512         <limits.h>.
11513         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11514         overflows but exception would not result from cast.
11515         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
11516         <limits.h>.
11517         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11518         overflows but exception would not result from cast.
11519         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
11520         <limits.h>.
11521         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11522         overflows but exception would not result from cast.
11523         * math/libm-test.inc (lround_test_data): Add more tests.
11524         (llround_test_data): Likewise.
11526 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
11528         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
11529         (CFLAGS-ialloc.c): Ditto.
11530         (CFLAGS-scheck.c): Ditto.
11532 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11534         [BZ #19086]
11535         * manual/filesys.texi (Storage Allocation): Fix argument order for
11536         posix_fallocate64.
11538 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11540         [BZ #19085]
11541         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
11542         exponent below 48 inside case for non-overflowing exponent.
11543         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11545 2015-10-07  Florian Weimer  <fweimer@redhat.com>
11547         * iconvdata/cp737.h (from_idx): Add const.
11548         * iconvdata/cp775.h (from_idx): Likewise.
11550 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11552         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
11553         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11554         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
11556         [BZ #19079]
11557         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
11558         file, conditioned on [!_LP64].
11559         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11560         [!_LP64] (__lround): Do not define as function or alias.
11561         [!_LP64] (lround): Likewise.
11562         [!_LP64] (__lroundl): Likewise.
11563         [!_LP64] (lroundl): Likewise.
11564         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
11565         macro.
11566         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11567         Likewise.
11569 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11571         * math/libm-test.inc (lrint_test_data): Add more tests.
11572         (llrint_test_data): Likewise.
11573         (lround_test_data): Likewise.
11574         (llround_test_data): Likewise.
11576         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
11577         (llrint_test_data): Add tests used for lrint.
11579         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
11580         test.
11581         * sysdeps/i386/configure: Regenerated.
11582         * sysdeps/i386/i686/multiarch/Makefile
11583         [$(config-cflags-sse4) = yes]: Make code unconditional.
11584         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11585         Likewise.
11586         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
11587         Likewise.
11588         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
11589         test.
11590         * sysdeps/x86_64/configure: Regenerated.
11591         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
11592         Make code unconditional.
11593         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11594         Likewise.
11595         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
11596         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
11598         * scripts/rpm2dynsym.sh: Remove file.
11600 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11602         * configure.ac (libc_cv_cxx_thread_local): Define.
11603         * configure: Regenerate.
11604         * config.make.in (have-cxx-thread_local): Define.
11605         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
11606         (LDLIBS-tst-thread_local1): Define.
11607         (tests): Add tst-thread_local1.
11608         [have-cxx-thread_local != yes] (tests-unsupported): Add
11609         tst-thread_local1.
11610         * nptl/tst-thread_local1.cc: New file.
11612 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11614         [BZ #19078]
11615         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
11616         (u_thres): Likewise.
11617         (__expl): Determine whether to call __kernel_standard_l based on
11618         value of result, not argument.
11620         * math/libm-test.inc (scalb_test_data): Add more expectations for
11621         the "inexact" exception.
11623         [BZ #19077]
11624         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
11625         0.0L for argument 1.0L.
11627         [BZ #19076]
11628         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
11629         constant 0.0L when computing infinite result.
11631 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11633         [BZ #10432]
11634         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
11635         malloc_usable_size.
11637 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11639         [BZ #19018]
11640         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11641         Mangle function pointer before storing it.
11642         (__call_tls_dtors): Demangle function pointer before calling it.
11644 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11646         [BZ #19012]
11647         * iconv/gconv_db.c (gen_steps): Check for additional errors.
11648         Clean up on failure.
11650 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
11652         [BZ #19071]
11653         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
11654         long int variable to store possibly incremented high part of
11655         mantissa.
11656         * math/libm-test.inc (lround_test_data): Add tests used for
11657         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
11658         for tests requiring 64-bit long.  Do not condition tests on
11659         [TEST_FLOAT] unnecessarily.
11660         (llround_test_data): Add tests used for lround.  Add another
11661         expectation for the "inexact" exception.  Do not condition tests
11662         on [TEST_FLOAT] unnecessarily.
11664         [BZ #887]
11665         [BZ #19049]
11666         [BZ #19050]
11667         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
11668         * sysdeps/ieee754/dbl-64/e_log10.c: Include
11669         <fix-int-fp-convert-zero.h>.
11670         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11671         * sysdeps/ieee754/dbl-64/e_log2.c: Include
11672         <fix-int-fp-convert-zero.h>.
11673         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11674         * sysdeps/ieee754/dbl-64/s_erf.c: Include
11675         <fix-int-fp-convert-zero.h>.
11676         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11677         * sysdeps/ieee754/dbl-64/s_logb.c: Include
11678         <fix-int-fp-convert-zero.h>.
11679         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11680         * sysdeps/ieee754/flt-32/e_log10f.c: Include
11681         <fix-int-fp-convert-zero.h>.
11682         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11683         * sysdeps/ieee754/flt-32/e_log2f.c: Include
11684         <fix-int-fp-convert-zero.h>.
11685         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11686         * sysdeps/ieee754/flt-32/s_erff.c: Include
11687         <fix-int-fp-convert-zero.h>.
11688         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11689         * sysdeps/ieee754/flt-32/s_logbf.c: Include
11690         <fix-int-fp-convert-zero.h>.
11691         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11692         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11693         <fix-int-fp-convert-zero.h>.
11694         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11695         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11696         <fix-int-fp-convert-zero.h>.
11697         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11698         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11699         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11700         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11701         file.
11702         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11704 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11706         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11708 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
11710         [BZ #19059]
11711         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11712         overflowing computation.
11713         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11714         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11715         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11716         Likewise.
11717         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11718         Likewise.
11719         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11720         Likewise.
11721         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11722         Likewise.
11723         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11724         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11725         Likewise.
11726         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11727         Likewise.
11728         * math/libm-test.inc (nexttoward_test_data): Add more tests.
11730         * nss/rewrite_field.c (__nss_rewrite_field): Use
11731         internal_function.
11732         * nss/valid_field.c (__nss_valid_field): Likewise.
11733         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11735 2015-10-02  Florian Weimer  <fweimer@redhat.com>
11737         [BZ #18724]
11738         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11739         (__nss_invalid_field_characters, __nss_valid_field)
11740         (__nss_valid_list_field, __nss_rewrite_field): Declare.
11741         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11742         tst-field.c: New file.
11743         * nss/Makefile (routines): Add valid_field, rewrite_field.
11744         (tests-static): Define unconditionally.
11745         (tests): Include tests-static.
11746         [build-static-nss] (tests-static): Use append.
11747         [build-static-nss] (tests): Remove modification.
11748         * nss/getent.c (print_group): Call putgrent.  Report error.
11749         (print_gshadow): Call putsgent.  Report error.
11750         (print_passwd): Call putpwent.  Report error.
11751         (print_shadow): Call putspent.  Report error.
11752         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11753         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11754         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
11755         name, password, directory, shell fields for valid syntax.  Rewrite
11756         GECOS field to match syntax.
11757         * pwd/Makefile (tests): Add tst-putpwent.
11758         * pwd/tst-putpwent.c: New file.
11759         * grp/putgrent.c (putgrent): Convert to ISO function definition.
11760         Check grName, grpasswd, gr_mem fields for valid syntax.
11761         Change loop variable i to size_t.
11762         * grp/Makefile (tests): Add tst-putgrent.
11763         * grp/tst-putgrent.c: New file.
11764         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11765         valid syntax.
11766         * shadow/Makefile (tests): Add tst-putspent.
11767         * shadow/tst-putspent.c: New file.
11768         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11769         sg_mem fields for valid syntax.
11770         * gshadow/Makefile (tests): Add tst-putsgent.
11771         * gshadow/tst-putsgent.c: New file.
11773 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11775         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11776         assembly instructions.
11778 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11780         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11781         prefix from operands.
11783 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
11785         [BZ #16347]
11786         [BZ #19046]
11787         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11788         <libc-internal.h>.
11789         (MAXLGM): Do not use diagnostic control macros.
11790         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11791         threshold for ldbl-128ibm.
11792         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11793         instead of multiplying by log then subtracting.
11794         * math/auto-libm-test-in: Add more tests of lgamma.
11795         * math/auto-libm-test-out: Regenerated.
11797         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11798         (TYPE_HEX_DIG): Likewise.
11799         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11800         precisions when printing floating-point numbers.
11801         (check_float_internal): Likewise.
11803 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11805         [BZ #16620]
11806         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11807         of log (10) rounded downward to 48 bits.
11808         (log10_low): Use corresponding low part of log (10).
11810         [BZ #19032]
11811         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11812         compute result as (x - x) / (x - x) not as 0 / 0.
11813         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11814         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11816         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11817         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11818         and expm1.
11819         * math/auto-libm-test-out: Regenerated.
11820         * math/libm-test.inc (acos_test_data): Add more tests.
11821         (asin_test_data): Likewise.
11822         (asinh_test_data): Likewise.
11823         (atan_test_data): Likewise.
11824         (atanh_test_data): Likewise.
11825         (atan2_test_data): Likewise.
11826         (cbrt_test_data): Likewise.
11827         (ceil_test_data): Likewise.
11828         (copysign_test_data): Likewise.
11829         (cos_test_data): Likewise.
11830         (cosh_test_data): Likewise.
11831         (erf_test_data): Likewise.
11832         (erfc_test_data): Likewise.
11833         (exp_test_data): Likewise.
11834         (exp10_test_data): Likewise.
11835         (exp2_test_data): Likewise.
11836         (expm1_test_data): Likewise.
11837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11839 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
11841         [BZ #19006]
11842         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11843         to ...
11844         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11845         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11846         to ...
11847         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11848         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11849         to ...
11850         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11851         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11852         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11853         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11854         to ...
11855         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11856         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11857         Moved to ...
11858         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11859         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11860         Moved to ...
11861         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11862         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11863         to ...
11864         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11865         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11866         Moved to ...
11867         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11868         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11869         to ...
11870         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11871         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11872         Removed.
11873         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11874         Likewise.
11875         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11876         Likewise.
11877         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11878         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11879         Likewise.
11880         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11881         Likewise.
11882         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11883         Likewise.
11884         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11885         Likewise.
11886         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11887         Likewise.
11888         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11889         Likewise.
11890         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11891         Likewise.
11892         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11893         Likewise.
11894         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11895         Likewise.
11896         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11897         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11898         Likewise.
11899         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11900         Likewise.
11901         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11902         Likewise.
11903         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11904         Likewise.
11905         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11906         Likewise.
11907         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11908         Replace ../i486/pthread_cond_timedwait.S with
11909         ../pthread_cond_timedwait.S.
11911 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11913         * math/libm-test.inc (acos_test_data): Refine expectations for
11914         errno and "inexact" exceptions.
11915         (acosh_test_data): Likewise.
11916         (asin_test_data): Likewise.
11917         (asinh_test_data): Likewise.
11918         (atan_test_data): Likewise.
11919         (atanh_test_data): Likewise.
11920         (atan2_test_data): Likewise.
11921         (cbrt_test_data): Likewise.
11922         (ceil_test_data): Likewise.
11923         (copysign_test_data): Likewise.
11924         (cosh_test_data): Likewise.
11925         (erf_test_data): Likewise.
11926         (erfc_test_data): Likewise.
11927         (exp_test_data): Likewise.
11928         (exp10_test_data): Likewise.
11929         (exp2_test_data): Likewise.
11930         (expm1_test_data): Likewise.
11931         (fabs_test_data): Likewise.
11932         (floor_test_data): Likewise.
11933         (fma_test_data): Likewise.
11934         (fmax_test_data): Likewise.
11935         (fmin_test_data): Likewise.
11936         (fmod_test_data): Likewise.
11937         (fpclassify_test_data): Likewise.
11938         (frexp_test_data): Likewise.
11939         (hypot_test_data): Likewise.
11940         (ilogb_test_data): Likewise.
11941         (isgreater_test_data): Likewise.
11942         (isgreaterequal_test_data): Likewise.
11943         (isinf_test_data): Likewise.
11944         (isless_test_data): Likewise.
11945         (islessequal_test_data): Likewise.
11946         (islessgreater_test_data): Likewise.
11947         (isnan_test_data): Likewise.
11948         (isnormal_test_data): Likewise.
11949         (issignaling_test_data): Likewise.
11950         (isunordered_test_data): Likewise.
11951         (j0_test_data): Likewise.
11952         (j1_test_data): Likewise.
11953         (jn_test_data): Likewise.
11954         (lgamma_test_data): Likewise.
11955         (lrint_test_data): Likewise.
11956         (llrint_test_data): Likewise.
11957         (log_test_data): Likewise.
11958         (log10_test_data): Likewise.
11959         (log1p_test_data): Likewise.
11960         (log2_test_data): Likewise.
11961         (logb_test_data): Likewise.
11962         (lround_test_data): Likewise.
11963         (llround_test_data): Likewise.
11964         (modf_test_data): Likewise.
11965         (nearbyint_test_data): Likewise.
11966         (nextafter_test_data): Likewise.
11967         (nexttoward_test_data): Likewise.
11968         (pow_test_data): Likewise.
11969         (remainder_test_data): Likewise.
11970         (remquo_test_data): Likewise.
11971         (rint_test_data): Likewise.
11972         (round_test_data): Likewise.
11973         (signbit_test_data): Likewise.
11974         (sinh_test_data): Likewise.
11975         (sqrt_test_data): Likewise.
11976         (tanh_test_data): Likewise.
11977         (tgamma_test_data): Likewise.
11978         (trunc_test_data): Likewise.
11979         (y0_test_data): Likewise.
11980         (y1_test_data): Likewise.
11981         (yn_test_data): Likewise.
11982         (significand_test_data): Likewise.
11984 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
11986         * manual/filesys.texi (Storage Allocation): Document that
11987         posix_fallocate emulation fails when fd is open with O_WRONLY.
11989 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
11991         [BZ #19016]
11992         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11993         allow more cases with X^2 + Y^2 >= 0.5.
11994         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
11995         normal element in sum instead of special-casing based on values of
11996         arguments.
11997         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11998         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
11999         -1 as normal element in sum instead of special-casing based on
12000         values of arguments.
12001         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
12002         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
12003         (__x2y2m1): Update comment.
12004         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
12005         as normal element in sum instead of special-casing based on values
12006         of arguments.
12007         * math/s_clog.c (__clog): Handle more cases using log1p without
12008         hypot.
12009         * math/s_clog10.c (__clog10): Likewise.
12010         * math/s_clog10f.c (__clog10f): Likewise.
12011         * math/s_clog10l.c (__clog10l): Likewise.
12012         * math/s_clogf.c (__clogf): Likewise.
12013         * math/s_clogl.c (__clogl): Likewise.
12014         * math/auto-libm-test-in: Add more tests of clog and clog10.
12015         * math/auto-libm-test-out: Regenerated.
12016         * sysdeps/i386/fpu/libm-test-ulps: Update.
12017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12019 2015-09-28  Martin Sebor  <msebor@redhat.com>
12021         [BZ #18969]
12022         * string/Makefile (LOCALES): Define.
12023         (gen-locales.mk): Include.
12024         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
12025         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
12026         * string/tst-strxfrm2.c (do_test): Print the name of the locale
12027         on setlocale failure.
12029 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12031         [BZ #18985]
12032         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
12033         (__strftime_internal): Likewise.
12034         * time/tst-strftime.c (do_bz18985): New test.
12035         (do_test): Call it.
12037 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
12039         [BZ #18956]
12040         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
12041         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
12042         extracting high part.
12043         * math/auto-libm-test-in: Add another test of pow.
12044         * math/auto-libm-test-out: Regenerated.
12045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12047 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12049         [BZ #18825]
12050         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
12051         New macro.
12052         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
12053         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12054         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
12055         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
12056         DBL_NARROW_EVAL, reloading the PIC register as needed.
12057         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
12058         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
12059         FLT_NARROW_EVAL.  Use separate return path for case when first
12060         argument is NaN.
12061         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
12062         DEFINE_LDBL_MIN.
12063         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
12064         PIC register.
12065         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
12066         math_check_force_underflow_nonneg.
12067         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
12068         underflow for subnormal result.
12069         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12070         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
12071         math_check_force_underflow_nonneg.
12072         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
12073         math_check_force_underflow.
12074         * sysdeps/x86_64/fpu/x86_64-math-asm.h
12075         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
12076         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
12077         DEFINE_LDBL_MIN.
12078         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
12079         * math/auto-libm-test-in: Add more tests of pow.
12080         * math/auto-libm-test-out: Regenerated.
12082 2015-09-25  Florian Weimer  <fweimer@redhat.com>
12084         * nss/bug17079.c (init_test_items): Add diagnostic for
12085         inconsistent entries.
12086         (test_buffer_size): Skip inconsistent entries.
12088 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12090         [BZ #13304]
12091         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
12092         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
12093         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
12095         [BZ #13304]
12096         * sysdeps/microblaze/s_fma.c: New file.
12097         * sysdeps/microblaze/s_fmaf.c: Likewise.
12098         * sysdeps/microblaze/sfp-machine.h: Likewise.
12100 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
12102         [BZ #17250]
12103         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
12104         member.
12106 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12108         [BZ #18803]
12109         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
12110         (MO): New macro.
12111         (__ieee754_hypot) [PIC]: Load PIC register.
12112         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
12113         DBL_NARROW_EVAL.
12114         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
12115         math_check_force_underflow_nonneg in case where result might be
12116         tiny.
12117         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12118         Likewise.
12119         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12120         Likewise.
12121         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12122         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12123         * math/auto-libm-test-in: Add more tests of hypot.
12124         * math/auto-libm-test-out: Regenerated.
12126 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
12128         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
12130 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12132         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
12133         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
12134         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12135         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12136         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
12137         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12138         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12140         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
12141         LOAD_PIC_REG.
12143         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
12144         (FLT_CHECK_FORCE_UFLOW): Likewise.
12145         (DBL_CHECK_FORCE_UFLOW): Likewise.
12146         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
12147         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
12148         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
12149         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12150         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12151         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12152         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12153         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12154         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
12155         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12156         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
12157         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
12158         (flt_min): Replace with use of DEFINE_FLT_MIN.
12159         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
12160         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
12161         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12162         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
12163         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
12164         (flt_min): Replace with use of DEFINE_FLT_MIN.
12165         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
12166         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
12167         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12168         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
12169         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
12170         (flt_min): Replace with use of DEFINE_FLT_MIN.
12171         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
12172         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
12173         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12174         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12175         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
12176         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12177         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12178         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
12179         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12180         (__atan): Use DBL_CHECK_FORCE_UFLOW.
12181         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
12182         (flt_min): Replace with use of DEFINE_FLT_MIN.
12183         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
12184         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
12185         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12186         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
12187         main computation.
12188         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
12189         (flt_min): Replace with use of DEFINE_FLT_MIN.
12190         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
12191         main computation.
12192         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
12193         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12194         (MO): New macro.
12195         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
12196         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
12197         (flt_min): Replace with use of DEFINE_FLT_MIN.
12198         (MO): New macro.
12199         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
12200         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
12201         (__log1pl): Use MO.
12203         [BZ #19003]
12204         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
12205         $(config-cflags-nofma).
12207 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12209         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12211 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
12213         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
12214         (TWO127): Likewise.
12216         * sysdeps/generic/math_private.h (fabs_tg): New macro.
12217         (min_of_type): Likewise.
12218         (math_check_force_underflow): Likewise.
12219         (math_check_force_underflow_nonneg): Likewise.
12220         (math_check_force_underflow_complex): Likewise.
12221         * math/e_exp2l.c (__ieee754_exp2l): Use
12222         math_check_force_underflow_nonneg.
12223         * math/k_casinh.c (__kernel_casinh): Likewise.
12224         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12225         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12226         * math/s_catan.c (__catan): Use
12227         math_check_force_underflow_complex.
12228         * math/s_catanf.c (__catanf): Likewise.
12229         * math/s_catanh.c (__catanh): Likewise.
12230         * math/s_catanhf.c (__catanhf): Likewise.
12231         * math/s_catanhl.c (__catanhl): Likewise.
12232         * math/s_catanl.c (__catanl): Likewise.
12233         * math/s_ccosh.c (__ccosh): Likewise.
12234         * math/s_ccoshf.c (__ccoshf): Likewise.
12235         * math/s_ccoshl.c (__ccoshl): Likewise.
12236         * math/s_cexp.c (__cexp): Likewise.
12237         * math/s_cexpf.c (__cexpf): Likewise.
12238         * math/s_cexpl.c (__cexpl): Likewise.
12239         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
12240         * math/s_clog10.c (__clog10): Likewise.
12241         * math/s_clog10f.c (__clog10f): Likewise.
12242         * math/s_clog10l.c (__clog10l): Likewise.
12243         * math/s_clogf.c (__clogf): Likewise.
12244         * math/s_clogl.c (__clogl): Likewise.
12245         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
12246         * math/s_csinf.c (__csinf): Likewise.
12247         * math/s_csinh.c (__csinh): Likewise.
12248         * math/s_csinhf.c (__csinhf): Likewise.
12249         * math/s_csinhl.c (__csinhl): Likewise.
12250         * math/s_csinl.c (__csinl): Likewise.
12251         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
12252         * math/s_csqrtf.c (__csqrtf): Likewise.
12253         * math/s_csqrtl.c (__csqrtl): Likewise.
12254         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
12255         * math/s_ctanf.c (__ctanf): Likewise.
12256         * math/s_ctanh.c (__ctanh): Likewise.
12257         * math/s_ctanhf.c (__ctanhf): Likewise.
12258         * math/s_ctanhl.c (__ctanhl): Likewise.
12259         * math/s_ctanl.c (__ctanl): Likewise.
12260         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
12261         instead of volatile.
12262         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
12263         math_check_force_underflow.
12264         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12265         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
12266         volatile when forcing underflow.
12267         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12268         math_check_force_underflow_nonneg.
12269         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12270         Likewise.
12271         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
12272         math_check_force_underflow.
12273         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12274         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12275         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12276         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
12277         math_check_force_underflow_nonneg.
12278         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
12279         math_check_force_underflow.
12280         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
12281         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
12282         instead of volatile.
12283         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
12284         math_check_force_underflow.
12285         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12286         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12287         math_check_force_underflow_nonneg.
12288         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
12289         math_check_force_underflow.
12290         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12291         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12292         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
12293         math_check_force_underflow_nonneg.
12294         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12295         Likewise.
12296         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
12297         math_check_force_underflow.
12298         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12299         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12300         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12301         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
12302         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12303         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
12304         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
12305         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
12306         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12307         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
12308         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12309         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
12310         Likewise.
12311         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
12312         math_check_force_underflow_nonneg.
12313         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12314         Likewise.
12315         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
12316         math_check_force_underflow.
12317         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12318         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
12319         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12320         Likewise.
12321         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
12322         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
12323         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
12324         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
12325         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
12326         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12327         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
12328         instead of volatile.
12329         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
12330         math_check_force_underflow.
12331         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
12332         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
12333         math_check_force_underflow.
12334         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
12335         Likewise.
12336         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12337         Use math_check_force_underflow_nonneg.
12338         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
12339         math_check_force_underflow.
12340         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12341         Likewise.
12342         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12343         Likewise.
12344         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12345         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12346         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12347         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12348         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
12349         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12350         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12351         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
12352         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
12353         math_check_force_underflow_nonneg.
12354         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
12355         math_check_force_underflow.
12356         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12357         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
12358         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
12359         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
12360         math_check_force_underflow_nonneg.
12361         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
12362         math_check_force_underflow.
12363         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
12364         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
12365         instead of volatile.
12366         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
12367         math_check_force_underflow.
12369         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
12370         * stdlib/strtod_l.c: Include <math_private.h>.
12371         (overflow_value): Use math_narrow_eval.
12372         (underflow_value): Likewise.
12373         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12374         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12375         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12376         (__ieee754_gamma_r): Likewise.
12377         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
12378         Likewise.
12379         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12380         Likewise.
12381         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12382         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
12383         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
12384         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
12385         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12386         (__ieee754_gammaf_r): Likewise.
12387         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12388         Likewise.
12389         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12390         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
12391         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
12392         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
12393         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
12394         volatile.
12395         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
12396         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
12397         math_narrow_eval.
12398         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12399         Likewise.
12400         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12401         Likewise.
12402         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
12403         Likewise.
12404         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
12405         volatile.
12406         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
12407         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
12408         math_narrow_eval.
12409         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12410         Likewise.
12411         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12412         Likewise.
12414 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
12416         * nptl/Versions: Remove ignored symbols.
12418 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12420         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
12421         * nss/Makefile (tests): Update.
12423 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12425         * nss/bug18287.c: New file.
12426         * nss/Makefile (tests): Add bug18287.
12428 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12430         * mach/Versions (__mach_host_self_): Add symbol.
12432 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12434         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
12435         vm_page_size.
12437 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12439         Really fix sysdeps/i386/fpu/s_scalbn.S build
12441         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
12442         (libc: GLIBC_2_22): Remove unused version set.
12444 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12446         * config.make.in (enable-timezone-tools): New variable.
12447         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
12448         (enable_timezone_tools): Export to generated files.
12449         * configure: Regenerate.
12450         * INSTALL: Regenerate.
12451         * manual/install.texi (--disable-timezone-tools): Document new flag.
12452         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
12453         ifeq ($(enable-timezone-tools),yes) check.
12455 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12457         * timezone/Makefile: Revert previous change.
12459         [BZ #18980]
12460         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
12461         (DEFINE_DBL_MIN): Likewise.
12462         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12463         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12464         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12465         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12466         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
12467         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12468         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12469         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
12470         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
12471         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12472         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12473         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
12474         (flt_min): Replace with use of DEFINE_FLT_MIN.
12475         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12476         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
12477         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12478         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12479         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
12480         (flt_min): Replace with use of DEFINE_FLT_MIN.
12481         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12482         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
12483         (flt_min): Replace with use of DEFINE_FLT_MIN.
12484         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12485         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
12486         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
12487         (__ieee754_hypot): Use DBL_NARROW_EVAL.
12488         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
12489         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
12490         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
12491         (__ieee754_pow): Use DBL_NARROW_EVAL.
12492         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
12493         (__ieee754_powf): Use FLT_NARROW_EVAL.
12494         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
12495         (__ieee754_expf_sse2): Convert double-precision result to single
12496         precision.
12497         * sysdeps/i386/fpu/libm-test-ulps: Update.
12499 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12501         * timezone/Makefile: Ignore unused variable errors due to private.h
12502         (time_t_min) and (time_t_max).
12503         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
12504         Likewise.
12506 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12508         [BZ #18981]
12509         * sysdeps/i386/fpu/i386-math-asm.h: New file.
12510         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
12511         (__ieee754_scalb): Use DBL_NARROW_EVAL.
12512         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
12513         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
12514         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
12515         (__scalbn): Use DBL_NARROW_EVAL.
12516         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
12517         (__scalbnf): Use FLT_NARROW_EVAL.
12519 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12521         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
12522         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
12523         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
12524         * stdio-common/printf_fp.c (___printf_fp):
12525         Use signbit to get the sign. Use isinf macro to allow inlining.
12526         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
12527         * stdio-common/printf_size.c (__printf_size): Likewise.
12529 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12531         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
12533 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12535         [BZ #18980]
12536         * sysdeps/generic/math_private.h: Include <float.h>.
12537         (math_narrow_eval): New macro.
12538         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12539         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
12540         math_narrow_eval on overflowing return value.
12541         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
12542         Likewise.
12543         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12544         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
12545         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
12546         Likewise.
12547         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12549 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12551         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
12552         * math/Makefile: Remove isinf_ns.c.
12553         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
12554         * math/multc3.c (__multc3): Likewise.
12555         * math/s_casin.c (__casin): Likewise.
12556         * math/s_casinf.c (__casinf): Likewise.
12557         * math/s_casinl.c (__casinl): Likewise.
12558         * math/s_cproj.c (__cproj): Likewise.
12559         * math/s_cprojf.c (__cprojf): Likewise.
12560         * math/s_cprojl.c (__cprofl): Likewise.
12561         * math/s_ctan.c (__ctan): Likewise.
12562         * math/s_ctanf.c (__ctanf): Likewise.
12563         * math/s_ctanh.c (__ctanh): Likewise.
12564         * math/s_ctanhf.c (__ctanhf): Likewise.
12565         * math/s_ctanhl.c (__ctanhl): Likewise.
12566         * math/s_ctanl.c (__ctanl): Likewise.
12567         * math/w_fmod.c (__fmod): Likewise.
12568         * math/w_fmodf.c (__fmodf): Likewise.
12569         * math/w_fmodl.c (_fmodl): Likewise.
12570         * math/w_remainder.c (__remainder): Likewise.
12571         * math/w_remainderf.c (__remainderf): Likewise.
12572         * math/w_remainderl.c (__remainderl): Likewise.
12573         * math/w_scalb.c (__scalb): Likewise.
12574         * math/w_scalbf.c (__scalbf): Likewise.
12575         * math/w_scalbl.c (__scalbl): Likewise.
12576         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
12577         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
12578         with isinf.
12579         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
12580         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
12581         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
12582         __isinf_nsf with isinf.
12583         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
12584         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
12585         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
12586         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
12587         with isinf.
12588         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
12589         __isinf_nsl with isinf.
12590         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
12591         with isinf.
12592         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
12593         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
12594         __isinf_nsl with isinf.
12595         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
12596         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
12597         with isinf.
12599 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12601         * resolv/base64.c (rcsid): Remove unused static.
12602         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
12603         static.  (tqpi1): Likewise.
12604         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
12605         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
12606         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
12607         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
12608         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
12609         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
12610         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
12611         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
12612         Likewise.
12614 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
12616         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
12617         <nptl/pthreadP.h>.
12618         (_longjmp_unwind): Use __libc_ptf_call.
12619         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
12621 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
12623         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
12624         * sysdeps/arm/__longjmp.S: Likewise.
12626 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12628         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
12629         Use __builtin_signbit.
12630         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
12631         Use __builtin_signbitf.
12632         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
12633         Use __builtin_signbitl.
12634         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12635         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
12637 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12639         [BZ #15367]
12640         [BZ #17441]
12642         * math/Makefile: Build test-snan.c with -fsignaling-nans.
12643         * math/math.h (fpclassify): Use __builtin_fpclassify when
12644         available.  (signbit): Use __builtin_signbit(f/l).
12645         (isfinite): Use__builtin_isfinite.  (isnormal): Use
12646         __builtin_isnormal.  (isnan): Use __builtin_isnan.
12647         (isinf): Use __builtin_isinf_sign.
12649 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12651         * benchtests/Makefile: Add bench-math-inlines, link with libm.
12652         * benchtests/bench-math-inlines.c: New benchmark.
12653         * benchtests/bench-util.h: New file.
12654         * benchtests/bench-util.c: New file.
12655         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
12657 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
12659         * elf/tst-dlmopen1.c: Define TEST_SO.
12660         (do_test): Use TEST_SO.
12662         * elf/dl-load.c: Include libc-internal.h.
12663         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
12665 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12667         [BZ #17887]
12668         * time/strptime_l.c (__strptime_internal): Make %z accept
12669         [+-]HH:MM time zones.
12671 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12673         [BZ #17886]
12674         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12675         valid time zone.
12677 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
12679         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12680         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12681         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12682         (__ASSUME_FDATASYNC): Delete.
12684 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12686         * conform/linknamespace.pl: Require weak undefined symbols to be
12687         in the standard namespace.
12688         (%strong_syms): Rename to %seen_syms.
12689         (%strong_seen): Rename to %seen_where.
12691 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
12693         [BZ #18970]
12694         * misc/error.c (error): Replace pthread_setcancelstate with
12695         __pthread_setcancelstate.
12696         (error_at_line): Likewise.
12697         * posix/wordexp.c (parse_comm): Likewise.
12698         * stdlib/fmtmsg.c (fmtmsg): Likewise.
12699         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12700         (__pthread_setcancelstate): This.
12701         (pthread_setcancelstate): Add an alias.
12702         * nptl/nptl-init.c (pthread_functions): Replace
12703         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12704         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12705         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12706         hidden_proto.
12707         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12708         it with hidden_def.
12709         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12710         (pthread_setcancelstate): Renamed to ...
12711         (__pthread_setcancelstate): This.
12712         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12713         __libc_ptf_call with __pthread_setcancelstate.
12715 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12716             Andreas Schwab  <schwab@suse.de>
12718         [BZ #17118]
12719         * math/s_ctan.c (__ctan): Determine sign of zero real part of
12720         result when imaginary part of argument is infinite using sine and
12721         cosine.
12722         * math/s_ctanf.c (__ctanf): Likewise.
12723         * math/s_ctanl.c (__ctanl): Likewise.
12724         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12725         of result when real part of argument is infinite using sine and
12726         cosine.
12727         * math/s_ctanhf.c (__ctanhf): Likewise.
12728         * math/s_ctanhl.c (__ctanhl): Likewise.
12729         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12730         (ctanh_test_data): Add more tests of ctanh.
12732 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12734         [BZ #15384]
12735         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12736         bit-mask as in subtraction.
12737         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12738         Likewise.
12739         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12740         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12741         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12743         [BZ #18951]
12744         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12745         underflow exception for small results.
12746         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12747         Likewise.
12748         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12749         Likewise.
12750         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12751         Likewise.
12752         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12753         Likewise.
12754         * math/auto-libm-test-in: Add more tests of tgamma.
12755         * math/auto-libm-test-out: Regenerated.
12757 2015-09-17  Andreas Schwab  <schwab@suse.de>
12759         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12761 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12763         [BZ #18977]
12764         * math/bits/mathcalls.h
12765         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12766         not declare.
12767         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12768         Likewise.
12769         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12770         Likewise.
12771         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12772         Likewise.
12773         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12774         Likewise.
12775         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12776         Likewise.
12777         * conform/data/math.h-data
12778         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12779         function.
12780         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12781         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12782         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12783         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12784         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12785         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12786         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12787         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12788         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12789         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12790         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12792         [BZ #6803]
12793         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12794         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12795         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12796         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12797         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12798         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12799         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12800         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12801         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12802         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12803         Likewise.
12804         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12805         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12806         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12807         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12808         long_double_symbol calls.
12809         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12810         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12811         strong alias of __ldexpl.
12812         (scalbnl): Define using long_double_symbol.
12813         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12814         Remove alias.
12815         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12816         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12817         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12818         (scalbln_test_data): Add more errno expectations.
12820 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
12822         Cache the host port like we cache the task port.  This way we do not
12823         need to call the kernel just to get the port.  Furthermore, we no
12824         longer increase the reference count on every invocation of
12825         `mach_host_self'.
12827         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12828         Protect declarations against the macro expansion.
12829         * mach/mach_init.c (__mach_host_self_): New variable.
12830         (mach_init): Initialize `__mach_host_self_'.
12831         * mach/mach_init.h (__mach_host_self_): New declaration.
12832         (__mach_host_self, mach_host_self): New macros.
12833         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12834         Release reference.
12836 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12838         [BZ #4404]
12839         * po/de.po: Update from Translation Project.
12841         [BZ #16415]
12842         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12843         (__expm1l): Remove code to handle positive infinity and overflow.
12844         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12845         variable.
12846         (__expm1l): Remove code to handle positive infinity and overflow.
12848 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
12849             Paul Pluzhnikov  <ppluzhnikov@google.com>
12851         [BZ #18872]
12852         * stdio-common/Makefile (tst-printf-bz18872): New test.
12853         (tst-printf-bz18872-mem.out): Likewise.
12854         * stdio-common/tst-printf-bz18872.sh: Generate new test.
12855         * stdio-common/vfprintf.c: Fix memory leaks.
12857 2015-09-16  Andreas Schwab  <schwab@suse.de>
12859         [BZ #17244]
12860         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12861         Remove extra va_start/va_end calls.
12863         [BZ #17243]
12864         * posix/execl.c (execl): Add missing va_end.
12865         * posix/execle.c (execle): Likewise.
12866         * posix/execlp.c (execlp): Likewise.
12868 2015-09-15  Roland McGrath  <roland@hack.frob.com>
12870         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12871         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12873 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
12875         [BZ #18967]
12876         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
12877         undefine around includes of <bits/mathcalls.h>.
12878         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12879         not declare function.
12880         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12881         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12882         (scalb): Likewise.
12883         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12884         not define macro.
12885         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12886         variable.
12887         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12888         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12889         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12891         [BZ #18857]
12892         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12893         return non-finite argument without doing ordered comparisons on
12894         it.
12896         [BZ #16296]
12897         * math/fenv.h (fegetround): Use __attribute_pure__.
12898         * include/fenv.h (__fegetround): Likewise.
12900         [BZ #18595]
12901         * math/s_ctan.c (__ctan): Force underflow exception for results
12902         whose real or imaginary part has small absolute value.
12903         * math/s_ctanf.c (__ctanf): Likewise.
12904         * math/s_ctanh.c (__ctanh): Likewise.
12905         * math/s_ctanhf.c (__ctanhf): Likewise.
12906         * math/s_ctanhl.c (__ctanhl): Likewise.
12907         * math/s_ctanl.c (__ctanl): Likewise.
12908         * math/auto-libm-test-in: Do not allow missing underflow for ctan
12909         and ctanh.  Add more tests of ctan and ctanh.
12911         [BZ #15918]
12912         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12913         handling of cases where one argument is an infinity.
12915         [BZ #18875]
12916         [BZ #18966]
12917         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12918         (MO): New macro.
12919         (__ieee754_exp10): For small results, force underflow exception
12920         and remove excess range and precision from return value.
12921         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12922         (MO): New macro.
12923         (__ieee754_exp10f): For small results, force underflow exception
12924         and remove excess range and precision from return value.
12925         * math/auto-libm-test-in: Add more tests of exp10.
12926         * math/auto-libm-test-out: Regenerated.
12928 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
12930         [BZ #18875]
12931         [BZ #18961]
12932         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12933         (MO): New macro.
12934         (__ieee754_exp): For small results, force underflow exception and
12935         remove excess range and precision from return value.
12936         (__exp_finite): Likewise.
12937         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12938         (MO): New macro.
12939         (__ieee754_expf): For small results, force underflow exception and
12940         remove excess range and precision from return value.
12941         (__expf_finite): Likewise.
12942         * math/auto-libm-test-in: Add more tests of exp.
12943         * math/auto-libm-test-out: Regenerated.
12945         [BZ #16521]
12946         [BZ #18875]
12947         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12948         small results.
12949         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12950         (MO): New macro.
12951         (__ieee754_exp2): For small results, force underflow exception and
12952         remove excess range and precision from return value.
12953         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12954         (MO): New macro.
12955         (__ieee754_exp2f): For small results, force underflow exception
12956         and remove excess range and precision from return value.
12957         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12958         (MO): New macro.
12959         (__ieee754_exp2l): Force underflow exception for small results.
12960         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12961         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12962         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12963         (MO): New macro.
12964         (__ieee754_exp2l): Force underflow exception for small results.
12965         * math/auto-libm-test-in: Add more tests or exp2.
12966         * math/auto-libm-test-out: Regenerated.
12968 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
12970         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12972         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12973         /dev/null.
12975 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12977         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12978         io fs process)): Drop spurious backslash.
12980 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12982         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12983         Use sysinfo system call instead of parsing /proc/meminfo.
12984         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12985         Likewise.
12987 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
12989         [BZ #16985]
12990         * programs/localedef.c (main): Display argv[remaining] when
12991         output_path is NULL.
12993 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12995         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12996         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12997         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12998         tanh.
12999         * math/auto-libm-test-out: Regenerated.
13000         * sysdeps/i386/fpu/libm-test-ulps: Update.
13001         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13002         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13005 2015-09-11  Roland McGrath  <roland@hack.frob.com>
13007         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
13008         Use 'override' keyword to freeze the value here, preventing
13009         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
13011 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13013         [BZ #14912]
13014         * sysdeps/aarch64/bits/atomic.h: Move to ...
13015         * sysdeps/aarch64/atomic-machine.h: ...here.
13016         (_AARCH64_BITS_ATOMIC_H): Rename macro to
13017         _AARCH64_ATOMIC_MACHINE_H.
13018         * sysdeps/alpha/bits/atomic.h: Move to ...
13019         * sysdeps/alpha/atomic-machine.h: ...here.
13020         * sysdeps/arm/bits/atomic.h: Move to ...
13021         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
13022         * bits/atomic.h: Move to ...
13023         * sysdeps/generic/atomic-machine.h: ...here.
13024         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13025         * sysdeps/i386/bits/atomic.h: Move to ...
13026         * sysdeps/i386/atomic-machine.h: ...here.
13027         * sysdeps/ia64/bits/atomic.h: Move to ...
13028         * sysdeps/ia64/atomic-machine.h: ...here.
13029         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
13030         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
13031         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13032         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
13033         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
13034         * sysdeps/microblaze/bits/atomic.h: Move to ...
13035         * sysdeps/microblaze/atomic-machine.h: ...here.
13036         * sysdeps/mips/bits/atomic.h: Move to ...
13037         * sysdeps/mips/atomic-machine.h: ...here.
13038         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
13039         * sysdeps/powerpc/bits/atomic.h: Move to ...
13040         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
13041         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
13042         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
13043         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
13044         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
13045         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
13046         <atomic-machine.h> instead of <bits/atomic.h>.
13047         * sysdeps/s390/bits/atomic.h: Move to ...
13048         * sysdeps/s390/atomic-machine.h: ...here.
13049         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
13050         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
13051         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13052         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
13053         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
13054         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
13055         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
13056         * sysdeps/tile/bits/atomic.h: Move to ...
13057         * sysdeps/tile/atomic-machine.h: ...here.
13058         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
13059         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
13060         <sysdeps/tile/atomic-machine.h> instead of
13061         <sysdeps/tile/bits/atomic.h>.
13062         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13063         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
13064         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
13065         <sysdeps/tile/atomic-machine.h> instead of
13066         <sysdeps/tile/bits/atomic.h>.
13067         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13068         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
13069         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
13070         <sysdeps/arm/atomic-machine.h> instead of
13071         <sysdeps/arm/bits/atomic.h>.
13072         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
13073         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
13074         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13075         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
13076         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
13077         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13078         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
13079         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
13080         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
13081         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
13082         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
13083         * sysdeps/x86_64/bits/atomic.h: Move to ...
13084         * sysdeps/x86_64/atomic-machine.h: ...here.
13085         * include/atomic.h: Include <atomic-machine.h> instead of
13086         <bits/atomic.h>.
13088         * sysdeps/mips/mips32/libm-test-ulps: Update.
13089         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13091         [BZ #18952]
13092         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
13093         not convert non-integer negative arguments to int to determine the
13094         value of signgam.
13095         * math/auto-libm-test-in: Add more tests of lgamma.
13096         * math/auto-libm-test-out: Regenerated.
13098         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
13099         cosh, csqrt, erfc, expm1 and lgamma.
13100         * math/auto-libm-test-out: Regenerated.
13101         * sysdeps/i386/fpu/libm-test-ulps: Update.
13102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13104 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
13106         [BZ #2542]
13107         [BZ #2543]
13108         [BZ #2558]
13109         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
13110         __lgamma_neg for arguments from -28.0 to -2.0.
13111         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
13112         __lgamma_negf for arguments from -15.0 to -2.0.
13113         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13114         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
13115         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
13116         Call __lgamma_negl for arguments from -33.0 to -2.0.
13117         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
13118         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13119         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13120         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
13121         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13122         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13123         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13124         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
13125         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13126         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13127         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
13128         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
13129         (__lgamma_neg): Likewise.
13130         (__lgamma_negl): Likewise.
13131         (__lgamma_product): Likewise.
13132         (__lgamma_productl): Likewise.
13133         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
13134         * math/auto-libm-test-in: Add more tests of lgamma.
13135         * math/auto-libm-test-out: Regenerated.
13136         * sysdeps/i386/fpu/libm-test-ulps: Update.
13137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13139 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
13141         [BZ #18675]
13142         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
13144 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
13146         [BZ #14912]
13147         * bits/libc-lock.h: Move to ...
13148         * sysdeps/generic/libc-lock.h: ...here.
13149         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13150         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
13151         * sysdeps/mach/hurd/libc-lock.h: ...here.
13152         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13153         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
13154         * sysdeps/mach/bits/libc-lock.h: Move to ...
13155         * sysdeps/mach/libc-lock.h: ...here.
13156         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13157         * sysdeps/nptl/bits/libc-lock.h: Move to ...
13158         * sysdeps/nptl/libc-lock.h: ...here.
13159         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13160         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
13161         * sysdeps/nptl/libc-lockP.h: ...here.
13162         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
13163         * crypt/crypt_util.c: Include <libc-lock.h> instead of
13164         <bits/libc-lock.h>.
13165         * dirent/scandir-tail.c: Likewise.
13166         * dlfcn/dlerror.c: Likewise.
13167         * elf/dl-close.c: Likewise.
13168         * elf/dl-iteratephdr.c: Likewise.
13169         * elf/dl-lookup.c: Likewise.
13170         * elf/dl-open.c: Likewise.
13171         * elf/dl-support.c: Likewise.
13172         * elf/dl-writev.h: Likewise.
13173         * elf/rtld.c: Likewise.
13174         * grp/fgetgrent.c: Likewise.
13175         * gshadow/fgetsgent.c: Likewise.
13176         * gshadow/sgetsgent.c: Likewise.
13177         * iconv/gconv_conf.c: Likewise.
13178         * iconv/gconv_db.c: Likewise.
13179         * iconv/gconv_dl.c: Likewise.
13180         * iconv/gconv_int.h: Likewise.
13181         * iconv/gconv_trans.c: Likewise.
13182         * include/link.h: Likewise.
13183         * inet/getnameinfo.c: Likewise.
13184         * inet/getnetgrent.c: Likewise.
13185         * inet/getnetgrent_r.c: Likewise.
13186         * intl/bindtextdom.c: Likewise.
13187         * intl/dcigettext.c: Likewise.
13188         * intl/finddomain.c: Likewise.
13189         * intl/gettextP.h: Likewise.
13190         * intl/loadmsgcat.c: Likewise.
13191         * intl/localealias.c: Likewise.
13192         * intl/textdomain.c: Likewise.
13193         * libidn/idn-stub.c: Likewise.
13194         * libio/libioP.h: Likewise.
13195         * locale/duplocale.c: Likewise.
13196         * locale/freelocale.c: Likewise.
13197         * locale/newlocale.c: Likewise.
13198         * locale/setlocale.c: Likewise.
13199         * login/getutent_r.c: Likewise.
13200         * login/getutid_r.c: Likewise.
13201         * login/getutline_r.c: Likewise.
13202         * login/utmp-private.h: Likewise.
13203         * login/utmpname.c: Likewise.
13204         * malloc/mtrace.c: Likewise.
13205         * misc/efgcvt.c: Likewise.
13206         * misc/error.c: Likewise.
13207         * misc/fstab.c: Likewise.
13208         * misc/getpass.c: Likewise.
13209         * misc/mntent.c: Likewise.
13210         * misc/syslog.c: Likewise.
13211         * nis/nis_call.c: Likewise.
13212         * nis/nis_callback.c: Likewise.
13213         * nis/nss-default.c: Likewise.
13214         * nis/nss_compat/compat-grp.c: Likewise.
13215         * nis/nss_compat/compat-initgroups.c: Likewise.
13216         * nis/nss_compat/compat-pwd.c: Likewise.
13217         * nis/nss_compat/compat-spwd.c: Likewise.
13218         * nis/nss_nis/nis-alias.c: Likewise.
13219         * nis/nss_nis/nis-ethers.c: Likewise.
13220         * nis/nss_nis/nis-grp.c: Likewise.
13221         * nis/nss_nis/nis-hosts.c: Likewise.
13222         * nis/nss_nis/nis-network.c: Likewise.
13223         * nis/nss_nis/nis-proto.c: Likewise.
13224         * nis/nss_nis/nis-pwd.c: Likewise.
13225         * nis/nss_nis/nis-rpc.c: Likewise.
13226         * nis/nss_nis/nis-service.c: Likewise.
13227         * nis/nss_nis/nis-spwd.c: Likewise.
13228         * nis/nss_nisplus/nisplus-alias.c: Likewise.
13229         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
13230         * nis/nss_nisplus/nisplus-grp.c: Likewise.
13231         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
13232         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
13233         * nis/nss_nisplus/nisplus-network.c: Likewise.
13234         * nis/nss_nisplus/nisplus-proto.c: Likewise.
13235         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
13236         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
13237         * nis/nss_nisplus/nisplus-service.c: Likewise.
13238         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
13239         * nis/ypclnt.c: Likewise.
13240         * nptl/libc_pthread_init.c: Likewise.
13241         * nss/getXXbyYY.c: Likewise.
13242         * nss/getXXent.c: Likewise.
13243         * nss/getXXent_r.c: Likewise.
13244         * nss/nss_db/db-XXX.c: Likewise.
13245         * nss/nss_db/db-netgrp.c: Likewise.
13246         * nss/nss_db/nss_db.h: Likewise.
13247         * nss/nss_files/files-XXX.c: Likewise.
13248         * nss/nss_files/files-alias.c: Likewise.
13249         * nss/nsswitch.c: Likewise.
13250         * posix/regex_internal.h: Likewise.
13251         * posix/wordexp.c: Likewise.
13252         * pwd/fgetpwent.c: Likewise.
13253         * resolv/res_hconf.c: Likewise.
13254         * resolv/res_libc.c: Likewise.
13255         * shadow/fgetspent.c: Likewise.
13256         * shadow/lckpwdf.c: Likewise.
13257         * shadow/sgetspent.c: Likewise.
13258         * socket/opensock.c: Likewise.
13259         * stdio-common/reg-modifier.c: Likewise.
13260         * stdio-common/reg-printf.c: Likewise.
13261         * stdio-common/reg-type.c: Likewise.
13262         * stdio-common/vfprintf.c: Likewise.
13263         * stdio-common/vfscanf.c: Likewise.
13264         * stdlib/abort.c: Likewise.
13265         * stdlib/cxa_atexit.c: Likewise.
13266         * stdlib/fmtmsg.c: Likewise.
13267         * stdlib/random.c: Likewise.
13268         * stdlib/setenv.c: Likewise.
13269         * string/strsignal.c: Likewise.
13270         * sunrpc/auth_none.c: Likewise.
13271         * sunrpc/bindrsvprt.c: Likewise.
13272         * sunrpc/create_xid.c: Likewise.
13273         * sunrpc/key_call.c: Likewise.
13274         * sunrpc/rpc_thread.c: Likewise.
13275         * sysdeps/arm/backtrace.c: Likewise.
13276         * sysdeps/generic/ldsodefs.h: Likewise.
13277         * sysdeps/generic/stdio-lock.h: Likewise.
13278         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
13279         * sysdeps/i386/backtrace.c: Likewise.
13280         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13281         * sysdeps/m68k/backtrace.c: Likewise.
13282         * sysdeps/mach/hurd/cthreads.c: Likewise.
13283         * sysdeps/mach/hurd/dirstream.h: Likewise.
13284         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13285         * sysdeps/nptl/malloc-machine.h: Likewise.
13286         * sysdeps/nptl/stdio-lock.h: Likewise.
13287         * sysdeps/posix/dirstream.h: Likewise.
13288         * sysdeps/posix/getaddrinfo.c: Likewise.
13289         * sysdeps/posix/system.c: Likewise.
13290         * sysdeps/pthread/aio_suspend.c: Likewise.
13291         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13292         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13293         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13294         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13295         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
13296         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
13297         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
13298         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13299         * sysdeps/unix/sysv/linux/system.c: Likewise.
13300         * sysdeps/x86_64/backtrace.c: Likewise.
13301         * time/alt_digit.c: Likewise.
13302         * time/era.c: Likewise.
13303         * time/tzset.c: Likewise.
13304         * wcsmbs/wcsmbsload.c: Likewise.
13305         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
13306         instead of <bits/libc-lock.h> in comment.
13308 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
13310         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
13311         Only use .set mips2 if the current ISA is below mips2.
13312         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
13313         Likewise.
13314         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
13315         mips32r2 if the current ISA is below mips32r2.
13316         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
13317         (TLS_IE): Updated to use the TLD_RDHWR macro.
13318         (TLS_LE): Likewise.
13319         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
13320         __ASSEMBLER__ condition.
13322 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13324         Fix parallel build of before-compile targets.
13326         * sysdeps/mach/Makefile ($(patsubst
13327         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
13328         mach-before-compile target.
13329         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13330         io fs process)): Move rule to dedicated hurd-before-compile target.
13332 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13334         Fix rules generating headers in hurd/ and mach/ when initial make call
13335         has subdir= explicitly set.
13337         * sysdeps/mach/Makefile ($(patsubst
13338         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
13339         calling $(MAKE).
13340         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13341         io fs process)): Force subdir to hurd when calling $(MAKE).
13342         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
13343         subdir to mach when calling $(MAKE).
13345 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
13347         Check sysheaders when looking for Mach and Hurd headers
13349         * sysdeps/mach/configure.ac: Add sysheaders check.
13350         * sysdeps/mach/configure: Regenerate.
13351         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
13352         * sysdeps/mach/hurd/configure: Regenerate.
13354 2015-09-04  Roland McGrath  <roland@hack.frob.com>
13356         [BZ #18921]
13357         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
13358         Fix inverted sense of test of 'o_directory_works' value.
13359         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
13360         Bernhard Voelker <mail@bernhard-voelker.de>.
13362 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13364         [BZ #14912]
13365         * bits/linkmap.h: Move to ...
13366         * sysdeps/generic/linkmap.h: ...here.
13367         * sysdeps/aarch64/bits/linkmap.h: Move to ...
13368         * sysdeps/aarch64/linkmap.h: ...here.
13369         * sysdeps/arm/bits/linkmap.h: Move to ...
13370         * sysdeps/arm/linkmap.h: ...here.
13371         * sysdeps/hppa/bits/linkmap.h: Move to ...
13372         * sysdeps/hppa/linkmap.h: ...here.
13373         * sysdeps/ia64/bits/linkmap.h: Move to ...
13374         * sysdeps/ia64/linkmap.h: ...here.
13375         * sysdeps/mips/bits/linkmap.h: Move to ...
13376         * sysdeps/mips/linkmap.h: ...here.
13377         * sysdeps/s390/bits/linkmap.h: Move to ...
13378         * sysdeps/s390/linkmap.h: ...here.
13379         * sysdeps/sh/bits/linkmap.h: Move to ...
13380         * sysdeps/sh/linkmap.h: ...here.
13381         * sysdeps/x86/bits/linkmap.h: Move to ...
13382         * sysdeps/x86/linkmap.h: ...here.
13383         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
13385 2015-09-04  Andreas Schwab  <schwab@suse.de>
13387         [BZ #18635]
13388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
13389         (__makecontext): Terminate FDE before return label.
13390         (__novec_makecontext): Likewise.
13392 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13394         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
13395         first member of struct sv in syscall macro.
13397 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13399         [BZ #14912]
13400         * bits/stdio-lock.h: Move to ...
13401         * sysdeps/generic/stdio-lock.h: ...here.
13402         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13403         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
13404         * sysdeps/nptl/stdio-lock.h: ...here.
13405         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13406         * include/libio.h: Include <stdio-lock.h> instead of
13407         <bits/stdio-lock.h>.
13408         * sysdeps/nptl/fork.c: Likewise.
13409         * sysdeps/pthread/flockfile.c: Likewise.
13410         * sysdeps/pthread/ftrylockfile.c: Likewise.
13411         * sysdeps/pthread/funlockfile.c: Likewise.
13413         [BZ #14912]
13414         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
13415         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
13416         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
13417         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
13418         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
13419         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13420         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
13422 2015-09-03  Roland McGrath  <roland@hack.frob.com>
13424         * elf/Makefile (test-xfail-tst-protected1a): New variable.
13425         (test-xfail-tst-protected1b): New variable.
13427 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
13429         [BZ #14912]
13430         * bits/libc-tsd.h: Move to ...
13431         * sysdeps/generic/libc-tsd.h: ...here.
13432         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
13433         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
13434         * sysdeps/mach/hurd/libc-tsd.h: ...here.
13435         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
13436         * include/ctype.h: Include <libc-tsd.h> instead of
13437         <bits/libc-tsd.h>.
13438         * include/rpc/rpc.h: Likewise.
13439         * locale/localeinfo.h: Likewise.
13440         * sunrpc/rpc_thread.c: Likewise.
13441         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13442         * sysdeps/nptl/malloc-machine.h: Likewise.
13444         * Makefile (headers): Remove bits/libc-lock.h.
13445         * libio/Makefile (headers): Remove bits/stdio-lock.h.
13447         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
13448         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
13449         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
13450         <bits/stdio-lock.h>.
13451         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
13452         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
13454 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13456         [BZ #18757]
13457         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
13458         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
13459         BZ #18757.
13461 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13463         * malloc/mtrace.pl: Filter out NULL entries.
13465 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
13467         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
13468         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
13469         macro.
13471         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
13472         (TCP_CC_INFO): Likewise.
13473         (TCP_SAVE_SYN): Likewise.
13474         (TCP_SAVED_SYN): Likewise.
13476 2015-08-31  Brett Neumeier <brett@neumeier.us>
13478         [BZ #18870]
13479         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
13481 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
13483         [BZ #18873]
13484         Fix broken overflow check in posix_fallocate
13485         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
13486         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13487         Fix parenthesization typo.
13489 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
13491         [BZ #18887]
13492         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
13493         tst-mntent-blank-passno.
13494         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
13495         * misc/tst-mntent-blank-corrupt.c: New test.
13496         * misc/tst-mntent-blank-passno.c: New test ripped from ...
13497         * misc/tst-mntent.c (do_test): ... here.
13499 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
13501         [BZ #4404]
13502         * po/de.po: Fix SIGALRM typo.
13504 2015-08-28  James Perkins  <james@loowit.net>
13506         * time/tst-strptime2.c (tests): Replace short list of test
13507         strings for strptime %z specifier with code which exhaustively
13508         tests every combination of sign and 0 to 5 digits. Tests for
13509         rejection of invalid strings.
13511 2015-08-28  James Perkins  <james@loowit.net>
13513         [BZ #16141]
13514         * time/strptime_l.c (__strptime_internal): Fix %z minutes
13515         calculation, removing incorrect decimal time rounding, so that
13516         all minute values result in a valid seconds value.
13517         * time/strptime_l.c (__strptime_internal): Extend %z time zone
13518         offset range limits to UTC-99:59 through UTC+99:59 to parse
13519         current and historical use cases.
13520         * time/tst-strptime2.c (tests): Modify and add tests for the
13521         strptime %z input field descriptor, specifically conversion of
13522         minutes to seconds and validating an offset range of -9959 to
13523         +9959.
13525 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13526             Dmitry V. Levin  <ldv@altlinux.org>
13528         [BZ #18877]
13529         * posix/Makefile (tests): Add tst-mmap-offset.
13530         * posix/tst-mmap.c: New file.
13531         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
13532         offset calculation for negative values.
13534 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13536         * sysdeps/i386/init-arch.h: New file.
13537         * sysdeps/i386/i586/init-arch.h: Likewise.
13538         * sysdeps/i386/i686/init-arch.h: Likewise.
13539         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
13540         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
13541         * sysdeps/x86/cpu-features.h (bit_I586): New.
13542         (bit_I686): Likewise.
13543         (bit_CX8): Likewise.
13544         (bit_CMOV): Likewise.
13545         (index_CX8): Likewise.
13546         (index_CMOV): Likewise.
13547         (index_I586): Likewise.
13548         (index_I686): Likewise.
13549         (reg_CX8): Likewise.
13550         (reg_CMOV): Likewise.
13551         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
13552         available at compile-time.
13553         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
13554         available at compile-time.
13555         * sysdeps/x86/init-arch.h (USE_I586): New macro.
13556         (USE_I686): Likewise.
13558 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13560         * sysdeps/i386/bcopy.S: New file.
13561         * sysdeps/i386/bzero.S: Likewise.
13562         * sysdeps/i386/memcpy.S: Likewise.
13563         * sysdeps/i386/memmove.S: Likewise.
13564         * sysdeps/i386/mempcpy.S: Likewise.
13565         * sysdeps/i386/memset.S: Likewise.
13566         * sysdeps/i386/bzero.c: Removed.
13567         * sysdeps/i386/memset.c: Likewise.
13568         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
13569         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
13570         * sysdeps/i386/i586/memset_chk.S: Likewise.
13571         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
13572         * sysdeps/i386/memcpy_chk.S: Here.
13573         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
13574         * sysdeps/i386/memmove_chk.S: Here.
13575         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
13576         * sysdeps/i386/mempcpy_chk.S: Likewise.
13577         * sysdeps/i386/i686/memset_chk.S: Moved to ...
13578         * sysdeps/i386/memset_chk.S: Likewise.
13580 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
13582         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
13583         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
13584         file, move DIAG_POP_NEEDS_COMMENT to end of file.
13585         * soft-fp/fmadf4.c: Ditto.
13586         * soft-fp/fmatf4.c: Ditto.
13588 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13590         * sysdeps/i386/i586/Implies: Removed.
13591         * sysdeps/i386/i686/Implies: Likewise.
13593 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13595         * sysdeps/i386/i486/strlen.S: Moved to ...
13596         * sysdeps/i386/strlen.S: Here.
13598 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13600         * sysdeps/i386/i486/strcat.S: Moved to ...
13601         * sysdeps/i386/strcat.S: Here.
13603 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13605         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
13606         * sysdeps/i386/pthread_spin_trylock.S: Here.
13607         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
13608         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
13610 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13612         * sysdeps/i386/i486/string-inlines.c: Moved to ...
13613         * sysdeps/i386/string-inlines.c: Here.
13615 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13617         * sysdeps/i386/i486/htonl.S: Moved ...
13618         * sysdeps/i386/htonl.S: here.
13620 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13622         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
13623         * sysdeps/i386/bits/atomic.h: Here.
13625 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13627         * sysdeps/i386/i486/Versions: Removed.
13629 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13631         [BZ #2898]
13632         * misc/mktemp.c: Add mkdtemp to the link_warning message.
13633         Based on patch by Aurelien Jarno.
13635 2015-08-26  Stan Shebs  <stanshebs@google.com>
13637         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
13638         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13640 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13642         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
13643         * sysdeps/powerpc/dl-procinfo.c:
13644         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
13645         feature so it shows when LD_SHOW_AUXV=1.
13647 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13649         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13650         (__arch_compare_and_exchange_val_32_acq): Remove and use common
13651         definition.  ISA 2.07B no longer requires full sync.
13653 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
13655         [BZ #18863]
13656         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
13657         (si_call_addr): Define.
13658         (si_syscall): Define.
13659         (si_arch): Define.
13661 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13663         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
13664         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
13665         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
13666         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13667         (__memset_zero_constant_len_parameter): New.
13668         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
13669         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13670         (__memset_zero_constant_len_parameter): Don't define if
13671         __memset_chk or USE_AS_BZERO are defined.
13673         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13674         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13675         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13677         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13678         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13679         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13680         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
13681         comments.
13682         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13683         -mno-mmx for $(all-rtld-routines).
13684         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13685         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
13686         i386.
13688 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13690         * sysdeps/generic/unwind.h
13691         (_Unwind_Word): Use __mode__(__unwind_word__)
13692         instead of __mode__(__word__).
13693         (_Unwind_Sword): Likewise.
13695         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13696         (MAX_NEEDED_INPUT): New define.
13697         (MAX_NEEDED_OUTPUT): New define.
13699         * NEWS: New item for IBM z13 string optimizations.
13701         * sysdeps/s390/multiarch/memrchr-c.c: New File.
13702         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13703         * sysdeps/s390/multiarch/memrchr.c: Likewise.
13704         * sysdeps/s390/multiarch/Makefile
13705         (sysdep_routines): Add memrchr functions.
13706         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13707         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13709         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13710         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13711         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13712         * sysdeps/s390/multiarch/Makefile
13713         (sysdep_routines): Add wmemcmp functions.
13714         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13715         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13716         * benchtests/bench-wmemcmp.c: New File.
13717         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13719         * sysdeps/s390/multiarch/wmemset-c.c: New File.
13720         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13721         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13722         * sysdeps/s390/multiarch/Makefile
13723         (sysdep_routines): Add wmemset functions.
13724         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13725         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13726         * wcsmbs/wmemset.c: Use WMEMSET if defined.
13727         * string/test-memset.c: Add wmemset support.
13728         * wcsmbs/test-wmemset.c: New File.
13729         * wcsmbs/Makefile (strop-tests): Add wmemset.
13730         * benchtests/bench-memset.c: Add wmemset support.
13731         * benchtests/bench-wmemset.c: New File.
13732         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13734         * sysdeps/s390/multiarch/memccpy-c.c: New File.
13735         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13736         * sysdeps/s390/multiarch/memccpy.c: Likewise.
13737         * sysdeps/s390/multiarch/Makefile
13738         (sysdep_routines): Add memccpy functions.
13739         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13740         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13741         * string/memccpy.c: Use MEMCCPY if defined.
13743         * sysdeps/s390/multiarch/memchr-vx.S: New File.
13744         * sysdeps/s390/multiarch/memchr.c: Likewise.
13745         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13746         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13747         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13748         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13749         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13750         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13751         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13752         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13753         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13754         and rawmemchr functions.
13755         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13756         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13757         and wmemchr.
13758         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13759         * string/test-memchr.c: Add wmemchr support.
13760         * wcsmbs/test-wmemchr.c: New File.
13761         * wcsmbs/Makefile (strop-tests): Add wmemchr.
13762         * benchtests/bench-memchr.c: Add wmemchr support.
13763         * benchtests/bench-wmemchr.c: New File.
13764         * benchtests/Makefile (wcsmbs-bench): wmemchr.
13766         * sysdeps/s390/multiarch/strcspn-c.c: New File.
13767         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13768         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13769         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13770         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13771         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13772         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13773         wcscspn functions.
13774         * sysdeps/s390/multiarch/ifunc-impl-list.c
13775         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13776         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13777         * string/test-strcspn.c: Add wcscspn support.
13778         * wcsmbs/test-wcscspn.c: New File.
13779         * wcsmbs/Makefile (strop-tests): Add wcscspn.
13780         * benchtests/bench-strcspn.c: Add wcscspn support.
13781         * benchtests/bench-wcscspn.c: New File.
13782         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13784         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13785         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13786         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13787         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13788         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13789         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13790         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13791         wcspbrk functions.
13792         * sysdeps/s390/multiarch/ifunc-impl-list.c
13793         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13794         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13795         * string/test-strpbrk.c: Add wcspbrk support.
13796         * wcsmbs/test-wcspbrk.c: New File.
13797         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13798         * benchtests/bench-strpbrk.c: Add wcspbrk support.
13799         * benchtests/bench-wcspbrk.c: New File.
13800         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13802         * sysdeps/s390/multiarch/strspn-c.c: New File.
13803         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13804         * sysdeps/s390/multiarch/strspn.c: Likewise.
13805         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13806         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13807         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13808         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13809         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13810         wcsspn functions.
13811         * sysdeps/s390/multiarch/ifunc-impl-list.c
13812         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13813         * string/test-strspn.c: Add wcsspn support.
13814         * wcsmbs/test-wcsspn.c: New File.
13815         * wcsmbs/Makefile (strop-tests): Add wcsspn.
13816         * benchtests/bench-strspn.c: Add wcsspn support.
13817         * benchtests/bench-wcsspn.c: New File.
13818         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13820         * sysdeps/s390/multiarch/strrchr-c.c: New File.
13821         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13822         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13823         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13824         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13825         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13826         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13827         wcsrchr functions.
13828         * sysdeps/s390/multiarch/ifunc-impl-list.c
13829         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13830         * benchtests/bench-wcsrchr.c: New File.
13831         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13833         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13834         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13835         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13836         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13837         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13838         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13839         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13840         wcschrnul functions.
13841         * sysdeps/s390/multiarch/ifunc-impl-list.c
13842         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13843         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13844         * string/test-strchr.c: Add wcschrnul support.
13845         * wcsmbs/test-wcschrnul.c: New File.
13846         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13847         * benchtests/bench-strchr.c: Add wcschrnul support.
13848         * benchtests/bench-wcschrnul.c: New File.
13849         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13851         * sysdeps/s390/multiarch/strchr-c.c: New File.
13852         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13853         * sysdeps/s390/multiarch/strchr.c: Likewise.
13854         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13855         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13856         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13857         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13858         wcschr functions.
13859         * sysdeps/s390/multiarch/ifunc-impl-list.c
13860         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13861         * string/strchr.c (STRCHR): Define and use macro.
13862         * benchtests/bench-wcschr.c: New File.
13863         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13865         * sysdeps/s390/multiarch/strncmp-c.c: New File.
13866         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13867         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13868         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13869         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13870         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13871         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13872         wcsncmp functions.
13873         * sysdeps/s390/multiarch/ifunc-impl-list.c
13874         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13875         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13876         * benchtests/bench-strncmp.c: Add wcsncmp support.
13877         * benchtests/bench-wcsncmp.c: New File.
13878         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13880         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13881         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13882         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13883         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13884         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13885         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13886         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13887         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13888         wcscmp functions.
13889         * sysdeps/s390/multiarch/ifunc-impl-list.c
13890         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13891         * string/strcmp.c (STRCMP): Define and use macro.
13892         * benchtests/bench-wcscmp.c: New File.
13893         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13894         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13895         instead of _HAVE_STRING_ARCH_memchr.
13897         * sysdeps/s390/multiarch/strncat-c.c: New File.
13898         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13899         * sysdeps/s390/multiarch/strncat.c: Likewise.
13900         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13901         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13902         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13903         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13904         wcsncat functions.
13905         * sysdeps/s390/multiarch/ifunc-impl-list.c
13906         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13907         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13908         * string/test-strncat.c: Add wcsncat support.
13909         * wcsmbs/test-wcsncat.c: New File.
13910         * wcsmbs/Makefile (strop-tests): Add wcsncat.
13911         * benchtests/bench-strncat.c: Add wcsncat support.
13912         * benchtests/bench-wcsncat.c: New File.
13913         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13915         * sysdeps/s390/multiarch/strcat-c.c: New File.
13916         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13917         * sysdeps/s390/multiarch/strcat.c: Likewise.
13918         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13919         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13920         * sysdeps/s390/multiarch/wcscat.c: Likewise.
13921         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13922         wcscat functions.
13923         * sysdeps/s390/multiarch/ifunc-impl-list.c
13924         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13925         * string/strcat.c (STRCAT): Define and use macro.
13926         * wcsmbs/wcscat.c: Use WCSCAT if defined.
13927         * string/test-strcat.c: Add wcscat support.
13928         * wcsmbs/test-wcscat.c: New File.
13929         * wcsmbs/Makefile (strop-tests): Add wcscat.
13930         * benchtests/bench-strcat.c: Add wcscat support.
13931         * benchtests/bench-wcscat.c: New File.
13932         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13934         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13935         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13936         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13937         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13938         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13939         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13940         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13941         wcpncpy functions.
13942         * sysdeps/s390/multiarch/ifunc-impl-list.c
13943         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13944         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13945         * string/test-stpncpy.c: Add wcpncpy support.
13946         * wcsmbs/test-wcpncpy.c: New File.
13947         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13948         * benchtests/bench-stpncpy.c: Add wcpncpy support.
13949         * benchtests/bench-wcpncpy.c: New File.
13950         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13952         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13953         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13954         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13955         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13956         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13957         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13958         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13959         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13960         wcsncpy functions.
13961         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13962         * sysdeps/s390/multiarch/ifunc-impl-list.c
13963         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13964         * string/test-strncpy.c: Add wcsncpy support.
13965         * wcsmbs/test-wcsncpy.c: New File.
13966         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13967         * benchtests/bench-strncpy.c: Add wcsncpy support.
13968         * benchtests/bench-wcsncpy.c: New File.
13969         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13971         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13972         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13973         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13974         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13975         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13976         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13977         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13978         wcpcpy functions.
13979         * string/stpcpy.c: Use STPCPY if defined.
13980         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13981         * sysdeps/s390/multiarch/ifunc-impl-list.c
13982         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13983         * string/test-stpcpy.c: Add wcpcpy support.
13984         * wcsmbs/test-wcpcpy.c: New File.
13985         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13986         * benchtests/bench-stpcpy.c: Add wcpcpy support.
13987         * benchtests/bench-wcpcpy.c: New File.
13988         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13990         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13991         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13992         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13993         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13994         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13995         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13996         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13997         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13998         wcscpy functions.
13999         * sysdeps/s390/multiarch/ifunc-impl-list.c
14000         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
14001         * benchtests/bench-wcscpy.c: New File.
14002         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
14004         * sysdeps/s390/multiarch/strnlen-c.c: New File.
14005         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
14006         * sysdeps/s390/multiarch/strnlen.c: Likewise.
14007         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
14008         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
14009         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
14010         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
14011         wcsnlen functions.
14012         * sysdeps/s390/multiarch/ifunc-impl-list.c
14013         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
14014         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
14015         * string/test-strnlen.c: Add wcsnlen support.
14016         * wcsmbs/test-wcsnlen.c: New File.
14017         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
14018         * benchtests/bench-strnlen.c: Add wcsnlen support.
14019         * benchtests/bench-wcsnlen.c: New File.
14020         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
14022         * sysdeps/s390/multiarch/Makefile: New File.
14023         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
14024         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
14025         * sysdeps/s390/multiarch/strlen.c: Likewise.
14026         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
14027         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
14028         * sysdeps/s390/multiarch/wcslen.c: Likewise.
14029         * string/strlen.c (STRLEN): Define and use macro.
14030         * sysdeps/s390/multiarch/ifunc-impl-list.c
14031         (IFUNC_VX_IMPL): New macro function.
14032         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
14033         * benchtests/Makefile (wcsmbs-bench): New variable.
14034         (string-bench-all): Added wcsmbs-bench.
14035         * benchtests/bench-wcslen.c: New File.
14037         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
14038         s390_vx_libc_ifunc2): New macro function.
14040         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
14041         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
14042         assembler support.
14043         * sysdeps/s390/configure: Regenerated.
14045         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
14046         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14048         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
14049         * sysdeps/s390/dl-procinfo.h: Add vector capability.
14050         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
14052         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
14053         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
14054         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
14055         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
14056         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
14057         (memcmp, bcmp): Use __memcmp_default as alias source.
14058         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
14059         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
14060         Rename to __memcmp_default.
14061         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
14062         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
14063         (memcpy): Use __memcpy_default as alias source.
14064         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
14065         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
14066         Rename to __memcpy_default.
14067         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
14068         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
14069         (memset): Use __memset_default as alias source.
14070         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
14071         * sysdeps/s390/s390-32/memset.S (__memset_g5):
14072         Rename to __memset_default.
14073         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
14074         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
14075         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
14076         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
14077         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
14078         (memcmp, bcmp): Use __memcmp_default as alias source.
14079         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
14080         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
14081         Rename to __memcmp_default.
14082         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
14083         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
14084         (memcpy): Use __memcpy_default as alias source.
14085         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
14086         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
14087         Rename to __memcpy_default.
14088         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
14089         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
14090         (memset): Use __memset_default as alias source.
14091         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
14092         * sysdeps/s390/s390-64/memset.S (__memset_z900):
14093         Rename to __memset_default.
14094         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
14095         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
14097         [BZ #18610]
14098         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
14099         __ieee_instruction_pointer to __unused.
14100         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
14101         __ieee_instruction_pointer.
14102         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
14103         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
14104         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14105         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14106         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
14107         Mark dxc-field as reserved.
14109 2015-08-25  Roland McGrath  <roland@hack.frob.com>
14111         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
14112         if the weak reference is not null.
14114 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14116         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
14118         [BZ #11214]
14119         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
14121 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14123         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
14124         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
14125         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
14126         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
14127         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
14128         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
14129         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
14130         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
14131         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
14132         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
14133         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
14134         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
14135         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
14136         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
14137         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
14138         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
14139         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
14140         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
14142 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14144         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
14145         register other than r0 for tabort, it has special meaning.
14146         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
14147         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
14148         transaction before starting syscall.
14150 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14152         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
14154 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14156         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
14158         * sysdeps/x86_64/rtld-memcmp.c: Removed.
14159         * sysdeps/x86_64/rtld-memset.S: Likewise.
14160         * sysdeps/x86_64/rtld-strchr.S: Likewise.
14161         * sysdeps/x86_64/rtld-strlen.S: Likewise.
14162         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
14163         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14165         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
14167 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
14169         * debug/strcpy_chk.c: Improve performance.
14170         * debug/stpcpy_chk.c: Likewise.
14171         * sysdeps/x86_64/strcpy_chk.S: Remove.
14172         * sysdeps/x86_64/stpcpy_chk.S: Remove.
14174         [BZ #18240]
14175         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
14177 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14179         [BZ #15128]
14180         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
14181         ifuncmain8.
14182         (modules-names): Add ifuncmod8.
14183         ($(objpfx)ifuncmain8): New rule.
14184         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
14185         <cpuid.h>.
14186         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
14187         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
14188         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
14189         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
14190         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
14191         * sysdeps/x86_64/dl-trampoline.h: Likewise.
14192         * sysdeps/x86_64/ifuncmain8.c: New file.
14193         * sysdeps/x86_64/ifuncmod8.c: Likewise.
14194         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
14195         Removed.
14196         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
14197         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
14198         Change rtld_savespace_sse to __glibc_unused2.
14199         (RTLD_CHECK_FOREIGN_CALL): Removed.
14200         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
14201         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
14202         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
14204 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14206         * sysdeps/aarch64/bzero.S (__bzero): Remove.
14208 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14210         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
14211         Unconditionally set __fpcr to avoid uninialized warning.
14212         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
14214 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14216         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
14217         is corrupt.
14219         * malloc/arena.c (arena_get2): Drop unused argument.
14220         (arena_lock): Adjust.
14221         (arena_get_retry): Likewise.
14223 2015-08-24  Andreas Schwab  <schwab@suse.de>
14225         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
14226         Don't define.
14227         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14228         (__ASSUME_IPC64): Don't undef.
14229         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
14230         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14231         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14232         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
14233         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
14234         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
14235         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
14236         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
14237         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
14238         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
14239         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
14240         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
14241         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
14242         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
14243         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
14244         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
14245         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
14246         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
14247         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
14248         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
14249         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
14251 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
14253         * manual/Makefile (install): Only build manual when perl is available.
14255 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14257         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
14258         '#undef memcpy' by '#undef memchr'.
14260 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14262         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
14263         memchr not point to the internal __GI_memchr implementation.
14265 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14267         * timezone/Makefile (CFLAGS-zdump.c): Remove
14268         -Wno-strict-prototypes.
14269         (CFLAGS-zic.c): Likewise.
14270         (CFLAGS-ialloc.c): Likewise.
14271         (CFLAGS-scheck.c): Likewise.
14273         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
14274         -Wno-error=undef.
14276 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14278         * i386/i686/multiarch/strcasestr-c.c: Removed.
14279         * x86_64/multiarch/strcasestr.c: Likewise.
14280         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14281         Remove strcasestr.
14283 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14285         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
14287         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
14288         variables for high and low parts before possibly modifying them.
14290 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14292         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
14293         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
14294         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
14295         of "multiarch/init-arch.h".
14296         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
14297         * sysdeps/x86/init-arch.h: This.
14299 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14301         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
14302         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
14304 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
14306         [BZ #17787]
14307         * manual/macros.texi: Add twoexp macro.
14308         * manual/filesys.texi: Fix exponents.
14309         * manual/llio.texi: Likewise.
14310         * manual/stdio.texi: Likewise.
14312 2015-08-20  Florian Weimer  <fweimer@redhat.com>
14314         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
14315         incorrect use.
14317 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14319         [BZ #18370]
14320         * math/s_csqrt.c (__csqrt): Force underflow exception for results
14321         whose real or imaginary part has small absolute value.
14322         * math/s_csqrtf.c (__csqrtf): Likewise.
14323         * math/s_csqrtl.c (__csqrtl): Likewise.
14324         * math/auto-libm-test-in: Add more tests of csqrt.
14325         * math/auto-libm-test-out: Regenerated.
14326         * sysdeps/i386/fpu/libm-test-ulps: Update.
14328 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14330         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
14331         __ppc_set_ppr_very_low): New functions.
14332         * manual/platform.texi: Add documentation about
14333         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
14335 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
14337         * string/stpncpy.c (stpncpy): Improve performance using
14338         __strnlen/memcpy/memset.
14340 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14342         [BZ #18796]
14343         * scripts/test-installation.pl: Don't add -lmvec to build options if
14344         libmvec wasn't built.
14346 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
14348         [BZ #14341]
14349         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
14350         case when there is a gap between DT_REL and DT_JMPREL sections.
14351         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
14352         (LDFLAGS-tst-split-dynreloc): New.
14353         (tst-split-dynreloc-ENV): Likewise.
14354         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
14355         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
14357 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14359         [BZ #18822]
14360         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
14361         attribute_hidden.
14362         (__xstat64_conv): Likewise.
14363         (__xstat32_conv): Likewise.
14365 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14367         [BZ #18822]
14368         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14369         Don't load %ebx when calling __setcontext.  Call __setcontext
14370         with HIDDEN_JUMPTARGET.
14371         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
14372         libc_hidden_def.
14374 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14376         * sysdeps/i386/i686/Makefile
14377         [$(subdir) == string] (sysdep_routines): Moved to ...
14378         * sysdeps/i386/Makefile: Here.
14379         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
14380         * sysdeps/i386/cacheinfo.c: Here.
14381         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
14382         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
14383         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
14384         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
14386 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14388         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
14389         __i586__ is defined.
14390         (HAS_I686): Defined to 1 if __i686__ is defined.
14392 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14394         * elf/Makefile [$(have-z-execstack) = yes]
14395         (CPPFLAGS-tst-execstack.c): New variable.
14397         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
14398         conditional to [defined UTMPX || _HAVE_UT_TYPE].
14399         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
14400         UTMPX || _HAVE_UT_TV].
14401         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
14402         UTMPX || _HAVE_UT_TV - 0].
14404 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
14406         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
14407         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
14408         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
14410 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14412         * sysdeps/powerpc/dl-procinfo.c:
14413         (_dl_powerpc_cap_flags): Added missing strings for some
14414         hwcap features.
14415         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
14417 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
14419         Port the 0x7efe...feff pattern to GCC 6.
14420         See Steve Ellcey's bug report in:
14421         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
14422         * string/memrchr.c (MEMRCHR):
14423         * string/rawmemchr.c (RAWMEMCHR):
14424         * string/strchr.c (strchr):
14425         * string/strchrnul.c (STRCHRNUL):
14426         Rewrite code to avoid issues with signed shift overflow.
14428 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
14430         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
14431         whether cpuid is available only if HAS_CPUID is 0.
14432         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
14433         (HAS_I586): Likewise.
14434         (HAS_I686): Likewise.
14436 2015-08-18  Zack Weinberg  <zackw@panix.com>
14438         * misc/Versions (libc): Add GLIBC_2.23.
14440 2015-08-18  Alan Modra  <amodra@gmail.com>
14442         [BZ #18421]
14443         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
14444         .Lp__global.
14445         (_start): Load %dp via .Lp__global.
14446         [!SHARED]: Use .section .rodata.
14448 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14450         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
14451         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
14453 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14455         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
14456         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
14458 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14460         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
14461         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
14463 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14465         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
14466         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
14468 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14470         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
14471         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
14473 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14475         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
14476         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
14478 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14480         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
14482 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14484         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
14485         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
14486         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14487         (__ASSUME_LWS_CAS): Delete.
14489 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14491         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
14492         * sysdeps/hppa/configure: Regenerated.
14493         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
14494         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
14495         * sysdeps/hppa/nptl/tls.h: Likewise.
14497 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
14499         [BZ #18823]
14500         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
14501         for scaling up small arguments.
14502         * math/s_csqrtf.c (__csqrtf): Likewise.
14503         * math/s_csqrtl.c (__csqrtl): Likewise.
14504         * math/auto-libm-test-in: Add more tests of csqrt.
14505         * math/auto-libm-test-out: Regenerated.
14507 2015-08-17  Andreas Schwab  <schwab@suse.de>
14509         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
14510         version set GLIBC_2.19.
14512 2015-08-16  Zack Weinberg  <zackw@panix.com>
14514         [BZ #18681]
14515         * misc/regexp.h: This interface is no longer supported.
14516         Remove all contents, leaving only an #error directive.
14517         * misc/regexp.c (loc1, loc2, locs, step, advance):
14518         Demote to compatibility symbols.
14520 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
14522         [BZ #18084]
14523         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
14524         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
14525         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14526         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
14527         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
14528         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
14529         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
14530         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
14531         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14533 2015-08-15  Zack Weinberg  <zackw@panix.com>
14535         [BZ #18795]
14536         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
14537         buffer length is known to be too large, not if it's known to be
14538         small enough.
14539         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
14540         overflow at runtime, involving a length parameter, twice: once
14541         with a compile-time constant length parameter, once without.
14543 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
14545         [BZ #18824]
14546         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
14547         scaling x * y up instead of down.
14548         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14549         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14550         * math/auto-libm-test-in: Add more tests of fma.
14551         * math/auto-libm-test-out: Regenerated.
14553 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
14555         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14557 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14559         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
14560         unnecessary movq.
14561         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
14562         Likewise.
14564 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
14566         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14567         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
14568         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
14569         and tgamma.
14570         * math/auto-libm-test-out: Regenerated.
14571         * sysdeps/i386/fpu/libm-test-ulps: Update.
14572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14574         [BZ #16520]
14575         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
14576         (__tanh): Force underflow exception for arguments with small
14577         absolute value.
14578         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
14579         (__tanhf): Force underflow exception for arguments with small
14580         absolute value.
14581         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
14582         (__tanhl): Force underflow exception for arguments with small
14583         absolute value.
14584         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
14585         (__tanhl): Force underflow exception for arguments with small
14586         absolute value.
14587         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
14588         (__tanhl): Force underflow exception for arguments with small
14589         absolute value.
14590         * math/auto-libm-test-in: Add more tests of tanh.
14591         * math/auto-libm-test-out: Regenerated.
14592         * sysdeps/i386/fpu/libm-test-ulps: Update.
14594 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14596         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
14597         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
14599 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14601         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
14602         <cpuid.h>.
14604 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14606         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
14607         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
14609 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14611         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
14612         Remove $(objpfx)init-arch.o.
14613         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
14614         init-arch.
14615         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
14616         (INIT_ARCH_EXT): Defined as empty.
14617         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
14618         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
14619         __init_cpu_features call.  Replace HAS_XXX with
14620         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14621         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
14622         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
14623         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
14624         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
14625         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14626         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
14627         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
14628         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14629         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
14630         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
14631         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14632         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
14633         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
14634         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14635         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
14636         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
14637         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14638         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14639         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
14640         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
14641         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14642         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
14643         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
14644         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14645         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
14646         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
14647         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14648         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
14649         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
14650         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14651         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
14652         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
14653         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14654         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
14655         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
14657 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14659         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
14660         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14661         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14662         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14663         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
14664         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
14665         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
14666         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
14667         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
14668         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
14669         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
14670         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
14671         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14672         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14673         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14674         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14675         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14676         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14677         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14678         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14679         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14680         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14681         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14682         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14683         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14684         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14685         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14686         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14687         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14688         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14689         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14690         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14691         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14692         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14693         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14694         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14695         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14696         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14697         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14698         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14699         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14700         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14701         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14703 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14705         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14706         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14707         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14708         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14709         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14710         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14711         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14712         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14713         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14714         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14715         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14716         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14717         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14718         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14719         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14720         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14721         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14722         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14723         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14724         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14725         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14726         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14727         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14728         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14729         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14730         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14731         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14732         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
14733         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14734         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14735         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14736         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14737         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14738         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14739         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14740         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14741         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14742         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14743         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14744         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14745         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14746         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14747         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14749 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14751         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14752         (dl_platform_init): Call init_cpu_features.
14753         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14754         * sysdeps/i386/i686/cacheinfo.c
14755         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14756         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14757         * sysdeps/i386/i686/multiarch/Versions: Removed.
14758         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14759         Removed.
14760         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14761         * sysdeps/unix/sysv/linux/x86/Makefile
14762         (libpthread-sysdep_routines): Remove init-arch.
14763         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14764         <sysdeps/x86_64/dl-procinfo.c> instead of
14765         sysdeps/generic/dl-procinfo.c>.
14766         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14767         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14768         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14769         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14770         [$(subdir) == elf] (tests-static): Add
14771         tst-get-cpu-features-static.
14772         * sysdeps/x86/Versions: New file.
14773         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14774         * sysdeps/x86/cpu-features.c: Likewise.
14775         * sysdeps/x86/cpu-features.h: Likewise.
14776         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14777         * sysdeps/x86/libc-start.c: Likewise.
14778         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14779         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14780         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14781         * sysdeps/x86_64/dl-procinfo.c: Likewise.
14782         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14783         Assume USE_MULTIARCH is defined and don't check it.
14784         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14785         (is_amd): Likewise.
14786         (max_cpuid): Likewise.
14787         (intel_check_word): Likewise.
14788         (__cache_sysconf): Don't call __init_cpu_features.
14789         (__x86_preferred_memory_instruction): Removed.
14790         (init_cacheinfo): Don't call __init_cpu_features. Replace
14791         __cpu_features with GLRO(dl_x86_cpu_features).
14792         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14793         (dl_platform_init): Call init_cpu_features.
14794         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14795         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14796         * sysdeps/x86_64/multiarch/Versions: Removed.
14797         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14798         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14799         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14800         Removed.
14801         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14803 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14805         [BZ #18820]
14806         * libio/Makefile (test-fmemopen-mem): New test.
14807         * libio/test-fmemopen.c (do_bz18820): New test.
14808         * libio/fmemopen.c (__fmemopen): Fix memory leak.
14809         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14811 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14813         [BZ #16734]
14814         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14815         (FREE_BUF): Delete.
14816         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14817         * libio/genops.c (_IO_setb): Use malloc and free directly.
14818         (_IO_default_doallocate, _IO_default_finish): Likewise.
14819         ( _IO_unbuffer_all): Likewise.
14820         ( libc_freeres_fn): Likewise.
14821         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14822         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14823         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14824         (_IO_wdefault_doallocate): Likewise.
14826 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14828         [BZ #18086]
14829         * sysdeps/posix/nice.c (nice): Restore old errno.
14830         * posix/tst-nice.c (do_test): Add test for BZ #18086.
14832 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
14834         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14836 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14838         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14839         __bcopy and add a weak_alias to bcopy.
14840         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14841         for static build.
14843         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14844         cleanup macro usage.
14845         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14846         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14847         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14848         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14849         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14850         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14851         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14852         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14853         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14854         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14855         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14856         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14857         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14858         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14859         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14860         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14861         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14862         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14863         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14865         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14866         libc_hidden_def.
14867         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14869         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14870         (sysdep_routines): Add strstr-ppc64.
14871         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14873 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
14875         [BZ #18778]
14876         * elf/Makefile (tests): Add Add tst-nodelete2.
14877         (modules-names): Add tst-nodelete2mod.
14878         (tst-nodelete2mod.so-no-z-defs): New.
14879         ($(objpfx)tst-nodelete2): Likewise.
14880         ($(objpfx)tst-nodelete2.out): Likewise.
14881         (LDFLAGS-tst-nodelete2): Likewise.
14882         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14883         out of loop through all loaded libraries.
14884         * elf/tst-nodelete2.c: New file.
14885         * elf/tst-nodelete2mod.c: Likewise.
14886         * elf/tst-znodelete-zlib.cc: Delete.
14888 2015-08-11  Andreas Schwab  <schwab@suse.de>
14890         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14891         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14892         (__openat64_nocancel): Likewise.
14894 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
14896         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14897         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14898         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14899         * math/auto-libm-test-out: Regenerated.
14900         * sysdeps/i386/fpu/libm-test-ulps: Update.
14901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14903 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14905         [BZ #18790]
14906         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14907         threshold for returning +/- 1.
14908         * math/auto-libm-test-in: Add more tests of tanh.
14909         * math/auto-libm-test-out: Regenerated.
14910         * sysdeps/i386/fpu/libm-test-ulps: Update.
14912 2015-08-10  Andreas Schwab  <schwab@suse.de>
14914         [BZ #18781]
14915         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14916         MORE_OFLAGS to oflag.
14917         * io/test-lfs.c (do_test): Test openat64.
14919 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14921         [BZ #18789]
14922         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14923         smaller threshold for returning the argument.
14924         * math/auto-libm-test-in: Add more tests of sinh.
14925         * math/auto-libm-test-out: Regenerated.
14926         * sysdeps/i386/fpu/libm-test-ulps: Update.
14928 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14930         [BZ #18674]
14931         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14932         break.
14934 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14936         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14937         (generated): Don't add $(addprefix z.,$(tzfiles)).
14939 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14941         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14942         * scripts/sysd-rules.awk: Likewise.
14944 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14946         * iconvdata/tst-tables.sh: Change echo -n to printf.
14947         * nss/db-Makefile: Likewise.
14948         * posix/tst-getconf.sh: Likewise.
14949         * stdio-common/tst-unbputc.sh: Likewise.
14951 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14953         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14954         MADV_*_PAGES defines behind this feature check.
14956 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
14958         [BZ #18480]
14959         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14960         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14961         Define.
14962         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14963         LOAD_REGS_5, LOAD_REGS_6): Update.
14964         (INTERNAL_SYSCALL): Update using new LOAD defines.
14965         (INTERNAL_SYSCALL_NCS): Likewise.
14966         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14968 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14970         [BZ #16734]
14971         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14973 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14975         [BZ #17905]
14976         * catgets/Makefile (tst-catgets-mem): New test.
14977         * catgets/catgets.c (catopen): Don't use unbounded alloca.
14978         * catgets/open_catalog.c (__open_catalog): Likewise.
14979         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14981 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
14983         [BZ #18787]
14984         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14985         clobber registers.
14986         (atomic_compare_and_exchange_val_acq): Use register asms to assign
14987         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
14988         Cast return to __typeof (oldval).
14990 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
14992         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14993         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
14994         and delete sys/syscall.h include.
14996 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
14998         [BZ #16517]
14999         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
15000         (tan): Force underflow exception for arguments with small absolute
15001         value.
15002         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
15003         (__kernel_tanf): Force underflow exception for arguments with
15004         small absolute value.
15005         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
15006         (__kernel_tanl): Force underflow exception for arguments with
15007         small absolute value.
15008         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
15009         (__kernel_tanl): Force underflow exception for arguments with
15010         small absolute value.
15011         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
15012         (__kernel_tanl): Force underflow exception for arguments with
15013         small absolute value.
15014         * math/auto-libm-test-in: Add more tests of tan.
15015         * math/auto-libm-test-out: Regenerated.
15017 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15019         Fix sysdeps/i386/fpu/s_scalbn.S build
15021         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
15023 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
15025         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15027 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15029         Fix gcrt0.o compilation
15031         When static-start-installed-name is different from
15032         start-installed-name, we must not use the shared objects.
15034         * csu/Makefile
15035         (extra-objs): Add gmon-start.o when building shared library and
15036         $(static-start-installed-name) is different from
15037         $(start-installed-name).
15038         $(objpfx)g$(static-start-installed-name): When building shared
15039         library and $(static-start-installed-name) is different from
15040         $(static-start-installed-name), revert to non-shared rule,
15041         i.e. using $(objpfx)% and gmon-start.o.
15043 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
15045         [BZ #16519]
15046         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
15047         (__ieee754_sinh): Force underflow exception for arguments with
15048         small absolute value.
15049         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
15050         (__ieee754_sinhf): Force underflow exception for arguments with
15051         small absolute value.
15052         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
15053         (__ieee754_sinhl): Force underflow exception for arguments with
15054         small absolute value.
15055         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
15056         (__ieee754_sinhl): Force underflow exception for arguments with
15057         small absolute value.
15058         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
15059         (__ieee754_sinhl): Force underflow exception for arguments with
15060         small absolute value.
15061         * math/auto-libm-test-in: Add more tests of sinh.
15062         * math/auto-libm-test-out: Regenerated.
15063         * sysdeps/i386/fpu/libm-test-ulps: Update.
15065 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15067         * libio/oldfileops.c: Include unistd.h.
15069 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
15071         * stdlib/isomac.c: Include ctype.h.
15073 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
15075         * dirent/tst-seekdir.c (main): Converted to ...
15076         (do_test): ... this.
15077         (TEST_FUNCTION): New macro.
15078         Include test-skeleton.c.
15079         * elf/tst-dlmodcount.c (main): Converted to ...
15080         (do_test): ... this.
15081         (TEST_FUNCTION): New macro.
15082         Include test-skeleton.c.
15083         * elf/tst-order-main.c (main): Converted to ...
15084         (do_test): ... this.
15085         (TEST_FUNCTION): New macro.
15086         Include test-skeleton.c.
15087         * elf/tst-pie2.c (main): Converted to ...
15088         (do_test): ... this.
15089         (TEST_FUNCTION): New macro.
15090         Include test-skeleton.c.
15091         * inet/tst-ether_aton.c (main): Converted to ...
15092         (do_test): ... this.
15093         (TEST_FUNCTION): New macro.
15094         Include test-skeleton.c.
15095         * misc/tst-mntent.c (main): Converted to ...
15096         (do_test): ... this.
15097         (TEST_FUNCTION): New macro.
15098         Include test-skeleton.c.
15099         * misc/tst-tsearch.c (main): Converted to ...
15100         (do_test): ... this.
15101         (TEST_FUNCTION): New macro.
15102         Include test-skeleton.c.
15103         * posix/tst-regexloc.c (main): Converted to ...
15104         (do_test): ... this.
15105         (TEST_FUNCTION): New macro.
15106         Include test-skeleton.c.
15107         * resolv/tst-aton.c (main): Converted to ...
15108         (do_test): ... this.
15109         (TEST_FUNCTION): New macro.
15110         Include test-skeleton.c.
15111         * stdio-common/test-fwrite.c (main): Converted to ...
15112         (do_test): ... this.
15113         (TEST_FUNCTION): New macro.
15114         Include test-skeleton.c.
15115         * stdio-common/tst-ferror.c (main): Converted to ...
15116         (do_test): ... this.
15117         (TEST_FUNCTION): New macro.
15118         Include test-skeleton.c.
15119         * stdio-common/tst-printf.c (main): Converted to ...
15120         (do_test): ... this.
15121         (TEST_FUNCTION): New macro.
15122         Include test-skeleton.c.
15123         * stdio-common/tst-printfsz.c (main): Converted to ...
15124         (do_test): ... this.
15125         (TEST_FUNCTION): New macro.
15126         Include test-skeleton.c.
15127         * stdlib/tst-strtod.c (main): Converted to ...
15128         (do_test): ... this.
15129         (TEST_FUNCTION): New macro.
15130         Include test-skeleton.c.
15131         * string/tst-strlen.c (main): Converted to ...
15132         (do_test): ... this.
15133         (TEST_FUNCTION): New macro.
15134         Include test-skeleton.c.
15135         * string/tst-svc.c (main): Converted to ...
15136         (do_test): ... this.
15137         (TEST_FUNCTION): New macro.
15138         Include test-skeleton.c.
15139         * time/tst-strptime.c (main): Converted to ...
15140         (do_test): ... this.
15141         (TEST_FUNCTION): New macro.
15142         Include test-skeleton.c.
15143         * timezone/tst-timezone.c (main): Converted to ...
15144         (do_test): ... this.
15145         (TEST_FUNCTION): New macro.
15146         Include test-skeleton.c.
15148 2015-08-05  Zack Weinberg  <zackw@panix.com>
15150         * misc/regexp.h: Update comments.
15152 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
15154         [BZ #18635]
15155         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
15156         before return label.
15158 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15160         [BZ #18661]
15161         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
15162         when calling __errno_location.
15163         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
15164         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
15166 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15168         [BZ #18661]
15169         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
15170         (__lll_timedwait_tid): Align stack to 16 bytes when calling
15171         __gettimeofday.
15173 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15175         [BZ #18661]
15176         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15177         (__start_context): Don't use pop to restore %rdi so that stack
15178         is aligned to 16 bytes when calling __setcontext.
15180 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15182         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
15183         only for libc.
15184         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15186 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15188         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
15189         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
15190         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
15192 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15194         * string/memccpy.c (memccpy):
15195         Improve performance by using memchr/memcpy/__mempcpy.
15197 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15199         * string/strncpy.c (strncpy):
15200         Improve performance by using __strnlen/memcpy.
15202 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15204         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15205         Optimize to avoid an unnecessary FPCR read.
15207 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15209         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15210         Optimize to reduce FPCR/FPSR accesses.
15212 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15214         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
15215         dead->data[category] != NULL.
15217 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
15219         [BZ #18647]
15220         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
15221         and |x| close to 1, use absolute value of x when computing log.
15222         * math/auto-libm-test-in: Add more tests of pow.
15223         * math/auto-libm-test-out: Regenerated.
15225 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15227         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
15228         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
15229         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
15231 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
15233         [BZ #18525]
15234         * locales/km_KH: Remove timezone definition.
15235         * locales/lo_LA: Likewise.
15236         * locales/my_MM: Likewise.
15237         * locales/nan_TW@latin: Likewise.
15238         * locales/th_TH: Likewise.
15239         * locales/uk_UA: Likewise.
15241 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15243         [BZ #18265]
15244         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
15245         (wcsncat): Likewise.
15246         (wcscmp): Likewise.
15247         (wcsncmp): Likewise.
15249 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15251         * test-skeleton.c (usage): New function.
15252         (main): Call usage when opt is '?'.
15254 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15256         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
15257         before first use.
15259 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15261         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
15262         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
15263         in there too.
15265 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
15267         * version.h (RELEASE): Set to "development".
15268         (VERSION): Set to "2.22.90"
15270         * version.h (RELEASE): Set to "stable".
15271         (VERSION): Set to "2.22"
15272         * include/features.h (__GLIBC_MINOR__): Set to 22.
15274 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
15276         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
15277         Restructure macro to avoid "value computed is not used" warning.
15278         (atomic_compare_and_exchange_val_acq): Likewise.
15280 2015-08-04  Andreas Schwab  <schwab@suse.de>
15282         [BZ #18635]
15283         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
15284         ret.
15285         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
15287 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
15289         * po/pl.po: Updated translation.
15290         * po/uk.po: Likewise.
15291         * po/fi.po: Likewise.
15292         * po/ko.po: Likewise.
15293         * po/ru.po: Likewise.
15294         * po/vi.po: Likewise.
15296 2015-07-31  Zack Weinberg  <zackw@panix.com>
15298         [BZ #18681]
15299         * regexp.h: Add unconditional #warning stating that this header
15300         will be removed soon.  Revise banner comment to match.
15301         (compile): Consistently use ERROR instead of RETURN to report
15302         errors (partial fix for bz#18681).
15303         * regexp.c: Don't include regexp.h. Remove some unnecessary
15304         declarations.
15306 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
15308         * po/libc.pot: Regenerated.
15310 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15312         [BZ #18740]
15313         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
15314         float-vlen4-arch-ext-cflags): Removed.
15315         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
15316         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
15318 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15320         [BZ #14113]
15321         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
15322         aligned to __aligned__.
15323         (pthread_cond_t, pthread_rwlock_t): Likewise.
15325 2015-07-30  Torvald Riegel  <triegel@redhat.com>
15327         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
15329 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15331         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
15332         (struct sigaction): Change sa_flags from a long to an int, and add
15333         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
15335 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15337         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
15338         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
15339         sysdeps/generic/sysdep.h include.
15340         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
15341         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
15342         sysdeps/hppa/sysdep.h.
15343         (ENTRY, PSEUDO): Undefine before defining.
15345 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15347         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
15348         from scratch to use INTERNAL_SYSCALL.
15350 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
15352         [BZ #18078]
15353         * scripts/check-localplt.awk: Support alternate relocations.
15354         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
15355         sections.
15356         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
15357         malloc entries with + REL R_386_GLOB_DAT.
15358         * sysdeps/x86_64/localplt.data: New file.
15360 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
15362         [BZ #18731]
15363         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
15364         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15365         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15367 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15369         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
15371 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15373         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
15374         directly in terms of __sync_fetch_and_add and delete (int) cast.
15376 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15378         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
15379         the -D_ASM_IA64_CURRENT_H flag.
15381 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15383         [BZ #18641]
15384         * pwd/pwd.h (putpwent): Delete __nonnull markings.
15386 2015-07-27  Andreas Schwab  <schwab@suse.de>
15388         * conform/conformtest.pl (checknamespace): Filter out string
15389         literals while tokenizing.
15391 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15393         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15394         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
15395         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15397 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15399         * nptl/tst-join7mod.c: Add #include <string.h>.
15401 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15403         * sysdeps/nios2/libm-test-ulps: Update.
15405 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15407         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
15408         Fix order of arguments to the rt_sigprocmask syscall.
15409         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
15410         Likewise.
15412 2015-07-24  Roland McGrath  <roland@hack.frob.com>
15414         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
15416 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15418         [BZ #18457]
15419         * nptl/Makefile (tests): New test case tst-join7.
15420         (modules-names): New test case module tst-join7mod.
15421         * nptl/tst-join7.c: New file.
15422         * nptl/tst-join7mod.c: New file.
15423         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
15424         all translation units in libc.so, libpthread.so and rtld.
15426 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15430 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15432         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
15433         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15434         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15435         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15436         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15437         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15438         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15439         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15440         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15441         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15442         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15443         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15444         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
15445         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15446         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
15447         implementation.
15449 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15451         [BZ #17711]
15452         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15453         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
15454         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15455         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15456         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
15457         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15459 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15461         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
15462         instead of just saying load lock in the comments.
15464 2015-07-23  Roland McGrath  <roland@hack.frob.com>
15466         * sysdeps/unix/Subdirs: Moved ...
15467         * sysdeps/posix/Subdirs: ... here.
15468         * login/pty.h (struct termios, struct winsize): Add forward decls.
15469         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
15470         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
15471         * sysdeps/arm/nacl/libc.abilist: Updated.
15472         * sysdeps/nacl/libutil.abilist: New file.
15474         * bits/signum.h: Update comments to mention 1003.1-2013 too.
15475         (SIGWINCH): New macro.
15477         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
15478         * sysdeps/arm/nacl/libc.abilist: Add it.
15480 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15482         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
15484 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15486         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15487         Swap __glibc_reserved0 and sa_flags order.
15489 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15491         [BZ #18657]
15492         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
15493         are pending TLS destructor calls.
15494         * include/link.h (struct link_map): Add concurrency note for
15495         L_TLS_DTOR_COUNT.
15496         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15497         Don't touch the link map flag.  Atomically increment
15498         l_tls_dtor_count.
15499         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
15500         Avoid taking the load lock and don't touch the link map flag.
15501         * stdlib/tst-tls-atexit-nodelete.c: New test case.
15502         * stdlib/Makefile (tests): Use it.
15503         * stdlib/tst-tls-atexit.c (do_test): dlopen
15504         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
15505         to allow tst-tls-atexit-nodelete test case to use it.
15507 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15509         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
15510         to bits/types.h.
15511         (msgqnum_t): New typedef.
15512         (msglen_t): Likewise.
15513         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
15514         and msg_qbytes type to msglen_t.
15516 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15518         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
15519         pad0 to __glibc_reserved0.
15520         (struct stat64): Likewise.
15522 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15524         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15525         Change sa_flags from a long to an int and add __glibc_reserved0 before
15526         it for padding.
15528 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15530         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
15531         anonymous by deleting "siginfo" name.
15533 2015-07-21  Roland McGrath  <roland@hack.frob.com>
15535         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
15536         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
15537         rather than __nacl_irt_filename.
15538         * sysdeps/nacl/xstat.c (__xstat): Likewise.
15540         * NEWS: New item for arm-nacl port.
15541         * sysdeps/arm/nacl/libc.abilist: New file.
15542         * sysdeps/nacl/ld.abilist: New file.
15543         * sysdeps/nacl/libBrokenLocale.abilist: New file.
15544         * sysdeps/nacl/libanl.abilist: New file.
15545         * sysdeps/nacl/libcrypt.abilist: New file.
15546         * sysdeps/nacl/libdl.abilist: New file.
15547         * sysdeps/nacl/libm.abilist: New file.
15548         * sysdeps/nacl/libpthread.abilist: New file.
15549         * sysdeps/nacl/libresolv.abilist: New file.
15550         * sysdeps/nacl/librt.abilist: New file.
15552 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
15554         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
15555         __startcontext to initialize the new context.
15556         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
15557         up CFI directive to forbid further backtracing.
15559 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
15561         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
15562         reference.
15563         * charmaps/ANSI_X3.4-1968: Likewise.
15564         * charmaps/BS_4730: Likewise.
15565         * charmaps/BS_VIEWDATA: Likewise.
15566         * charmaps/CP1250: Likewise.
15567         * charmaps/CP1251: Likewise.
15568         * charmaps/CP1252: Likewise.
15569         * charmaps/CP1253: Likewise.
15570         * charmaps/CP1254: Likewise.
15571         * charmaps/CP1255: Likewise.
15572         * charmaps/CP1256: Likewise.
15573         * charmaps/CSN_369103: Likewise.
15574         * charmaps/EBCDIC-DK-NO: Likewise.
15575         * charmaps/GB_1988-80: Likewise.
15576         * charmaps/GREEK-CCITT: Likewise.
15577         * charmaps/GREEK7: Likewise.
15578         * charmaps/INIS-8: Likewise.
15579         * charmaps/ISIRI-3342: Likewise.
15580         * charmaps/ISO_2033-1983: Likewise.
15581         * charmaps/ISO_5427-EXT: Likewise.
15582         * locales/POSIX: Likewise.
15583         * locales/ar_SA: Likewise.
15584         * locales/be_BY: Likewise.
15585         * locales/be_BY@latin: Likewise.
15586         * locales/ca_ES: Likewise.
15587         * locales/cs_CZ: Likewise.
15588         * locales/da_DK: Likewise.
15589         * locales/de_BE: Likewise.
15590         * locales/de_CH: Likewise.
15591         * locales/de_LU: Likewise.
15592         * locales/en_AU: Likewise.
15593         * locales/en_BW: Likewise.
15594         * locales/en_CA: Likewise.
15595         * locales/en_DK: Likewise.
15596         * locales/en_GB: Likewise.
15597         * locales/en_IE: Likewise.
15598         * locales/en_NZ: Likewise.
15599         * locales/en_ZA: Likewise.
15600         * locales/en_ZW: Likewise.
15601         * locales/es_AR: Likewise.
15602         * locales/es_BO: Likewise.
15603         * locales/es_CL: Likewise.
15604         * locales/es_CO: Likewise.
15605         * locales/es_DO: Likewise.
15606         * locales/es_EC: Likewise.
15607         * locales/es_ES: Likewise.
15608         * locales/es_HN: Likewise.
15609         * locales/es_MX: Likewise.
15610         * locales/es_PA: Likewise.
15611         * locales/es_PE: Likewise.
15612         * locales/es_PY: Likewise.
15613         * locales/es_SV: Likewise.
15614         * locales/es_US: Likewise.
15615         * locales/es_UY: Likewise.
15616         * locales/es_VE: Likewise.
15617         * locales/et_EE: Likewise.
15618         * locales/fa_IR: Likewise.
15619         * locales/fo_FO: Likewise.
15620         * locales/fr_CA: Likewise.
15621         * locales/fr_CH: Likewise.
15622         * locales/gv_GB: Likewise.
15623         * locales/he_IL: Likewise.
15624         * locales/hr_HR: Likewise.
15625         * locales/id_ID: Likewise.
15626         * locales/is_IS: Likewise.
15627         * locales/it_CH: Likewise.
15628         * locales/iw_IL: Likewise.
15629         * locales/kl_GL: Likewise.
15630         * locales/ko_KR: Likewise.
15631         * locales/kw_GB: Likewise.
15632         * locales/lg_UG: Likewise.
15633         * locales/lt_LT: Likewise.
15634         * locales/lv_LV: Likewise.
15635         * locales/mi_NZ: Likewise.
15636         * locales/nhn_MX: Likewise.
15637         * locales/nl_BE: Likewise.
15638         * locales/pl_PL: Likewise.
15639         * locales/sk_SK: Likewise.
15640         * locales/sl_SI: Likewise.
15641         * locales/sv_FI: Likewise.
15642         * locales/tl_PH: Likewise.
15643         * locales/tr_TR: Likewise.
15644         * locales/vi_VN: Likewise.
15646 2015-07-21  Khem Raj  <raj.khem@gmail.com>
15648         [BZ #17475]
15649         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
15650         of tu_IN and bh_IN.
15652 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
15654         [BZ #18694]
15655         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
15656         bits/wordsize.h.
15657         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
15659 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15661         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
15662         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
15663         (spawn_thread): New function.
15664         (load): Rename to reg_dtor_and_close.  Move dlopen to...
15665         (do_test): ... here.  Use IS_LOADED to test for its
15666         availability.
15668 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
15670         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15672 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
15674         [BZ #18696]
15675         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15676         si_addr_bnd.
15677         (si_lower): New.
15678         (si_upper): Likewise.
15680 2015-07-16  David S. Miller  <davem@davemloft.net>
15682         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15684 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15686         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15687         buffer.
15688         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15689         fail output information.
15691 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15693         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15694         and strstr-ppc64..
15695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15696         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15697         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15698         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15699         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15701 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15703         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15704         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15705         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15706         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15708 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15710         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15711         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15712         rtld_hidden_proto.
15713         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15715 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15717         * tst-nodelete-opened.c (do_test): Add comment to clarify how
15718         the test can fail.
15720         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15722         [BZ #18676]
15723         * elf/tst-nodelete-opened.c: New test case.
15724         * elf/tst-nodelete-opened-lib.c: New test case module.
15725         * elf/Makefile (tests, modules-names): Use them.
15726         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15727         early.
15729 2015-07-15  David S. Miller  <davem@davemloft.net>
15731         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15732         futex-intenal.h
15733         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15734         * sysdeps/sparc/sparc64/Makefile: Likewise.
15735         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15736         Remove space from macro define.
15737         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15739 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
15741         [BZ #17475]
15742         * locale/iso-639.def: Update Bhili and Tulu language codes as
15743         per iso639-3.
15745 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
15747         * elf/tst-leaks1.c (main): Converted to ...
15748         (do_test): ... this.
15749         (TEST_FUNCTION): New macro.
15750         Include test-skeleton.c.
15751         * localedata/tst-langinfo.c (main): Converted to ...
15752         (do_test): ... this.
15753         (TEST_FUNCTION): New macro.
15754         Include test-skeleton.c.
15755         * math/test-fpucw.c (main): Converted to ...
15756         (do_test): ... this.
15757         (TEST_FUNCTION): New macro.
15758         Include test-skeleton.c.
15759         * math/test-tgmath.c (main): Converted to ...
15760         (do_test): ... this.
15761         (TEST_FUNCTION): New macro.
15762         Include test-skeleton.c.
15763         * math/test-tgmath2.c (main): Converted to ...
15764         (do_test): ... this.
15765         (TEST_FUNCTION): New macro.
15766         Include test-skeleton.c.
15767         * setjmp/tst-setjmp.c (main): Converted to ...
15768         (do_test): ... this.
15769         (TEST_FUNCTION): New macro.
15770         Include test-skeleton.c.
15771         * stdio-common/tst-sscanf.c (main): Converted to ...
15772         (do_test): ... this.
15773         (TEST_FUNCTION): New macro.
15774         Include test-skeleton.c.
15775         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15776         (do_test): ... this.
15777         (TEST_FUNCTION): New macro.
15778         Include test-skeleton.c.
15780         * elf/tst-audit9.c (main): Converted to ...
15781         (do_test): ... this.
15782         (TEST_FUNCTION): New macro.
15783         Include test-skeleton.c.
15785 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
15787         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15789 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15791         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15792         New variable.
15794 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15796         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15798 2015-07-14  Roland McGrath  <roland@hack.frob.com>
15800         * sysdeps/generic/dl-fileid.h: New file.
15801         * sysdeps/posix/dl-fileid.h: New file.
15802         * sysdeps/nacl/dl-fileid.h: New file.
15803         * include/link.h: Include <dl-fileid.h>.
15804         (struct link_map): Replace l_dev and l_ino with l_file_id.
15805         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15806         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
15807         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
15809 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15811         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15813 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15815         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15816         Add iff $CXX is set.
15817         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15818         Likewise.
15819         (tst-nodelete-zmodiff): Likewise.
15820         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15822 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15824         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15826 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15828         * sysdeps/aarch64/fpu/math_private.h
15829         (define math_opt_barrier): Add AArch64 version.
15830         (math_force_eval): Likewise.
15832 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15834         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15836 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15838         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15839         %ld with %jd and cast to intmax_t.
15840         (do_test_length_zero): Likewise.
15842 2015-07-10  Roland McGrath  <roland@hack.frob.com>
15844         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15846 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
15848         * sysdeps/tile/libm-test-ulps: Regenerated.
15850         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15851         Comment out the whole function, not just its body.
15853 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15855         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15856         locks.
15858         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15860 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15862         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15863         (sem_assume_only_signals_cause_futex_EINTR): Remove.
15865 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15867         * sysdeps/nptl/futex-internal.h: New file.
15868         * sysdeps/nacl/futex-internal.h: New file.
15869         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15870         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15871         error checking.
15872         (setxid_unmark_thread): Likewise.
15873         (__nptl_setxid): Likewise.
15874         (__wait_lookup_done): Likewise.
15875         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15876         * nptl/nptl-init.c (sighandler_setxid): Likewise.
15877         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15878         * nptl/pthread_once.c (clear_once_control): Likewise.
15879         (__pthread_once_slow): Likewise.
15880         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15881         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15882         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15883         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15884         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15885         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15886         Likewise.
15887         (__pthread_rwlock_rdlock): Likewise.
15888         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15889         Likewise.
15890         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15891         Likewise.
15892         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15893         Likewise.
15894         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15895         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15896         Likewise.
15897         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15898         __ASSUME_PRIVATE_FUTEX check.
15899         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15900         Check that shared futexes are supported.
15901         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15902         wrappers with error checking.
15903         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15904         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15905         * nptl/pthread_barrierattr_setpshared.c
15906         (pthread_barrierattr_setpshared): Check that shared futexes are
15907         supported.
15908         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15909         Likewise.
15910         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15911         Likewise.
15912         * nptl/sem_init.c (futex_private_if_supported): Remove.
15913         (__new_sem_init): Adapt and check that shared futexes are supported.
15914         * nptl/sem_open.c (sem_open): Likewise.
15915         * nptl/sem_post.c (futex_wake): Remove.
15916         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15917         (do_futex_wait): Use futex wrappers with error checking.
15918         * nptl/sem_wait.c: Include lowlevellock.h.
15919         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15920         Use futex_supports_pshared.
15921         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15922         Use futex wrappers with error checking.
15923         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15924         Likewise.
15925         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15926         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15927         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15928         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15929         (futex_wake): Likewise.
15930         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15931         (do_futex_wait): Use futex wrappers with error checking.
15932         (__new_sem_wait_slow): Update EINTR handling.
15933         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15935 2015-07-09  Martin Sebor  <msebor@redhat.com>
15937         [BZ #18435]
15938         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15939         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15940         * nptl/Makefile (test-xfail-tst-once5): Define.
15942 2015-07-09  Roland McGrath  <roland@hack.frob.com>
15944         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15945         * elf/dl-minimal.c: For readability, reorder some definitions and
15946         introduce more page breaks.  Include <stdio.h>.
15947         (__libc_fatal): New function.
15949         * include/unistd.h: Add rtld_hidden_proto for _exit.
15950         * posix/_exit.c: Add rtld_hidden_def.
15951         * sysdeps/mach/hurd/_exit.c: Likewise.
15952         * sysdeps/nacl/_exit.c: Likewise.
15953         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15954         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15956 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
15958         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15959         bndmov encoding with zero displacement.
15961 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15962             H.J. Lu  <hongjiu.lu@intel.com>
15964         [BZ #18134]
15965         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15966         * sysdeps/i386/configure: Regenerated.
15967         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15968         (_dl_runtime_profile): Save and restore Intel MPX return bound
15969         registers when calling _dl_call_pltexit.  Add
15970         PRESERVE_BND_REGS_PREFIX before return.
15971         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15972         (LRV_BND1_OFFSET): Likewise.
15973         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15974         lrv_bnd1.
15975         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15976         typo in bndmov encoding.
15977         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15978         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
15979         branch instructions to preserve bounds.
15981 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15984         [GLIBC_2.22]: Add fmemopen.
15986 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15988         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15989         returns an error, also try to use host port from __mach_host_self for
15990         the __vm_wire call.
15991         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15993 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15995         [BZ #18400]
15996         [BZ #18648]
15997         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15998         Fix pr_uid and pr_gid members.
15999         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
16000         definition to elf_greg_t.
16002 2015-07-08  Roland McGrath  <roland@hack.frob.com>
16004         [BZ #18383]
16005         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
16006         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
16007         * sysdeps/arm/configure: Regenerated.
16008         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
16009         (test-xfail-tst-tlsalign-static): Variable removed.
16011         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
16012         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
16013         rather than explicit 'ln -s'.
16015         * resolv/rpc/netdb.h: New file.
16016         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
16018 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16020         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
16021         length buffers.
16022         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16023         test-skeleton.c.
16025         [BZ #6544]
16026         [BZ #11216]
16027         [BZ #12836]
16028         [BZ #13151]
16029         [BZ #13152]
16030         [BZ #14292]
16031         * include/stdio.h (fmemopen): Remove hidden prototype.
16032         (__fmemopen): Add new hidden prototype.
16033         * libio/Makefile: Add oldfmemopen object.
16034         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
16035         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
16036         compliance.
16037         * libio/oldfmemopen.c: New file: old fmemopen implementation for
16038         symbol compatibility.
16039         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
16040         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
16041         fmemopen.
16042         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
16043         on append and read mode.
16044         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
16045         fmemopen.
16046         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
16047         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
16048         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
16049         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
16050         Likewise.
16051         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16052         [GLIBC_2.22]: Likewise.
16053         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
16054         Likewise.
16055         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
16056         Likewise.
16057         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16058         [GLIBC_2.22]: Likewise.
16059         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16060         [GLIBC_2.22]: Likewise.
16061         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16062         [GLIBC_2.22]: Likewise.
16063         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16064         [GLIBC_2.22]: Likewise.
16065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16066         [GLIBC_2.22]: Likewise.
16067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16068         [GLIBC_2.22]: Likewise.
16069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16070         [GLIBC_2.22]: Likewise.
16071         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
16072         Likewise.
16073         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
16074         Likewise.
16075         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
16076         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16077         [GLIBC_2.22]: Likewise.
16078         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16079         [GLIBC_2.22]: Likewise.
16080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16081         [GLIBC_2.22]: Likewise.
16082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16083         [GLIBC_2.22]: Likewise.
16084         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
16085         Likewise.
16086         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
16087         Likewise.
16088         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
16089         Likewise.
16090         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
16091         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
16093 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16095         [BZ #18643]
16096         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
16097         IPV6_PATHMTU, and IPV6_DONTFRAG.
16099 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
16101         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
16102         and _IO_UNBUFFERED.
16103         * libio/oldfileops.c: Likewise.
16104         * libio/wfileops.c: Likewise.
16106 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16108         * nscd/selinux.c: Delete selinux/flask.h include.
16110 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16112         [BZ #18641]
16113         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
16114         (putpwent): Likewise.
16115         (getpwnam): Likewise.
16116         (getpwent_r): Likewise.
16117         (getpwuid_r): Likewise.
16118         (getpwnam_r): Likewise.
16119         (fgetpwent_r): Likewise.
16121 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16123         [BZ #18557]
16124         * inet/rcmd.c (__validuser2_sa): Check user first to
16125         short-circuit host check.
16127 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
16128             Mikhail Ilin  <m.ilin@samsung.com>
16130         [BZ #17833]
16131         * elf/Makefile (tests): Add tst-nodelete.
16132         (modules-names): Add tst-nodelete-uniquemod.
16133         (tst-nodelete-uniquemod.so-no-z-defs): New.
16134         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
16135         (tst-nodelete-zmod.so-no-z-defs): Likewise.
16136         ($(objpfx)tst-nodelete): Likewise.
16137         ($(objpfx)tst-nodelete.out): Likewise.
16138         (LDFLAGS-tst-nodelete): Likewise.
16139         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
16140         * elf/dl-close.c (_dl_close_worker): Add a parameter to
16141         implement forced object deletion.
16142         (_dl_close): Pass false to _dl_close_worker.
16143         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
16144         * elf/tst-nodelete.cc: New file.
16145         * elf/tst-nodeletelib.cc: Likewise.
16146         * elf/tst-znodeletelib.cc: Likewise.
16147         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
16149 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16151         [BZ #18508]
16152         * stdlib/Makefile ($(objpfx)tst-makecontext3):
16153         Depend on $(libdl).
16154         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
16155         is not called infinitely times.
16156         (backtrace_helper): New function.
16157         (trace_arg): New struct.
16158         (st1): Enlarge stack size.
16159         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16160         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
16161         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16162         Likewise.
16164 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16166         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16168 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16170         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
16171         Include sys/types.h instead of bits/types.h.
16172         Remove inclusion of bits/wordsize.h.
16174 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16176         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
16177         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
16178         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
16179         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
16180         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
16181         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
16183 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16185         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
16186         link-defines.sym.
16187         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
16188         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
16189         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
16190         and LR_SIZE.
16191         * sysdeps/i386/link-defines.sym: New file.
16193 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16195         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
16196         (modules-names): Add tst-auditmod3a tst-auditmod3b.
16197         ($(objpfx)tst-audit3): New rule.
16198         ($(objpfx)tst-audit3.out): Likewise.
16199         * sysdeps/i386/tst-audit3.c: New file.
16200         * sysdeps/i386/tst-audit3.h: Likewise.
16201         * sysdeps/i386/tst-auditmod3a.c: Likewise.
16202         * sysdeps/i386/tst-auditmod3b.c: Likewise.
16204 2015-07-07  Torvald Riegel  <triegel@redhat.com>
16206         [BZ #18633]
16207         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
16208         pointer in C code.
16209         (__strcat_c): Likewise.
16210         (__strcat_g): Likewise.
16212 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
16214         [BZ #18592]
16215         * misc/sbrk.c: Set errno to ENOMEM on overflow.
16217 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16219         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
16220         New function.  (__ieee754_sqrtf): New function.
16221         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
16222         New function.
16223         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
16224         New function.
16226 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16228         * sysdeps/ieee754/support.c: Remove unused file.
16230 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16232         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
16233         registers instead of d ones so the layout is kernel abi compatible.
16234         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
16235         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
16236         Likewise.
16238 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16240         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16242 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16244         [BZ #18619]
16245         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
16246         and return argument in case of subnormal argument.
16248 2015-07-01  Martin Sebor  <msebor@redhat.com>
16250         [BZ #18435]
16251         * nptl/Makefile: Add tst-once5.cc.
16252         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16253         Remove macro redefinitions.
16254         * nptl/tst-once5.cc: New test.
16256 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16258         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16260         * sysdeps/arm/libm-test-ulps: Regenerated.
16262         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16263         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16265 2015-06-30  Torvald Riegel  <triegel@redhat.com>
16267         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
16268         lll_lock_wait_private and lll_futex_wake probes.
16270         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16271         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
16272         Likewise.
16273         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
16274         atomic_spin_nop.
16275         * sysdeps/x86_64/bits/atomic.h: Likewise.
16276         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
16277         to atomic_spin_nop and move ...
16278         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16279         ... here and ...
16280         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
16281         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
16282         atomic_spin_nop instead of BUSY_WAIT_NOP.
16283         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
16284         Likewise.
16285         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
16286         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16287         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
16288         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
16289         instead of atomic_delay.
16291 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
16293         [BZ #18613]
16294         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
16295         X_ADJ not X when adjusting exponent.
16296         (__ieee754_gamma_r): Do intermediate computations in
16297         round-to-nearest then adjust overflowing and underflowing results
16298         as needed.
16299         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
16300         of X_ADJ not X when adjusting exponent.
16301         (__ieee754_gammaf_r): Do intermediate computations in
16302         round-to-nearest then adjust overflowing and underflowing results
16303         as needed.
16304         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
16305         log of X_ADJ not X when adjusting exponent.
16306         (__ieee754_gammal_r): Do intermediate computations in
16307         round-to-nearest then adjust overflowing and underflowing results
16308         as needed.  Use 1.0L not 1.0f as numerator of division.
16309         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
16310         log of X_ADJ not X when adjusting exponent.
16311         (__ieee754_gammal_r): Do intermediate computations in
16312         round-to-nearest then adjust overflowing and underflowing results
16313         as needed.  Use 1.0L not 1.0f as numerator of division.
16314         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
16315         of X_ADJ not X when adjusting exponent.
16316         (__ieee754_gammal_r): Do intermediate computations in
16317         round-to-nearest then adjust overflowing and underflowing results
16318         as needed.  Use 1.0L not 1.0f as numerator of division.
16319         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
16320         to auto-libm-test-in.
16321         (tgamma_test): Use ALL_RM_TEST.
16322         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
16323         tests of tgamma with spurious-overflow.
16324         * math/auto-libm-test-out: Regenerated.
16325         * math/gen-libm-have-vector-test.sh: Do not check for START.
16326         * sysdeps/i386/fpu/libm-test-ulps: Update.
16327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16329         [BZ #18612]
16330         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
16331         arguments, just return 0.5 times the argument, with underflow
16332         forced as needed.
16333         * math/auto-libm-test-in: Add more tests of j1.
16334         * math/auto-libm-test-out: Regenerated.
16336         [BZ #16559]
16337         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
16338         (__ieee754_j1): Force underflow exception for small results.
16339         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16340         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
16341         (__ieee754_j1f): Force underflow exception for small results.
16342         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16343         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16344         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16345         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
16346         (__ieee754_j1l): Force underflow exception for small results.
16347         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16348         * math/auto-libm-test-in: Add more tests of j1 and jn.
16349         * math/auto-libm-test-out: Regenerated.
16351         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
16352         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
16353         (PF_MPLS): Likewise.
16354         (AF_IB): Likewise.
16355         (AF_MPLS): Likewise.
16356         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
16357         value and macro.
16358         (MS_RMT_MASK): Include MS_LAZYTIME.
16360 2015-06-26  Mel Gorman  <mgorman@suse.de>
16362         [BZ #18502]
16363         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
16364         already minimal.
16366 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
16368         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
16369         (DT_MIPS_NUM): Update.
16370         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
16371         DT_MIPS_RLD_MAP_REL.
16373 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
16375         [BZ #16559]
16376         [BZ #18602]
16377         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
16378         round-to-nearest internally then recompute results that
16379         underflowed to zero in the original rounding mode.
16380         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16381         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16382         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16383         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16384         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
16385         * sysdeps/i386/fpu/libm-test-ulps: Update.
16386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16388 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16390         * NEWS: Fixed description of link with vector math library.
16392 2015-06-25  Andreas Schwab  <schwab@suse.de>
16394         [BZ #18549]
16395         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
16396         * libio/test-fmemopen.c (do_test): Add test for it.
16398 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
16400         [BZ #17841]
16401         * Makeconfig (no-pie-ldflag): New.
16402         (+link): Set to $(+link-pie) if default to PIE.
16403         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
16404         * config.make.in (build-pie-default): New.
16405         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
16406         is default.  AC_SUBST.
16407         * configure: Regenerated.
16408         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
16410 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16412         * nptl/descr.h (struct pthread): Change type of field setxid_futex
16413         to 'unsigned int'.
16415         * resolv/gai_misc.h (struct waitlist): Change type of field
16416         counterp to 'volatile unsigned int *'.
16417         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
16418         FUTEXADDR and OLDVAL.
16419         * resolv/getaddrinfo_a.c (getaddrinfo_a):
16420         Give local variable TOTAL type 'volatile unsigned int'.
16421         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16422         * resolv/gai_suspend.c (gai_suspend):
16423         Give local variable CNTR type 'unsigned int'.
16425         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
16426         counterp to 'volatile unsigned int *'.
16427         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
16428         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
16429         (aio_suspend): Give local variable CNTR type 'unsigned int'.
16430         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
16431         Give local variable TOTAL type 'volatile unsigned int'.
16432         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16434 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16436         [BZ #18383]
16437         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
16438         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
16439         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
16440         comment for i386/x86-64.
16441         (test-xfail-tst-tlsalign-extern-static): Removed.
16443 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16445         * math/test-double.h: New file.
16446         * math/test-float.h: Likewise.
16447         * math/test-ldouble.h: Likewise.
16448         * math/test-math-inline.h: Likewise.
16449         * math/test-math-no-inline.h: Likewise.
16450         * math/test-math-scalar.h: Likewise.
16451         * math/test-math-vector.h: Likewise.
16452         * math/test-vec-loop.h: Remove file.  Contents moved into
16453         test-math-vector.h.
16454         * math/libm-test.inc (MATHCONST): Do not document macro.
16455         * math/test-double.c: Include test-double.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_DOUBLE): Likewise.
16465         (TEST_MATHVEC): Likewise.
16466         (__NO_MATH_INLINES): Likewise.
16467         * math/test-float.c: Include test-float.h, test-math-no-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_FLOAT): Likewise.
16477         (TEST_MATHVEC): Likewise.
16478         (__NO_MATH_INLINES): Likewise.
16479         * math/test-idouble.c: Include test-double.h, test-math-inline.h
16480         and test-math-scalar.h.
16481         (FUNC): Remove macro.
16482         (FUNC_TEST): Likewise.
16483         (FLOAT): Likewise.
16484         (MATHCONST): Likewise.
16485         (PRINTF_EXPR): Likewise.
16486         (PRINTF_XEXPR): Likewise.
16487         (PRINTF_NEXPR): Likewise.
16488         (TEST_DOUBLE): Likewise.
16489         (TEST_MATHVEC): Likewise.
16490         (TEST_INLINE): Likewise.
16491         (__NO_MATH_INLINES): Likewise.
16492         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
16493         test-math-scalar.h.
16494         (FUNC): Remove macro.
16495         (FUNC_TEST): Likewise.
16496         (FLOAT): Likewise.
16497         (MATHCONST): Likewise.
16498         (PRINTF_EXPR): Likewise.
16499         (PRINTF_XEXPR): Likewise.
16500         (PRINTF_NEXPR): Likewise.
16501         (TEST_FLOAT): Likewise.
16502         (TEST_MATHVEC): Likewise.
16503         (TEST_INLINE): Likewise.
16504         (__NO_MATH_INLINES): Likewise.
16505         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
16506         and test-math-scalar.h.
16507         (FUNC): Remove macro.
16508         (FUNC_TEST): Likewise.
16509         (FLOAT): Likewise.
16510         (MATHCONST): Likewise.
16511         (PRINTF_EXPR): Likewise.
16512         (PRINTF_XEXPR): Likewise.
16513         (PRINTF_NEXPR): Likewise.
16514         (TEST_LDOUBLE): Likewise.
16515         (TEST_MATHVEC): Likewise.
16516         (TEST_INLINE): Likewise.
16517         (__NO_MATH_INLINES): Likewise.
16518         * math/test-ldouble.c: Include test-ldouble.h,
16519         test-math-no-inline.h and test-math-scalar.h.
16520         (FUNC): Remove macro.
16521         (FUNC_TEST): Likewise.
16522         (FLOAT): Likewise.
16523         (MATHCONST): Likewise.
16524         (PRINTF_EXPR): Likewise.
16525         (PRINTF_XEXPR): Likewise.
16526         (PRINTF_NEXPR): Likewise.
16527         (TEST_LDOUBLE): Likewise.
16528         (TEST_MATHVEC): Likewise.
16529         (__NO_MATH_INLINES): Likewise.
16530         * math/test-double-vlen2.h: Include test-double.h,
16531         test-math-no-inline.h and test-math-vector.h.
16532         (FLOAT): Remove macro.
16533         (FUNC): Likewise.
16534         (MATHCONST): Likewise.
16535         (PRINTF_EXPR): Likewise.
16536         (PRINTF_XEXPR): Likewise.
16537         (PRINTF_NEXPR): Likewise.
16538         (TEST_DOUBLE): Likewise.
16539         (TEST_MATHVEC): Likewise.
16540         (__NO_MATH_INLINES): Likewise.
16541         (CNCT): Likewise.
16542         (CONCAT): Likewise.
16543         (WRAPPER_NAME): Likewise.
16544         (WRAPPER_DECL): Likewise.
16545         (WRAPPER_DECL_ff): Likewise.
16546         (WRAPPER_DECL_fFF): Likewise.
16547         (VECTOR_WRAPPER): Likewise.
16548         (VECTOR_WRAPPER_ff): Likewise.
16549         (VECTOR_WRAPPER_fFF): Likewise.
16550         (VEC_LEN): New macro.
16551         * math/test-double-vlen4.h: Include test-double.h,
16552         test-math-no-inline.h and test-math-vector.h.
16553         (FLOAT): Remove macro.
16554         (FUNC): Likewise.
16555         (MATHCONST): Likewise.
16556         (PRINTF_EXPR): Likewise.
16557         (PRINTF_XEXPR): Likewise.
16558         (PRINTF_NEXPR): Likewise.
16559         (TEST_DOUBLE): Likewise.
16560         (TEST_MATHVEC): Likewise.
16561         (__NO_MATH_INLINES): Likewise.
16562         (CNCT): Likewise.
16563         (CONCAT): Likewise.
16564         (WRAPPER_NAME): Likewise.
16565         (WRAPPER_DECL): Likewise.
16566         (WRAPPER_DECL_ff): Likewise.
16567         (WRAPPER_DECL_fFF): Likewise.
16568         (VECTOR_WRAPPER): Likewise.
16569         (VECTOR_WRAPPER_ff): Likewise.
16570         (VECTOR_WRAPPER_fFF): Likewise.
16571         (VEC_LEN): New macro.
16572         * math/test-double-vlen8.h: Include test-double.h,
16573         test-math-no-inline.h and test-math-vector.h.
16574         (FLOAT): Remove macro.
16575         (FUNC): Likewise.
16576         (MATHCONST): Likewise.
16577         (PRINTF_EXPR): Likewise.
16578         (PRINTF_XEXPR): Likewise.
16579         (PRINTF_NEXPR): Likewise.
16580         (TEST_DOUBLE): Likewise.
16581         (TEST_MATHVEC): Likewise.
16582         (__NO_MATH_INLINES): Likewise.
16583         (CNCT): Likewise.
16584         (CONCAT): Likewise.
16585         (WRAPPER_NAME): Likewise.
16586         (WRAPPER_DECL): Likewise.
16587         (WRAPPER_DECL_ff): Likewise.
16588         (WRAPPER_DECL_fFF): Likewise.
16589         (VECTOR_WRAPPER): Likewise.
16590         (VECTOR_WRAPPER_ff): Likewise.
16591         (VECTOR_WRAPPER_fFF): Likewise.
16592         (VEC_LEN): New macro.
16593         * math/test-float-vlen4.h: Include test-float.h,
16594         test-math-no-inline.h and test-math-vector.h.
16595         (FLOAT): Remove macro.
16596         (FUNC): Likewise.
16597         (MATHCONST): Likewise.
16598         (PRINTF_EXPR): Likewise.
16599         (PRINTF_XEXPR): Likewise.
16600         (PRINTF_NEXPR): Likewise.
16601         (TEST_FLOAT): Likewise.
16602         (TEST_MATHVEC): Likewise.
16603         (__NO_MATH_INLINES): Likewise.
16604         (CNCT): Likewise.
16605         (CONCAT): Likewise.
16606         (WRAPPER_NAME): Likewise.
16607         (WRAPPER_DECL): Likewise.
16608         (WRAPPER_DECL_ff): Likewise.
16609         (WRAPPER_DECL_fFF): Likewise.
16610         (VECTOR_WRAPPER): Likewise.
16611         (VECTOR_WRAPPER_ff): Likewise.
16612         (VECTOR_WRAPPER_fFF): Likewise.
16613         (VEC_LEN): New macro.
16614         * math/test-float-vlen8.h: Include test-float.h,
16615         test-math-no-inline.h and test-math-vector.h.
16616         (FLOAT): Remove macro.
16617         (FUNC): Likewise.
16618         (MATHCONST): Likewise.
16619         (PRINTF_EXPR): Likewise.
16620         (PRINTF_XEXPR): Likewise.
16621         (PRINTF_NEXPR): Likewise.
16622         (TEST_FLOAT): Likewise.
16623         (TEST_MATHVEC): Likewise.
16624         (__NO_MATH_INLINES): Likewise.
16625         (CNCT): Likewise.
16626         (CONCAT): Likewise.
16627         (WRAPPER_NAME): Likewise.
16628         (WRAPPER_DECL): Likewise.
16629         (WRAPPER_DECL_ff): Likewise.
16630         (WRAPPER_DECL_fFF): Likewise.
16631         (VECTOR_WRAPPER): Likewise.
16632         (VECTOR_WRAPPER_ff): Likewise.
16633         (VECTOR_WRAPPER_fFF): Likewise.
16634         (VEC_LEN): New macro.
16635         * math/test-float-vlen16.h: Include test-float.h,
16636         test-math-no-inline.h and test-math-vector.h.
16637         (FLOAT): Remove macro.
16638         (FUNC): Likewise.
16639         (MATHCONST): Likewise.
16640         (PRINTF_EXPR): Likewise.
16641         (PRINTF_XEXPR): Likewise.
16642         (PRINTF_NEXPR): Likewise.
16643         (TEST_FLOAT): Likewise.
16644         (TEST_MATHVEC): Likewise.
16645         (__NO_MATH_INLINES): Likewise.
16646         (CNCT): Likewise.
16647         (CONCAT): Likewise.
16648         (WRAPPER_NAME): Likewise.
16649         (WRAPPER_DECL): Likewise.
16650         (WRAPPER_DECL_ff): Likewise.
16651         (WRAPPER_DECL_fFF): Likewise.
16652         (VECTOR_WRAPPER): Likewise.
16653         (VECTOR_WRAPPER_ff): Likewise.
16654         (VECTOR_WRAPPER_fFF): Likewise.
16655         (VEC_LEN): New macro.
16656         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
16657         test-vec-loop.h.
16658         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16659         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16660         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16661         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16662         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16663         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16664         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16666 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16668         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
16669         (__getlogin_r): ... this.
16671 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16673         [BZ #18594]
16674         * math/s_ccosh.c (__ccosh): Compare with least normal value
16675         instead of comparing class with FP_SUBNORMAL.
16676         * math/s_ccoshf.c (__ccoshf): Likewise.
16677         * math/s_ccoshl.c (__ccoshl): Likewise.
16678         * math/s_cexp.c (__cexp): Likewise.
16679         * math/s_cexpf.c (__cexpf): Likewise.
16680         * math/s_cexpl.c (__cexpl): Likewise.
16681         * math/s_csin.c (__csin): Likewise.
16682         * math/s_csinf.c (__csinf): Likewise.
16683         * math/s_csinh.c (__csinh): Likewise.
16684         * math/s_csinhf.c (__csinhf): Likewise.
16685         * math/s_csinhl.c (__csinhl): Likewise.
16686         * math/s_csinl.c (__csinl): Likewise.
16687         * math/s_ctan.c (__ctan): Likewise.
16688         * math/s_ctanf.c (__ctanf): Likewise.
16689         * math/s_ctanh.c (__ctanh): Likewise.
16690         * math/s_ctanhf.c (__ctanhf): Likewise.
16691         * math/s_ctanhl.c (__ctanhl): Likewise.
16692         * math/s_ctanl.c (__ctanl): Likewise.
16693         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16694         csin, csinh, ctan and ctanh.
16695         * math/auto-libm-test-out: Regenerated.
16696         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16697         * sysdeps/i386/fpu/libm-test-ulps: Update.
16698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16700 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16702         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16703         return value is wrong, print the expected value too.
16705 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16707         [BZ #18585]
16708         * elf/readlib.c (is_gdb_python_file): New.
16709         (process_file): Don't issue errors on filenames with -gdb.py
16710         suffix.
16712 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16714         * math/auto-libm-test-in: Add more tests of csin and csinh.
16715         * math/auto-libm-test-out: Regenerated.
16716         * math/libm-test.inc (csin_test_data): Remove tests moved to
16717         auto-libm-test-in.
16718         (csinh_test_data): Likewise.
16720         [BZ #18593]
16721         * math/s_csin.c (__csin): Negate before rather than after possibly
16722         overflowing multiplication.
16723         * math/s_csinf.c (__csinf): Likewise.
16724         * math/s_csinh.c (__csinh): Likewise.
16725         * math/s_csinhf.c (__csinhf): Likewise.
16726         * math/s_csinhl.c (__csinhl): Likewise.
16727         * math/s_csinl.c (__csinl): Likewise.
16728         * math/auto-libm-test-in: Add some tests of csin and csinh.
16729         * math/auto-libm-test-out: Regenerated.
16730         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16731         (csinh_test_data): Likewise.
16732         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16734         [BZ #18586]
16735         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16736         underflow exception for small results.
16738 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16740         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16741         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16742         variable and included header.
16743         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16744         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16745         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16746         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16747         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16748         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16749         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16750         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16751         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16752         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16753         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16754         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16755         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16756         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16757         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16758         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16760 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16762         [BZ #16526]
16763         [BZ #16538]
16764         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16765         (__sin): Force underflow exception for arguments with small
16766         absolute value.
16767         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16768         (__kernel_sinf): Force underflow exception for arguments with
16769         small absolute value.
16770         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16771         (__kernel_sincosl): Force underflow exception for arguments with
16772         small absolute value.
16773         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16774         (__kernel_sinl): Force underflow exception for arguments with
16775         small absolute value.
16776         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16777         (__kernel_sincosl): Force underflow exception for arguments with
16778         small absolute value.
16779         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16780         (__kernel_sinl): Force underflow exception for arguments with
16781         small absolute value.
16782         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16783         (__kernel_sinl): Force underflow exception for arguments with
16784         small absolute value.
16785         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16786         (__kernel_sinf): Force underflow exception for arguments with
16787         small absolute value.
16788         * math/auto-libm-test-in: Add more tests of sin and sincos.
16789         * math/auto-libm-test-out: Regenerated.
16791         [BZ #18245]
16792         [BZ #18583]
16793         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16794         (__kernel_standard_l): Use feholdexcept and fesetenv around
16795         conversion to double instead of special-casing overflow and
16796         underflow.
16797         * math/libm-test.inc (fmod_test_data): Add more tests.
16798         (remainder_test_data): Likewise.
16799         (sqrt_test_data): Likewise.
16801 2015-06-23  Torvald Riegel  <triegel@redhat.com>
16803         [BZ #17403]
16804         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16805         atomic_read_barrier, atomic_write_barrier): Define.
16806         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16807         atomic_read_barrier, atomic_write_barrier): Define.
16809 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16811         * math/Makefile [$(PERL) != no]
16812         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16813         dependency on libm-test.stmp below the inclusion of Rules.
16815 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
16817         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16818         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16819         and included header.
16820         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16821         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16822         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16823         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16824         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16825         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16826         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16827         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16828         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16829         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16830         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16831         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16832         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16833         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16834         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16835         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16836         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16837         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16838         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16840 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16842         [BZ #18371]
16843         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16844         intermediate but not final result might underflow.
16845         * math/s_csqrtf.c (__csqrtf): Likewise.
16846         * math/s_csqrtl.c (__csqrtl): Likewise.
16847         * math/auto-libm-test-in: Add more tests of csqrt.
16848         * math/auto-libm-test-out: Regenerated.
16849         * sysdeps/i386/fpu/libm-test-ulps: Update.
16851         [BZ #18219]
16852         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16853         threshold on absolute value of exponent for which scaling is used.
16854         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16855         * math/auto-libm-test-in: Add more tests of exp2.
16856         * math/auto-libm-test-out: Regenerated.
16858 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
16860         [BZ #17977]
16861         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16862         when initializing interface list, based on the bug analysis
16863         and the patch proposed by Eric Newton.
16864         * resolv/tst-res_hconf_reorder.c: New test.
16865         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16866         tst-res_hconf_reorder.
16867         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16868         and $(shared-thread-library).
16869         (tst-res_hconf_reorder-ENV): New variable.
16871         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16872         in comment.
16874 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
16876         [BZ #16353]
16877         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16878         (__expm1): Force underflow exception for arguments with small
16879         absolute value.
16880         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16881         (__expm1f): Force underflow exception for arguments with small
16882         absolute value.
16883         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16884         (__expm1): Force underflow exception for arguments with small
16885         absolute value.
16886         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16887         (__expm1f): Force underflow exception for arguments with small
16888         absolute value.
16889         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16890         Check for small arguments before calling __expm1.
16891         * math/auto-libm-test-in: Do not mark underflow exceptions as
16892         possibly missing for bug 16353.
16893         * math/auto-libm-test-out: Regenerated.
16895 2015-06-22  Andreas Schwab  <schwab@suse.de>
16897         [BZ #18513]
16898         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16899         PTR queries.
16901 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
16903         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16905         * string/strcoll_l.c: Remove unused struct element idxnow.
16907 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
16909         [BZ #18569]
16910         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16911         underflow and return argument in case of subnormal argument.
16912         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16913         Likewise.
16914         * math/auto-libm-test-in: Add more tests of expm1.
16915         * math/auto-libm-test-out: Regenerated.
16917         [BZ #16361]
16918         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16919         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16920         tiny results.
16921         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16922         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16923         tiny results.
16924         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
16925         mark underflow exceptions as possibly missing for bug 16361.
16926         * math/auto-libm-test-out: Regenerated.
16928 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
16930         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16931         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16932         Remove variable.
16933         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16934         (test-xfail-XOPEN2K8/utmpx.h/conform).
16936         * conform/conformtest.pl ($xerrors): New variable.
16937         (note_error): New function.
16938         (compiletest): New argument $xfail.  Use not_error.
16939         (runtest): Likewise.
16940         (top level): Handle xfail- lines.  Update calls to compiletest and
16941         runtest.  Handle xfail- and optional- in headers listed with
16942         allow-header.
16943         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16944         (O_EXEC): Likewise.
16945         (O_SEARCH): Likewise.
16946         * conform/data/stropts.h-data (ioctl): Likewise.
16947         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16948         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16949         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16950         (msghdr.msg_controllen): Likewise.
16951         (cmsghdr.cmsg_len): Likewise.
16952         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16953         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16954         variable.
16955         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16956         (test-xfail-XPG4/stropts.h/conform): Likewise.
16957         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16958         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16959         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16960         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16961         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16962         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16963         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16964         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16965         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16966         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16967         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16968         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16969         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16970         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16971         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16972         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16973         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16974         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16975         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16977 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16979         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16980         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16981         definitions for proper unfolding of __MATHDECL_VEC.
16983 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16985         * benchtests/bench-strcoll.c:
16986         Include string.h.
16987         (main): Remove unused variable res.
16989 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16991         * timezone/Makefile (%/UTC %/Universal):
16992         Generate test-result files for UTC and Universal.
16994 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16996         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16998 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
17000         [BZ #16350]
17001         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
17002         for arguments with small absolute value.
17003         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
17004         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
17005         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
17006         (__asinh): Force underflow exception for arguments with small
17007         absolute value.
17008         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
17009         (__asinhf): Force underflow exception for arguments with small
17010         absolute value.
17011         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
17012         (__asinhl): Force underflow exception for arguments with small
17013         absolute value.
17014         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
17015         (__asinhl): Force underflow exception for arguments with small
17016         absolute value.
17017         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
17018         (__asinhl): Force underflow exception for arguments with small
17019         absolute value.
17020         * math/auto-libm-test-in: Do not mark underflow exceptions as
17021         possibly missing for bug 16350.
17022         * math/auto-libm-test-out: Regenerated.
17024         * include/bits/ipc.h: Remove file.
17025         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
17026         variable.
17027         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17028         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17029         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17030         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17031         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17032         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17033         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17034         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17035         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17037         * math/auto-libm-test-in: Remove spurious underflow allowance for
17038         tests of cexp.
17039         * math/auto-libm-test-out: Regenerated.
17041         [BZ #18558]
17042         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
17043         unconditional definition.
17044         (MCAST_BLOCK_SOURCE): Likewise.
17045         (MCAST_UNBLOCK_SOURCE): Likewise.
17046         (MCAST_LEAVE_GROUP): Likewise.
17047         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17048         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17049         (MCAST_MSFILTER): Likewise.
17050         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
17051         Remove variable.
17052         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17053         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17054         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17055         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17056         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17058 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
17060         * NEWS: Mention addition of x86_64 vector sincosf.
17061         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
17062         * math/test-float-vlen4.h: Likewise.
17063         * math/test-float-vlen8.h: Likewise.
17064         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17065         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
17066         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17067         * sysdeps/x86_64/fpu/Versions: New versions added.
17068         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17069         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17070         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17071         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
17072         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17073         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
17074         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17075         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
17076         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17077         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
17078         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
17079         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
17080         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
17081         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
17082         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
17083         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
17084         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
17085         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17086         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17087         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17088         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17089         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17090         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17091         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17093         * NEWS: Mention addition of x86_64 vector sincos.
17094         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
17095         * math/math.h (__MATHDECL_VEC): New macro.
17096         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
17097         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
17098         declaration under condition.
17099         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
17100         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
17101         TEST_VEC_LOOP change.
17102         * math/test-double-vlen4.h: Likewise.
17103         * math/test-double-vlen8.h: Likewise.
17104         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
17105         * math/test-float-vlen4.h: Likewise.
17106         * math/test-float-vlen8.h: Likewise.
17107         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17108         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
17109         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17110         * sysdeps/x86_64/fpu/Versions: New versions added.
17111         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17112         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17113         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17114         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
17115         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
17116         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
17117         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
17118         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
17119         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
17120         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
17121         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
17122         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
17123         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
17124         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
17125         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
17126         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
17127         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
17128         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17129         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17130         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17131         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17132         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17133         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17134         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17136         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17137         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17138         redirections for powf.
17139         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17140         * sysdeps/x86_64/fpu/Versions: New versions added.
17141         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17142         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17143         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17144         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
17145         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
17146         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
17147         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
17148         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
17149         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
17150         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
17151         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
17152         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
17153         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
17154         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
17155         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
17156         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
17157         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
17158         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17159         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17160         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17161         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17162         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17163         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17164         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17165         * math/test-float-vlen16.h: Fixed 2 argument macro.
17166         * math/test-float-vlen4.h: Likewise.
17167         * math/test-float-vlen8.h: Likewise.
17168         * NEWS: Mention addition of x86_64 vector powf.
17170 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
17172         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17173         and redefine.
17174         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17175         and redefine.
17176         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
17177         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17178         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17180         [BZ #18553]
17181         * resource/getpriority.c (getpriority): Rename to __getpriority
17182         and define as weak alias of __getpriority.
17183         * resource/setpriority.c (setpriority): Rename to __setpriority
17184         and define as weak alias of __setpriority.
17185         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
17186         __getpriority and define as weak alias of __getpriority.
17187         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
17188         __setpriority and define as weak alias of __setpriority.
17189         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
17190         strong name.
17191         (setpriority): Use __setpriority as strong name.
17192         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
17193         __getpriority and define as weak alias of __getpriority.
17194         * include/sys/resource.h (__getpriority): Declare.  Use
17195         libc_hidden_proto.
17196         (__setpriority): Likewise.
17197         (getpriority): Don't use libc_hidden_proto.
17198         (setpriority): Likewise.
17199         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
17200         getpriority.  Call __setpriority instead of setpriority.
17201         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
17202         Remove variable.
17204         [BZ #18547]
17205         * misc/getttyent.c (getttynam): Rename to __getttynam and define
17206         as weak alias of __getttynam.  Use prototype function definition.
17207         Call __setttyent, __getttyent and __endttyent instead of
17208         setttyent, getttyent and endttyent.
17209         (getttyent): Rename to __getttyent and define as weak alias of
17210         __getttyent.  Call __setttyent instead of setttyent.  Call
17211         __fgets_unlocked instead of fgets_unlocked.
17212         (setttyent): Rename to __setttyent and define as weak alias of
17213         __setttyent.
17214         (endttyent): Rename to __endttyent and define as weak alias of
17215         __endttyent.
17216         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
17217         (__setttyent): Likewise.
17218         (__endttyent): Likewise.
17219         (getttyent): Don't use libc_hidden_proto.
17220         (setttyent): Likewise.
17221         (endttyent): Likewise.
17222         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
17223         __endttyent instead of setttyent, getttyent and endttyent.
17224         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
17225         Remove variable.
17227         [BZ #18546]
17228         * socket/recv.c (__recv): Use libc_hidden_def.
17229         * socket/socket.c (__socket): Likewise.
17230         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17231         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17232         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
17233         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
17234         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
17235         libc_hidden_def.
17236         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
17237         libc_hidden_weak.
17238         * include/sys/socket.h (__socket): Do not use attribute_hidden.
17239         Use libc_hidden_proto.
17240         (__recv): Likewise.
17241         * socket/Versions (libc): Export __recv and __socket at version
17242         GLIBC_PRIVATE.
17243         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
17244         instead of recv.
17245         (init_mq_netlink): Call __socket instead of socket.
17246         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
17247         Remove variable.
17249         [BZ #18545]
17250         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
17251         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
17252         hidden_weak.
17253         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
17254         define as alias of __mq_timedsend.  Use hidden_weak.
17255         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
17256         __mq_timedsend as strong name.
17257         (mq_timedreceive): Use __mq_timedreceive as strong name.
17258         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
17259         (__mq_timedreceive): Likewise.
17260         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
17261         __mq_timedreceive instead of mq_timedreceive.
17262         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
17263         instead of mq_timedsend.
17264         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
17265         Remove variable.
17267         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
17268         hidden_def and hidden_weak instead of libc_hidden_def and
17269         libc_hidden_weak.
17270         (top level): Refer to hidden_def in comment.
17271         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
17272         macro.  Use it instead of libc_hidden_def.
17273         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
17274         specify __GI_* name explicitly.
17275         (mq_timedreceive): Likewise.
17276         (mq_setattr): Likewise.
17278         [BZ #18544]
17279         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
17280         __pthread_barrier_init and define as weak alias of
17281         __pthread_barrier_init.
17282         * sysdeps/sparc/nptl/pthread_barrier_init.c
17283         (pthread_barrier_init): Likewise.
17284         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
17285         __pthread_barrier_wait and define as weak alias of
17286         __pthread_barrier_wait.
17287         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17288         (pthread_barrier_wait): Likewise.
17289         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17290         (pthread_barrier_wait): Likewise.
17291         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
17292         (pthread_barrier_wait): Likewise.
17293         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
17294         (pthread_barrier_wait): Likewise.
17295         * nptl/Versions (libpthread): Export __pthread_barrier_init and
17296         __pthread_barrier_wait at version GLIBC_PRIVATE.
17297         * include/pthread.h (__pthread_barrier_init): Declare.
17298         (__pthread_barrier_wait): Likewise.
17299         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
17300         Call __pthread_barrier_wait instead of pthread_barrier_wait.
17301         (helper_thread): Likewise.
17302         (init_mq_netlink): Call __pthread_barrier_init instead of
17303         pthread_barrier_init.
17305         [BZ #18542]
17306         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
17307         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
17308         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
17309         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
17310         vswscanf.
17311         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
17312         Remove variable.
17314         [BZ #18540]
17315         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
17316         strong alias of _IO_fflush.  Use libc_hidden_def.
17317         * libio/iofflush_u.c (fflush_unlocked): Rename to
17318         __fflush_unlocked and define as weak alias of __fflush_unlocked.
17319         Use libc_hidden_weak.
17320         * include/stdio.h (__fflush_unlocked): Declare.  Use
17321         libc_hidden_proto.
17322         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
17323         fflush_unlocked.
17324         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
17325         Remove variable.
17327         [BZ #18539]
17328         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
17329         define as weak alias of __addseverity.
17330         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
17331         Remove variable.
17332         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17333         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17334         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17336         [BZ #18536]
17337         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
17338         (__tfind): Likewise.
17339         (__tdelete): Likewise.
17340         (__twalk): Likewise.
17341         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
17342         __twalk to GLIBC_PRIVATE.
17343         * include/search.h (__tsearch): Use libc_hidden_proto.
17344         (__tfind): Likewise.
17345         (__tdelete): Likewise.
17346         (__twalk): Likewise.
17347         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
17348         Call __tdelete instead of tdelete.
17349         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
17350         tfind.  Call __tsearch instead of tsearch.
17351         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
17352         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
17353         Remove variable.
17354         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17356         [BZ #18534]
17357         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
17358         (dprintf): Define as a weak alias of __dprintf, not a strong
17359         alias.
17360         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
17361         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
17362         dprintf.
17363         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
17364         Remove variable.
17365         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17366         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17368         [BZ #18533]
17369         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
17370         not a strong alias.
17371         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
17372         Remove variable.
17374         [BZ #18532]
17375         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
17376         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
17377         (in6addr_loopback): Rename to __in6addr_loopback and define as
17378         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
17379         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
17380         libc_hidden_proto.
17381         (__in6addr_any): Likewise.
17382         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
17383         in6addr_any.
17384         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
17385         variable.
17386         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17388 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17390         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
17391         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
17392         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17393         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17394         redirections for pow.
17395         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17396         * sysdeps/x86_64/fpu/Versions: New versions added.
17397         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17398         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17399         build of SSE, AVX2 and AVX512 IFUNC versions.
17400         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
17401         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
17402         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
17403         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
17404         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
17405         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
17406         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
17407         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
17408         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
17409         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
17410         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
17411         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
17412         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
17413         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
17414         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17415         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17416         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17417         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17418         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17419         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17420         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17421         * NEWS: Mention addition of x86_64 vector pow.
17423         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17424         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17425         redirections for expf.
17426         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17427         * sysdeps/x86_64/fpu/Versions: New versions added.
17428         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17429         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17430         build of SSE, AVX2 and AVX512 IFUNC versions.
17431         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
17432         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
17433         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
17434         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
17435         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
17436         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
17437         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
17438         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
17439         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
17440         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
17441         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
17442         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
17443         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
17444         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17445         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17446         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17447         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17448         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17449         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17450         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17451         * NEWS: Mention addition of x86_64 vector expf.
17453         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
17454         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
17455         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17456         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17457         redirections for exp.
17458         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17459         * sysdeps/x86_64/fpu/Versions: New versions added.
17460         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17461         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17462         build of SSE, AVX2 and AVX512 IFUNC versions.
17463         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
17464         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
17465         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
17466         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
17467         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
17468         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
17469         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
17470         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
17471         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
17472         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
17473         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
17474         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
17475         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
17476         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17477         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17478         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17479         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17480         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17481         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17482         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17483         * NEWS: Mention addition of x86_64 vector exp.
17485         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17486         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17487         redirections for logf.
17488         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17489         * sysdeps/x86_64/fpu/Versions: New versions added.
17490         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17491         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17492         build of SSE, AVX2 and AVX512 IFUNC versions.
17493         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
17494         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
17495         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
17496         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
17497         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
17498         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
17499         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
17500         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
17501         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
17502         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
17503         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
17504         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
17505         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
17506         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17507         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17508         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17509         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17510         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17511         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17512         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17513         * NEWS: Mention addition of x86_64 vector logf.
17515         * bits/libm-simd-decl-stubs.h: Added stubs for log.
17516         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
17517         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17518         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17519         redirections for log.
17520         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17521         * sysdeps/x86_64/fpu/Versions: New versions added.
17522         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17523         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17524         build of SSE, AVX2 and AVX512 IFUNC versions.
17525         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
17526         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
17527         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
17528         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
17529         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
17530         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
17531         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
17532         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
17533         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
17534         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
17535         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
17536         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
17537         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
17538         test.
17539         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17540         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17541         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17542         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17543         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17544         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17545         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17546         * NEWS: Mention addition of x86_64 vector log.
17548 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17550         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
17551         cfi_adjust_cfa_offset argument.
17552         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
17553         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17555         [BZ #18034]
17556         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
17557         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
17558         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
17559         ordering using ldar.
17560         (_dl_tlsdesc_dynamic): Likewise.
17561         (_dl_tlsdesc_return_lazy): Likewise.
17562         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
17563         relaxed atomics instead of volatile and synchronize with release store.
17564         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
17565         volatile.
17566         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17568 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
17570         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17571         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
17572         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17573         * sysdeps/x86_64/fpu/Versions: New versions added.
17574         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17575         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17576         build of SSE, AVX2 and AVX512 IFUNC versions.
17577         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
17578         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
17579         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
17580         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
17581         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
17582         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
17583         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
17584         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
17585         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
17586         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
17587         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
17588         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
17589         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
17590         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17591         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17592         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17593         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17594         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17595         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17596         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17597         * NEWS: Mention addition of x86_64 vector sinf.
17599 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
17601         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
17602         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
17603         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
17604         Remove variable.
17605         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17606         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17608 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17610         [BZ #18530]
17611         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
17612         strong alias of _IO_fputs.  Use libc_hidden_def.
17613         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
17614         and define as weak alias of __fputs_unlocked.  Use
17615         libc_hidden_weak.
17616         * include/stdio.h (__fputs_unlocked): Declare.  Use
17617         libc_hidden_proto.
17618         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
17619         fputs_unlocked.
17621         [BZ #18529]
17622         * resolv/netdb.h [__USE_POSIX]: Change condition to
17623         [__USE_XOPEN2K].
17624         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
17625         not expect.
17626         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
17627         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
17628         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
17629         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
17630         [XPG4 || UNIX98] (AI_ALL): Likewise.
17631         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
17632         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
17633         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
17634         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
17635         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
17636         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
17637         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
17638         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
17639         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
17640         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
17641         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
17642         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
17643         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
17644         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
17645         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
17646         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17647         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17648         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
17649         [XPG4 || UNIX98] (gai_strerror): Likewise.
17650         [XPG4 || UNIX98] (getaddrinfo): Likewise.
17651         [XPG4 || UNIX98] (getnameinfo): Likewise.
17653         [BZ #18528]
17654         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
17655         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
17656         __USE_XOPEN2K8].
17657         (getgrent): Likewise.
17658         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
17659         expect.
17660         [XPG3 || POSIX2008] (endgrent): Likewise.
17661         [XPG3] (setgrent): Likewise.
17662         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
17663         variable.
17664         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17666         [BZ #18527]
17667         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
17668         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
17669         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
17670         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
17671         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
17672         * include/unistd.h (__getlogin_r): Declare.  Use
17673         libc_hidden_proto.
17674         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17675         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17676         variable.
17677         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17678         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17679         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17681 2015-06-12  Martin Sebor  <msebor@redhat.com>
17683         [BZ #18512]
17684         * Makerules (check-install-supported): New target.
17685         (install): Add check-install-supported as a dependency.
17686         * manual/install.texi (Installing the C Library): Document
17687         that overriding prefix and exec_prefix is not supported.
17688         Mention DESTDIR.
17689         * INSTALL: Regenerate from the above.
17691 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17693         [BZ #18519]
17694         * posix/Versions (libc): Export __libc_pread at version
17695         GLIBC_PRIVATE.
17696         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17697         instead of pread.
17698         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17699         variable.
17701         [BZ #18522]
17702         * misc/efgcvt_r.c
17703         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17704         (cvt_symbol): Use weak_alias instead of strong_alias.
17705         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17706         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17707         Remove variable.
17708         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17709         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17711         [BZ #18520]
17712         * inet/herrno.c (h_errno): Rename to __h_errno.
17713         (__libc_h_errno): Define as alias of __h_errno not h_errno.
17714         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17715         to __h_errno instead of h_errno.
17716         * nptl/herrno.c (h_errno): Rename to __h_errno.
17717         (__h_errno_location): Refer to __h_errno not h_errno.
17718         * resolv/Versions (h_errno): Rename to __h_errno.
17719         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17720         Remove variable.
17721         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17723 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
17725         * configure.ac: More strict check for AVX512 assembler support.
17726         * configure: Regenerated.
17728         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17729         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17730         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17731         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17732         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17733         * sysdeps/x86_64/fpu/Versions: New versions added.
17734         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17735         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17736         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17737         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17738         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17739         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17740         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17741         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17742         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17743         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17744         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17745         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17746         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17747         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17748         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17749         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17750         test.
17751         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17752         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17753         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17754         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17755         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17756         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17757         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17758         * NEWS: Mention addition of x86_64 vector sin.
17760 2015-06-11  Florian Weimer  <fweimer@redhat.com>
17762         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17763         comment.
17765 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17767         [BZ #18479]
17768         * nptl/pt-interp.c: New file.
17769         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17770         Add pt-interp.
17771         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17772         $(common-objpfx)runtime-linker.h.
17774 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
17776         * Makeconfig (+interp): Remove unused variable.
17777         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17778         only.  Depend on $(common-objpfx)runtime-linker.h instead of
17779         $(elf-objpfx)runtime-linker.h.
17780         ($(elf-objpfx)runtime-linker.h): Rename to
17781         $(common-objpfx)runtime-linker.h and move ...
17782         * Makerules [$(build-shared) = yes]: ... here.
17783         * elf/interp.c: Include <runtime-linker.h> instead of
17784         <elf/runtime-linker.h>.
17786 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17788         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17789         (__gettimeofday_syscall): Remove vsyscall fallback.
17790         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17791         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17792         Add syscall fallback function.
17793         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17794         if vDSO is not present.
17795         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17796         fallback function.
17797         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17798         present.
17799         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17800         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17802 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
17804         [BZ #18497]
17805         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17806         of wcscmp.
17807         (wcscmp): Define as weak alias of WCSCMP.
17808         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17809         wcscoll.
17810         (USE_HIDDEN_DEF): Define.
17811         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17812         __wcscoll.  Don't use libc_hidden_weak.
17813         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17814         wcscmp.
17815         * sysdeps/i386/i686/multiarch/wcscmp-c.c
17816         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17817         __GI_wcscmp.
17818         (weak_alias): Undefine and redefine.
17819         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17820         __wcscmp and define as weak alias of __wcscmp.
17821         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17822         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
17823         (__wcscoll): Likewise.
17824         (wcscmp): Don't use libc_hidden_proto.
17825         (wcscoll): Likewise.
17826         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17827         wcscoll.
17828         * posix/regexec.c (check_node_accept_bytes): Likewise.
17829         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17830         variable.
17831         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17832         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17834         [BZ #18507]
17835         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17836         __fstatvfs and define as weak alias of __fstatvfs.  Use
17837         libc_hidden_weak.
17838         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17839         and define as weak alias of __statvfs.  Use libc_hidden_weak.
17840         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17841         Define as alias of __fstatvfs, not fstatvfs.
17842         (fstatvfs64): Likewise.
17843         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17844         Define as alias of __statvfs, not statvfs.
17845         (statvfs64): Likewise.
17846         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17847         Remove variable.
17849 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17852         (HAVE_GETCPU_VSYSCALL): Define.
17853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17854         (HAVE_GETCPU_VSYSCALL): Likewise.
17855         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17856         * sysdeps/unix/sysv/linux/sched_getcpu.c
17857         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17858         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17859         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17860         prototype.
17861         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17862         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17863         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17864         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17865         Define.
17866         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17867         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17868         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17869         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17871 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
17873         * sysdeps/x86_64/fpu/Makefile: New file.
17874         * sysdeps/x86_64/fpu/Versions: New file.
17875         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17876         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17877         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17878         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17879         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17880         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17881         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17882         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17883         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17884         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17885         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17886         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17887         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17888         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17889         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17890         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17891         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17892         * sysdeps/x86_64/configure.ac: Options for libmvec build.
17893         * sysdeps/x86_64/configure: Regenerated.
17894         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17895         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17896         * manual/install.texi (Configuring and compiling): Document
17897         --disable-mathvec.
17898         * INSTALL: Regenerated.
17899         * NEWS: Mention addition of libmvec and x86_64 vector cos.
17901         * math/Makefile: Added rules for vector tests.
17902         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17903         declaration under condition.
17904         * math/test-double-vlen2.h: New file.
17905         * math/test-double-vlen4.h: New file.
17906         * math/test-double-vlen8.h: New file.
17907         * math/test-vec-loop.h: Added initialization macro.
17908         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17909         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17910         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17911         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17912         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17913         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17914         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17915         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17916         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17917         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17918         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17920         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17921         * sysdeps/x86_64/fpu/Versions: New versions added.
17922         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17923         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17924         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17925         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17926         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17927         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17928         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17929         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17930         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17931         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17932         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17933         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17934         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17935         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17936         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17937         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17938         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17939         * NEWS: Mention addition of x86_64 vector cosf.
17941         * math/Makefile: Added CFLAGS for new tests.
17942         * math/test-float-vlen16.h: New file.
17943         * math/test-float-vlen4.h: New file.
17944         * math/test-float-vlen8.h: New file.
17945         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17946         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17947         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17948         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17949         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17950         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17951         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17952         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17953         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17954         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17955         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17957 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
17959         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17960         * locale/programs/ld-ctype.c: Likewise.
17962 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
17964         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17965         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17966         bit_ZMM16_31_state): New macro.
17967         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17968         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17970 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
17972         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17974 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
17976         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17978 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
17980         [BZ #18498]
17981         * libio/memstream.c (open_memstream): Rename to __open_memstream
17982         and define as weak alias of __open_memstream.
17983         * include/stdio.h (__open_memstream): Declare.  Use
17984         libc_hidden_proto.
17985         (open_memstream): Don't use libc_hidden_proto.
17986         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17987         open_memstream.
17988         * posix/getopt.c (_getopt_internal_r): Likewise.
17989         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17990         variable.
17991         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17992         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17993         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17995         [BZ #18496]
17996         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17997         instead of wcrtomb.
17999         [BZ #18483]
18000         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
18001         [__USE_XOPEN2K8].  Remove redundant #endif.
18002         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
18003         Remove redundant #if.
18004         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
18005         Remove variable.
18006         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18007         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18009         [BZ #18495]
18010         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
18011         (__iswlower): Likewise.
18012         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
18013         (__iswlower): Likewise.
18014         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
18015         instead of towlower.
18016         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
18017         instead of iswlower.  Call __towupper instead of towupper.
18018         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
18019         instead of iswalnum.
18021 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18023         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
18024         errors to stderr.
18026 2015-06-05  Florian Weimer  <fweimer@redhat.com>
18028         [BZ #15661]
18029         [BZ #17322]
18030         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18031         Check for overflow properly.  Check for O_APPEND.  Ignore large
18032         file system block sizes.  Add comments about problems.
18033         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
18034         * manual/filesys.texi (Storage Allocation): New node.
18036 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18038         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
18039         cancellable syscalls.
18040         (SYS_ify): Add guard to no redefine it.
18041         (INLINE_SYSCALL): Likewise.
18042         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
18043         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
18044         SYSCALL_CANCEL instead.
18045         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
18046         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18047         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18048         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18049         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18050         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
18051         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
18052         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
18053         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18054         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18055         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
18056         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
18057         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
18058         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
18059         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
18060         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18061         Likewise.
18062         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18063         (__libc_pread64): Likewise.
18064         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
18065         (__libc_preadv): Likewise.
18066         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
18067         (__libc_readv64): Likewise.
18068         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18069         (__libc_pwrite): Likewise.
18070         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18071         (__libc_pwrite64): Likewise.
18072         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
18073         (__libc_pwritev): Likewise.
18074         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
18075         (__libc_pwritev64): Likewise.
18076         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
18077         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18078         (sync_file_range): Likewise.
18079         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
18080         Likewise.
18081         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
18082         Likewise.
18083         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18084         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18085         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18086         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18087         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18088         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18089         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18090         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
18091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18092         Likewise.
18093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18094         (__libc_read64): Likewise.
18095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
18096         Likewise.
18097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
18098         Likewise.
18099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
18100         Likewise.
18101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
18102         Likewise.
18103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18104         (__libc_pread64): Likewise.
18105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
18106         Likewise.
18107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18108         (__libc_pwrite64): Likewise.
18109         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
18110         (sync_file_range): Likewise.
18111         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
18112         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18113         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18114         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
18115         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
18116         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18117         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18118         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
18119         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
18120         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18121         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18122         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18123         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18124         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18125         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
18126         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18127         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18128         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18129         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18130         Likewise.
18131         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
18132         Likewise.
18133         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
18134         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
18135         Likewise.
18136         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
18137         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
18138         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
18139         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
18140         Likewise.
18141         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
18142         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
18143         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
18144         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
18145         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
18147 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
18149         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
18150         Include dl-vdso.
18151         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
18152         Use VDSO routines for gettimeofday, clock_gettime if
18153         available.
18154         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
18155         Declare VDSO symbols.
18156         * sysdeps/unix/sysv/linux/arm/sysdep.h:
18157         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
18158         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18159         * sysdeps/unix/sysv/linux/arm/Versions: Add
18160         __vdso_clock_gettime.
18162 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18164         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
18165         be an inline implementation regardless of library is built within.
18166         (open_not_cancel_2): Likewise.
18167         (__read_nocancel): Likewise.
18168         (__write_nocancel): Likewise.
18169         (openat_not_cancel): Likewise.
18170         (openat_not_cancel_3): Likewise.
18171         (openat64_not_cancel): Likewise.
18172         (openat64_not_cancel_3): Likewise.
18173         (__close_nocancel): Likewise.
18174         (pause_not_cancel): Likewise.
18175         (nanosleep_not_cancel): Likewise.
18176         (sigsuspend_not_cancel): Likewise.
18178 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18180         [BZ #14958]
18181         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
18182         wake-up.
18183         (__pthread_rwlock_rdlock_slow): Likewise.
18184         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18185         Likewise.
18186         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18187         Likewise.
18188         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
18189         * nptl/tst-rwlock16.c: New file.
18190         * nptl/Makefile (tests): Add new test.
18192 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18194         [BZ #18324]
18195         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
18196         missing wake-up of readers.
18197         * nptl/tst-rwlock15.c: New file.
18198         * nptl/Makefile (tests): Add new test.
18200 2015-06-03  Roland McGrath  <roland@hack.frob.com>
18202         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
18203         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
18204         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
18205         and __nacl_supply_interface_rtld.
18206         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
18207         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
18208         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
18209         Add __nacl_supply_interface_rtld.
18210         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
18212 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18214         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
18215         isfinite.
18216         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18217         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
18219 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18221         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
18222         __signbit* with standard C99 macros.
18223         * math/e_exp10l.c: Likewise.
18224         * math/e_exp2l.c: Likewise.
18225         * math/e_scalb.c: Likewise.
18226         * math/e_scalbf.c: Likewise.
18227         * math/e_scalbl.c: Likewise.
18228         * math/s_ldexp.c: Likewise.
18229         * math/s_ldexpf.c: Likewise.
18230         * math/s_ldexpl.c: Likewise.
18231         * math/w_atan2.c: Likewise.
18232         * math/w_atan2f.c: Likewise.
18233         * math/w_atan2l.c: Likewise.
18234         * math/w_cosh.c: Likewise.
18235         * math/w_coshf.c: Likewise.
18236         * math/w_coshl.c: Likewise.
18237         * math/w_exp10.c: Likewise.
18238         * math/w_exp10f.c: Likewise.
18239         * math/w_exp10l.c: Likewise.
18240         * math/w_exp2.c: Likewise.
18241         * math/w_exp2f.c: Likewise.
18242         * math/w_exp2l.c: Likewise.
18243         * math/w_fmod.c: Likewise.
18244         * math/w_fmodf.c: Likewise.
18245         * math/w_fmodl.c: Likewise.
18246         * math/w_hypot.c: Likewise.
18247         * math/w_hypotf.c: Likewise.
18248         * math/w_hypotl.c: Likewise.
18249         * math/w_jnl.c: Likewise.
18250         * math/w_lgamma.c: Likewise.
18251         * math/w_lgamma_r.c: Likewise.
18252         * math/w_lgammaf.c: Likewise.
18253         * math/w_lgammaf_r.c: Likewise.
18254         * math/w_lgammal.c: Likewise.
18255         * math/w_lgammal_r.c: Likewise.
18256         * math/w_pow.c: Likewise.
18257         * math/w_powf.c: Likewise.
18258         * math/w_powl.c: Likewise.
18259         * math/w_remainder.c: Likewise.
18260         * math/w_remainderf.c: Likewise.
18261         * math/w_remainderl.c: Likewise.
18262         * math/w_scalb.c: Likewise.
18263         * math/w_scalbf.c: Likewise.
18264         * math/w_scalbl.c: Likewise.
18265         * math/w_scalbln.c: Likewise.
18266         * math/w_scalblnf.c: Likewise.
18267         * math/w_scalblnl.c: Likewise.
18268         * math/w_sinh.c: Likewise.
18269         * math/w_sinhf.c: Likewise.
18270         * math/w_sinhl.c: Likewise.
18271         * math/w_tgamma.c: Likewise.
18272         * math/w_tgammaf.c: Likewise.
18273         * math/w_tgammal.c: Likewise.
18274         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18275         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
18276         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18277         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18278         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18279         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18280         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18281         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18282         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18283         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18284         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18285         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18286         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18287         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18288         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18289         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18290         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18291         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18292         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18293         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18294         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18295         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18296         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18297         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18298         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18299         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18300         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
18301         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18302         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18303         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18304         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
18305         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
18306         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
18307         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
18308         * stdio-common/printf_fp.c: Likewise.
18309         * stdio-common/printf_fphex.c: Likewise.
18310         * stdio-common/printf_size.c: Likewise.
18312 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
18314         [BZ #18470]
18315         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
18316         strnlen.
18317         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
18318         Remove variable.
18319         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18320         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18321         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18322         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18323         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18324         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18325         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18326         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18327         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18328         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18330         [BZ #18468]
18331         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
18332         weak alias of __wmemchr.  Use libc_hidden_weak.
18333         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
18334         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
18335         instead of wmemchr.
18337 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18339         [BZ #18383]
18340         * elf/tst-tlsalign-extern.c: New file.
18341         * elf/tst-tlsalign-extern-static.c: New file.
18342         * elf/tst-tlsalign-vars.c: New file.
18343         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
18344         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
18345         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
18346         ($(objpfx)tst-tlsalign-extern-static): Likewise.
18347         (test-xfail-tst-tlsalign-extern-static): New variable.
18349 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
18351         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
18352         Use variable name _sc_err instead of err.
18353         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
18354         instead of ret.
18355         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
18356         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
18357         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
18358         (INLINE_SYSCALL): Likewise.
18360         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
18361         * include/string.h (__strnlen): Use libc_hidden_proto.
18362         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
18363         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
18364         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
18365         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
18366         (libc_hidden_def): Undefine and redefine.
18367         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
18368         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
18369         __GI_strnlen.
18370         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
18371         libc_hidden_def.
18372         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
18374         [BZ #18469]
18375         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
18376         weak alias of __towlower.  Use libc_hidden_weak.
18377         (towupper): Rename to __towupper and define as weak alias of
18378         __towupper.  Use libc_hidden_weak.
18379         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
18380         (__towupper): Likewise.
18381         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
18382         __towlower instead of towlower.
18384 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18386         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
18387         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
18389 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18391         * sysdeps/aarch64/libm-test-ulps: Update.
18393 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18395         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
18396         Define.
18397         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18398         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18399         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18400         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18401         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
18402         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
18403         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
18405 2015-06-01  Martin Sebor  <msebor@redhat.com>
18407         [BZ #18116]
18408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18409         (__setcontext): Use extended four-operand version of mtsf whenever
18410         possible.
18411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18412         (__novec_swapcontext): Likewise.
18414 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18416         * benchtests/scripts/compare_bench.py: New file.
18417         * benchtests/scripts/import_bench.py (mean): New function.
18418         (split_list): Likewise.
18419         (do_for_all_timings): Likewise.
18420         (compress_timings): Likewise.
18422         * benchtests/scripts/import_bench.py: New file.
18423         * benchtests/scripts/validate_benchout.py: Import import_bench
18424         instead of jsonschema.
18425         (validate_bench): Remove function.
18426         (main): Use import_bench.
18428 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
18430         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
18431         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
18433 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18437 2015-05-28  Roland McGrath  <roland@hack.frob.com>
18439         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
18440         set THREAD_SELF->tid to a magic value and futex-wake it.
18441         Pass its address to the thread_exit system call.
18442         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
18443         bit is clear.
18444         * sysdeps/nacl/lowlevellock.h: New file.
18445         * sysdeps/nacl/lll_timedwait_tid.c: New file.
18447         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
18448         Add TIMEOUT to current time, don't subtract it.
18450 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
18452         [BZ #2981]
18453         [BZ #18422]
18454         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
18455         ($(objpfx)tst-audit2.out): Also depend on
18456         $(objpfx)tst-auditmod9b.so.
18457         * elf/tst-audit2.c: Include <dlfcn.h>.
18458         (calloc_called): New.
18459         (calloc): Allow to be called more than once.
18460         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
18462 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
18464         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
18465         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
18467 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
18469         * stdlib/monetary.h: Fix comment.
18471 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
18473         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
18474         Avoid using variables in #defines that might cause shadowing.
18475         (INTERNAL_VSYSCALL_CALL): Likewise.
18477 2015-05-26  Roland McGrath  <roland@hack.frob.com>
18479         * sysdeps/nacl/lll_timedlock_wait.c: New file.
18481         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
18482         * nptl/lll_timedlock_wait.c: ... to this new file.
18483         * nptl/Makefile (libpthread-routines): Add it.
18484         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
18485         * nptl/lll_timedwait_tid.c: ... to this new file.
18486         * nptl/Makefile (libpthread-routines): Add it.
18487         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
18488         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
18489         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
18490         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
18491         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
18492         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
18493         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
18494         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
18495         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
18496         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
18498 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18500         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
18501         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18502         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18503         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
18504         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18505         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18506         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18507         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18508         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18509         * sysdeps/unix/sysv/linux/tile/sysdep.h
18510         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18511         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
18512         using vDSO syscall macro.
18514 2015-05-26  Andriy Rysin  <arysin@gmail.com>
18516         [BZ #17293]
18517         * uk_UA: Fix sorting order for Ukrainian locale
18519 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
18521         * stdlib/monetary.h: Fix comment.
18523 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18525         [BZ #18234]
18526         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
18527         st_mtim and st_ctim members.
18528         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
18529         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
18530         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
18531         (struct stat64): Likewise.
18532         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
18533         (struct stat64): Likewise.
18534         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
18535         (struct stat64): Likewise.
18537 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18539         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
18540         Define and include sysdep-vdso.h.
18541         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
18542         Likewise.
18543         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
18544         Likewise.
18545         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
18546         Define with VDSO_SYMBOL and use PTR_MANGLE.
18547         (__vdso_clock_gettime): Likewise.
18548         (__vdso_clock_getres): Likewise.
18549         (_libc_vdso_platform_setup): Likewise.
18550         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18551         Likewise.
18552         (_libc_vdso_platform_setup): Likewise.
18553         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
18554         Likewise.
18555         (__vdso_clock_gettime): Likewise.
18556         (__vdso_clock_getres): Likewise.
18557         (__vdso_get_tbfreq): Likewise.
18558         (__vdso_getcpu): Likewise.
18559         (__vdso_time): Likewise.
18560         (__vdso_sigtramp_rt64): Likewise.
18561         (__vdso_signtramp32): Likewise.
18562         (__vdso_sigtramp_rt32): Likewise.
18563         (_libc_vdso_platform_setup): Likewise.
18564         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
18565         Likewise.
18566         (__vdso_clock_gettime): Likewise.
18567         (__vdso_clock_getres): Likewise.
18568         (_libc_vdso_platform_setup): Likewise.
18569         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
18570         Likewise.
18571         (__vdso_clock_gettime): Likewise.
18572         (_libc_vdso_platform_setup): Likewise.
18573         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18574         Likewise.
18575         (__vdso_getcpu): Likewise.
18576         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
18577         Use VDSO_SYMBOL macro to define.
18578         (__vdso_clock_gettime): Likewise.
18579         (__vdso_clock_getres): Likewise.
18580         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
18581         Likewise.
18582         (__vdso_clock_gettime): Likewise.
18583         (__vdso_clock_getres): Likewise.
18584         (__vdso_get_tbfreq): Likewise.
18585         (__vdso_getcpu): Likewise.
18586         (__vdso_time): Likewise.
18587         (__vdso_sigtramp_rt64): Likewise.
18588         (__vdso_signtramp32): Likewise.
18589         (__vdso_sigtramp_rt32): Likewise.
18590         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
18591         Likewise.
18592         (__vdso_clock_gettime): Likewise.
18593         (__vdso_clock_getres): Likewise.
18594         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
18595         Likewise.
18596         (__vdso_clock_gettime): Likewise.
18597         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18598         Likewise.
18599         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
18600         macro.
18601         (INTERNAL_VSYSCALL): Likewise.
18602         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
18603         Remove macro.
18604         (INTERNAL_VSYSCALL): Likewise.
18605         (INTERNAL_VSYSCALL_NCS): Likewise.
18606         (INTERNAL_VSYSCALL_CALL): New macro.
18607         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18608         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
18609         Likewise.
18610         (INTERNAL_VSYSCALL): Likewise.
18611         (INTERNAL_VSYSCALL_NCS): Likewise.
18612         (INTERNAL_VSYSCALL_CALL): New macro.
18613         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18615         (INLINE_VSYSCALL): Remove macro.
18616         (INTERNAL_VSYSCALL): Remove macro.
18617         (INTERNAL_VSYSCALL_NCS): Remove macro.
18618         (INTERNAL_VSYSCALL_CALL): New macro.
18619         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
18620         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
18621         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18622         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
18623         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18625         (INLINE_VSYSCALL): Remove macro.
18626         (INTERNAL_VSYSCALL): Likewise.
18627         (INTERNAL_VSYSCALL_NCS): Likewise.
18628         (INTERNAL_VSYSCALL_CALL): New macro.
18629         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
18630         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
18631         PTR_DEMANGLE on vDSO pointer.
18632         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18633         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
18634         macro.
18635         (INTERNAL_SYSCALL): Likewise.
18636         (INTERNAL_VSYSCALL_NCS): Remove macro.
18637         (INTERNAL_VSYSCALL_CALL): New macro.
18638         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
18639         Remove macro.
18640         (INTERNAL_VSYSCALL): Likewise.
18641         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
18642         sysdep-vdso.h instead of libc-vdso.h.
18643         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
18644         definition.
18645         (INLINE_VSYSCALL): Likewise.
18646         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
18647         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
18648         definition.
18649         (INLINE_VSYSCALL): Likewise.
18650         (INTERNAL_VSYSCALL): Likewise.
18651         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18652         * sysdeps/unix/sysv/linux/timespec_get.c
18653         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18654         (timespec_get): Use ANSI prototype.
18655         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
18656         and definition for Linux.
18658 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18660         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
18661         * include/libc-symbols.h: libmvec_hidden_* macro series added.
18663 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18665         [BZ #2981]
18666         [BZ #18410]
18667         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
18668         for missing DT_PLTRELSZ.
18670 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18672         Remove obsolete aliases that broke 'locale -a'
18673         [BZ #18412]
18674         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18675         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18676         breaking some applications that use 'locale -a' output.
18677         Change the encoding of this file from Latin-1 to ASCII to avoid
18678         other potential problems with people grepping this file.
18680 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18682         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18683         -fasynchronous-unwind-tables.
18684         (CFLAGS-sendto.c): Likewise.
18685         (CFLAGS-sendmsg.c): Likewise.
18686         (CFLAGS-connect.c): Likewise.
18687         (CFLAGS-recvmsg.c): Likewise.
18688         (CFLAGS-recvfrom.c): Likewise.
18689         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18690         (SOCKETCALL): New macro: non-cancellable socketcall.
18691         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18692         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18693         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18694         * sysdeps/unix/sysv/linux/accept.c: New file.
18695         * sysdeps/unix/sysv/linux/bind.c: Likewise.
18696         * sysdeps/unix/sysv/linux/connect.c: Likewise.
18697         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18698         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18699         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18700         * sysdeps/unix/sysv/linux/listen.c: Likewise.
18701         * sysdeps/unix/sysv/linux/recv.c: Likewise.
18702         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18703         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18704         * sysdeps/unix/sysv/linux/send.c: Likewise.
18705         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18706         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18707         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18708         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18709         * sysdeps/unix/sysv/linux/socket.c: Likewise.
18710         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18711         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18712         prototype.
18713         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18714         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18715         instead of __internal_xxx function.
18716         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18717         prototype.
18718         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18719         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18720         instead of __internal_xxx function.
18721         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18722         prototype.
18723         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18724         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18725         instead of __internal_xxx function.
18726         * sysdeps/unix/sysv/linux/accept.S: Remove file.
18727         * sysdeps/unix/sysv/linux/bind.S: Likewise.
18728         * sysdeps/unix/sysv/linux/connect.S: Likewise.
18729         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18730         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18731         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18732         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18733         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18734         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18735         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18736         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18737         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18738         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18739         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18740         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18741         * sysdeps/unix/sysv/linux/listen.S: Likewise.
18742         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18743         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18744         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18745         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18748         * sysdeps/unix/sysv/linux/recv.S: Likewise.
18749         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18750         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18751         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18752         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18753         * sysdeps/unix/sysv/linux/send.S: Likewise.
18754         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18755         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18756         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18757         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18758         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18759         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18760         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18761         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18762         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18763         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18764         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18765         socketcall is implemented in GLIBC.
18767 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18769         * soft-fp/fmadf4.c: Include <libc-internal.h>.
18770         (__fma): Ignore uninitialized warnings around packing.
18771         * soft-fp/fmasf4.c: Include <libc-internal.h>.
18772         (__fmaf): Ignore uninitialized warnings around packing.
18773         * soft-fp/fmatf4.c: Include <libc-internal.h>.
18774         (__fmal): Ignore uninitialized warnings around packing.
18776         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18777         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18778         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18779         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18781         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18782         switch statement into default case.
18783         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18785         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18786         a conditional in forcing "inexact".
18787         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18788         Likewise.
18790 2015-05-22  Roland McGrath  <roland@hack.frob.com>
18792         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18793         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18794         for each INTERNAL_SYSCALL use.
18796 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18798         [BZ #438]
18799         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18800         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18801         variable.
18803         [BZ #18444]
18804         * string/basename.c (basename): Rename to __basename and define as
18805         weak alias of __basename.  Use libc_hidden_weak.
18806         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
18807         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18808         __basename instead of basename.
18809         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18810         Remove variable.
18811         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18813 2015-05-18  Florian Weimer  <fweimer@redhat.com>
18815         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18816         (_IO_JUMPS_FILE_plus): New.
18817         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18818         _IO_CAST_FIELD_ACCESS.
18819         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18820         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18821         * libio/freopen.c (freopen): Likewise.
18822         * libio/freopen64.c (freopen64): Likewise.
18823         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18824         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18825         * libio/iofwide.c (_IO_fwide): Likewise.
18826         * libio/memstream.c (open_memstream): Likewise.
18827         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18828         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18829         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18831 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
18833         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18834         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18835         NADJ.
18836         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18837         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18838         NADJ.
18839         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18840         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18841         NADJ.
18843         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18844         (p == 4) case.
18846         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18847         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18848         Remove variable.
18849         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18850         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18851         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18853 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18855         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18856         Adjust jump table label generation macros.
18858 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18860         * stdio-common/vfprintf.c (vfprintf): Move local variables
18861         args_malloced, specs, specs_malloced, and the code after
18862         do_positional to the printf_positional function.
18863         (printf_positional): New function.
18865 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18867         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18868         function.
18869         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18870         STEP4_TABLE, process_arg): Move macro definitions
18871         out of the vfprintf function.  (Cosmetic change only.)
18873 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
18875         * benchtests/Makefile (stdio-common-bench): Define.
18876         (benchset): Add stdio-common-bench.
18877         * sprintf-inputs: New file.
18878         * sprintf-source.c: New file.
18880 2015-05-21  Andreas Schwab  <schwab@suse.de>
18882         [BZ #13028]
18883         [BZ #17053]
18884         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18885         of struct __res_state.
18886         * resolv/res_send.c (__libc_res_nsend): Likewise.
18887         (get_nsaddr): New function.
18888         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18889         statp directly.
18891 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
18893         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18894         -D_POSIX_C_SOURCE=199506L.
18896         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18898         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18899         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18900         Do not mention otherwise.
18901         [POSIX] (_XOPEN_VERSION): Do not expect.
18902         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18903         [POSIX] (_POSIX2_C_BIND): Likewise.
18904         [POSIX] (_POSIX2_VERSION): Likewise.
18905         [POSIX] (_XOPEN_XPG2): Likewise.
18906         [POSIX] (_XOPEN_XPG3): Likewise.
18907         [POSIX] (_XOPEN_XPG4): Likewise.
18908         [POSIX] (_XOPEN_UNIX): Likewise.
18909         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18910         [POSIX] (_POSIX_BARRIERS): Likewise.
18911         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18912         [POSIX] (_POSIX_CPUTIME): Likewise.
18913         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18914         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18915         [POSIX] (_POSIX_SHELL): Likewise.
18916         [POSIX] (_POSIX_SPAWN): Likewise.
18917         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18918         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18919         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18920         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18921         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18922         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18923         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18924         [POSIX] (_XBS5_LP64_OFF64): Likewise.
18925         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18926         [POSIX] (_POSIX_TIMEOUTS): Likewise.
18927         [POSIX] (_POSIX2_PBS): Likewise.
18928         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18929         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18930         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18931         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18932         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18933         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18934         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18935         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18936         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18937         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18938         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18939         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18940         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18941         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18942         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18943         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18944         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18945         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18946         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18947         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18948         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18949         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18950         [POSIX] (_SC_2_C_BIND): Likewise.
18951         [POSIX] (_SC_2_C_VERSION): Likewise.
18952         [POSIX] (_SC_2_PBS): Likewise.
18953         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18954         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18955         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18956         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18957         [POSIX] (_SC_2_PBS_TRACK): Likewise.
18958         [POSIX] (_SC_ATEXIT_MAX): Likewise.
18959         [POSIX] (_SC_BARRIERS): Likewise.
18960         [POSIX] (_SC_BASE): Likewise.
18961         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18962         [POSIX] (_SC_DEVICE_IO): Likewise.
18963         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18964         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18965         [POSIX] (_SC_FD_MGMT): Likewise.
18966         [POSIX] (_SC_FIFO): Likewise.
18967         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18968         [POSIX] (_SC_FILE_LOCKING): Likewise.
18969         [POSIX] (_SC_FILE_SYSTEM): Likewise.
18970         [POSIX] (_SC_IOV_MAX): Likewise.
18971         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18972         [POSIX] (_SC_NETWORKING): Likewise.
18973         [POSIX] (_SC_PAGE_SIZE): Likewise.
18974         [POSIX] (_SC_PASS_MAX): Likewise.
18975         [POSIX] (_SC_PIPE): Likewise.
18976         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18977         [POSIX] (_SC_REGEXP): Likewise.
18978         [POSIX] (_SC_SHELL): Likewise.
18979         [POSIX] (_SC_SIGNALS): Likewise.
18980         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18981         [POSIX] (_SC_SPIN_LOCKS): Likewise.
18982         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18983         [POSIX] (_SC_USER_GROUPS): Likewise.
18984         [POSIX] (_SC_USER_GROUPS_R): Likewise.
18985         [POSIX] (_SC_STREAMS): Likewise.
18986         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18987         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18988         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18989         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18990         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18991         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18992         [POSIX] (_PC_FILESIZEBITS): Likewise.
18993         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18994         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18995         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18996         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18997         [POSIX] (uid_t): Likewise.
18998         [POSIX] (gid_t): Likewise.
18999         [POSIX] (off_t): Likewise.
19000         [POSIX] (pid_t): Likewise.
19001         [POSIX] (cuserid): Allow.
19002         (_SC_2_CHAR_TERM): Require constant.
19003         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
19004         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
19005         variable.
19007 2015-05-20  Roland McGrath  <roland@hack.frob.com>
19009         * sysdeps/nacl/pthread-pids.h: New file.
19010         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
19011         (create_thread): Use __nacl_get_tid to initialize PD->tid.
19013         * nptl/pthread-pids.h: New file.
19014         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
19015         * nptl/nptl-init.c: Include <pthread-pids.h>.
19016         (__pthread_initialize_minimal_internal):
19017         Call __pthread_initialize_pids instead of set_tid_address syscall.
19019         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
19020         * sysdeps/posix/usleep.c: ... here.
19022 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19024         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
19025         call_pselect6 object.
19026         [$(subdir) = io]: Remove call_sync_file_range object.
19027         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
19028         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
19029         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
19030         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
19032 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
19034         * math/s_cproj.c: Add include "math_private.h".
19035         * math/s_cprojf.c: Likewise.
19036         * math/s_cprojl.c: Likewise.
19038 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
19040         [BZ #18244]
19041         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
19042         high mantissa bit when testing whether P is a NaN.
19043         * math/libm-test.inc (remainder_test_data): Add more tests.
19044         (remquo_test_data): Likewise.
19046         [BZ #18049]
19047         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
19048         below -32, return the argument, with underflow if subnormal.
19049         * math/auto-libm-test-in: Add more tests of atanh.
19050         * math/auto-libm-test-out: Regenerated.
19052 2015-05-19  Roland McGrath  <roland@hack.frob.com>
19054         [BZ #18434]
19055         * nptl/tst-sem15.c: New file.
19056         * nptl/Makefile (tests): Add it.
19057         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
19058         s/<</>>/ to fix typo in EOVERFLOW check.
19059         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
19061 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19063         * manual/strings.texi (envz_remove): Fix typo in safety
19064         annotations.
19066 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
19067             Steve Ellcey  <sellcey@imgtec.com>
19069         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
19070         in order to avoid strict alias warnings.
19071         (iruserok_af): Ditto for ra.
19073 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
19075         [BZ #17581]
19076         * malloc/hooks.c
19077         (magicbyte): Convert to a function and avoid returning 0x01.
19078         (mem2mem_check): Avoid using a length byte equal to the magic byte.
19079         (mem2chunk_check): Fix unsigned comparisons to zero.
19080         Hoist defs of sz and magic.
19082 2015-05-19  Richard Henderson  <rth@redhat.com>
19084         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
19086         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19088 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19090         [BZ #16159]
19091         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
19092         * malloc/arena.c (arena_lock): Check if arena is corrupt.
19093         (reused_arena): Find a non-corrupt arena.
19094         (heap_trim): Pass arena to unlink.
19095         * malloc/hooks.c (malloc_check_get_size): Pass arena to
19096         malloc_printerr.
19097         (top_check): Likewise.
19098         (free_check): Likewise.
19099         (realloc_check): Likewise.
19100         * malloc/malloc.c (malloc_printerr): Add arena argument.
19101         (unlink): Likewise.
19102         (munmap_chunk): Adjust.
19103         (ARENA_CORRUPTION_BIT): New macro.
19104         (arena_is_corrupt): Likewise.
19105         (set_arena_corrupt): Likewise.
19106         (sysmalloc): Use mmap if there are no usable arenas.
19107         (_int_malloc): Likewise.
19108         (__libc_malloc): Don't fail if arena_get returns NULL.
19109         (_mid_memalign): Likewise.
19110         (__libc_calloc): Likewise.
19111         (__libc_realloc): Adjust for additional argument to
19112         malloc_printerr.
19113         (_int_free): Likewise.
19114         (malloc_consolidate): Likewise.
19115         (_int_realloc): Likewise.
19116         (_int_memalign): Don't touch corrupt arenas.
19117         * malloc/tst-malloc-backtrace.c: New test case.
19119         * Makefile (summarize-tests): Fix return value on success.
19121         * manual/string.texi (Envz Functions): Add envz_remove.
19123 2015-05-18  Roland McGrath  <roland@hack.frob.com>
19125         * sysdeps/posix/opendir.c: Include <stdbool.h>.
19126         (invalid_name): New function, broken out of ...
19127         (__opendirat): ... here.  Call it.
19128         (need_isdir_precheck): New function, broken out of ...
19129         (__opendirat): ... here.  Call it.
19130         Use __fxstatat64, not __xstatat64.
19131         (opendir_oflags): New function, broken out of ...
19132         (__opendirat): ... here.  Call it.
19133         (opendir_tail): New function, broken out of ...
19134         (__opendirat): ... here.  Call it.
19135         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
19136         opendir_tail, rather than punting to __opendirat.
19137         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
19139 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19141         * .gitignore: Ignore generated *.pyc.
19143 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
19145         * include/stdio.h: Define __need_wint_t.
19146         * test-skeleton.c: Avoid `for' loop initial declaration.
19147         * nptl/tst-initializers1.c: Use test-skeleton.c.
19149 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19151         [BZ #18418]
19152         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
19154 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19156         [BZ #16352]
19157         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
19158         (__ieee754_atanh): Force underflow exception for results with
19159         small absolute value.
19160         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
19161         (__ieee754_atanhf): Force underflow exception for results with
19162         small absolute value.
19163         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
19164         (__ieee754_atanh): Force underflow exception for results with
19165         small absolute value.
19166         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
19167         (__ieee754_atanhf): Force underflow exception for results with
19168         small absolute value.
19169         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
19170         (__ieee754_atanhl): Force underflow exception for results with
19171         small absolute value.
19172         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
19173         (__ieee754_atanhl): Force underflow exception for results with
19174         small absolute value.
19175         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
19176         (__ieee754_atanhl): Force underflow exception for results with
19177         small absolute value.
19178         * math/auto-libm-test-in: Do not allow missing underflow
19179         exceptions from atanh.
19180         * math/auto-libm-test-out: Regenerated.
19182         [BZ #18221]
19183         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
19184         2**-28 as threshold for returning x or +/- 1/x.
19185         * math/auto-libm-test-in: Add more tests of tan.
19186         * math/auto-libm-test-out: Regenerated.
19188         [BZ #18220]
19189         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19190         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
19191         * math/auto-libm-test-in: Add another test of lgamma.
19192         * math/auto-libm-test-out: Regenerated.
19194 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
19196         * stdio-common/printf_fp.c (___printf_fp): Use abs.
19197         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
19198         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
19199         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
19200         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
19201         (ADD2A): Use fabs.  (SUB2A): Use fabs.
19202         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
19203         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
19204         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
19205         (log1): Use fabs.  (my_log2): Use fabs.
19206         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
19207         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
19208         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
19209         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
19210         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
19211         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
19212         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
19213         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
19214         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
19215         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
19216         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
19218 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19220         [BZ #18217]
19221         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
19222         as threshold for returning 1 - x.
19223         * math/auto-libm-test-in: Add more tests of erfc.
19224         * math/auto-libm-test-out: Regenerated.
19226 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
19228         [BZ #18196]
19229         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
19230         threshold for large arguments.
19231         * math/auto-libm-test-in: Add another test of atan.
19232         * math/auto-libm-test-out: Regenerated.
19234         [BZ #16339]
19235         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
19236         (__log1p): Force underflow exception for results with small
19237         absolute value.
19238         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
19239         (__log1pf): Force underflow exception for results with small
19240         absolute value.
19241         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
19242         (__log1p): Force underflow exception for results with small
19243         absolute value.
19244         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
19245         (__log1pf): Force underflow exception for results with small
19246         absolute value.
19247         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
19248         (__log1pl): Force underflow exception for results with small
19249         absolute value.
19250         * math/auto-libm-test-in: Do not allow missing underflow
19251         exceptions from log1p.
19252         * math/auto-libm-test-out: Regenerated.
19254 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
19255             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19257         [BZ #16704]
19258         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
19260 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
19262         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
19263         (libmvec): New variable.
19264         * configure.ac: Added option for mathvec build.
19265         * configure: Regenerated.
19266         * mathvec/Depend: New file.
19267         * mathvec/Makefile: New file.
19268         * shlib-versions: Added libmvec.
19269         * math/Makefile: Added rule for libm.so installation.
19271         * bits/math-vector.h: New file.
19272         * bits/libm-simd-decl-stubs.h: New header.
19273         * math/Makefile (headers): Added new header
19274         libm-simd-decl-stubs.h.
19275         * math/math.h (__MATHCALL_VEC): New macro.
19277         * math/gen-libm-have-vector-test.sh: Script generates series of macros
19278         for conditions in testing functions.
19279         * math/Makefile: Added call of libm-have-vector-test.sh.
19280         * math/libm-test.inc (HAVE_VECTOR): New macros.
19282         * math/libm-test.inc: START refactored.
19283         * math/test-double.c (TEST_MATHVEC): Add define.
19284         * math/test-float.c: Likewise.
19285         * math/test-idouble.c: Likewise.
19286         * math/test-ifloat.c: Likewise.
19287         * math/test-ildoubl.c: Likewise.
19288         * math/test-ldouble.c: Likewise.
19289         * sysdeps/generic/math-tests-arch.h
19290         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
19291         architecture check.
19293         * math/test-double.c (FUNC_TEST): New macro.
19294         * math/test-float.c: Likewise.
19295         * math/test-idouble.c: Likewise.
19296         * math/test-ifloat.c: Likewise.
19297         * math/test-ildoubl.c: Likewise.
19298         * math/test-ldouble.c: Likewise.
19299         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
19301 2015-05-13  Roland McGrath  <roland@hack.frob.com>
19303         * sysdeps/nacl/fdopendir.c: New file.
19305         * dirent/scandir-tail.c: New file.
19306         * dirent/scandir64-tail.c: New file.
19307         * dirent/Makefile (routines): Add them.
19308         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
19309         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
19310         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
19311         [!SCANDIR] (SCANDIR_TAIL): New macro.
19312         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
19313         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
19314         (SCANDIRAT): Macro removed.
19315         (SCANDIR_TAIL): New macro.
19316         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
19317         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
19318         (SCANDIRAT): Just call __opendirat and __scandir_tail.
19319         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
19320         (READDIR): Macro removed.
19321         (SCANDIR_TAIL): New macro.
19322         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
19323         (SCANDIR_TAIL): New macro.
19325         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
19326         * dirent/scandir-cancel.c: ... to this new file.
19327         * dirent/Makefile (routines): Add it.
19328         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
19329         * sysdeps/unix/sysv/linux/i386/scandir64.c
19330         (SKIP_SCANDIR_CANCEL): Macro removed.
19331         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
19333         * dirent/tst-scandir.c: New file.
19334         * dirent/tst-scandir64.c: New file.
19335         * dirent/Makefile (tests): Add them.
19337 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19339         [BZ #18409]
19340         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
19342 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19344         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
19345         list.
19347 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
19349         * benchtests/bench-strcoll.c: New benchmark.
19350         * benchtests/Makefile: Generate locales and run benchmark.
19351         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
19352         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19353         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
19354         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
19355         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
19356         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
19357         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
19358         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
19359         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
19360         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
19361         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
19362         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
19363         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
19364         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
19365         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
19366         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
19367         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
19368         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
19369         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
19370         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
19371         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
19372         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
19373         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
19374         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
19376 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
19378         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
19379         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19381 2015-05-12  Roland McGrath  <roland@hack.frob.com>
19383         * posix/uname-values.h: New file.
19384         * posix/uname.c: Include that instead of <config-name.h>.
19385         * sysdeps/nacl/uname-values.h: New file.
19386         * sysdeps/arm/nacl/uname-values.h: New file.
19388 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
19390         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
19391         splitting into fields.
19393 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
19395         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
19396         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
19397         * locale/localeinfo.h: Add enum collation_encoding_type.
19398         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
19399         * programs/ld-collate.c (collate_output): Add encoding type info.
19400         * string/strcoll_l.c (STRDIFF): New function.
19401         * (STRCOLL): Use STRDIFF to skip over equal prefix.
19402         * wcsmbs/wcscoll_l.c: Define STRDIFF.
19404 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
19406         [BZ #18397]
19407         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
19408         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
19409         <fpu_control.h> instead of <math/fpu_control.c>.
19410         * sysdeps/mips/mips32/fpu/Makefile: New file.
19412 2015-05-11  Andreas Schwab  <schwab@suse.de>
19414         [BZ #18007]
19415         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
19416         nss_endgrent.
19417         (_nss_compat_endgrent): Call nss_endgrent.
19418         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
19419         nss_endpwent.
19420         (_nss_compat_endpwent): Call nss_endpwent.
19421         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
19422         needent, call nss_setspent only if non-zero.
19423         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
19424         (internal_endspent): Don't call nss_endspent.
19425         (_nss_compat_endspent): Call nss_endspent.
19426         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
19427         Remove.  All uses removed.
19428         (internal_setent): Remove parameter stayopen, add parameter
19429         stream.  Use it instead of global variable.
19430         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
19431         (internal_endent, internal_getent): Add parameter stream.  Use it
19432         instead of global variable.
19433         (CONCAT(_nss_files_end,ENTNAME))
19434         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
19435         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
19436         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
19437         uses removed.
19438         (internal_setent, internal_endent): Add parameter stream.  Use it
19439         instead of global variable.
19440         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
19441         stream.
19442         (get_next_alias): Add parameter stream.
19443         (_nss_files_getaliasent_r): Pass global stream.
19444         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
19445         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
19446         (_nss_files_gethostbyname4_r): Pass local stream to
19447         internal_setent, internal_getent and internal_endent.  Remove
19448         locking.
19450 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19452         * tst-strfmon1.c (tests): Update expected currency symbol.
19454 2015-05-08  Roland McGrath  <roland@hack.frob.com>
19456         * sysdeps/nacl/gethostname.c: New file.
19458 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
19460         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
19461         and sinh.
19462         * math/auto-libm-test-out: Regenerated.
19463         * sysdeps/i386/fpu/libm-test-ulps: Update.
19464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19466 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
19468         [BZ #18125]
19469         * stdlib/tst-setcontext3.c: New file.
19470         * stdlib/tst-setcontext3.sh: New file.
19471         * stdlib/Makefile (tests): Add tst-setcontext3.
19472         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
19473         to verify test program created output file.
19474         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
19475         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
19476         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
19477         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
19479 2015-05-06  Roland McGrath  <roland@hack.frob.com>
19481         [BZ #18383]
19482         * elf/tst-tlsalign.c: New file.
19483         * elf/tst-tlsalign-static.c: New file.
19484         * elf/tst-tlsalign-lib.c: New file.
19485         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
19486         (tests-static): Add tst-tlsalign-static.
19487         (modules-names): Add tst-tlsalign-lib.
19488         (test-xfail-tst-tlsalign): New variable.
19489         (test-xfail-tst-tlsalign-static): New variable.
19491         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
19492         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
19494 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
19496         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
19497         csqrt, erfc, sin and sincos.
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-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19504         * sysdeps/aarch64/libm-test-ulps: Update.
19506 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
19508         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
19509         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
19510         * math/auto-libm-test-out: Regenerated.
19511         * sysdeps/i386/fpu/libm-test-ulps: Update.
19512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19514 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19516         [BZ #18265]
19517         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
19518         (wcsncpy): Likewise.
19520 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19522         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19523         Assume __ASSUME_FALLOCATE is always true.
19524         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19525         (__posix_fallocate64_l64): Likweise.
19526         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
19527         (posix_fallocate): Likewise.
19528         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
19529         (__posix_fallocate64_l64): Likewise.
19530         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19531         [!__ASSUME_FALLOCATE]: Add comment.
19533 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19535         * sysdeps/unix/sysv/linux/i386/Makefile
19536         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
19537         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
19538         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
19539         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19540         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19541         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
19542         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
19544 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
19546         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
19547         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
19548         tgamma.
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 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19555         * math/auto-libm-test-in: Add more tests of tgamma.
19556         * math/auto-libm-test-out: Regenerated.
19557         * sysdeps/i386/fpu/libm-test-ulps: Update.
19558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19560         * math/auto-libm-test-in: Add more tests of tanh.
19561         * math/auto-libm-test-out: Regenerated.
19562         * sysdeps/i386/fpu/libm-test-ulps: Update.
19563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19565         * math/auto-libm-test-in: Add more tests of tan.
19566         * math/auto-libm-test-out: Regenerated.
19567         * sysdeps/i386/fpu/libm-test-ulps: Update.
19568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19570         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
19571         * math/auto-libm-test-out: Regenerated.
19572         * sysdeps/i386/fpu/libm-test-ulps: Update.
19573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19575         * math/auto-libm-test-in: Add another test of pow.
19576         * math/auto-libm-test-out: Regenerated.
19577         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19579         * math/auto-libm-test-in: Add more tests of lgamma.
19580         * math/auto-libm-test-out: Regenerated.
19581         * sysdeps/i386/fpu/libm-test-ulps: Update.
19582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19584         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
19585         log1p.
19586         * math/auto-libm-test-out: Regenerated.
19587         * sysdeps/i386/fpu/libm-test-ulps: Update.
19588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19590 2015-05-01  Mark Wielaard  <mjw@redhat.com>
19592         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
19593         Elf64_Chdr structs and ELFCOMPRESS constants.
19595 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19597         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
19598         expm1.
19599         * math/auto-libm-test-out: Regenerated.
19600         * sysdeps/i386/fpu/libm-test-ulps: Update.
19601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19603         * math/auto-libm-test-in: Add more tests of erf and erfc.
19604         * math/auto-libm-test-out: Regenerated.
19605         * sysdeps/i386/fpu/libm-test-ulps: Update.
19606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19608 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19610         * config.h.in (HAVE_AARCH64_BE): Add.
19612 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
19614         * math/auto-libm-test-in: Add more tests of csqrt.
19615         * math/auto-libm-test-out: Regenerated.
19616         * sysdeps/i386/fpu/libm-test-ulps: Update.
19617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19619         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19620         * math/auto-libm-test-out: Regenerated.
19621         * sysdeps/i386/fpu/libm-test-ulps: Update.
19622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19624         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
19626 2015-04-29  Roland McGrath  <roland@hack.frob.com>
19628         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
19629         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
19631         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
19632         (euidaccess, eaccess): Define as weak aliases.
19634         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
19635         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
19636         but __suseconds_t is often 'long int' so some sources assume that
19637         type is being used (e.g. they use %ld to print tv_usec).
19639 2015-04-29  Florian Weimer  <fweimer@redhat.com>
19641         [BZ #18007]
19642         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
19643         (CVE-2014-8121)
19644         * nss/tst-nss-getpwent.c: New file.
19645         * nss/Makefile (tests): Add new test.
19647 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
19649         [BZ #18346]
19650         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
19651         exponents less than 48 as cases where high part of mantissa needs
19652         examining to determine whether argument is integral.
19653         * math/libm-test.inc (round_test_data): Add more tests.
19655 2015-04-28  Mark Wielaard  <mjw@redhat.com>
19657         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
19659 2015-04-27  David S. Miller  <davem@davemloft.net>
19661         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
19662         __tls_get_addr.
19663         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19665 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
19667         [BZ#18333]
19668         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
19670 2015-04-27  Florian Weimer  <fweimer@redhat.com>
19672         [BZ#18333]
19673         * time/tzset.c (parse_tzname): Return error on memory allocation
19674         failure.
19675         * test-skeleton.c (struct temp_name_list): Change type of name
19676         member to non-const.
19677         (add_temp_file): Create a copy of the file name.
19678         (delete_temp_files): Deallocate memory.
19679         (create_temp_file): Add comment.
19681 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19683         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19684         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19686 2015-04-24  Roland McGrath  <roland@hack.frob.com>
19688         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19689         * sysdeps/arm/configure: Regenerated.
19691 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19693         [BZ #17715]
19694         * time/tzfile.c (__tzfile_read): Check for large values of
19695         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
19696         * time/tzset.c (__tzstring_len): New function, based on the old
19697         __tzstring function.
19698         (__tzstring): Call __tzstring_len.
19699         (parse_tzname): New helper function extracted from
19700         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
19701         the input string.
19702         (parse_offset): New helper function extracted from
19703         __tzset_parse_tz.  Replace switch with fallthrough with
19704         initialization before sscanf.
19705         (parse_rule): Likewise.
19706         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
19707         new-style function definition.
19708         * timezone/Makefile (tests): Add tst-tzset.
19709         (tst-tzset.out): Dependencies on time zone files.
19710         (tst-tzset-ENV): Set TZDIR.
19711         (testdata/XT%): Copy crafted time zone files.
19712         * timezone/README: Mention crafted time zone files.
19713         * timezone/testdata/XT1, timezone/testdata/XT2,
19714         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19715         files.
19716         * timezone/tst-tzset.c: New test.
19718 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19720         * Makeconfig (+gccwarn): Remove -Winline.
19722 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19724         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19726 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19728         * NEWS: Mention sysconf() cache information support for s390.
19729         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19731 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
19733         * math/k_casinh.c (__kernel_casinh): Use __copysign.
19734         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19735         (__nearbyint): Likewise.
19736         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19737         (copysignl): Likewise.
19739 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
19741         [BZ #18287]
19742         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19743         based on padding.  (CVE-2015-1781)
19745 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19747         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19748         libc-vdso.h.
19749         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19750         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19751         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19752         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19753         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19754         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19755         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19756         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19757         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19758         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19759         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19760         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19761         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19762         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19763         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19764         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19765         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19766         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19767         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19768         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19769         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19770         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19771         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19773 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
19775         * stdlib/setenv.c (__add_to_environ):
19776         Dump core quickly if setenv (..., NULL, ...) is called.
19777         This time, do it the right way, and pacify GCC with a pragma.
19779 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19781         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19782         IMAP->l_prev cannot be null, and #if out the code for the contrary
19783         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19784         believe that NS (&_dl_ns[NSID]) could point outside the array.
19786         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19787         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19788         before using NSID as an index.
19790 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
19792         [BZ #17825]
19793         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19794         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19795         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19797 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19799         Add preliminary port to Google Native Client on ARM.
19800         * abi-tags (.*-.*-nacl.*): New entry.
19801         * sysdeps/arm/nacl: New directory.
19802         * sysdeps/nacl: New directory.
19804 2015-04-16  David S. Miller  <davem@davemloft.net>
19806         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19807         lowlevellock-futex.h
19809 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
19811         * sysdeps/tile/configure.ac: New file.
19812         * sysdeps/tile/configure: Regenerated.
19814 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19816         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
19817         conditionals for weak_alias and libc_hidden_weak.
19818         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19819         libc_hidden_weak and weak_alias.
19820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19821         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19822         and weak_alias for static one.
19824 2015-04-15  David S. Miller  <davem@davemloft.net>
19826         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19828 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19830         [BZ #18206]
19831         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19832           Use signed comparision instead of substraction to avoid
19833           overflow bug.
19834         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19835           Take the sign of ret.
19836         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19837           Do not expect precise return values. Only the sign matters.
19838         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19839         * wcsmbs/test-wcsncmp.c: New File.
19840         * string/test-strncmp.c: Add wcsncmp support.
19842 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19844         [BZ #6792]
19845         * math/w_log1p.c: New file.
19846         * math/w_log1pf.c: Likewise.
19847         * math/w_log1pl.c: Likewise.
19848         * math/Makefile (libm-calls): Add w_log1p.
19849         * math/s_log1pl.c (log1pl): Remove weak_alias.
19850         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19851         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19852         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19853         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19854         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19855         [NO_LONG_DOUBLE] (log1pl): Likewise.
19856         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19857         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19858         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19859         (log1p): Remove long_double_symbol.
19860         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19861         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19862         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19863         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19864         remove weak_alias for corresponding log1p function.
19865         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19866         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19867         * sysdeps/ia64/fpu/w_log1p.c: New file.
19868         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19869         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19870         * math/libm-test.inc (log1p_test_data): Add errno expectations.
19872 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
19874         [BZ #18247]
19875         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19876         decimal exponent by 1.
19877         * stdlib/tst-strtod-round-data: Add more tests.
19878         * stdlib/tst-strtod-round.c (tests): Regenerated.
19880 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
19882         * math/auto-libm-test-in: Add more tests of clog and clog10.
19883         * math/auto-libm-test-out: Regenerated.
19884         * sysdeps/i386/fpu/libm-test-ulps: Update.
19885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19887 2015-04-09  Roland McGrath  <roland@hack.frob.com>
19889         * Makeconfig (module-cppflags): Exclude all .v.i files.
19890         (skip-module-cppflags): Variable removed.
19892         * configure.ac (libc_config_ok): Initialize before reading
19893         preconfigure scripts, not after.
19894         * configure: Regenerated.
19896         * test-skeleton.c (TIMEOUT): Move #define to top level.
19897         (main): Grok environment variable TEST_DIRECT.  If set, print
19898         test expectation details into that file and then behave as if
19899         given --direct.
19901 2015-04-09  Florian Weimer  <fweimer@redhat.com>
19903         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19904         warning on 32-bit.
19906 2015-04-08  David S. Miller  <davem@davemloft.net>
19908         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19910 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19912         * math/auto-libm-test-in: Add more tests of atanh.
19913         * math/auto-libm-test-out: Regenerated.
19914         * sysdeps/i386/fpu/libm-test-ulps: Update.
19915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19917         * math/auto-libm-test-in: Add more tests of atan.
19918         * math/auto-libm-test-out: Regenerated.
19919         * sysdeps/i386/fpu/libm-test-ulps: Update.
19920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19922 2015-04-08  Florian Weimer  <fweimer@redhat.com>
19924         * elf/pldd.c (main): Rewrite to use struct
19925         scratch_buffer instead of extend_alloca.
19926         * elf/pldd-xx.c (find_maps): Likewise.
19927         * grp/initgroups.c: Include <scratch_buffer.h> instead of
19928         <alloca.h>.
19929         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19930         scratch_buffer instead of extend_alloca.
19931         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19932         grp/compat-initgroups.c.
19933         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19934         Rewrite to use struct scratch_buffer instead of extend_alloca.
19935         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19936         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19938 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19940         * math/auto-libm-test-in: Add more tests of cbrt.
19941         * math/auto-libm-test-out: Regenerated.
19942         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19944         * math/auto-libm-test-in: Add more tests of cabs.
19945         * math/auto-libm-test-out: Regenerated.
19946         * sysdeps/i386/fpu/libm-test-ulps: Update.
19947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19949         [BZ #18210]
19950         [BZ #18211]
19951         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19952         (__ieee754_atan2): Set FE_TONEAREST mode for internal
19953         computations.
19954         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19955         clog10.
19956         * math/auto-libm-test-out: Regenerated.
19957         * sysdeps/i386/fpu/libm-test-ulps: Update.
19958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19960         [BZ #18197]
19961         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19962         (atan): Set FE_TONEAREST mode for internal computations.
19963         * math/auto-libm-test-in: Add more tests of atan.
19964         * math/auto-libm-test-out: Regenerated.
19966 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
19968         [BZ #17930]
19969         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19971 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19973         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19975 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19977         * include/scratch_buffer.h: New file.
19978         * malloc/scratch_buffer_grow.c: Likewise.
19979         * malloc/scratch_buffer_grow_preserve.c: Likewise.
19980         * malloc/scratch_buffer_set_array_size.c: Likewise.
19981         * malloc/tst-scratch_buffer.c: Likewise.
19982         * malloc/Makefile (routines): Add scratch_buffer_grow.
19983         (tests): Add test case.
19984         * malloc/Versions (GLIBC_PRIVATE): Export
19985         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19986         __libc_scratch_buffer_set_array_size.
19988 2015-04-06  Richard Henderson  <rth@redhat.com>
19990         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19991         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19993         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19994         unsigned int before printing.
19996 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19998         [BZ #17596]
19999         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
20000         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20002 2015-04-02  Florian Weimer  <fweimer@redhat.com>
20004         * include/libc-internal.h (libc_max_align_t): Define.
20006 2015-04-02  Andreas Schwab  <schwab@suse.de>
20008         [BZ #16850]
20009         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
20011 2015-04-02  Mel Gorman  <mgorman@suse.de>
20013         [BZ #17195]
20014         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
20015         as well as the main arena.
20017 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20019         [BZ #18185]
20020         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
20021         sharing L2 cache to 2 for Silvermont/Knights Landing.
20023 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20025         [BZ #17711]
20026         * config.make.in (have-protected-data): New.
20027         * configure.ac: Check linker support for protected data symbol.
20028         * configure: Regenerated.
20029         * elf/Makefile (modules-names): Add tst-protected1moda and
20030         tst-protected1modb if $(have-protected-data) is yes.
20031         (tests): Add tst-protected1a and tst-protected1b if
20032         $(have-protected-data) is yes.
20033         ($(objpfx)tst-protected1a): New.
20034         ($(objpfx)tst-protected1b): Likewise.
20035         (tst-protected1modb.so-no-z-defs): Likewise.
20036         * elf/tst-protected1a.c: New file.
20037         * elf/tst-protected1b.c: Likewise.
20038         * elf/tst-protected1mod.h: Likewise.
20039         * elf/tst-protected1moda.c: Likewise.
20040         * elf/tst-protected1modb.c: Likewise.
20042 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20044         [BZ #17711]
20045         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
20046         indicates it is called from do_lookup_x on relocation against
20047         protected data, skip the data definion in the executable from
20048         copy reloc.
20049         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
20050         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
20051         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
20052         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
20053         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
20054         otherwise to 0.
20055         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20056         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
20057         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
20058         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20059         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
20060         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
20062 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
20064         * sysdeps/nptl/pthread.h: Remove duplicate definition of
20065         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
20067 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
20069         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
20070         THREAD_SETMEM_NC.
20071         * sysdeps/x86_64/nptl/tls.h: Ditto.
20073 2015-03-27  Roland McGrath  <roland@hack.frob.com>
20075         * dlfcn/tststatic.c (main): Converted to ...
20076         (do_test): ... this.
20077         (TEST_FUNCTION): New macro.
20078         Include test-skeleton.c.
20080 2015-03-26  Alan Modra  <amodra@gmail.com>
20082         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
20083         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
20084         zero for undefined weak.
20085         (elf_machine_plt_conflict): Similarly.
20087 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20089         * math/auto-libm-test-in: Add more tests of acosh, asinh and
20090         atanh.
20091         * math/auto-libm-test-out: Regenerated.
20092         * sysdeps/i386/fpu/libm-test-ulps: Update.
20093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20095         * math/auto-libm-test-in: Add another test of asin.
20096         * math/auto-libm-test-out: Regenerated.
20097         * sysdeps/i386/fpu/libm-test-ulps: Update.
20098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20100         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
20101         Remove macro.
20102         (LLL_EBX_REG): Likewise.
20103         (LLL_ENTER_KERNEL): Likewise.
20105         * math/auto-libm-test-in: Add more tests of asin.
20106         * math/auto-libm-test-out: Regenerated.
20107         * sysdeps/i386/fpu/libm-test-ulps: Update.
20108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20110         [BZ #18138]
20111         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
20112         libc_do_syscall_args): New structure.
20113         (INTERNAL_SYSCALL_MAIN_0): New macro.
20114         (INTERNAL_SYSCALL_MAIN_1): Likewise.
20115         (INTERNAL_SYSCALL_MAIN_2): Likewise.
20116         (INTERNAL_SYSCALL_MAIN_3): Likewise.
20117         (INTERNAL_SYSCALL_MAIN_4): Likewise.
20118         (INTERNAL_SYSCALL_MAIN_5): Likewise.
20119         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
20120         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
20121         Replace conditional definitions by conditional definitions of ....
20122         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
20123         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
20124         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
20125         (libpthread-sysdep_routines): Add libc-do-syscall.
20126         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
20127         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
20128         to __NR_futex not 240.
20130 2015-03-25  Alan Modra  <amodra@gmail.com>
20132         * NEWS: Advertise TLS optimization.
20133         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
20134         (DT_PPC_NUM): Increment.
20135         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
20136         (CHECK_STATIC_TLS): Use here.
20137         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
20138         TLS descriptors.
20139         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20140         * sysdeps/powerpc/dl-tls.c: New file.
20141         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
20142         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
20143         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
20144         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
20145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
20146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
20147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
20149 2015-03-25  Alan Modra  <amodra@gmail.com>
20151         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
20152         for overlapping .opd entries" to "support...".
20153         * sysdeps/powerpc/powerpc64/configure: Regenerate
20155 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20157         * math/auto-libm-test-in: Add more tests of acos.
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         * math/auto-libm-test-in: Add more tests of expm1.
20163         * math/auto-libm-test-out: Regenerated.
20164         * sysdeps/i386/fpu/libm-test-ulps: Update.
20165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20167 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
20169         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20170         * math/auto-libm-test-out: Regenerated.
20171         * sysdeps/i386/fpu/libm-test-ulps: Update.
20172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20174         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20177         * math/auto-libm-test-in: Add more tests of log2.
20178         * math/auto-libm-test-out: Regenerated.
20179         * sysdeps/i386/fpu/libm-test-ulps: Update.
20180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20182 2015-03-23  Roland McGrath  <roland@hack.frob.com>
20184         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
20185         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
20186         _IO_IS_APPENDING bit in READ_WRITE instead.
20188 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20190         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20191         (__determine_cpumask_size): Replace extend_alloca with a
20192         variable-length array.  Do not treat res == 0 as an error.
20194 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20196         [BZ #18100]
20197         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
20198         and integer overflow.
20199         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
20200         (main): Add integer overflow tests.
20201         * manual/pattern.texi (Calling Wordexp): Document additional use
20202         for WRDE_SYNTAX.
20204 2015-03-23  Alan Modra  <amodra@gmail.com>
20206         * config.h.in: Remove HAVE_ASM_PPC_REL16.
20207         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
20208         and false branch of conditional.
20209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20210         Likewise.
20212 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
20214         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
20215         libc-modules.h
20216         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
20217         unused declaration of _hurd_intr_rpc_msg_in_trap.
20218         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
20219         defined instead of whether it is non-zero.
20220         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
20221         input constraint instead of both input and output constraint.  Use ecx
20222         clobber instead of %ecx.
20223         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
20224         mutex_unlock): Use a statement expression instead of an expression list.
20225         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
20226         type to vm_size_t instead of vm_address_t.
20227         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
20228         defined instead of whether it is non-zero.
20229         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
20230         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
20231         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
20232         comparisons with mapaddr.
20233         * nscd/nscd-client.h: Include <time.h>.
20234         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
20235         9th parameter to __vm_region instead of int.
20236         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
20237         * scripts/check-local-headers.sh (exclude): Add device/,
20238         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
20239         cthreads.h.
20241 2015-03-19  Roland McGrath  <roland@hack.frob.com>
20243         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
20244         to account for alignment padding.
20245         * sysdeps/arm/memmove.S: Likewise.
20247 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
20249         * sysdeps/unix/sysv/linux/generic/README: New file.
20251 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
20253         [BZ #18138]
20254         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
20255         (futex_abstimed_wait)
20256         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
20257         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
20258         of lll_futex_timed_wait.
20260 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
20262         [BZ #17542]
20263         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
20265 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
20267         [BZ #17090]
20268         [BZ #17620]
20269         [BZ #17621]
20270         [BZ #17628]
20271         * NEWS: Update.
20272         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
20273         entries with Static TLS too.  Skip entries past the end of the
20274         allocated DTV, from Alan Modra.
20275         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
20276         Static TLS DTV entry set up from...
20277         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
20278         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
20279         * nptl/allocatestack.c (init_one_static_tls): ... and here...
20280         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
20281         for Static TLS.
20282         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
20283         that the slot we find is associated with the given map before
20284         using its generation count.
20285         * nptl_db/db_info.c: Include ldsodefs.h.
20286         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
20287         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
20288         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
20289         (link_map::l_tls_offset): New struct field.
20290         (dtv_t::counter): Likewise.
20291         (rtld_global): New struct.
20292         (_rtld_global): New rtld variable.
20293         (dl_tls_dtv_slotinfo_list): New rtld global field.
20294         (dtv_slotinfo_list): New struct.
20295         (dtv_slotinfo): Likewise.
20296         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
20297         (td_lookup): Rename to...
20298         (td_mod_lookup): ... this.  Use new mod parameter instead of
20299         LIBPTHREAD_SO.
20300         * nptl_db/td_thr_tlsbase.c: Include link.h.
20301         (dtv_slotinfo_list, dtv_slotinfo): New functions.
20302         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
20303         addresses even if the DTV is out of date or missing them.
20304         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
20305         index zero-length arrays.
20306         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
20307         (td_lookup): Make it a macro implemented in terms of...
20308         (td_mod_lookup): ... this declaration.
20309         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
20310         (DB_MAIN_VARIABLE): Likewise.
20312 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20314         [BZ #18134]
20315         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20317 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
20319         * stdlib/setenv.c (__add_to_environ): Revert previous change.
20321 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20323         [BZ #18128]
20324         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
20325         (atomic_add, atomic_increment_and_test)
20326         (atomic_decrement_and_test): Fix 64-bit arithmetic.
20328 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
20330         * stdlib/setenv.c (__add_to_environ):
20331         Dump core quickly if setenv (..., NULL, ...) is called.
20333 2015-03-13  Roland McGrath  <roland@hack.frob.com>
20335         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
20336         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
20337         all the necessary asm magic in one place.
20338         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
20339         using those.
20341 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
20343         [BZ #14906]
20344         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
20345         traced file mtime. Use consistent log message.
20346         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
20347         (register_traced_file): Call install_watches. Always set mtime.
20348         (invalidate_cache): Iterate over all trace files. Call install_watches.
20349         (inotify_check_files): Don't inline. Handle watching parent
20350         directories and configuration file movement in and out.
20351         (handle_inotify_events): New function.
20352         (main_loop_poll): Call handle_inotify_events.
20353         (main_loop_epoll): Likewise.
20354         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
20355         (struct traced_file): Use array of inotify fds. Add parent directory,
20356         and basename.
20357         (struct database_dyn): Remove unused file_mtime.
20358         (init_traced_file): New inline function.
20359         (define_traced_file): New macro.
20360         * nss/nss_db/db-init.c: Use define_traced_file.
20361         (_nss_db_init): Use init_traced_file.
20362         * nss/nss_files/files-init.c: Use define_traced_file.
20363         (_nss_files_init): Use init_traced_file.
20365 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
20367         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
20368         [_LIBC]: Do not include <stdlib.h>.
20369         [!_LIBC] (abort): Remove declaration.
20370         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
20371         _FP_STATIC_ASSERT instead of conditionally calling abort.
20372         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
20373         (_FP_EXTEND_CNAN): Likewise.
20374         (FP_TRUNC): Likewise.
20375         (__FP_CLZ): Likewise.
20376         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
20378 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
20380         * manual/string.texi (XPG basename): Fix prototype.
20382 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20384         [BZ #18080]
20385         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
20386         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20387         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
20388         (__setcontext): Likewise.
20389         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
20390         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20391         Call rt_sigprocmask syscall one time to set new signal mask
20392         and retrieve the current signal mask instead of two calls.
20393         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
20394         (__swapcontext): Likewise.
20395         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
20396         * stdlib/tst-setcontext2.c: New file.
20398 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20400         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20402 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
20404         [BZ #18093]
20405         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
20406         the wrong size.
20408 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20410         [BZ #18043]
20411         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
20413 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20415         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
20416         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
20417         Remove define.
20418         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
20419         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
20420         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
20421         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
20422         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
20423         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
20424         define.
20425         * nptl_db/td_symbol_list.c (td_lookup): Remove
20426         HAVE_ASM_GLOBAL_DOT_NAME code.
20427         * sysdeps/powerpc/powerpc64/configure.ac: Remove
20428         HAVE_ASM_GLOBAL_DOT_NAME check.
20429         * sysdeps/powerpc/powerpc64/configure: Regenerate.
20430         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
20431         (DOT_LABEL): Remove define.
20432         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
20433         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
20434         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
20435         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
20436         (__TLS_GET_ADDR): Likewise.
20437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
20438         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
20440 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
20442         [BZ #18111]
20443         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
20444         (_FPU_SETCW): Initialize cw from fpsr before storing.
20445         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
20446         (fesetexceptflag): Rewrite using fpu_control.h.
20447         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
20449 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
20451         [BZ #18110]
20452         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
20453         asms.
20454         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20456 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
20458         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
20459         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
20460         abort.
20461         (_FP_FMA): Likewise.
20462         (_FP_DIV): Likewise.
20464 2015-03-10  Roland McGrath  <roland@hack.frob.com>
20466         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
20467         with 0 in that case.
20468         * Makefile (summarize-tests): New canned sequence, factored out of
20469         commands for targets tests and xtests.  Display summary lines that
20470         don't start with PASS: or XFAIL: rather than ones that do start with
20471         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
20472         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
20473         do start with ERROR: or FAIL:.
20474         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
20475         (except for [$(build-shared) = yes]).
20476         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
20477         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
20478         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
20479         * nptl/Makefile: Revert 2015-03-04 changes.
20480         [$(CXX) empty] (tests-unsupported): New variable.
20481         * debug/Makefile: Likewise.
20483         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
20484         gnulib file.  Replace __attribute with __attribute__ throughout.
20486 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
20488         * sysdeps/hppa/fpu/libm-test-ulps: Update.
20490 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20492         [BZ #18104]
20493         * math/auto-libm-test-in: Add another test of pow.
20494         * math/auto-libm-test-out: Regenerated.
20496 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20498         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
20499         $(config-cflags-nofma).
20501 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20503         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
20504         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
20505         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
20506         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
20507         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
20508         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
20509         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
20510         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
20511         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
20512         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
20513         Add comment on closing #endif.
20515 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20517         * posix/wordexp.c (CHAR_IN_SET): New macro.
20518         (parse_param): Use it.
20520 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20522         * sysdeps/powerpc/fpu/libm-test-ulps: update.
20524 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20526         [BZ #18043]
20527         * posix/wordexp.c (parse_param): Fix buffer overflow.
20528         * posix/wordexp-test.c (test_case): Add test case.
20530 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20532         [BZ #18042]
20533         * posix/wordexp.c (parse_backtick): Fix off-by-one.
20534         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
20536 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20538         [BZ #18043]
20539         * posix/wordexp-test.c (test_case): Add test for BZ #18043
20540         (do_bz18043): Delete.
20541         (at_page_end): New.
20542         (testit): Refactor to have words at the edge of unreadable page.
20544 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20546         [BZ #16734]
20547         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
20548         Cleanup read-only streams as well.
20549         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
20551 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20553         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
20554         <bits/libc-lockP.h>
20556 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
20558         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
20559         on [__KERNEL__].
20560         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
20561         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
20562         * soft-fp/op-common.h (_FP_DECL): Likewise.
20564 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20566         * elf/ifuncdep2.c (global): Replace
20567         __attribute__((visibility("protected"))) with
20568         asm (".protected global").
20569         * elf/ifuncmod1.c (global): Likewise.
20570         * elf/ifuncmod5.c (global): Likewise.
20572 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
20574         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
20575         <asm/sfp-machine.h> instead of <sfp-machine.h>.
20577 2015-03-06  Roland McGrath  <roland@hack.frob.com>
20579         * manual/install.texi (Configuring and compiling):
20580         Document test-wrapper-env-only.
20581         * INSTALL: Regenerated.
20583 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20585         [BZ #18043]
20586         * posix/wordexp.c (parse_param): Fix buffer overflow.
20587         * posix/wordexp-test.c (do_bz18043): Add test case.
20589 2015-03-06  Vincent Bernat  <vincent@bernat.im>
20591         * time/tst-strptime2.c (do_test): Ensure failing tests are
20592         reported correctly.
20593         * time/tst-strptime3.c (do_test): Likewise.
20595 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
20597         Fix aio_error thread-safety.
20598         * sysdeps/pthread/aio_error.c: New file
20599         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
20600         synchronization.
20602 2015-03-06  Florian Weimer  <fweimer@redhat.com>
20604         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
20605         (group_number, vfprintf): Use it.
20606         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
20607         (JUMP, REF): Use it.
20608         (WORK_BUFFER_SIZE): New enum constant.
20609         (process_arg, vfprintf): Use it.
20611 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
20613         * manual/errno.texi (Error Messages): Complete example function
20614         by adding missing #define.
20615         (program_invocation_name): Add statement indicating GNU
20616         extension and reference which header file declares the variable.
20617         (program_invocation_short_name): Likewise.
20619 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
20621         * manual/errno.texi (Error Messages): Delete strerror ISO C89
20622         compatibility note.
20624 2015-03-05  Roland McGrath  <roland@hack.frob.com>
20626         * Makeconfig (test-wrapper-env-only): New variable.
20627         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
20628         then use that with $(test-wrapper-env-only) rather than using
20629         $(test-wrapper-env) $(run-program-env) $($*-ENV).
20631 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
20633         [BZ #18082]
20634         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
20635         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
20636         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
20637         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
20638         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
20639         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
20640         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
20641         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
20642         Likewise.
20643         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
20644         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
20645         Likewise.
20646         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
20647         Likewise.
20648         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
20649         Likewise.
20650         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
20651         Likewise.
20652         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
20653         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
20654         Likewise.
20655         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
20656         Likewise.
20657         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
20658         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
20660 2015-03-04  Roland McGrath  <roland@hack.frob.com>
20662         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
20663         (ETH_ALEN): New macro.
20664         (struct ether_addr): Use it for length of ether_addr_octet.
20666         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
20667         (setdb): Don't call __nss_configure_lookup for "rpc".
20668         (do_test): Don't call test_rpc.
20669         (output_rpcent, test_rpc): Functions moved ...
20670         * sunrpc/test-rpcent.c: ... to this new file.
20671         * sunrpc/Makefile (tests): Add it.
20673         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20674         __xpg_sigpause.
20675         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20676         * nptl/tst-signal6.c: Likewise.
20677         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20678         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20680         * configure.ac (libc_cv_cxx_link_ok): New check.
20681         Reset CXX to empty if it fails to link.
20682         * configure: Regenerated.
20683         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20684         bug-atexit3-lib only if $(CXX) is nonempty.
20685         * nptl/Makefile (tests): Likewise for tst-cancel24.
20686         (tests, tests-static): Likewise for tst-cancel24-static.
20687         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20688         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20689         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20690         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20692 2015-03-04  Andreas Schwab  <schwab@suse.de>
20694         [BZ #17631]
20695         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20696         for non-GCC compilers.
20697         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20698         Likewise.
20700 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20702         [BZ #17776]
20703         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20704         integer before bitwise and assembly operations.
20705         (feclearexcept): Likewise.
20706         * math/test-fenvinline.c: New file.
20707         * math/Makefile: Add test-fenvinline test.
20709 2015-03-03  Alan Modra  <amodra@gmail.com>
20711         [BZ #16512]
20712         * scripts/localplt.awk: Strip off symbol version.
20713         * NEWS: Mention bug fix.
20715 2015-03-02  Roland McGrath  <roland@hack.frob.com>
20717         * sysdeps/pthread/timer_routines.c
20718         (timer_free_list, thread_free_list, thread_active_list): Make static.
20720 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
20722         [BZ #17779]
20723         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20724         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20725         Undefine.
20726         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20727         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20728         Likewise.
20729         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20730         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20731         Likewise.
20733 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20735         [BZ #18036]
20736         * posix/fnmatch_loop.c (END): Detect invalid pattern.
20737         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20739 2015-03-02  Andreas Schwab  <schwab@suse.de>
20741         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20742         variable name.
20744 2015-03-02  Florian Weimer  <fweimer@redhat.com>
20746         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20747         Return error status.
20749 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
20751         [BZ #15969]
20752         * locale/findlocale.c (_nl_find_locale): Introduce const
20753         version of loc_name and drop unsafe type casts.
20755 2015-02-27  Roland McGrath  <roland@hack.frob.com>
20757         * dlfcn/tststatic2.c (main): Converted to ...
20758         (do_test): ... this.
20759         (TEST_FUNCTION): New macro.
20760         Include test-skeleton.c.
20762 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
20764         [BZ #17711]
20765         * elf/Makefile (tests): Add vismain only if PIE is enabled.
20766         (tests-pie): Add vismain.
20767         (CFLAGS-vismain.c): New.
20768         * elf/vismain.c: Add comments for PIE requirement.
20770 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20772         [BZ #18046]
20773         [BZ #18047]
20774         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20775         0x1p-56L as threshold for just returning the argument.
20776         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20777         0x1p-32L as threshold for just returning the argument.
20778         * math/auto-libm-test-in: Add more tests of atanh.
20779         * math/auto-libm-test-out: Regenerated.
20780         * sysdeps/i386/fpu/libm-test-ulps: Update.
20781         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20783 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20785         * string/bcopy.c (bcopy): Call memmove for performance.
20787 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20789         * string/bzero.c (__bzero): Call memset for performance.
20791 2015-02-27  John David Anglin  <dave.anglin@bell.net>
20793         [BZ #18068]
20794         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20795         to 00100000.
20797 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20799         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20801 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20803         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20804         (__kernel_standard): Use CSTR macro when setting exc.name.
20805         * sysdeps/ieee754/Makefile [$(subdir) = math]
20806         (CFLAGS-k_standard.c): Remove variable.
20808         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20809         setting p and q from "else if" to "else".
20810         (qzero): Likewise.
20811         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20812         (qone): Likewise.
20813         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20814         (qzerof): Likewise.
20815         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20816         (qonef): Likewise.
20817         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20818         (qzero): Likewise.
20819         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20820         (qone): Likewise.
20822         [BZ #18038]
20823         [BZ #18039]
20824         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20825         return pi/2 for arguments below 0x1p-113L.
20826         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20827         return pi/2 for arguments below 0x1p-106L.
20828         * math/auto-libm-test-in: Add more tests of acos.
20829         * math/auto-libm-test-out: Regenerated.
20831         [BZ #16351]
20832         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20833         (MO): New macro.
20834         (__ieee754_asin): Force underflow exception for results with small
20835         absolute value.
20836         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20837         (MO): New macro.
20838         (__ieee754_asinf): Force underflow exception for results with
20839         small absolute value.
20840         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20841         (__ieee754_asin): Force underflow exception for results with small
20842         absolute value.
20843         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20844         (__ieee754_asinf): Force underflow exception for results with
20845         small absolute value.
20846         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20847         (__ieee754_asinl): Force underflow exception for results with
20848         small absolute value.
20849         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20850         (__ieee754_asinl): Force underflow exception for results with
20851         small absolute value.
20852         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20853         (__ieee754_asinl): Force underflow exception for results with
20854         small absolute value.
20855         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20856         Include <math.h>.
20857         * math/auto-libm-test-in: Do not mark underflow exceptions as
20858         possibly missing for bug 16351.
20859         * math/auto-libm-test-out: Regenerated.
20861         [BZ #18030]
20862         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20863         of power of 2 down when low part has opposite sign.
20864         * math/libm-test.inc (logb_test_data): Add more tests.
20866 2015-02-26  Andreas Schwab  <schwab@suse.de>
20868         [BZ #18032]
20869         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20870         over collating symbol inside a bracket expression.  Minor cleanup.
20871         * posix/tst-fnmatch3.c (do_test): Add test case.
20873 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20875         [BZ #18029]
20876         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20877         Adjust exponent of power of 2 down when low part has opposite
20878         sign.
20879         * math/libm-test.inc (ilogb_test_data): Add more tests.
20881 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
20883         [BZ #15969]
20884         * locale/findlocale.c (_nl_find_locale): Fix constness error in
20885         the previous change.
20887         [BZ #15969]
20888         * locale/findlocale.c (_nl_find_locale): Retry archive search
20889         after alias expansion.
20891 2015-02-25  Roland McGrath  <roland@hack.frob.com>
20893         * iconv/tst-iconv3.c (main): Converted to ...
20894         (do_test): ... this.
20895         (TEST_FUNCTION): New macro.
20896         Include test-skeleton.c.
20898         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20899         (convert): Make function static.
20900         (test_unalign): Likewise.  Add const to argument pointee types.
20901         (main): Replace with static function do_test.
20902         Print "Succeeded." only if RET is zero.
20903         (TEST_FUNCTION): New macro.
20904         Include test-skeleton.c.
20906         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20907         returns a null pointer.
20909 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20911         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20912         to __memcpy_ppc only for static builds.
20914 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
20916         [BZ #18020]
20917         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20918         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20919         * math/auto-libm-test-in: Add more tests of asinh.
20920         * math/auto-libm-test-out: Regenerated.
20921         * sysdeps/i386/fpu/libm-test-ulps: Update.
20922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20924 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
20926         [BZ #15850]
20927         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20928         and ip6_mtuinfo definitions here.
20929         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20930         in this define too.  Update comment.
20932 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
20934         * elf/sprof.c (load_shobj): Tweak error message to match others.
20936 2015-02-24  Kevin Easton  <kevin@guarana.org>
20938         [BZ #16145] (partial fix)
20939         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20940         to reduce lock contention.
20942 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
20944         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20945         (struct timex): Update time comment.
20946         (ADJ_SETOFFSET): Define.
20948 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20950         [BZ #18019]
20951         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20952         2**56 not 2**28 as threshold for log (2x) formula.
20953         * math/auto-libm-test-in: Add more tests of acosh.
20954         * math/auto-libm-test-out: Regenerated.
20955         * sysdeps/i386/fpu/libm-test-ulps: Update.
20956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20958 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20960         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20961         parenthesis around the buf assignment.
20962         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20964 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20966         [BZ #16783]
20967         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20968         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20969         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20970         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20971         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20972         * math/libm-test.inc (scalb_test_data): Add more tests.
20974 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20976         [BZ #17916]
20977         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20978         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20980 2015-02-24  Eric Rannaud  <e@nanocritical.com>
20982         [BZ #17523]
20983         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20984         * io/bits/fcntl2.h (open): Use it.
20985         (openat): Likewise.
20986         * io/open.c (__libc_open): Likewise.
20987         * io/open64.c (__libc_open64): Likewise.
20988         * io/open64_2.c (__open64_2): Likewise.
20989         * io/open_2.c (__open_2): Likewise.
20990         * io/openat.c (__openat): Likewise.
20991         * io/openat64.c (__openat64): Likewise.
20992         * io/openat64_2.c (__openat64_2): Likewise.
20993         * io/openat_2.c (__openat_2): Likewise.
20994         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20995         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20996         * sysdeps/posix/open64.c (__libc_open64): Likewise.
20997         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20998         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20999         (__open_nocancel): Likewise.
21000         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21001         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21002         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
21004 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21006         [BZ #14841]
21007         * resolv/gethnamaddr.c (getanswer): Skip logging if
21008         RES_USE_DNSSEC is set.
21009         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21011 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21013         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
21015 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
21017         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21018         201304L, for Unicode 7.
21020 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
21022         [BZ #17836]
21023         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
21024         shared library.  Add gmon-start.os otherwise.
21025         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
21026         $(objpfx)gmon-start.os if builing shared library.
21027         ($(objpfx)g$(static-start-installed-name)): Likewise.
21029 2015-02-23  Andreas Schwab  <schwab@suse.de>
21031         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
21033 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
21035         [BZ #17269]
21036         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
21037         (enlarge_userbuf): Likewise.
21039 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
21041         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
21042         * math/atest-exp.c (TIMEOUT): Adjust to 200.
21043         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
21044         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
21046 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
21048         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
21049         expression inside statement expression.
21051 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
21053         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
21054         <sysdeps/nptl/lowlevellock.h> and remove macros and
21055         functions that are now defined there.
21056         (SYS_futex): Remove.
21057         (lll_compare_and_swap): Remove.
21058         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
21060 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
21062         [BZ #17999]
21063         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
21064         instead of scandirat.
21065         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
21066         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
21067         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
21068         __scandirat.
21069         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
21070         (__scandirat): Declare.  Use libc_hidden_proto.
21071         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
21072         Remove variable.
21073         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21075 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21077         [BZ #15319]
21078         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
21079         (MO): New macro.
21080         (__ieee754_atan2): For results with small absolute value, force
21081         underflow exception and remove excess range and precision from
21082         return value.
21083         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
21084         (MO): New macro.
21085         (__ieee754_atan2f): For results with small absolute value, force
21086         underflow exception and remove excess range and precision from
21087         return value.
21088         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
21089         (MO): New macro.
21090         (__atan): For results with small absolute value, force underflow
21091         exception and remove excess range and precision from return value.
21092         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
21093         (MO): New macro.
21094         (__atanf): For results with small absolute value, force underflow
21095         exception and remove excess range and precision from return value.
21096         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
21097         <math.h>.
21098         (__ieee754_atan2): Force underflow exception for results with
21099         small absolute value.
21100         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
21101         <math_private.h>.
21102         (atan): Force underflow exception for results with small absolute
21103         value.
21104         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
21105         (__atanf): Force underflow exception for results with small
21106         absolute value.
21107         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
21108         <math.h>.
21109         (__atanl): Force underflow exception for results with small
21110         absolute value.
21111         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
21112         (__atanl): Force underflow exception for results with small
21113         absolute value.
21114         * sysdeps/x86/fpu/bits/mathinline.h
21115         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
21116         (__ieee754_atan2): Only define inline for long double.
21117         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21118         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
21119         * math/auto-libm-test-in: Do not mark underflow exceptions as
21120         possibly missing for bug 15319.  Add more tests of atan2.
21121         * math/auto-libm-test-out: Regenerated.
21122         * math/libm-test.inc (casin_test_data): Do not mark underflow
21123         exceptions as possibly missing for bug 15319.
21124         (casinh_test_data): Likewise.
21125         * sysdeps/i386/fpu/libm-test-ulps: Update.
21127 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
21129         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
21130         * sysdeps/mips/bits/endian.h: Fix comments.
21132 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21134         [BZ #17996]
21135         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
21136         (hdestroy_r): Likewise.
21137         (hsearch_r): Likewise.
21138         (__hcreate_r): Declare and use libc_hidden_proto.
21139         (__hdestroy_r): Likewise.
21140         (__hsearch_r): Likewise.
21141         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
21142         (hcreate): Call __hcreate_r instead of hcreate_r.
21143         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
21144         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
21145         as weak alias of __hcreate_r.
21146         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
21147         __hdestroy_r.
21148         (hsearch_r): Rename to __hsearch_r and define as weak alias of
21149         __hsearch_r.
21150         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
21151         Remove variable.
21152         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21153         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21154         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21155         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21157 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21159         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
21160         arena_lock into a single arena_get.
21162 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
21164         * dl-reloc.c: Inlucde libc-internal.h.
21165         (_dl_try_allocate_static_tls): Call ALIGN_UP.
21166         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
21167         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
21168         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
21169         (grow_heap): Likewise.
21170         * malloc/malloc.c: Include libc-internal.h.
21171         (do_check_malloc): Call powerof2.
21172         (sysmalloc): Use pagesize. Call ALIGN_UP.
21173         (systrim): Use pagesize.
21174         (mremap_chunk): Use pagesize. Call ALIGN_UP.
21175         (__libc_valloc): Use pagesize.
21176         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
21178 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21180         [BZ #17991]
21181         * include/sys/resource.h (__getrlimit64): Declare.  Use
21182         libc_hidden_proto.
21183         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
21184         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
21185         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
21186         getrlimit64.
21187         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
21188         __getrlimit64.
21189         [!getrlimit64] (getrlimit64): Define as weak alias of
21190         __getrlimit64.  Use libc_hidden_weak.
21191         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
21192         using __getrlimit64 not __new_getrlimit64.
21193         (__GI_getrlimit64): Likewise.
21194         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
21195         Likewise.
21196         (__GI_getrlimit64): Likewise.
21197         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
21198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
21199         (getrlimit): Add __getrlimit64 alias.
21200         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
21201         Likewise.
21202         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
21203         Remove variable.
21204         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21205         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21207 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
21209         * libio/fileops.c: Add missing sys/mman.h
21210         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
21212 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21214         * manual/math.texi (Errors in Math Functions): Clarify goals
21215         regarding inexact and underflow exceptions.
21217 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21219         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
21220         * sysdeps/mips/memset.S: Ditto.
21222 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21224         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
21226 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21228         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
21229         (__v1longjmp): Remove versioned symbol.
21230         (__v1siglongjmp): Remove alias and versioned symbol.
21231         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
21232         (__v2siglongjmp): Likewise.
21234 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21236         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
21238 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
21240         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
21242 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21244         [BZ #17987]
21245         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
21246         zero result does not depend on the sign resulting from
21247         subtraction.
21248         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21249         Likewise.
21250         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21251         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21252         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21253         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21254         * math/libm-test.inc (remquo_test_data): Add more tests.
21256 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
21258         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
21259         Problem reported by J William Piggott.
21261 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21263         [BZ #17978]
21264         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
21265         products 4 * y and 2 * y where those would overflow.
21266         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21267         Likewise.
21268         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21269         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21270         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21271         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21272         * math/libm-test.inc (remquo_test_data): Add more tests.
21274         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
21276         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
21277         [defined _COMPILING_NEWLIB].
21278         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
21279         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
21281         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
21282         [!defined __mips_isa_rev || __mips_isa_rev < 6].
21284 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21286         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
21287         acquired.
21289 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
21291         [BZ #17792]
21292         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
21293         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
21294         HOST_STACK_END_ADDR): Likewise.
21296 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
21298         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
21299         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
21300         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
21302 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21304         * sysdeps/generic/c++-types.data: New file.
21305         * sysdeps/generic/ld.abilist: New file.
21306         * sysdeps/generic/libBrokenLocale.abilist: New file.
21307         * sysdeps/generic/libanl.abilist: New file.
21308         * sysdeps/generic/libc.abilist: New file.
21309         * sysdeps/generic/libcrypt.abilist: New file.
21310         * sysdeps/generic/libdl.abilist: New file.
21311         * sysdeps/generic/libm.abilist: New file.
21312         * sysdeps/generic/libpthread.abilist: New file.
21313         * sysdeps/generic/libresolv.abilist: New file.
21314         * sysdeps/generic/librt.abilist: New file.
21316 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21318         [BZ #17569]
21319         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21320         Compute absolute value of x as modified by fmod, not original
21321         value of x.
21322         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
21323         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
21324         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
21325         RUN_TEST_ffI_f1_mod8.
21326         (remquo_test_data): Add more tests.
21328 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21330         * sysdeps/init_array/pt-crti.S: New file.
21332 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21334         [BZ #17967]
21335         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
21336         __builtin_fmaf instead of relying on contraction of a * b + c.
21338 2015-02-12  J William Piggott  <elseifthen@gmx.com>
21340         [BZ #17969]
21341         * manual/time.texi: correct the zoneinfo path in the TZ Variable
21342         node.
21344 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21346         [BZ #17964]
21347         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
21348         __builtin_fma instead of relying on contraction of a * b + c.
21350 2015-02-12  Roland McGrath  <roland@hack.frob.com>
21352         * Makeconfig (ASFLAGS): Add -Werror=undef.
21353         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
21354         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
21355         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
21357         * Makeconfig (after-link): New variable.
21358         (+link-pie, +link-pie-tests): Use it.
21359         (+link-static, +link-static-tests): Likewise.
21360         (+link, +link-tests): Likewise.
21361         * Makerules (build-module, build-module-asneeded): Likewise.
21362         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
21363         Likewise.
21364         * elf/Makefile ($(objpfx)ld.so): Likewise.
21366 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
21368         [BZ #17965]
21369         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
21370         both struct timeval and struct timespec.
21372 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21374         [BZ #16560]
21375         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21376         and redefine.
21377         (__ieee754_exp2l): Do not multiply small fractional parts by
21378         M_LN2l.
21379         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
21380         small argument.
21381         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21382         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21383         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
21384         * math/auto-libm-test-in: Add more tests of exp2.
21385         * math/auto-libm-test-out: Regenerated.
21387 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21389         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
21390         unaligned path.
21392 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21394         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
21395         little endian.
21397 2015-02-12  Andreas Schwab  <schwab@suse.de>
21399         [BZ #15790]
21400         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21401         Filter out elision flags from value returned in kind.
21402         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
21403         * nptl/tst-pthread-mutexattr.c: New file.
21405 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21407         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
21408         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
21409         into gnu-gnu, and update comment to refer to abi-tags.
21411 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
21413         [BZ #15467]
21414         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
21415         (__sincos): Set errno to EDOM for infinite argument.
21416         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
21417         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
21418         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
21419         (__sincosl): Set errno to EDOM for infinite argument.
21420         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
21421         (__sincosl): Set errno to EDOM for infinite argument.
21422         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
21423         (__sincosl): Set errno to EDOM for infinite argument.
21424         * math/libm-test.inc (sincos_test_data): Test errno setting.
21426 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
21428         * string/strxfrm_l.c: Remove #define STRCMP.
21429         * string/strcoll_l.c: Remove #define STRLEN.
21430         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
21431         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
21433 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
21435         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
21436         * sysdeps/mips/mips32/sfp-machine.h: ... here.
21437         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
21438         * sysdeps/mips/mips64/Makefile: ... here.
21439         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
21440         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
21441         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
21442         * sysdeps/mips/mips64/sfp-machine.h: ... here.
21443         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
21444         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
21445         * sysdeps/mips/mips64/n64/Implies: Likewise.
21447 2015-02-10  Roland McGrath  <roland@hack.frob.com>
21449         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
21450         <sys/time.h>, <string.h>, and <errno.h>.
21451         (dest_offset, dest_address, value, zero): Remove unused variables.
21452         (ldouble): Remove typedef.
21453         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
21454         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
21455         1).  Fix code style.
21456         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
21457         (check): Function removed.
21458         (CHECK): New macro.
21459         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
21460         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
21461         Don't call set_sigaction_FP and remove_sigaction_FP here.
21462         (ldouble_test): Just use 'long double' as macro argument, no need for
21463         the 'ldouble' typedef.
21464         (do_test): Set up SIGFPE handler at start, using plain signal rather
21465         than sigaction.  Fix code style.
21467 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
21469         [BZ #17949]
21470         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
21471         jump label.
21473 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21475         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
21476         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21478         * sysdeps/powerpc/configure.ac: Remove file.
21479         * sysdeps/powerpc/configure: Likewise.
21481         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21482         [sysdep_routines]: Remove wordcopy-power6 object.
21483         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21484         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
21485         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
21486         (__memmove_ppc32): Likewise.
21487         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
21488         file.
21489         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
21490         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
21491         Remove preprocessor.
21493         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21494         [sysdep_routines]: Remove wide chars objects.
21495         [wcsmbs]: New rule for wide char objects.
21497         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21498         Remove wordcopy-power6 obejct.
21499         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
21500         Use local call for wordcopy and memcpy symbols.
21501         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
21502         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
21503         implementation for loader.
21504         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
21506         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21507         Remove wordcopy-power7 object.
21508         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
21509         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
21510         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
21511         (_wordcopy_fwd_dest_aligned): Likewise.
21512         (_wordcopy_bwd_aligned): Likewise.
21513         (_wordcopy_bwd_dest_aligned): Likewise.
21515         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
21516         Rewrite to call __memmove_ppc instead of include default
21517         implementation.
21519         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21520         Remove wide chars objects.
21521         [wcsmbs]: New rule for wide char objects.
21523 2015-02-09  Andreas Schwab  <schwab@suse.de>
21525         [BZ #17912]
21526         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21527         in terms of __O_DIRECTORY.
21529 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21531         * time/getdate.c: Include <stdbool.h>.
21532         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
21533         call PTR_MANGLE.
21534         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
21535         PTR_DEMANGLE.
21537 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
21539         Add ersatz _Static_assert on older C hosts
21540         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
21541         pre-C11 C platform that is not known to support _Static_assert.
21543 2015-02-07  Richard Braun  <rbraun@sceen.net>
21545         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
21546         sigstate.
21547         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
21549 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21551         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
21552         priority against unexistent AIO_PRIO_DELTA_MAX.
21553         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
21554         instead of int.
21555         * misc/fchflags.c (fchflags): Likewise.
21556         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
21557         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
21558         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
21559         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
21560         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
21561         Declare macros.
21562         [__USE_MISC] (chflags, fchflags): Declare functions.
21563         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
21564         EINVAL when nfds is greater than FD_SETSIZE.
21565         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
21566         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
21567         45.
21568         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
21569         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
21570         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
21571         MACH_RCV_TIMED_OUT.
21572         * hurd/hurd/signal.h (_hurd_self_sigstate,
21573         _hurd_critical_section_lock, _hurd_critical_section_unlock):
21574         Explicit casts from void *.
21575         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
21576         * abi-tags: Rename gnu-gnu os into gnu.
21578         [BZ #4719]
21579         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
21580         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
21581         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
21582         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
21583         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
21584         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
21586         [BZ #17944]
21587         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
21588         duplicates ADDR->sun_path with sockaddr LEN limitation.
21589         * sysdeps/mach/hurd/connect.c: Include <string.h>
21590         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
21591         * sysdeps/mach/hurd/sendmsg.c: Likewise.
21592         * sysdeps/mach/hurd/sendto.c: Likewise.
21593         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
21594         implementing it by hand.
21596 2015-02-06  Roland McGrath  <roland@hack.frob.com>
21598         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
21599         Use sfi_breg on ldr.
21600         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
21601         Likewise.
21603         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
21604         it's defined.
21605         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
21606         Test SIGSETXID only if it's defined.
21608         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
21610         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
21611         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
21613         * nptl/tst-align2.c: Moved ...
21614         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
21615         * nptl/Makefile (tests): Remove tst-align2.
21616         * sysdeps/unix/sysv/linux/Makefile
21617         [$(subdir) = nptl] (tests): Add tst-align-clone.
21618         * nptl/tst-getpid1.c: Moved ...
21619         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
21620         * nptl/tst-getpid2.c: Moved ...
21621         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
21622         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
21623         * sysdeps/unix/sysv/linux/Makefile
21624         [$(subdir) = nptl] (tests): ... here.
21625         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
21626         * sysdeps/unix/sysv/linux/Makefile
21627         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
21629         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
21630         Drop trailing \n from perror argument.  Use return rather than exit.
21632         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
21633         on [SA_SIGINFO].
21634         * nptl/tst-cancel21.c (do_test): Likewise.
21635         * debug/tst-backtrace6.c: Include <signal.h> first thing.
21636         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
21637         [!SA_SIGINFO]: Make it a stub test.
21639         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
21640         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
21642         * posix/tst-getlogin.c: Move to ...
21643         * login/tst-getlogin.c: ... here.
21644         * posix/Makefile (tests): Move tst-getlogin to ...
21645         * login/Makefile (tests): ... here.
21647         * libio/tst-atime.c (do_test): Move local variables SV and E
21648         inside [ST_NOATIME] conditional.
21650         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
21652         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
21654         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
21655         (wait_code): New function replaces macro.
21656         Call nanosleep rather than syscall.
21658         * nptl/pt-system.c: Rewritten.  Put everything under
21659         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21660         Use IFUNC to redirect when possible.
21662         * nptl/pt-longjmp.c: Rewritten.  Put everything under
21663         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21664         Use IFUNC to redirect when possible.
21666         * nptl/pt-fork.c: Rewritten.  Put everything under
21667         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21668         Use IFUNC to redirect when possible.
21669         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
21671         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21672         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
21673         unconditionally nowadays.  This included the only reference to
21674         __vdso_clock_gettime that appears outside libc proper.
21675         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21676         Remove version set (containing only __vdso_clock_gettime).
21677         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21678         Add attribute_hidden.
21679         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21680         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21681         libc_hidden_data_def.
21682         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21683         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21685         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21686         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21687         setrpcent, and getrpcport to ...
21688         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21689         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21690         getrpcbynumber_r, and getrpcent_r to ...
21691         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21692         * inet/getrpcbyname.c: Moved ...
21693         * sunrpc/getrpcbyname.c: ... here.
21694         * inet/getrpcbyname_r.c: Moved ...
21695         * sunrpc/getrpcbyname_r.c: ... here.
21696         * inet/getrpcbynumber.c: Moved ...
21697         * sunrpc/getrpcbynumber.c: ... here.
21698         * inet/getrpcbynumber_r.c: Moved ...
21699         * sunrpc/getrpcbynumber_r.c: ... here.
21700         * inet/getrpcent.c: Moved ...
21701         * sunrpc/getrpcent.c: ... here.
21702         * inet/getrpcent_r.c: Moved ...
21703         * sunrpc/getrpcent_r.c: ... here.
21704         * inet/Makefile (routines): Move those to ...
21705         * sunrpc/Makefile (routines): ... here.
21706         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21707         the $(subdirs) list.
21708         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
21709         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21710         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21711         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21713         * elf/Makefile (routines): Include $(all-dl-routines), not just
21714         $(dl-routines).
21715         (rtld-routines): Likewise.  Use = rather than :=.
21716         * sysdeps/aarch64/Makefile [$(subdir) = elf]
21717         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21718         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21719         * sysdeps/arm/Makefile: Likewise.
21720         * sysdeps/i386/Makefile: Likewise.
21721         * sysdeps/x86_64/Makefile: Likewise.
21722         * sysdeps/hppa/Makefile [$(subdir) = elf]
21723         (sysdep_routines, sysdep-rtld-routines): Don't add
21724         $(sysdep-dl-routines) to these.
21725         * sysdeps/ia64/Makefile: Likewise.
21726         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21727         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21728         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21729         Don't add dl-static to these; sysdep-dl-routines alone is enough.
21730         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21731         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21732         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21733         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21734         * sysdeps/powerpc/Makefile [$(subdir) = elf]
21735         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21736         these; sysdep-dl-routines alone is enough.
21738 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
21740         [BZ #17932]
21741         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21742         where multiplication results in zero and third argument is finite
21743         and nonzero.
21744         * math/auto-libm-test-in: Add more tests of fma.
21745         * math/auto-libm-test-out: Regenerated.
21747         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21748         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21749         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21750         (_FP_CMP_EQ): Likewise.
21751         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21753         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21754         extra argument CHECK_NAN.  Redefine as wrapper around
21755         _FP_EXTEND_CNAN.
21757 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
21759         * version.h (RELEASE): Set to "stable".
21760         (VERSION): Set to "2.21"
21761         * include/features.h (__GLIBC_MINOR__): Set to 21.
21763         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21765 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21766             Paul Eggert  <eggert@cs.ucla.edu>
21768         [BZ #16618]
21769         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21770         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21771         size in bytes. Store needed elements in wpmax. Use needed size
21772         in bytes for extend_alloca.
21774 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
21776         * manual/install.texi: Latest tested versions are GCC 4.9.2,
21777         binutls 2.25, and texinfo 5.2.
21778         * INSTALL: Regenerate.
21779         * sysdeps/nios2/configure: Regenerate.
21780         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21781         * manual/contrib.texi: Update.
21782         * po/be.po: Update.
21783         * po/bg.po: Update.
21784         * po/ca.po: Update.
21785         * po/cs.po: Update.
21786         * po/da.po: Update.
21787         * po/de.po: Update.
21788         * po/el.po: Update.
21789         * po/eo.po: Update.
21790         * po/es.po: Update.
21791         * po/fi.po: Update.
21792         * po/fr.po: Update.
21793         * po/gl.po: Update.
21794         * po/hr.po: Update.
21795         * po/hu.po: Update.
21796         * po/ia.po: Update.
21797         * po/id.po: Update.
21798         * po/it.po: Update.
21799         * po/ja.po: Update.
21800         * po/ko.po: Update.
21801         * po/lt.po: Update.
21802         * po/nb.po: Update.
21803         * po/nl.po: Update.
21804         * po/pl.po: Update.
21805         * po/pt_BR.po: Update.
21806         * po/ru.po: Update.
21807         * po/rw.po: Update.
21808         * po/sk.po: Update.
21809         * po/sl.po: Update.
21810         * po/sv.po: Update.
21811         * po/tr.po: Update.
21812         * po/uk.po: Update.
21813         * po/vi.po: Update.
21814         * po/zh_CN.po: Update.
21815         * po/zh_TW.po: Update.
21817         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21818         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21819         * sysdeps/hppa/dl-irel.h: Remove #warning.
21820         * sysdeps/hppa/entry.h: Provide prototype for
21821         __canonicalize_funcptr_for_compare and cast argument.
21822         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21823         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21824         * sysdeps/hppa/sotruss-lib.c: New file.
21825         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21826         (atomic_compare_and_exchange_val_acq): Use __typeof__.
21827         (atomic_compare_and_exchange_bool_acq): Likewise.
21828         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21829         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21831         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21832         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21833         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21835 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
21837         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21838         called function in non-PIC case.
21840 2015-01-31  David S. Miller  <davem@davemloft.net>
21842         * sysdeps/sparc/sparc32/bits/atomic.h
21843         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21844         unlock not after it.
21845         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21846         volatile register usage warnings from the compiler.
21848         * sysdeps/sparc/nptl/sem_init.c: Delete.
21849         * sysdeps/sparc/nptl/sem_post.c: Delete.
21850         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21851         * sysdeps/sparc/nptl/sem_wait.c: Delete.
21852         * sysdeps/sparc/sparc32/sem_init.c: New file.
21853         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21854         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21855         padding explicitly initialized.
21856         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21857         padding for in-semaphore spinlock.
21858         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21859         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21860         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21861         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21862         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21863         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21864         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21865         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21866         version.
21867         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21868         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21870 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
21872         [BZ #17801]
21873         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21874         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21875         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21876         New.
21877         (index_AVX_Fast_Unaligned_Load): Likewise.
21878         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21879         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21880         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21881         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21882         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21883         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21884         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21885         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21886         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21888 2015-01-29  Andreas Schwab  <schwab@suse.de>
21890         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21892 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
21894         [BZ #17892]
21895         * nscd/nscd_stat.c (send_stats): Initialize DATA.
21897 2015-01-28  Martin Sebor  <msebor@redhat.com>
21899         * math/README.libm-test: Clarify. Add "How to read the test output."
21901 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
21903         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21904         Define to 0.
21906 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
21908         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21909         (__HAVE_64B_ATOMICS): Define to 0.
21911 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21913         [BZ #17885]
21914         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21915         value to set as new flag.
21917         [BZ #16576]
21918         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21919         and use _ARCH_PPCSQ instead.
21920         (__ieee754_sqrt): Likewise.
21921         (__ieee754_sqrtf): Likewise.
21922         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21923         _ARCH_PPCSQ is defined.
21924         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21925         fsqrt instruction.
21926         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21927         _ARCH_PPCSQ is defined.
21928         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21929         fsqrts instruction.
21930         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21932 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21934         * iconv/loop.c: Suppress array out of bound warning caused by GCC
21935         bug (GCC BZ #64739).
21937 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
21939         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21940         Mark _retval as used.
21941         (lll_futex_wake_unlock): Likewise.
21942         (lll_futex_timed_wait_requeue_pi): Likewise.
21944         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21945         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21946         register variables.
21948         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21949         libm_hidden_def.
21951         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21952         (__bswap_64): Mark as __always_inline.
21954 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
21956         [BZ #15378]
21957         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21958         when none of the search directories exist.
21960 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21962         [BZ #17869]
21963         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21964         power8 in .machine directive.
21966         [BZ #17868]
21967         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21968         set dependency from opd value.
21970 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21972         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21973         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21974         architecture.
21976 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21978         [BZ #17870]
21979         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21980         with uint64_t.
21981         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21982         (uint64_t) 1.
21983         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21984         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21985         Replace 1UL with (uint64_t) 1.
21986         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21987         int with uint64_t.
21989 2015-01-23  Roland McGrath  <roland@hack.frob.com>
21991         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21992         (if_freenameindex): Likewise.
21994         * resource/getrlimit64.c: Add missing libc_hidden_def.
21996 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
21998         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21999         __label__.
22000         (_FP_FMA): Likewise.
22001         (_FP_TO_INT_ROUND): Likewise.
22002         (_FP_FROM_INT): Likewise.
22004 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22006         [BZ #16418]
22007         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
22008         Make code racy and cancel safe.
22010 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
22012         * sysdeps/arm/unwind-resume.h: Fix copyright year.
22013         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
22014         attribution.
22016         * pwd/tst-getpw.c: Rewrite.
22018         [BZ #17702]
22019         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
22020         (modules-names): Add moddummy1 and moddummy2.
22021         ($(objpfx)tst-rec-dlopen): Define.
22022         * dlfcn/moddummy1.c: New file.
22023         * dlfcn/moddummy2.c: New file.
22024         * dlfcn/tst-rec-dlopen.c: New file.
22025         * elf/dl-cache.c (_dl_load_cache_lookup):
22026         Return char*. Copy result with alloca/strcpy/strdup.
22027         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
22028         returns char*. Free cached. If not saving realname
22029         free cached.
22030         * elf/dl-open.c (dl_open_worker): Do not assert that
22031         _r_debug->r_state is RT_CONSISTENT.
22032         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
22033         returns char*.
22035 2015-01-21  Torvald Riegel  <triegel@redhat.com>
22036             Carlos O'Donell  <carlos@redhat.com>
22038         [BZ #12674]
22039         * nptl/sem_waitcommon.c: New file.
22040         * nptl/sem_wait.c: Include sem_waitcommon.c.
22041         (__sem_wait_cleanup, do_futex_wait): Remove.
22042         (__new_sem_wait): Adapt.
22043         (__new_sem_trywait): New function.
22044         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
22045         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
22046         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
22047         (sem_timedwait): Adapt.
22048         * nptl/sem_post.c (__new_sem_post): Adapt.
22049         (futex_wake): New function.
22050         (__old_sem_post): Add release MO fence.
22051         * nptl/sem_open.c (sem_open): Adapt.
22052         * nptl/sem_init.c (__new_sem_init): Adapt.
22053         (futex_private_if_supported): New function.
22054         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
22055         (__old_sem_getvalue): Add using previous code.
22056         * sysdeps/nptl/internaltypes.h: Adapt.
22057         * nptl/tst-sem13.c (do_test): Adapt.
22058         * nptl/tst-sem11.c (main): Adapt.
22059         * nptl/sem_trywait.c: Remove.
22060         * nptl/DESIGN-sem.txt: Remove.
22061         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
22062         (gen-as-const-headers): Remove structsem.sym.
22063         * nptl/structsem.sym: Remove.
22064         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
22065         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
22066         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
22067         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
22068         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
22069         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
22070         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
22071         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
22072         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
22073         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
22074         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
22075         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
22076         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
22077         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
22078         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
22079         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
22080         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
22081         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
22082         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
22083         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
22084         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
22085         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
22087 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
22089         * INSTALL: Regenerated.
22091         * po/libc.pot: Regenerated.
22093 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
22094             Sandra Loosemore  <sandra@codesourcery.com>
22095             Andrew Jenner  <andrew@codesourcery.com>
22096             Joseph Myers  <joseph@codesourcery.com>
22097             Nathan Sidwell  <nathan@codesourcery.com>
22099         * NEWS: Mention new Nios II port.
22100         * sysdeps/nios2/Implies: New file.
22101         * sysdeps/nios2/Makefile: New file.
22102         * sysdeps/nios2/Subdirs: New file.
22103         * sysdeps/nios2/Versions: New file.
22104         * sysdeps/nios2/__longjmp.S: New file.
22105         * sysdeps/nios2/abort-instr.h: New file.
22106         * sysdeps/nios2/backtrace.c: New file.
22107         * sysdeps/nios2/bits/endian.h: New file.
22108         * sysdeps/nios2/bits/fenv.h: New file.
22109         * sysdeps/nios2/bits/link.h: New file.
22110         * sysdeps/nios2/bits/setjmp.h: New file.
22111         * sysdeps/nios2/bsd-_setjmp.S: New file.
22112         * sysdeps/nios2/bsd-setjmp.S: New file.
22113         * sysdeps/nios2/configure: New generated file.
22114         * sysdeps/nios2/configure.ac: New file.
22115         * sysdeps/nios2/crti.S: New file.
22116         * sysdeps/nios2/crtn.S: New file.
22117         * sysdeps/nios2/dl-init.c: New file.
22118         * sysdeps/nios2/dl-machine.h: New file.
22119         * sysdeps/nios2/dl-sysdep.h: New file.
22120         * sysdeps/nios2/dl-tls.h: New file.
22121         * sysdeps/nios2/dl-trampoline.S: New file.
22122         * sysdeps/nios2/gccframe.h: New file.
22123         * sysdeps/nios2/gmp-mparam.h: New file.
22124         * sysdeps/nios2/jmpbuf-offsets.h: New file.
22125         * sysdeps/nios2/jmpbuf-unwind.h: New file.
22126         * sysdeps/nios2/ldsodefs.h: New file.
22127         * sysdeps/nios2/libc-tls.c: New file.
22128         * sysdeps/nios2/libm-test-ulps: New file.
22129         * sysdeps/nios2/machine-gmon.h: New file.
22130         * sysdeps/nios2/math-tests.h: New file.
22131         * sysdeps/nios2/math_private.h: New file.
22132         * sysdeps/nios2/memusage.h: New file.
22133         * sysdeps/nios2/nptl/Makefile: New file.
22134         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
22135         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
22136         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
22137         * sysdeps/nios2/nptl/pthreaddef.h: New file.
22138         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
22139         * sysdeps/nios2/nptl/tls.h: New file.
22140         * sysdeps/nios2/preconfigure: New file.
22141         * sysdeps/nios2/s_fma.c: New file.
22142         * sysdeps/nios2/s_fmaf.c: New file.
22143         * sysdeps/nios2/setjmp.S: New file.
22144         * sysdeps/nios2/sfp-machine.h: New file.
22145         * sysdeps/nios2/sotruss-lib.c: New file.
22146         * sysdeps/nios2/stackguard-macros.h: New file.
22147         * sysdeps/nios2/stackinfo.h: New file.
22148         * sysdeps/nios2/start.S: New file.
22149         * sysdeps/nios2/sysdep.h: New file.
22150         * sysdeps/nios2/tls-macros.h: New file.
22151         * sysdeps/nios2/tst-audit.h: New file.
22152         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
22153         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
22154         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
22155         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
22156         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
22157         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
22158         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
22159         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
22160         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
22161         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
22162         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
22163         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
22164         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
22165         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
22166         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
22167         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
22168         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
22169         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
22170         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
22171         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
22172         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
22173         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
22174         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
22175         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
22176         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
22177         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
22178         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
22179         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
22180         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
22181         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
22182         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
22183         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
22184         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
22185         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
22186         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
22187         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
22188         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
22189         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
22190         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
22191         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
22192         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
22193         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
22194         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
22195         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
22197 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22199         [BZ #17844]
22200         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
22201         (getutent): Use weak_alias in non SHARED case
22202         and default_symbol_version in SHARED case.
22203         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
22204         (getutent_r, pututline): Likewise.
22205         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
22206         (getutid): Likewise.
22207         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
22208         (getutid_r): Likewise.
22209         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
22210         (getutline): Likewise.
22211         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
22212         (getutline_r): Likewise.
22213         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
22214         (updwtmp): Likewise.
22216 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22218         [BZ #17848]
22219         * sysdeps/s390/s390-32/memcmp.S
22220         (memcmp_g5): Rename to __memcmp_g5.
22221         * sysdeps/s390/s390-32/memcpy.S
22222         (memcpy_g5): Rename to __memcpy_g5.
22223         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22224         (memcpy_mvcle) Rename to __memcpy_mvcle.
22225         * sysdeps/s390/s390-32/memset.S
22226         (memset_g5): Rename to __memset_g5.
22227         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22228         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22229         and use prefixed functions.
22230         * sysdeps/s390/s390-32/multiarch/memcmp.S
22231         (memcmp_z196): Rename to __memcmp_z196.
22232         (memcmp_z10): Rename to __memcmp_z10.
22233         (memcmp): Set alias to __memcmp_g5.
22234         (bcmp): Set alias to __memcmp_g5.
22235         * sysdeps/s390/s390-32/multiarch/memcpy.S
22236         (memcpy_z196): Rename to __memcpy_z196.
22237         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22238         (memcpy_z10): Rename to __memcpy_z10.
22239         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22240         (memcpy): Set alias to __memcpy_g5.
22241         * sysdeps/s390/s390-32/multiarch/memset.S
22242         (memset_z196): Rename to __memset_z196.
22243         Jump to __memset_mvcle instead of memset_mvcle.
22244         (memset_z10): Rename to __memset_z10.
22245         Jump to __memset_mvcle instead of memset_mvcle.
22246         (memset_mvcle) Rename to __memset_mvcle.
22247         (memset): Set alias to __memset_g5.
22248         * sysdeps/s390/s390-64/memcmp.S
22249         (memcmp_z900): Rename to __memcmp_z900.
22250         * sysdeps/s390/s390-64/memcpy.S
22251         (memcpy_z900): Rename to __memcpy_z900.
22252         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22253         (memcpy_mvcle) Rename to __memcpy_mvcle.
22254         * sysdeps/s390/s390-64/memset.S
22255         (memset_z900): Rename to __memset_z900.
22256         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
22257         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22258         and use prefixed functions.
22259         * sysdeps/s390/s390-64/multiarch/memcmp.S
22260         (memcmp_z196): Rename to __memcmp_z196.
22261         (memcmp_z10): Rename to __memcmp_z10.
22262         (memcmp): Set alias to __memcmp_z900.
22263         (bcmp): Set alias to __memcmp_z900.
22264         * sysdeps/s390/s390-64/multiarch/memcpy.S
22265         (memcpy_z196): Rename to __memcpy_z196.
22266         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22267         (memcpy_z10): Rename to __memcpy_z10.
22268         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22269         (memcpy): Set alias to __memcpy_z900.
22270         * sysdeps/s390/s390-64/multiarch/memset.S
22271         (memset_z196): Rename to __memset_z196.
22272         Jump to __memset_mvcle instead of memset_mvcle.
22273         (memset_z10): Rename to __memset_z10.
22274         Jump to __memset_mvcle instead of memset_mvcle.
22275         (memset_mvcle) Rename to __memset_mvcle.
22276         (memset): Set alias to __memset_z900.
22278 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
22280         [BZ #17748]
22281         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
22282         __fesetenv instead of fesetenv.
22284 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22286         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
22287         macro.
22289 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22291         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
22292         regression on LE.
22294         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
22295         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
22296         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22297         strncmp-power8 object.
22298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22299         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
22300         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
22301         * NEWS: Update.
22303 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22304             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22306         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
22307         trailing byte check.
22309 2015-01-13  David S. Miller  <davem@davemloft.net>
22311         * include/signal.h (__sigreturn): Guard with __USE_MISC.
22313 2015-01-13  Roland McGrath  <roland@hack.frob.com>
22315         * login/logout.c (logout): Use memset rather than bzero.
22316         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
22317         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
22318         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
22319         (_gethtbyaddr): Likewise.
22320         * locale/programs/simple-hash.c (bcopy): Macro removed.
22322 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22324         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22325         Add strcmp-power8 object.
22326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22327         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
22328         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
22329         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
22330         __strcmp_power8 implementation.
22331         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
22332         * NEWS: Update.
22334         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22335         Add strncpy-power8 and stpncpy-power8 objects.
22336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22337         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
22338         implementations.
22339         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
22340         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
22341         __stpncpy_power8 implementation.
22342         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
22343         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
22344         __strncpy_power8 implementation.
22345         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
22346         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
22347         * NEWS: Update.
22349         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
22350         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
22351         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
22353         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22354         strncat-power8 object.
22355         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
22356         __strcat_power8 implementation.
22357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22358         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
22359         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
22360         optimized strcat for power8.
22362         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22363         strcpy-power8 and stpcpy-power8 objects.
22364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22365         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
22366         implementations.
22367         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
22368         multiarch stpcpy implementation for POWER8.
22369         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
22370         multiarch strcpy implementation for POWER8.
22371         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
22372         __strcpy_power8 function.
22373         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
22374         stpcpy for POWER8.
22375         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
22376         strcpy for POWER8.
22377         * NEWS: Update.
22379 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
22381         [BZ #16009]
22382         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
22383         weights and rules. Use do_xfrm_cached if data fits in cache,
22384         do_xfrm otherwise.  Moved former main loop to...
22385         * (do_xfrm_cached): New function.
22386         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
22387         find_idx, find_position and stack_push.
22388         * (find_idx): New function.
22389         * (find_position): Likewise.
22390         * localedata/sort-test.sh: Added test run for do_xfrm.
22391         * localedata/xfrm-test.c (main): Added command line option
22392         -nocache to run the test with strings that are too large for
22393         the STRXFRM cache.
22395 2015-01-13  Torvald Riegel  <triegel@redhat.com>
22397         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
22398         variable to lll_futex_wake call, not the value itself.
22400 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
22402         [BZ #17803]
22403         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
22404         twom64.  Adjust value to 0x1p-64L.
22405         (__scalblnl): Only return standard underflowing result for K <=
22406         -64 not K <= -63; adjust exponent for underflowing result by 64
22407         not 63.
22408         * math/libm-test.inc (scalbn_test_data): Add more tests.
22409         (scalbln_test_data): Likewise.
22411         [BZ #17834]
22412         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
22413         0x1p63L.
22414         (__scalblnl): Get new exponent of adjusted subnormal value from ES
22415         not HX.
22416         * math/libm-test.inc (scalbn_test_data): Add more tests.
22417         (scalbln_test_data): Likewise.
22419 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22420             Stefani Seibold  <stefani@seibold.net>
22422         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
22423         (sysdep_routines): Add dl-vdso here, ...
22424         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
22425         (sysdep_routines): ... not here.
22426         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
22427         fallback when vDSO is not presented.
22428         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22429         Define with libc_hidden_proto/libc_hidden_data_def definitions.
22430         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
22431         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
22432         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
22433         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
22434         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
22435         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
22436         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
22437         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
22438         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
22439         fallback configurable symbol when vDSO is not available.
22440         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
22441         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
22442         be able to redefine fallback symbol when vDSO is not available.
22443         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
22444         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
22446 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22448         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
22449         (TLS_INIT_TP): Add tm_capable initialization.
22450         (TLS_DEFINE_INIT_TP): Likewise.
22451         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
22452         TCB.
22453         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
22454         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
22455         calculation.
22456         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
22457         transactoion is lock elision is built and TCB tm_capable is set.
22458         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
22459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22460         (INTERNAL_SYSCALL_NCS): Likewise.
22461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22462         (INTERNAL_SYSCALL_NCS): Likewise.
22463         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
22465         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
22466         for powerpc.
22467         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22468         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
22469         and remove it for 32 bits case.
22470         [pthread_rwlock_t] (__rwelision): New field for lock elision.
22471         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
22472         initialization.
22473         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
22474         Disable lock elision with rdlocks if elision is not available.
22476         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
22477         (sysdep_routines): Add lock elision objects.
22478         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22479         [pthread_mutex_t] (__spins): Rework to add lock elision field.
22480         [pthread_mutex_t] (__elision): Add field.
22481         [__PTHREAD_SPINS]: Adjust to init lock elision field.
22482         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
22483         elision definitions for powerpc.
22484         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
22485         implementation of lock elision for powerpc.
22486         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
22487         implementation of timed lock elision for powerpc.
22488         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
22489         implementation of trylock with lock elision for powerpc.
22490         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
22491         implementaion of unlock for lock elision for powerpc.
22492         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
22493         automatic enable lock elision for mutexes.
22494         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
22495         transaction execution definitions for powerpc.
22496         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
22497         definitions.
22498         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
22499         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
22500         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
22501         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
22502         * NEWS: Update.
22504 2015-01-09  Roland McGrath  <roland@hack.frob.com>
22506         * sysdeps/posix/shm-directory.c: Use <> rather than ""
22507         for #include of <shm-directory.h>.
22509 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
22511         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
22512         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
22514 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
22516         [BZ #17791]
22517         * NEWS: Mention bug fix.
22518         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
22519         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
22520         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
22522 2015-01-09  Torvald Riegel <triegel@redhat.com>
22524         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
22526 2015-01-09  Torvald Riegel <triegel@redhat.com>
22528         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
22530 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22532         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
22533         pointer and cast to uintptr_t.
22535 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22537         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
22538         removed.
22539         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
22541 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22543         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
22544         of 0.
22546 2015-01-08  Roland McGrath  <roland@hack.frob.com>
22548         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
22549         <nptl/pthreadP.h> instead.
22550         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
22552         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
22553         already defined.
22554         [__SIGRTMIN] (init): Function removed.
22555         [__SIGRTMIN] (initialized): Variable removed.
22556         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
22557         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
22558         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
22559         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
22560         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
22561         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
22562         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
22563         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
22564         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
22565         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
22566         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
22567         * sysdeps/nptl/allocrtsig.c: New file.
22568         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
22569         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
22570         * sysdeps/generic/testrtsig.h: File removed.
22572         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
22573         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
22575         * nptl/nptl-init.c (pthread_functions): Conditionalize
22576         .ptr__nptl_setxid initialization on [SIGSETXID].
22578         * sysdeps/nptl/sys/procfs.h: New file.
22579         * nptl_db/Makefile (headers): Add it.
22580         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
22582         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
22583         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
22584         * nptl/pthread_attr_setaffinity.c: Include it.
22585         * nptl/pthread_setattr_default_np.c: Likewise.
22586         * nptl/check-cpuset.h: New file.
22588 2015-01-08  Richard Henderson  <rth@redhat.com>
22590         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
22591         (CFLAGS-tst-execstack-prog.c): Likewise.
22592         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
22594 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
22595             Sandra Loosemore  <sandra@codesourcery.com>
22596             Andrew Jenner  <andrew@codesourcery.com>
22597             Joseph Myers  <joseph@codesourcery.com>
22598             Nathan Sidwell  <nathan@codesourcery.com>
22600         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
22601         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
22602         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
22603         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
22604         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
22605         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
22606         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
22607         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
22608         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
22609         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
22610         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
22611         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
22612         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
22613         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
22614         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
22615         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
22616         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
22618 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22620         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
22621         timespec struct member in syscall macro.
22622         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22623         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
22624         first timeval struct member in syscall macro.
22625         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
22627 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
22629         [BZ #17748]
22630         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
22631         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
22632         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
22633         __feupdateenv and define as weak alias of __feupdateenv.  Use
22634         libm_hidden_weak.
22635         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
22636         libm_hidden_def.
22637         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
22638         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
22639         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22640         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
22641         libm_hidden_def.
22642         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
22643         __feupdateenv and define as weak alias of __feupdateenv.  Use
22644         libm_hidden_weak.
22645         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
22646         libm_hidden_def.
22647         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
22648         __feupdateenv and define as weak alias of __feupdateenv.  Use
22649         libm_hidden_weak.
22650         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
22651         libm_hidden_def.
22652         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22653         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22654         (__feupdateenv): Likewise.
22655         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
22656         __feupdateenv and define as weak alias of __feupdateenv.  Use
22657         libm_hidden_weak.
22658         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22659         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
22660         libm_hidden_def.
22661         * sysdeps/tile/math_private.h (__feupdateenv): New inline
22662         function.
22663         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
22664         libm_hidden_def.
22665         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
22666         __feupdateenv instead of feupdateenv.
22667         (default_libc_feupdateenv_test): Likewise.
22668         (libc_feresetround_ctx): Likewise.
22670 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22672         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
22673         prototype.
22675 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
22677         * posix/regcomp.c (parse_bracket_exp): Initialize type to
22678         COLL_SYM in a couple of places to avoid uninitialized variable
22679         wanings on tilegx gcc 4.8.2.
22681 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22683         * sysdeps/aarch64/strcpy.S: New file.
22684         * sysdeps/aarch64/stpcpy.S: New file.
22685         * NEWS: Updated.
22687 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22689         * sysdeps/aarch64/strrchr.S: New file.
22690         * NEWS: Updated.
22692 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
22694         [BZ #17658]
22695         * stdlib/setenv.c: Fix memory leak when setting large,
22696         duplicate string.
22698 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
22700         [BZ #17273]
22701         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22702         and tabs from buffer before parsing fstab entry.
22703         * misc/tst-mntent.c (main): Add test for mount entry with
22704         trailing spaces and tabs.
22706 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
22708         [BZ #17748]
22709         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
22710         * math/fesetround.c (fesetround): Rename to __fesetround and
22711         define as weak alias of __fesetround.  Use libm_hidden_weak.
22712         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22713         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22714         * sysdeps/arm/fesetround.c (fesetround): Likewise.
22715         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22716         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22717         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22718         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22719         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22720         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22721         __fesetround_inline.
22722         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22723         __fesetround_inline instead of __fesetround.
22724         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22725         __fesetround and define as weak alias of __fesetround.  Use
22726         libm_hidden_weak.  Call __fesetround_inline instead of
22727         __fesetround.
22728         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22729         __fesetround and define as weak alias of __fesetround.  Use
22730         libm_hidden_weak.
22731         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22732         Likewise.
22733         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22734         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22735         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22736         * sysdeps/tile/math_private.h (__fesetround): New inline function.
22737         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22738         __fesetround and define as weak alias of __fesetround.  Use
22739         libm_hidden_weak.
22740         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22741         __fesetround instead of fesetround.
22742         (default_libc_feholdexcept_setround): Likewise.
22743         (libc_feholdsetround_ctx): Likewise.
22744         (libc_feholdsetround_noex_ctx): Likewise.
22746         [BZ #17748]
22747         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22748         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22749         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22750         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22751         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22752         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22753         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22754         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22755         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22756         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22757         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22758         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22759         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22760         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22761         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22762         libm_hidden_def.
22763         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22764         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22765         Likewise.
22766         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22767         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22768         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22769         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22770         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22771         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22772         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22773         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22774         __fesetenv instead of fesetenv.
22775         (libc_feresetround_noex_ctx): Likewise.
22776         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22777         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22778         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22779         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22780         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22781         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22782         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22783         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22784         (__feupdateenv): Likewise.
22785         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22786         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22787         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22788         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22790 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22792         [BZ #17806]
22793         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22794         addresses have been freed.
22796 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22798         * resolv/res_init.c (__res_vinit): Improve comments about nserv
22799         and nservall.
22801 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
22803         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22804         Clean up check_pf allocation pattern. addresses
22806 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22808         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22809         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22810         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22811         * nptl/pthread_exit.c (__pthread_exit): Likewise.
22812         * nptl/pthread_join.c (pthread_join): Likewise.
22813         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22814         * sysdeps/posix/waitid.c (__waitid): Likewise.
22815         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22816         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22817         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22818         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22819         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22820         Likewise.
22821         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22822         (__libc_pread64): Likewise.
22823         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22824         (__libc_pwrite): Likewise.
22825         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22826         (__libc_pwrite64): Likewsie.
22827         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22828         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22829         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22830         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22831         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22832         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22833         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22835         Likewise.
22836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22837         (__libc_pread64): Likewise.
22838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22839         Likewise.
22840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22841         (__libc_pwrite64): Likewise.
22842         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22843         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22844         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22845         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22846         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22847         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22848         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22849         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22850         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22851         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22852         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22853         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22854         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22855         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22856         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22857         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22858         Likewise.
22860 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22862         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22863         (CFLAGS-test-double.c): Likewise.
22864         (CFLAGS-test-ldouble.c): Likewise.
22865         (CPPFLAGS-test-ifloat.c): Likewise.
22866         (CPPFLAGS-test-idouble.c): Likewise.
22867         (CPPFLAGS-test-ildoubl.c): Likewise.
22868         (CFLAGS-test-test-fenv.c): Remove variable.
22869         (CFLAGS-test-misc.c): Likewise.
22871 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
22873         [BZ #17797]
22874         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22875         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22876         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22877         CLOCKS_PER_SEC == 1000000.
22878         * time/clocktest.c (main): Replace %ld with %jd and cast to
22879         intmax_t.
22881 2015-01-05  Roland McGrath  <roland@hack.frob.com>
22883         * sysdeps/generic/unwind-resume.h: New file.
22884         * sysdeps/gnu/unwind-resume.c: Include it.
22885         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22886         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22887         argument list.
22888         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22889         global rather than static.
22890         (_Unwind_Resume): Update user.
22891         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22892         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
22893         rather than static.  Add __attribute__ ((cold)).
22894         (_Unwind_Resume, __gcc_personality_v0): Update callers.
22895         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22896         * sysdeps/arm/arm-unwind-resume.S: New file.
22897         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22898         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22899         * sysdeps/arm/Makefile [$(subdir) = csu]
22900         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22901         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22902         Add rt-arm-unwind-resume.
22903         [$(subdir) = nptl]
22904         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22905         Add pt-arm-unwind-resume.
22906         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22907         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22909 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22911         [BZ #17748]
22912         * include/fenv.h (__feholdexcept): Declare.  Use
22913         libm_hidden_proto.
22914         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22915         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
22916         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22917         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22918         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22919         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22920         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22921         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22922         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22923         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22924         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22925         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22926         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22927         (feholdexcept): Likewise.
22928         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22929         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22930         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22931         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22932         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22933         __feholdexcept instead of feholdexcept.
22934         (default_libc_feholdexcept_setround): Likewise.
22936 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22938         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22939         to avoid using stl/str to align destination.
22941 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22943         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22945 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22947         [BZ #17796]
22948         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22949         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22950         Define as weak alias not strong alias.
22952 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22954         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22955         bltzal with addiupc.
22956         (RTLD_START): Ditto.
22958 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
22960         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22961         for __vdso_* functions in declarations.
22962         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22963         definitions.
22964         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22965         INTERNAL_VSYSCALL): Use struct return types to check for error.
22967         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22968         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22969         function with cast from llround().
22970         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22971         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22972         Define.
22974 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22976         [BZ #17793]
22977         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22978         Define as weak alias not strong alias.
22980         [BZ #17635]
22981         * ctype/ctype-c99.c: New file.  isblank implementation moved from
22982         ...
22983         * ctype/ctype-extn.c: ... here.
22984         (__isblank_l): Move to ...
22985         * ctype/ctype-c99_l.c: ... here.  New file.
22986         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22987         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22988         Remove variable.
22989         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22990         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22991         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22992         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22993         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22995         [BZ #17777]
22996         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22997         (posix_fadvise64): Define as weak alias not strong alias.
22998         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22999         (posix_fallocate64): Likewise.
23000         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
23001         Remove variable.
23002         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23003         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23004         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23005         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23006         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23008 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
23010         [BZ #16191]
23011         * NEWS: Mention bug fix.
23012         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
23013         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
23014         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
23015         (HOST_STACK_END_ADDR): Likewise.
23017 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23019         [BZ #17748]
23020         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
23021         * math/fegetround.c (fegetround): Rename to __fegetround and
23022         define as weak alias of __fegetround.  Use libm_hidden_weak.
23023         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
23024         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
23025         * sysdeps/arm/fegetround.c (fegetround): Likewise.
23026         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
23027         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23028         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
23029         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
23030         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
23031         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23032         Undefine after rather than before function definition; use
23033         parentheses around function name in definition.
23034         (__fegetround): Also undefine macro after function definition.
23035         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
23036         __fegetround and define as weak alias of __fegetround.  Use
23037         libm_hidden_weak.  Do not undefine as macro.
23038         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23039         Likewise.
23040         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
23041         __fegetround and define as weak alias of __fegetround.  Use
23042         libm_hidden_weak.
23043         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23044         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23045         * sysdeps/tile/math_private.h (__fegetround): New inline function.
23046         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
23047         __fegetround and define as weak alias of __fegetround.  Use
23048         libm_hidden_weak.
23049         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
23050         __fegetround instead of fegetround.
23052         [BZ #17782]
23053         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
23054         Condition macro definition on [__USE_MISC].
23056         [BZ #17781]
23057         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
23058         (struct sigaction): Change type of sa_flags field to int.
23060         [BZ #17780]
23061         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
23062         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
23063         __glibc_reserved0.
23065         * nptl/version.c (banner): Use single year in copyright notice.
23067         * NEWS: Update copyright dates.
23068         * catgets/gencat.c (print_version): Likewise.
23069         * csu/version.c (banner): Likewise.
23070         * debug/catchsegv.sh: Likewise.
23071         * debug/pcprofiledump.c (print_version): Likewise.
23072         * debug/xtrace.sh (do_version): Likewise.
23073         * elf/ldconfig.c (print_version): Likewise.
23074         * elf/ldd.bash.in: Likewise.
23075         * elf/pldd.c (print_version): Likewise.
23076         * elf/sotruss.sh: Likewise.
23077         * elf/sprof.c (print_version): Likewise.
23078         * iconv/iconv_prog.c (print_version): Likewise.
23079         * iconv/iconvconfig.c (print_version): Likewise.
23080         * locale/programs/locale.c (print_version): Likewise.
23081         * locale/programs/localedef.c (print_version): Likewise.
23082         * login/programs/pt_chown.c (print_version): Likewise.
23083         * malloc/memusage.sh (do_version): Likewise.
23084         * malloc/memusagestat.c (print_version): Likewise.
23085         * malloc/mtrace.pl: Likewise.
23086         * manual/libc.texinfo: Likewise.
23087         * nptl/version.c (banner): Likewise.
23088         * nscd/nscd.c (print_version): Likewise.
23089         * nss/getent.c (print_version): Likewise.
23090         * nss/makedb.c (print_version): Likewise.
23091         * posix/getconf.c (main): Likewise.
23092         * scripts/test-installation.pl: Likewise.
23093         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23095 2015-01-02  Will Newton  <will.newton@linaro.org>
23097         * sysdeps/arm/armv7/configure: Removed.
23098         * sysdeps/arm/armv7/configure.ac: Likewise.
23100 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23102         * All files with FSF copyright notices: Update copyright dates
23103         using scripts/update-copyrights.
23104         * intl/plural.c: Regenerated.
23105         * locale/programs/charmap-kw.h: Likewise.
23106         * locale/programs/locfile-kw.h: Likewise.
23108 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23110         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
23112 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23114         [BZ #17748]
23115         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
23116         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
23117         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23118         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23119         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23120         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
23121         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23122         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
23123         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23124         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23125         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23126         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23127         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23128         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23129         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
23130         libm_hidden_def.
23131         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
23132         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
23133         Likewise.
23134         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23135         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23136         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23137         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23138         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
23139         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23140         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23141         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
23142         __fegetenv instead of fegetenv.
23143         (libc_feholdsetround_noex_ctx): Likewise.
23145 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23147         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
23148         (Elf_MIPS_ABIFlags_v0): New structure.
23149         (EF_MIPS_FP64): Define.
23150         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
23151         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
23152         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
23153         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
23154         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
23155         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
23156         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
23157         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
23158         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
23159         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
23160         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
23161         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
23162         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
23163         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
23164         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
23165         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
23166         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
23167         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
23168         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
23169         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
23170         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
23171         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
23172         field.
23173         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
23174         EF_MIPS_FP64.
23175         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
23176         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
23177         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
23178         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
23179         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
23180         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
23181         * sysdeps/mips/tst-abi-interlink.c: Likewise.
23182         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
23183         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
23184         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
23185         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
23186         record the current FP ABI extension.
23187         (mips-mode-switch): Define to show if kernel headers support mode
23188         switching.
23189         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23190         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
23191         supported SYSV ABI version to 3.
23192         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
23193         feature.
23195 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23196             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23198         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
23199         path.
23200         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
23202 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23204         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
23205         __fegetround and redefine to call __fegetround.  Remove condition
23206         on [!__NO_MATH_INLINES].
23207         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
23208         function.
23209         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
23210         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23211         Remove macro.
23212         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
23213         instead of <fenv_libc.h>.
23214         (__llrintl): Call fegetround instead of __fegetround.
23215         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
23216         instead of <fenv_libc.h>.
23217         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23218         (__lrintl): Call fegetround instead of __fegetround.
23219         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
23220         instead of <fenv_libc.h>.
23221         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23222         (__rintl): Call fegetround instead of __fegetround.
23224 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23226         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
23227         arrays.
23229 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23231         [BZ #17775]
23232         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
23233         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
23234         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
23236 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23238         * sysdeps/i386/tls-macros.h: Include <features.h>.
23239         (TLS_LE): Use non-PIC version for GCC >= 5.0.
23240         (TLS_IE): Likewise.
23241         (TLS_LD): Likewise.
23242         (TLS_GD): Likewise.
23243         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
23244         define for GCC >= 5.0.
23246 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
23248         * math/test-fenv.c (test_single_exception, set_single_exc,
23249         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
23250         feexcp_mask_test, feenable_test, fe_single_test): Add
23251         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
23252         case where they are not used.
23253         * math/libm-test.inc: Likewise.
23254         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
23255         unused in the absence of FP rounding/exception support.
23256         * stdio-common/tst-printf-round.c: Likewise.
23257         * stdlib/tst-strtod-round.c: Likewise.
23258         * stdlib/tst-strtod-underflow.c: Likewise.
23260 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
23262         [BZ #17723]
23263         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
23264         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
23265         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23266         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23267         libm_hidden_weak.
23268         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
23269         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23270         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
23271         libm_hidden_def.
23272         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23273         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23274         libm_hidden_weak.
23275         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
23276         Likewise.
23277         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
23278         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23279         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23280         libm_hidden_weak.
23281         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23282         libm_hidden_def.
23283         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23284         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
23285         (__feraiseexcept): Likewise.
23286         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23287         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23288         libm_hidden_weak.
23289         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23290         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23291         libm_hidden_def.
23292         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
23293         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
23294         Use libm_hidden_def.
23295         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
23296         libm_hidden_def.
23297         (feraiseexcept): Define as weak not strong alias.  Use
23298         libm_hidden_weak.
23299         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
23300         New inline function.  Factored out of ...
23301         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
23302         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
23303         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
23304         feraiseexcept.
23305         * math/w_acos.c (__acos): Likewise.
23306         * math/w_asin.c (__asin): Likewise.
23307         * math/w_ilogb.c (__ilogb): Likewise.
23308         * math/w_j0.c (y0): Likewise.
23309         * math/w_j1.c (y1): Likewise.
23310         * math/w_jn.c (yn): Likewise.
23311         * math/w_log.c (__log): Likewise.
23312         * math/w_log10.c (__log10): Likewise.
23313         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
23314         * sysdeps/aarch64/fpu/math_private.h
23315         (libc_feupdateenv_test_aarch64): Likewise.
23316         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23317         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
23318         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
23319         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23320         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23321         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23322         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
23323         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23324         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23325         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23327 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23329         [BZ #17732]
23330         * io/test-utime.c (main): Replace %ld with %jd and cast to
23331         intmax_t.
23332         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
23333         * nptl/tst-mutex5.c: Include <stdint.h>.
23334         (do_test): Replace %ld with %jd and cast to intmax_t.
23335         * posix/tst-regex.c (run_test): Likewise.
23336         (run_test_backwards): Likewise.
23337         * rt/tst-clock.c: Include <stdint.h>.
23338         (clock_test): Replace %ld with %jd and cast to intmax_t.
23339         * rt/tst-cpuclock1.c: Include <stdint.h>.
23340         (do_test): Replace %lu with %ju and cast to uintmax_t.
23341         * rt/tst-cpuclock2.c: Include <stdint.h>.
23342         (do_test): Replace %lu with %ju and cast to uintmax_t.
23343         * rt/tst-mqueue1.c: Include <stdint.h>.
23344         (check_attrs): Replace %ld with %jd and cast to intmax_t.
23345         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
23346         intmax_t.
23347         * rt/tst-mqueue4.c (do_test): Likewise.
23348         * rt/tst-timer4.c: Include <stdint.h>.
23349         (check_ts): Replace %ld with %jd and cast to intmax_t.
23350         (do_test): Likewise.
23351         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
23352         and cast to intmax_t.
23353         * sysdeps/pthread/tst-timer.c (main): Likewise.
23354         * time/clocktest.c (main): Likewise.
23355         * time/tst-posixtz.c (do_test): Likewise.
23356         * timezone/tst-timezone.c (main): Likewise.
23358 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23359             H.J. Lu  <hongjiu.lu@intel.com>
23361         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
23362         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
23363         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
23364         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
23365         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
23366         version if bit_Fast_Unaligned_Load is set.
23367         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23368         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23369         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23370         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23371         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23372         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23373         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23374         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
23375         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
23376         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
23377         to 4.
23378         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
23379         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
23380         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
23381         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
23383 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
23385         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
23386         instead of #if to avoid a Wundef warning.
23387         * stdlib/tst-limits.c (do_test): Likewise.
23389         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
23390         parallel other exception macros.
23391         (fegetenv): Convert from macro to extern inline so that it applies
23392         retroactively to inline functions already seen by the compiler.
23393         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
23395         * posix/Makefile (before-compile): Use $(objpfx) for
23396         posix-conf-vars-def.h.
23398 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23400         * posix/getconf.c (main): Use size_t for type of I.
23401         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
23402         NSPEC.
23404         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
23405         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
23406         * posix/posix-envs.def: Likewise.
23407         * sysdeps/posix/sysconf.c: Likewise.
23408         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
23409         (specs): Remove array.
23410         * scripts/gen-posix-conf-vars.awk: Support generation of specs
23411         array.
23413         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
23414         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
23415         (__sysconf): Use CONF_IS_* macros.
23417         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
23418         ($(objpfx)posix-conf-vars-def.h): New target.
23419         * posix/posix-conf-vars.list: New file.
23420         * posix/posix-conf-vars.h: New file.
23421         * posix/confstr.c: Include posix-conf-vars.h.
23422         (confstr): Use CONF_IS_* macros.
23423         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
23424         CONF_IS_* macros.
23425         * scripts/gen-posix-conf-vars.awk: New file.
23427 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
23429         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
23430         fegetround): Add no-op macros to avoid linknamespace issues.
23432         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
23433         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
23435         * sysdeps/unix/sysv/linux/tile/sysdep.h
23436         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
23437         assembly-specific section to avoid a redefinition warning.
23439         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
23440         long before casting to pointer to avoid a cast warning.
23442 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
23444         * sysdeps/tile/tilegx/Implies: New file.
23446 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
23448         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
23450 2014-12-23  Florian Weimer  <fweimer@redhat.com>
23452         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
23454 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23456         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
23457         not define.
23458         * sysdeps/unix/sysv/linux/utimes.c: Do not include
23459         <kernel-features.h>.
23460         (__utimes) [__NR_utimes]: Make code unconditional.
23461         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
23462         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23463         (__ASSUME_UTIMES): Do not undefine.
23464         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23465         (__ASSUME_UTIMES): Likewise.
23466         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23467         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
23468         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
23469         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
23471 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23473         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
23475 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
23477         [BZ #17747]
23478         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
23479         alias to weak alias for j0l, y0l.
23480         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
23481         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
23483         [BZ #17746]
23484         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
23485         conversion.
23487 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23489         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
23490         to zero if not already defined.
23492 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23494         [BZ #17724]
23495         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
23496         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
23497         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
23498         (char *) casts added.
23499         * sysdeps/ieee754/k_standardf.c: New file.
23500         * sysdeps/ieee754/k_standardl.c: Likewise.
23501         * math/Makefile (libm-support): Remove k_standard.
23502         (libm-calls): Add k_standard.
23504 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23506         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23507         Optimize to avoid an unnecessary FPCR read.
23509 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23511         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23512         Optimize to reduce FPCR/FPSR accesses.
23514 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23516         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
23517         Call libc_fetestexcept_aarch64.
23519 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23521         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
23522         Call libc_fesetround_aarch64.
23524 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23526         [BZ #17733]
23527         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
23528         (__bind): Do not define as weak alias.
23529         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
23530         define.
23531         (__getsockname): Do not define as weak alias.
23533 2014-12-22  Will Newton  <will.newton@linaro.org>
23535         * manual/install.texi: Document that we require bison 2.7
23536         or above.
23537         * INSTALL: Regenerate.
23538         * configure.ac: Use AC_CHECK_PROG_VER instead of
23539         AC_PATH_PROG when checking for bison and check for
23540         version 2.7 or above.
23541         * configure: Regenerate.
23543 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
23545         [BZ #17745]
23546         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
23547         * sysdeps/tile/ffsll.c (ffsll): To here.
23549         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
23551 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23553         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
23554         if not defined.
23555         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
23556         definition.
23557         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23558         hidden ___tls_get_addr.
23559         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23560         hidden __tls_get_addr.
23561         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
23562         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
23563         Likewise.
23565 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
23567         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
23568         _dl_init call.
23570 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23572         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
23573         from "call _dl_init@PLT".
23574         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
23576 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
23578         * manual/search.texi: (Array Sort Function): Clarify stable sorting
23579         guarantees.
23581 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
23583         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
23585 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23587         [BZ #17744]
23588         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
23589         strnlen.
23591 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23593         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
23594         of multu on MIPSr6.
23595         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
23596         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
23597         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
23598         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
23599         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
23601 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23603         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
23604         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
23605         (PTR_SUBU): Use subu for mips32r6/mips64r6.
23606         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
23607         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
23608         mips32r6/mips64r6.
23609         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
23611 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
23613         * string/strncat.c (STRNCAT): Simplify implementation.
23615 2014-12-19  David S. Miller  <davem@davemloft.net>
23617         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
23618         access the quad as both a long double and as a series of 4 words.
23620         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
23621         link_map->l_info array access.
23623 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23625         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
23627         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
23628         * math/atest-exp2.c (TIMEOUT): Likewise.
23629         * math/atest-sincos.c (TIMEOUT): Likewise.
23631 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23633         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
23634         -Wno-error with -fno-builtin-lround.
23636 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23638         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
23639         Contains futex constants and functions moved over from ...
23640         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
23641         <lowlevellock-futex.h>.
23642         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23643         (lll_timedwait_tid): Add comments and parentheses around macro
23644         arguments.
23646 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23648         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
23649         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
23650         (__lll_private_flag): Remove.
23651         (lll_futex_wait): Likewise.
23652         (lll_futex_timed_wait): Likewise.
23653         (lll_futex_wake): Likewise.
23654         (lll_futex_requeue): Likewise.
23655         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23656         (__lll_timedwait_tid): Spell out argument names.
23657         (lll_timedwait_tid): Add comments and parentheses around macro
23658         arguments.
23659         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
23660         LLL_SHARED and LLL_PRIVATE usable from assembly code.
23662 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23664         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
23665         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23666         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23667         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23668         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
23669         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
23670         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
23671         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
23672         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
23673         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23674         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23675         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23676         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23677         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23678         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23679         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23680         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23681         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23682         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23684 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23686         * sysdeps/x86_64/x32/Makefile: New file.
23688 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23690         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23691         1L with (mp_limb_t) 1.
23693 2014-12-17  Roland McGrath  <roland@hack.frob.com>
23695         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23696         * nptl/libc_pthread_init.c: ... here.
23697         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23698         * nptl/register-atfork.c: ... here.
23700         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23701         Use pthread_sigmask rather than INTERNAL_SYSCALL.
23702         Use assert_perror to check its return value.
23703         (__gai_create_helper_thread): Likewise.
23705         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23707         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23709 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
23711         [BZ #17725]
23712         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23713         __profil_counter.
23714         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23715         Likewise.
23716         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23717         Likewise.
23718         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23719         Likewise.
23720         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23721         (profil_counter): Likewise.
23722         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23723         (profil_counter): Likewise.
23724         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23725         Likewise.
23726         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23727         Likewise.
23728         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23729         (profil_counter): Likewise.
23730         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23731         Likewise.
23732         [!__profil_counter] (profil_counter): Define as weak alias of
23733         __profil_counter.
23734         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23735         (profil_counter): Rename to __profil_counter.
23736         [!__profil_counter] (profil_counter): Define as weak alias of
23737         __profil_counter.
23738         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23739         (profil_counter): Rename to __profil_counter.
23740         [!__profil_counter] (profil_counter): Define as weak alias of
23741         __profil_counter.
23742         * sysdeps/posix/profil.c: Update comment referring to
23743         profil_counter.
23744         (__profil): Use __profil_counter instead of profil_counter.
23745         * sysdeps/posix/sprofil.c (profil_counter): Rename to
23746         __profil_counter.  Use __profil_counter_ushort and
23747         __profil_counter_uint in definitions.
23748         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23749         instead of profil_counter_uint and profil_counter_ushort.
23751         [BZ #17722]
23752         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23753         define as weak alias of __inet_makeaddr.
23754         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23755         as weak alias of __inet_addr.
23756         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23757         as weak alias of __inet_pton.  Use libc_hidden_weak.
23758         * include/arpa/inet.h (__inet_pton): Declare.  Use
23759         libc_hidden_proto.
23760         (inet_makeaddr): Don't use libc_hidden_proto.
23761         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
23762         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23763         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
23764         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23765         Remove variable.
23766         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23767         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23769 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
23771         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23773 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23775         * stdio-common/bug-vfprintf-nargs.c (do_test):
23776         Cast value to intptr_t to avoid format warning
23777         for usage with PRIdPTR printing macro.
23779 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23781         * libio/tst-widetext.c (do_test):
23782         Use format type %td instead of %Zd for ptrdiff_t
23783         in order to avoid format warning.
23785 2014-12-17  Andreas Schwab  <schwab@suse.de>
23787         * nscd/mem.c (gc): Add size_t cast to match printf format.
23789 2014-12-16  Roland McGrath  <roland@hack.frob.com>
23791         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23792         (init): Apply PTR_MANGLE to pointers before storing them.
23793         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23794         before using them.
23796 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
23798         [BZ #17719]
23799         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23800         define as weak alias of __memrchr.
23801         (__memrchr): Do not define as strong alias of memrchr.
23802         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23803         Remove variable.
23804         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23805         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23806         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23808         [BZ #17717]
23809         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23810         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
23811         (if_indextoname): Rename to __if_indextoname and define as weak
23812         alias of __if_indextoname.  Use libc_hidden_weak.
23813         (if_freenameindex): Rename to __if_freenameindex and define as
23814         weak alias of __if_freenameindex.
23815         (if_nameindex): Rename to __if_nameindex and define as weak alias
23816         of __if_nameindex.
23817         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23818         __if_nametoindex and define as weak alias of __if_nametoindex.
23819         Use libc_hidden_weak.
23820         (if_freenameindex): Rename to __if_freenameindex and define as
23821         weak alias of __if_freenameindex.
23822         (if_nameindex): Rename to __if_nameindex and define as weak alias
23823         of __if_nameindex.
23824         (if_indextoname): Rename to __if_indextoname and define as weak
23825         alias of __if_indextoname.  Use libc_hidden_weak.
23826         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23827         __if_nametoindex and define as weak alias of __if_nametoindex.
23828         Use libc_hidden_weak.
23829         (if_freenameindex): Rename to __if_freenameindex and define as
23830         weak alias of __if_freenameindex.  Use libc_hidden_weak.
23831         (if_nameindex_netlink): Use __if_freenameindex instead of
23832         if_freenameindex.
23833         (if_nameindex): Rename to __if_nameindex and define as weak alias
23834         of __if_nameindex.  Use libc_hidden_weak.
23835         (if_indextoname): Rename to __if_indextoname and define as weak
23836         alias of __if_indextoname.  Use libc_hidden_weak.
23837         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23838         libc_hidden_proto.
23839         [!_ISOMAC] (__if_freenameindex): Likewise.
23840         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23841         if_nametoindex.
23842         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23843         variable.
23844         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23845         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23846         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23847         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23848         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23849         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23850         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23852         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23853         Remove variable.
23854         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23855         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23857 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23859         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23860         subscript above bounds'
23862         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23863         bounds.
23865 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
23867         * libio/tst-fopenloc.c: Use test-skeleton.c.
23869         * stdlib/tst-bsearch.c: Use test-skeleton.c.
23870         (entry): Rename to ITEM.
23871         (do_test, comp): Adjust.
23873         * stdio-common/tst-fseek.c: Use test-skeleton.c.
23875 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23877         * string/tester.c: Include <libc-internal.h>.
23878         (test_memset): Ignore -Wmemset-transposed-args.
23880 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23882         * misc/tst-mntent2.c (do_test): Fix warning.
23884 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23886         * elf/tst-unique4lib.cc(a): Mark as used.
23888 2014-12-16  Florian Weimer  <fweimer@redhat.com>
23890         [BZ #17630]
23891         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23892         names.
23894 2014-12-16  Allan McRae  <allan@archlinux.org>
23896         * stdio-common/Makefile (tests): Re-add bug26.
23898 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
23900         [BZ #17657]
23901         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23902         static array.
23904 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
23906         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23907         (__lll_lock_wait): Likewise.
23908         (__lll_timedlock_wait): Likewise.
23909         (__lll_timedwait_tid): Likewise.
23910         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23911         (__lll_robust_timedlock_wait): Likewise.
23912         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23913         (lll_cond_trylock): Likewise.
23914         (__lll_lock): Likewise.
23915         (__lll_robust_lock): Likewise.
23916         (__lll_cond_lock): Likewise.
23917         (lll_robust_cond_lock): Likewise.
23918         (__lll_timedlock): Likewise.
23919         (__lll_robust_timedlock): Likewise.
23920         (__lll_unlock): Likewise.
23921         (__lll_robust_unlock): Likewise.
23922         (lll_wait_tid): Likewise.
23923         (lll_timedwait_tid): Likewise.
23925 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23927         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23929 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23931         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23933 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23935         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23936         * stdio-common/tst-sprintf.c: Likewise.
23938 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23940         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23942 2014-12-15  Jeff Law  <law@redhat.com>
23944         [BZ #16617]
23945         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23946         on the heap.  (CVE-2012-3406)
23947         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23948         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
23949         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23951 2014-12-15  Will Newton  <will.newton@linaro.org>
23953         * manual/install.texi: Bump required version of texinfo
23954         to 4.7 from 4.5.
23955         * INSTALL: Regenerated.
23956         * configure.ac: Check for makeinfo version 4.7 and above.
23957         * configure: Regenerated.
23959 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23961         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23962         PREFIX, string constant to insert between directory and name.
23963         * sysdeps/posix/shm_open.c: Update caller.
23964         * sysdeps/posix/shm_unlink.c: Likewise.
23965         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23966         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23967         (SEM_SHM_PREFIX): New macro.
23968         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23969         [$(have-thread-library) = no].
23970         * nptl/Makefile (libpthread-routines): Add shm-directory.
23971         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23972         * sysdeps/nptl/shm-directory.h: New file.
23973         * sysdeps/posix/shm-directory.c
23974         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23975         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23976         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23977         INTERNAL_SYSCALL.
23978         (__where_is_shmfs): Function removed.
23979         (mountpoint, defaultmount, defaultdir, __namedsem_once):
23980         Variables removed.
23981         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23982         Use SHM_GET_NAME.
23983         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
23985         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23986         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23987         unconditional for use inside libpthread.
23988         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23990 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23992         * nptl/pthread_getaffinity.c: New file.
23993         * nptl/pthread_setaffinity.c: New file.
23994         * nptl/pthread_getname.c: New file.
23995         * nptl/pthread_setname.c: New file.
23997         * nptl/pthread_create.c (START_THREAD_DEFN)
23998         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
24000 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24001             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24003         * resolv/res_send.c (send_vc): Disable warning resplen may
24004         be used uninitialized.
24006 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24008         * nptl/tst-mutex6.c
24009         (ATTR_NULL): New define checks ATTR against NULL.
24010         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
24011         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
24013 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
24015         [BZ #17581]
24016         * malloc/hooks.c
24017         (mem2mem_check): Revert my previous change.
24018         (malloc_check_get_size): Revert my previous change.
24019         (mem2chunk_check): Revert my previous change.
24021 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24023         * sysdeps/posix/shm-directory.c: New file.
24024         * sysdeps/posix/shm-directory.h: New file.
24025         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
24026         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
24027         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
24028         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
24029         Transmute EPERM to EACCES.
24030         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
24031         from ...
24032         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
24033         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
24035 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24037         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
24038         pointer and cast to uintptr_t.
24039         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
24040         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
24041         Add cast to avoid warning.
24042         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
24044 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24046         * nptl/semaphore.h: Move to ...
24047         * sysdeps/pthread/semaphore.h: ... here.
24048         * Makefile (installed-headers): Change nptl/semaphore.h to
24049         sysdeps/pthread/semaphore.h.
24051 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24053         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
24054         generated error format strings.
24056         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
24057         -Wformat-extra-args warnings for scanf formats.
24058         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
24059         test of zero-length format (duh).
24060         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
24061         corner-case scanf format test.
24062         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
24063         generated fprintf format string.
24064         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
24065         corner-case sprintf format tests.
24066         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
24067         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
24068         -Wformat-extra-args warnings throughout.
24069         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
24070         (CFLAGS-scanf4.c): Likewise.
24071         (CFLAGS-scanf7.c): Likewise.
24072         (CFLAGS-tst-sprintf.c): Likewise.
24073         (CFLAGS-tst-printf.c): Likewise.
24074         (CFLAGS-tst-printfsz.c): Likewise.
24076 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24078         * include/cpio.h: New file.
24079         * include/fmtmsg.h: Likewise.
24081         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
24082         corresponding format argument to size_t.
24083         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
24084         arguments.
24085         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
24086         corresponding format argument to size_t.
24087         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
24088         arguments.
24089         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
24090         corresponding format argument to size_t.
24091         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
24092         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
24093         (CFLAGS-tst-mbswcs2.c): Likewise.
24094         (CFLAGS-tst-mbswcs3.c): Likewise.
24095         (CFLAGS-tst-mbswcs4.c): Likewise.
24096         (CFLAGS-tst-mbswcs5.c): Likewise.
24097         (CFLAGS-tst-trans.c): Likewise.
24099 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24101         * posix/regexbug1.c (main): Use "%s" format with regerror results,
24102         rather than assuming they won't contain any '%'s.
24104 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
24106         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
24107         inhibit_loop_to_libcall to avoid recursive calls.
24108         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
24109         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
24111 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24113         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
24114         prototype.
24116 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24118         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
24119         integer value instead of boolean.
24121 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24123         * malloc/malloc.c: Fix powerof2 check.
24125 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24127         * locale/programs/locfile.h (maybe_swap_uint32):
24128         Remove inline and add unused attribute.
24130 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24132         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24133         Truncating assembler expression to a .long expression.
24135 2014-12-11  Andreas Schwab  <schwab@suse.de>
24137         * elf/rtld.c (struct map_args): Constify str member.
24138         (do_preload): Constify fname argument.
24140 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24142         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
24143         constants definition.
24145 2014-12-11  Andreas Schwab  <schwab@suse.de>
24147         [BZ #16657]
24148         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
24149         FORCE_ELISION instead of DO_ELISION.
24150         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
24151         Remove.
24152         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
24153         Likewise.
24155         * iconvdata/gconv-modules: Remove duplicate entry.
24157 2014-12-11  Will Newton  <will.newton@linaro.org>
24159         Merge gettext 0.19.3 into intl/.
24161         This involves a number of cosmetic changes to comments
24162         and ANSI function definitions and prototypes throughout
24163         all the files. The gettext copyright header is used but
24164         with the date ranges taken from the glibc copy.
24166         * NEWS: Add gettext merge to 2.21.
24167         * intl/bindtextdom.c: Switch to gettext copyright.
24168         Use ANSI definitions and prototypes.
24169         Use gl_* locking primitives rather than __libc_* ones.
24170         Use __builtin_expect rather than __glibc_likely/unlikely.
24171         * intl/dcgettext.c: Switch to gettext copyright.
24172         Use ANSI definitions and prototypes.
24173         * intl/dcigettext.c: Switch to gettext copyright.
24174         Use ANSI definitions and prototypes.
24175         (INTDIV0_RAISES_SIGFPE): New define.
24176         Use gl_* locking primitives rather than __libc_* ones.
24177         Include eval-plural.h instead of plural-eval.c.
24178         Use __builtin_expect rather than __glibc_likely/unlikely.
24179         * intl/dcngettext.c: Switch to gettext copyright.
24180         Use ANSI definitions and prototypes.
24181         * intl/dgettext.c: Likewise.
24182         * intl/dngettext.c: Likewise.
24183         * intl/plural-eval.c: Renamed to...
24184         * intl/eval-plural.h: ...this.
24185         * intl/explodename.c: Switch to gettext copyright.
24186         Use ANSI definitions and prototypes.
24187         (_nl_explode_name): Use strchr instead of __rawmemchr.
24188         * intl/finddomain.c: Switch to gettext copyright.
24189         Use ANSI definitions and prototypes.
24190         Use gl_* locking primitives rather than __libc_* ones.
24191         (_nl_find_domain): Use malloc rather than alloca for
24192         allocation of temporary locale name.
24193         * intl/gettext.c: Switch to gettext copyright.
24194         Use ANSI definitions and prototypes.
24195         * intl/gettextP.h: Switch to gettext copyright.
24196         Use ANSI definitions and prototypes.
24197         Use gl_* locking primitives rather than __libc_* ones.
24198         * intl/gmo.h: Switch to gettext copyright.
24199         (struct sysdep_string): Move struct segment_pair outside of
24200         struct definition.
24201         * intl/hash-string.c: Use ANSI definitions and prototypes.
24202         * intl/hash-string.h: Switch to gettext copyright.
24203         Use ANSI definitions and prototypes.
24204         * intl/l10nflist.c: Switch to gettext copyright.
24205         Use ANSI definitions and prototypes.
24206         (_nl_normalize_codeset): Avoid integer overflow.
24207         * intl/loadinfo.h: Switch to gettext copyright.
24208         Use ANSI definitions and prototypes.
24209         (LIBINTL_DLL_EXPORTED): New define.
24210         (PATH_SEPARATOR): New define.
24211         * intl/loadmsgcat.c: Switch to gettext copyright.
24212         * intl/localealias.c: Switch to gettext copyright.
24213         Use ANSI definitions and prototypes.
24214         (_nl_expand_alias): Use PATH_SEPARATOR.
24215         * intl/ngettext.c: Switch to gettext copyright.
24216         Use ANSI definitions and prototypes.
24217         * intl/plural-exp.c: Likewise.
24218         * intl/plural-exp.h: Switch to gettext copyright.
24219         Use ANSI definitions and prototypes.
24220         (struct expression): Move definition of enum operator outside
24221         of struct definition.
24222         * intl/plural.c: Regenerate.
24223         * intl/plural.y: Switch to gettext copyright.
24224         Use ANSI definitions and prototypes.
24225         Port to bison 3.0.
24226         * intl/textdomain.c: Switch to gettext copyright.
24227         Use ANSI definitions and prototypes.
24228         Use gl_* locking primitives rather than __libc_* ones.
24230 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
24232         * debug/warning-nop.c: Add used atrribute.
24234 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24236         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
24238         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
24239         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
24240         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
24242 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24243             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24245         [BZ #17634]
24246         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
24247         Undefine after defining function.  Define as weak alias of
24248         __wcschr.  Use libc_hidden_weak.
24249         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
24250         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
24251         (libc_hidden_def): Also define __GI___wcschr alias.
24252         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
24253         __wcschr and define as weak alias of __wcschr.
24254         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
24255         __wcschr.
24256         [!WCSCHR] (DEFAULT_WCSCHR): Define.
24257         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
24258         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
24259         libc_hidden_weak.  Do not use libc_hidden_def.
24260         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
24261         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
24262         __GI___wcschr alias.
24263         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
24264         [IS_IN (libc)] (wcschr): Define as macro expanding to
24265         __redirect_wcschr.
24266         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
24267         [IS_IN (libc)] (__wcschr_power6): Likewise.
24268         [IS_IN (libc)] (__wcschr_power7): Likewise.
24269         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
24270         instead of wcschr.
24271         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
24272         __libc_wcschr.
24273         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
24274         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
24275         __wcschr and define as weak alias of __wcschr.  Use
24276         libc_hidden_builtin_def.
24277         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
24278         as weak alias of __wcschr.  Use libc_hidden_weak.
24279         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
24280         wcschr.
24281         * time/era.c (_nl_init_era_entries): Likewise.
24282         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
24283         variable.
24284         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24285         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24287 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24289         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
24290         format for long int variable.
24292 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
24294         [BZ #10672]
24295         * manual/search.texi: (Array Sort Function): Remove claim how to make
24296         qsort stable.
24298 2014-12-10  Andreas Schwab  <schwab@suse.de>
24300         [BZ #12847]
24301         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
24302         user-controlled locks.
24304 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
24306         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
24307         register.
24309 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24311         * configure.ac (--disable-werror): New configure option.
24312         (enable_werror): New AC_SUBST.
24313         * configure: Regenerated.
24314         * config.make.in (enable-werror): New variable.
24315         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
24316         -Wno-error=undef.
24317         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
24318         * manual/install.texi (Configuring and compiling): Document
24319         --disable-werror.
24320         * INSTALL: Regenerated.
24321         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
24322         (CFLAGS-tst-chk2.c): Likewise.
24323         (CFLAGS-tst-chk3.c): Likewise.
24324         (CFLAGS-tst-chk4.cc): Likewise.
24325         (CFLAGS-tst-chk5.cc): Likewise.
24326         (CFLAGS-tst-chk6.cc): Likewise.
24327         (CFLAGS-tst-lfschk1.c): Likewise.
24328         (CFLAGS-tst-lfschk2.c): Likewise.
24329         (CFLAGS-tst-lfschk3.c): Likewise.
24330         (CFLAGS-tst-lfschk4.cc): Likewise.
24331         (CFLAGS-tst-lfschk5.cc): Likewise.
24332         (CFLAGS-tst-lfschk6.cc): Likewise.
24334         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
24335         (main): Disable -Wdeprecated-declarations around calls to
24336         register_printf_function.
24338         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
24339         (do_test): Disable -Wdiv-by-zero around some calls to
24340         fwrite_unlocked and fread_unlocked.
24342         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
24343         (DIAG_POP_NEEDS_COMMENT): Likewise.
24344         (_DIAG_STR1): Likewise.
24345         (_DIAG_STR): Likewise.
24346         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
24347         * stdio-common/bug21.c: Include <libc-internal.h>.
24348         (do_test): Disable -Wformat around call to sscanf.
24349         * stdio-common/scanf14.c: Include <libc-internal.h>.
24350         (main): Disable -Wformat around some calls to scanf functions.
24352 2014-12-09  Torvald Riegel  <triegel@redhat.com>
24354         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
24356 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24358         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
24359         stack variable alignment.
24361 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
24363         [BZ #17682]
24364         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
24365         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
24366         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
24367         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
24368         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
24369         __getrlimit instead of getrlimit.
24370         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
24371         __gettimeofday instead of gettimeofday.
24372         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24373         Likewise.
24374         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24375         Likewise.
24376         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24377         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
24378         Remove variable.
24379         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24380         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24382 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24384         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
24385         for wide-character tests.
24387 2014-12-04  Roland McGrath  <roland@hack.frob.com>
24389         * io/openat64.c: #include <libc-internal.h>
24390         (__openat64): Prototypify.  Use ignore_value on MODE.
24391         * io/openat.c: Likewise.
24392         * misc/reboot.c: #include <libc-internal.h>
24393         (reboot): Prototypify.  Use ignore_value on HOWTO.
24394         * misc/ptrace.c: #include <libc-internal.h>
24395         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
24397 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
24399         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
24400         XPG4, UNIX98 and XOPEN2K.
24401         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
24402         Remove variable.
24403         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24405 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24407         * libio/fileops.c: Use ISO C style for function definitions.
24408         * libio/iofopen.c: Likewise.
24409         * libio/wfileops.c: Likewise.
24411         [BZ #17653]
24412         * libio/fileops.c (_IO_new_file_underflow): Unset cached
24413         offset on EOF.
24414         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
24415         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
24416         (fgets_func): Function pointer to fgets and fgetws.
24417         (do_ftell_test): Add test to verify ftell value after read
24418         EOF.
24419         (do_test): Set fgets_func.
24421         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
24422         O_TRUNC flag for w and w+ modes.
24423         (do_rewind_test): Likewise.
24424         (do_ftell_test): Likewise.
24425         (do_write_test): Likewise.
24427         [BZ #17647]
24428         * libio/fileops.c (do_ftell): Seek only when there are
24429         unflushed writes.
24430         * libio/wfileops.c (do_ftell_wide): Likewise.
24431         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
24432         test case.
24433         (do_one_test): Call it.
24435 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
24437         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
24438         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
24439         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
24440         Remove variable.
24441         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24442         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24443         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24445 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24447         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
24448         Remove variable.
24449         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24451         [BZ #17668]
24452         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
24453         as weak alias of __getifaddrs.  Use libc_hidden_weak.
24454         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24455         __freeifaddrs.  Use libc_hidden_weak.
24456         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
24457         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
24458         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24459         __freeifaddrs.  Use libc_hidden_weak.
24460         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
24461         __getifaddrs and define as weak alias of __getifaddrs.  Use
24462         libc_hidden_weak.
24463         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24464         __freeifaddrs.  Use libc_hidden_weak.
24465         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
24466         Remove variable.
24467         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24468         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24470 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24472         [BZ #17601]
24473         * sysdeps/mips/start.S (__start): Use indirect jump to call
24474         __libc_start_main.
24476 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24478         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
24480         * nptl/tst-mutex1.c: Include <stdbool.h>.
24481         [!ATTR] (ATTR_NULL): New macro.
24482         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
24483         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
24484         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
24486         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
24487         to char *.
24489         [BZ #17665]
24490         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
24491         Change conditional to [__USE_MISC].
24493         [BZ #17664]
24494         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
24495         fgets_unlocked.
24496         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
24497         __fgets_unlocked.
24498         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
24499         fgets_unlocked.
24500         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
24501         Remove variable.
24502         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24503         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24504         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24505         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24506         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24507         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24508         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24509         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24510         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24512         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
24514 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24516         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24517         Remove strpbrk objects.
24518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24519         (__libc_ifunc_impl_list): Remove strpbrk implementation.
24520         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
24521         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
24522         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
24523         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
24525         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24526         Remove strcspn objects.
24527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24528         (__libc_ifunc_impl_list): Remove strcspn implementation.
24529         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
24530         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
24531         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
24532         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
24534         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24535         Remove strspn objetcs.
24536         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24537         (__libc_ifunc_impl_list): Remove strspn implementation.
24538         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
24539         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24540         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
24541         * sysdeps/powerpc/powerpc64/strspn.S: New file.
24543 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
24545         [BZ #17581]
24546         * malloc/hooks.c
24547         (mem2mem_check): Add a terminator to the chain of checking blocks.
24548         (malloc_check_get_size): Use it here.
24549         (mem2chunk_check): Ditto.
24551 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24553         * sysdeps/powerpc/powerpc64/strtok.S: New file.
24554         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
24556 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
24558         * bits/ioctl-types.h: Indent preprocessor directives correctly.
24560         * nptl/nptl-init.c: Include libc-internal.h.
24561         (__pthread_initialize_minimal_internal): Use ROUND_UP.
24563         * elf/ldconfig.c (search_dir): Expand comment.
24565 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
24567         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
24568         variable.
24569         (linknamespace-symlist-stdlibs-tests): Likewise.
24570         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
24571         instead of $(objpfx)symlist-stdlibs.
24572         (linknamespace-libs-isoc): New variable.
24573         (linknamespace-libs): Use $(linknamespace-libs-isoc).
24574         (linknamespace-libs-ISO): New variable.
24575         (linknamespace-libs-ISO99): Likewise.
24576         (linknamespace-libs-ISO11): Likewise.
24577         (linknamespace-libs-XPG3): Likewise.
24578         (linknamespace-libs-XPG4): Likewise.
24579         (linknamespace-libs-POSIX): Likewise.
24580         (linknamespace-libs-UNIX98): Likewise.
24581         (linknamespace-libs-XOPEN2K): Likewise.
24582         (linknamespace-libs-POSIX2008): Likewise.
24583         (linknamespace-libs-XOPEN2K8): Likewise.
24584         ($(objpfx)symlist-stdlibs): Replace by
24585         $(linknamespace-symlist-stdlibs-tests).  Use
24586         $(linknamespace-libs-$*) as set of libraries.
24587         ($(linknamespace-header-tests)): Update dependencies.  Use
24588         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
24589         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
24590         * conform/linknamespace.pl: Remove comment about considering
24591         definitions of symbols from irrelevant libraries.
24593 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
24595         [BZ #13862]
24596         * elf/dl-tls.c: Include <atomic.h>.
24597         (oom): Remove #ifdef SHARED/#endif.
24598         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
24599         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
24600         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
24601         big enough.
24602         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
24603         * nptl/Makefile (tests): Add tst-stack4.
24604         (modules-names): Add tst-stack4mod.
24605         ($(objpfx)tst-stack4): New.
24606         (tst-stack4mod.sos): Likewise.
24607         ($(objpfx)tst-stack4.out): Likewise.
24608         ($(tst-stack4mod.sos)): Likewise.
24609         (clean): Likewise.
24610         * nptl/tst-stack4.c: New file.
24611         * nptl/tst-stack4mod.c: Likewise.
24613 2014-11-27  J. Brown  <jb999@gmx.de>
24615         * sysdeps/x86/bits/string.h: Add recent CPUs.
24617 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24619         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
24620         sigblock.
24622         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
24623         feof.
24625         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
24626         variable.
24628 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
24630         * nscd/connections.c: Include libc-internal.h because of macro
24631         usage ignore_value.
24633 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24635         * string/bits/string3.h (__warn_memset_zero_len): Don't
24636         declare for gcc newer than 5.0.
24637         (memset): Don't test for zero-length __LEN for gcc newer than
24638         5.0.
24640 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24642         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
24643         size_t for %zu format.
24645         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
24646         difference, not %ju.
24648 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24650         * include/libc-internal.h (ignore_value): New macro.
24651         * nscd/connections.c (restart): Wrap calls to setuid and setgid
24652         with ignore_value.
24654         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
24655         definition.
24657         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
24658         pthread_cleanup_push to void *.
24660         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
24661         Undefine.
24663         [BZ #16619]
24664         [BZ #16740]
24665         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24666         instead of 1L << 52.
24668         * libio/bug-rewind.c (do_test): Check fwscanf return values.
24669         * libio/bug-rewind2.c (do_test): Likewise.
24671         * debug/test-stpcpy_chk-ifunc.c: Remove file.
24672         * debug/test-strcpy_chk-ifunc.c: Likewise.
24673         * wcsmbs/test-wcschr-ifunc.c: Likewise.
24674         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24675         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24676         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24677         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24678         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24679         * Rules [$(multi-arch) = no] (tests): Do not filter out
24680         $(tests-ifunc).
24681         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24682         * debug/Makefile (tests-ifunc): Remove variable.
24683         (tests): Do not add $(tests-ifunc).
24684         * wcsmbs/Makefile (tests-ifunc): Remove variable.
24685         (tests): Do not add $(tests-ifunc).
24686         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24687         [TEST_IFUNC]: Remove conditionals.
24688         * string/test-string.h (TEST_IFUNC): Remove macro.
24689         [TEST_IFUNC]: Remove conditionals.
24691         * string/test-strchr.c [!WIDE] (L): New macro.
24692         [WIDE] (L): Likewise.
24693         (check1): Use CHAR instead of char.  Use L on string and character
24694         constants.
24696 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
24698         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24699         tests.
24700         * sysdeps/powerpc/bits/atomic.h
24701         (__arch_atomic_exchange_and_add_32_acq): Add definition.
24702         (__arch_atomic_exchange_and_add_32_rel): Likewise.
24703         (atomic_exchange_and_add_acq): Likewise.
24704         (atomic_exchange_and_add_rel): Likewise.
24705         * sysdeps/powerpc/powerpc32/bits/atomic.h
24706         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24707         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24708         * sysdeps/powerpc/powerpc64/bits/atomic.h
24709         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24710         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24712 2014-11-26  Torvald Riegel  <triegel@redhat.com>
24714         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24715         Change synchronization of __sched_fifo_min_prio and
24716         __sched_fifo_max_prio.
24717         * nptl/pthread_mutexattr_getprioceiling.c
24718         (pthread_mutexattr_getprioceiling): Likewise.
24719         * nptl/pthread_mutexattr_setprioceiling.c
24720         (pthread_mutexattr_setprioceiling): Likewise.
24721         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24722         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24723         Likewise.
24725 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24727         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24728         void.
24730 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24732         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24733         third argument const.
24735 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
24737         fnmatch: work around GCC compiler warning bug with uninit var
24738         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24739         This works around a bug with x86-64 GCC 4.9.2 and earlier
24740         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24741         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24742         used uninitialized in this function [-Wmaybe-uninitialized]".
24744 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24746         * posix/bug-regex31.c (main): Return RES not 0.
24748 2014-11-25  Anton Blanchard <anton@samba.org>
24750         * sysdeps/powerpc/bits/atomic.h
24751         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24753 2014-11-24  Sterling Augustine  <saugustine@google.com>
24755         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24757 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
24759         [BZ #17608]
24760         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24762 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
24764         [BZ #17633]
24765         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24766         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24767         variable.
24768         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24769         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24771 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24773         * string/strncpy.c (strncpy): Improve performance by using memset.
24775 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24777         * string/strcpy.c (strcpy):
24778         Improve performance by using strlen and memcpy.
24780 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
24782         * string/strcoll_l.c (get_next_seq): __always_inline.
24783         * string/strcoll_l.c (do_compare): __always_inline.
24785 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24787         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24788         defined.
24789         * include/mqueue.h: Likewise.
24790         * include/stdlib.h: Likewise.
24792         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24793         (get_null_defines): Adjust.
24794         * sunrpc/Makefile: Adjust comment.
24795         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24796         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24797         (CFLAGS-interp.c): Likewise.
24798         (CFLAGS-ldconfig.c): Likewise.
24799         (CPPFLAGS-.os): Likewise.
24800         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24801         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24802         * extra-modules.mk (extra-modules.mk): Likewise.
24803         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24804         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24805         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24806         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24807         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24808         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24809         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24810         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24811         * iconvdata/Makefile (CPPFLAGS): Likewise.
24812         (cpp-srcs-left): Add libof for all iconvdata routines.
24813         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24814         * include/assert.h: Likewise.
24815         * include/ctype.h: Likewise.
24816         * include/errno.h: Likewise.
24817         * include/libc-symbols.h: Likewise.
24818         * include/math.h: Likewise.
24819         * include/netdb.h: Likewise.
24820         * include/resolv.h: Likewise.
24821         * include/stdio.h: Likewise.
24822         * include/stdlib.h: Likewise.
24823         * include/string.h: Likewise.
24824         * include/sys/stat.h: Likewise.
24825         * include/wctype.h: Likewise.
24826         * intl/l10nflist.c: Likewise.
24827         * libidn/idn-stub.c: Likewise.
24828         * libio/libioP.h: Likewise.
24829         * nptl/libc_multiple_threads.c: Likewise.
24830         * nptl/pthreadP.h: Likewise.
24831         * posix/regex_internal.h: Likewise.
24832         * resolv/res_hconf.c: Likewise.
24833         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24834         * sysdeps/arm/memmove.S: Likewise.
24835         * sysdeps/arm/sysdep.h: Likewise.
24836         * sysdeps/generic/_itoa.h: Likewise.
24837         * sysdeps/generic/symbol-hacks.h: Likewise.
24838         * sysdeps/gnu/errlist.awk: Likewise.
24839         * sysdeps/gnu/errlist.c: Likewise.
24840         * sysdeps/i386/i586/memcpy.S: Likewise.
24841         * sysdeps/i386/i586/memset.S: Likewise.
24842         * sysdeps/i386/i686/memcpy.S: Likewise.
24843         * sysdeps/i386/i686/memmove.S: Likewise.
24844         * sysdeps/i386/i686/mempcpy.S: Likewise.
24845         * sysdeps/i386/i686/memset.S: Likewise.
24846         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24847         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24848         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24849         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24850         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24851         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24852         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24853         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24854         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24855         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24856         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24857         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24858         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24859         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24860         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24861         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24862         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24863         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24864         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24865         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24866         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24867         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24868         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24869         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24870         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24871         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24872         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24873         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24874         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24875         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24876         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24877         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24878         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24879         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24880         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24881         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24882         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24883         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24884         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24885         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24886         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24887         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24888         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24889         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24890         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24891         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24892         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24893         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24894         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24895         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24896         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24897         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24898         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24899         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24900         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24901         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24902         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24903         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24904         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24905         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24906         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24907         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24908         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24909         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24910         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24911         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24912         * sysdeps/posix/closedir.c: Likewise.
24913         * sysdeps/posix/opendir.c: Likewise.
24914         * sysdeps/posix/readdir.c: Likewise.
24915         * sysdeps/posix/rewinddir.c: Likewise.
24916         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24917         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24918         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24919         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24920         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24921         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24922         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24923         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24924         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24925         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24926         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24927         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24928         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24929         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24930         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24931         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24932         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24933         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24934         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24935         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24936         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24937         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24938         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24939         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24940         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24941         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24942         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24943         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24944         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24946         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24947         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24948         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24949         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24950         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24951         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24952         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24953         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24954         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24955         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24956         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24957         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24958         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24959         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24960         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24961         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24962         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24963         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24964         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24965         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24966         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24967         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24968         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24969         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24970         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24971         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24972         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24973         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24974         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24975         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24976         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24977         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24978         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24979         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24980         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24981         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24982         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24983         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24984         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24985         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24986         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24987         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24988         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24989         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24990         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24991         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24992         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24993         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24994         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24995         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24996         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24997         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24998         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24999         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
25000         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25001         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
25002         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
25003         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25004         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25005         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25006         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
25007         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
25008         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
25009         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25010         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25011         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
25012         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25013         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25014         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
25015         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
25016         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25017         * sysdeps/unix/alpha/sysdep.S: Likewise.
25018         * sysdeps/unix/alpha/sysdep.h: Likewise.
25019         * sysdeps/unix/make-syscalls.sh: Likewise.
25020         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25021         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25022         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25023         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
25024         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25025         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25026         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
25027         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25028         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25029         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
25030         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25031         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25032         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25033         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25034         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25035         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25036         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25037         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25038         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25039         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25040         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25041         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25042         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25043         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25044         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25045         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25046         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25049         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
25050         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25051         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25052         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25053         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25054         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25055         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25056         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25057         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25058         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25059         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25060         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25061         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25062         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25063         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25064         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25065         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25066         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25067         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25068         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25069         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25070         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25071         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25072         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25073         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25074         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
25075         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25076         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25077         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25078         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
25079         * sysdeps/x86_64/memcpy.S: Likewise.
25080         * sysdeps/x86_64/memmove.c: Likewise.
25081         * sysdeps/x86_64/memset.S: Likewise.
25082         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
25083         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25084         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25085         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
25086         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
25087         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25088         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25089         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25090         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25091         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25092         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25093         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25094         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
25095         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25096         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25097         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
25098         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25099         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25100         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25101         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25102         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
25103         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25104         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25105         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25106         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25107         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25108         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25109         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
25110         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25111         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25112         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
25113         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25114         * sysdeps/x86_64/strcmp.S: Likewise.
25116         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
25118         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
25119         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
25120         * elf/rtld-Rules: Likewise.
25121         * elf/setup-vdso.h: Likewise.
25122         * include/assert.h: Likewise.
25123         * include/bits/stdlib-float.h: Likewise.
25124         * include/errno.h: Likewise.
25125         * include/sys/stat.h: Likewise.
25126         * include/unistd.h: Likewise.
25127         * sysdeps/aarch64/setjmp.S: Likewise.
25128         * sysdeps/alpha/setjmp.S: Likewise.
25129         * sysdeps/arm/__longjmp.S: Likewise.
25130         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
25131         * sysdeps/arm/setjmp.S: Likewise.
25132         * sysdeps/arm/sysdep.h: Likewise.
25133         * sysdeps/generic/_itoa.h: Likewise.
25134         * sysdeps/generic/dl-sysdep.h: Likewise.
25135         * sysdeps/generic/ldsodefs.h: Likewise.
25136         * sysdeps/i386/dl-tls.h: Likewise.
25137         * sysdeps/i386/setjmp.S: Likewise.
25138         * sysdeps/m68k/setjmp.c: Likewise.
25139         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
25140         * sysdeps/mach/hurd/opendir.c: Likewise.
25141         * sysdeps/posix/getcwd.c: Likewise.
25142         * sysdeps/posix/opendir.c: Likewise.
25143         * sysdeps/posix/profil.c: Likewise.
25144         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25145         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25146         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25147         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25148         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25149         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
25150         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25151         * sysdeps/s390/dl-tls.h: Likewise.
25152         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25153         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25154         * sysdeps/sh/sh3/setjmp.S: Likewise.
25155         * sysdeps/sh/sh4/setjmp.S: Likewise.
25156         * sysdeps/unix/alpha/sysdep.h: Likewise.
25157         * sysdeps/unix/arm/sysdep.S: Likewise.
25158         * sysdeps/unix/i386/sysdep.S: Likewise.
25159         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25160         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25161         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25162         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25163         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25164         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25165         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25166         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25167         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25168         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25169         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25170         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25171         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25174         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25175         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25176         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25177         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25178         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25179         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25180         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25181         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25182         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25183         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25184         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25185         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25186         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25187         * sysdeps/x86_64/setjmp.S: Likewise.
25189         * include/math.h: Use IS_IN instead of IS_IN_libm.
25190         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
25191         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25192         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25193         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
25194         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25195         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25196         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25197         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25198         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25199         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25200         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
25201         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
25202         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
25203         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
25204         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
25205         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
25206         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25207         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
25208         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25209         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
25210         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
25211         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
25212         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
25213         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
25214         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
25215         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
25216         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
25217         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25218         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25219         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
25220         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
25221         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25222         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25224         Likewise.
25225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
25226         Likewise.
25227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
25228         Likewise.
25229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
25230         Likewise.
25231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
25232         Likewise.
25233         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25234         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
25235         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25236         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25237         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25238         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
25240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
25241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
25242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
25243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
25244         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
25245         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
25246         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25247         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25248         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25249         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25250         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25251         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25252         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25253         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
25254         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
25255         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
25256         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
25257         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
25258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25259         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
25261         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
25262         * nptl/pthreadP.h: Likewise.
25263         * nptl_db/structs.def: Likewise.
25264         * sysdeps/arm/sysdep.h: Likewise.
25265         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25266         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25267         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
25268         * sysdeps/unix/alpha/sysdep.h: Likewise.
25269         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25270         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25271         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25272         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25273         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25274         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25275         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25276         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25277         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25278         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25279         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25280         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25281         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25282         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25285         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25286         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25287         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25288         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25289         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25290         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25291         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25292         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25293         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
25294         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25296         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
25297         * nptl/pthreadP.h: Likewise.
25298         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25299         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25300         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25301         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25302         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25303         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25304         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25305         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25306         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25307         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25308         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25309         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25311         Likewise.
25312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25313         Likewise.
25314         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25315         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25316         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25317         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25318         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25319         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25320         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25321         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25323         * dlfcn/dladdr.c: Use IS_IN.
25324         * dlfcn/dladdr1.c: Likewise.
25325         * dlfcn/dlclose.c: Likewise.
25326         * dlfcn/dlerror.c: Likewise.
25327         * dlfcn/dlinfo.c: Likewise.
25328         * dlfcn/dlmopen.c: Likewise.
25329         * dlfcn/dlopen.c: Likewise.
25330         * dlfcn/dlsym.c: Likewise.
25331         * dlfcn/dlvsym.c: Likewise.
25333         * include/ifaddrs.h: Use IS_IN.
25334         * inet/check_pf.c: Likewise.
25335         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25336         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
25338         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
25339         IS_IN_ldconfig.
25340         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
25341         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
25343         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
25344         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
25345         IS_IN (libc).
25347         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
25349         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
25350         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25351         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25352         * include/libc-symbols.h (IS_IN_LIB): New macro.
25353         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
25354         * include/netdb.h: Likewise.
25355         * include/stap-probe.h: Remove all uses of IN_LIB.
25357         * Makeconfig (module-cppflags-real): Define MODULE_NAME
25358         instead of IN_MODULE.
25359         * include/libc-symbols.h (IN_MODULE): Define using
25360         MODULE_NAME.
25361         (PASTE_NAME, PASTE_NAME1): New macros.
25362         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
25363         of IN_LIB.
25364         (STAP_PROBE_ASM): Likewise.
25366 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25368         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
25369         __mach_init in dlopened libc.
25371 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
25373         * sysdeps/arm/preconfigure.ac: Delete EABI check.
25374         * sysdeps/arm/preconfigure: Regenerate.
25376 2014-11-21  Roland McGrath  <roland@hack.frob.com>
25378         * nptl/pthread_create.c (__pthread_create_2_1): Set
25379         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
25380         when copying values from IATTR into PD.
25382 2014-11-21  Will Newton  <will.newton@linaro.org>
25383             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
25385         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
25386         Refactor inline-asm.  Also add comment.
25388         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
25389         ElfW macro instead of hardcoded Elf64 types.
25390         (la_aarch64_gnu_pltenter): Likewise.
25391         * sysdeps/aarch64/dl-machine.h
25392         (elf_machine_runtime_setup): Use ElfW(Addr).
25394         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
25395         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
25396         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
25397         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
25398         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
25399         (R_AARCH64_TLS_DTPMOD64): Rename to ..
25400         (R_AARCH64_TLS_DTPMOD): This.
25401         (R_AARCH64_TLS_DTPREL64): Rename to ...
25402         (R_AARCH64_TLS_DTPREL): This.
25403         (R_AARCH64_TLS_TPREL64): Rename to ...
25404         (R_AARCH64_TLS_TPREL): This.
25405         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
25406         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
25407         R_AARCH64_TLS_TPREL64.
25408         (elf_machine_rela): Likewise.
25410 2014-11-21  Torvald Riegel  <triegel@redhat.com>
25412         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
25413         by setting it to 0.  64b atomics are not supported currently.
25415 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25417         [BZ #16469]
25418         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
25419         search domain names.
25421 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25423         [BZ #16469]
25424         * NEWS: Update.
25425         * resolv/res_query.c (__libc_res_nquerydomain): Retain
25426         trailing dot.
25427         * posix/tst-getaddrinfo5.c: New.
25428         * posix/Makefile (tests): Add it.
25430 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25432         [BZ #14498]
25433         * NEWS: Fixed.
25434         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
25435         after parsing line but before break_if_match.
25436         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
25437         if there is a protocol mismatch.
25439 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
25441         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
25442         because the potential race is on the user-supplied stream.
25444 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25446         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
25447         string literal if not passed a buffer.
25448         * manual/job.texi (ctermid): Update reasoning, note deviation
25449         from posix, suggest mtasurace when not passed a buffer, for
25450         future non-preliminary safety notes.
25452 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25454         * manual/users.texi (cuserid): Fix MT-Safety note for the case
25455         of not passing it a buffer.
25456         Reported by Peng Haitao.
25458 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25460         * manual/Makefile ($(objpfx)stamp-summary): Require
25461         check-safety.sh to pass.
25462         * manual/check-safety.sh: Wish for verification that every
25463         @deftypefn and @deftypefun is followed by a @safety remark.
25465 2014-11-20  Roland McGrath  <roland@hack.frob.com>
25467         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
25469         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
25470         PTHREAD_CANCEL_ASYNCHRONOUS.
25471         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
25472         send SIGCANCEL.
25474         * nptl/default-sched.h: New file.
25475         * sysdeps/unix/sysv/linux/default-sched.h: New file.
25476         * nptl/pthread_create.c: Include it.
25477         (__pthread_create_2_1): Use collect_default_sched instead of making
25478         Linux syscalls here directly.
25480 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25482         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
25483         __pthread_once): Use C11 atomics.
25485 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25487         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
25489 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25491         * include/atomic.h (__atomic_link_error, __atomic_check_size,
25492         atomic_thread_fence_acquire, atomic_thread_fence_release,
25493         atomic_thread_fence_seq_cst, atomic_load_relaxed,
25494         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
25495         atomic_compare_exchange_weak_relaxed,
25496         atomic_compare_exchange_weak_acquire,
25497         atomic_compare_exchange_weak_release,
25498         atomic_exchange_acquire, atomic_exchange_release,
25499         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
25500         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
25501         atomic_fetch_and_acquire,
25502         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
25504 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25506         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
25507         USE_ATOMIC_COMPILER_BUILTINS): Define.
25508         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
25509         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25510         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
25511         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25512         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
25513         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25514         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
25515         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25516         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
25517         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25518         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
25519         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25520         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
25521         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25522         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
25523         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25524         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25525         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25526         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25527         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25528         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
25529         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25530         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25531         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25532         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
25533         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25534         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25535         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25536         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
25537         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25538         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
25539         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25540         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
25541         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25542         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25543         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25544         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
25545         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25546         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
25547         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25549 2014-11-19  Roland McGrath  <roland@hack.frob.com>
25551         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
25552         the sched_priority value here.  It was already checked when the user
25553         called pthread_attr_setschedparam.
25555         * nptl/tst-bad-schedattr.c: New file.
25556         * nptl/Makefile (tests): Add it.
25558 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
25559             Florian Weimer  <fweimer@redhat.com>
25560             Joseph Myers  <joseph@codesourcery.com>
25561             Adam Conrad  <adconrad@0c3.net>
25562             Andreas Schwab  <schwab@suse.de>
25563             Brooks  <bmoses@google.com>
25565         [BZ #17625]
25566         * wordexp-test.c (__dso_handle): Add prototype.
25567         (__register_atfork): Likewise.
25568         (__app_register_atfork): New function.
25569         (registered_forks): New global.
25570         (register_fork): New function.
25571         (test_case): Add 3 new tests for WRDE_CMDSUB.
25572         (main): Call __app_register_atfork.
25573         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
25574         fork count is non-zero fail the test.
25575         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
25576         is set.
25577         (parse_dollars): Remove check for WRDE_NOCMD.
25578         (parse_dquote): Likewise.
25580 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25582         * Makeconfig (built-modules): List non-library modules to be
25583         built.
25584         (module-cppflags): Include libc-modules.h for
25585         everything except shlib-versions.v.i.
25586         (CPPFLAGS): Use it.
25587         (before-compile): Add libc-modules.h.
25588         ($(common-objpfx)libc-modules.h,
25589         $(common-objpfx)libc-modules.stmp): New targets.
25590         (common-generated): Add libc-modules.h and libc-modules.stmp.
25591         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
25592         * include/libc-symbols.h: Don't include libc-modules.h.
25593         * include/libc-modules.h: Remove file.
25594         * scripts/gen-libc-modules.awk: New script to generate
25595         libc-modules.h.
25596         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
25597         Depend on libc-modules.stmp.
25599         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
25601         * Makeconfig (in-module): Get value of libof set for the
25602         translation unit.
25603         (CPPFLAGS): Use $(in-module).
25604         * Makerules: Don't suffix routine names for nonlib.
25605         * include/libc-modules.h: New file.
25606         * include/libc-symbols.h: Include libc-modules.h
25607         (IS_IN): New macro to replace IS_IN_* macros.
25608         * elf/Makefile: Set libof-* for each routine.
25609         * elf/rtld-Rules: Likewise.
25610         * extra-modules.mk: Likewise.
25611         * iconv/Makefile: Likewise.
25612         * iconvdata/Makefile: Likewise.
25613         * locale/Makefile: Likewise.
25614         * malloc/Makefile: Likewise.
25615         * nss/Makefile: Likewise.
25616         * sysdeps/gnu/Makefile: Likewise.
25617         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
25618         * sysdeps/unix/sysv/linux/Makefile: Likewise.
25619         * sysdeps/s390/s390-64/Makefile: Likewise.
25620         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
25621         CPPFLAGS for nscd instead of nonlib.
25623 2014-11-18  Roland McGrath  <roland@hack.frob.com>
25625         * nptl/createthread.c: New file.
25627         * nptl/createthread.c: Moved ...
25628         * sysdeps/unix/sysv/linux/createthread.c: ... here.
25630         * nptl/createthread.c: Add proper top-line comment.
25631         (do_clone): Folded into ...
25632         (create_thread): ... here.  Take new arguments STOPPED_START and
25633         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
25634         increment __nptl_threads, do event-reporting logic, do
25635         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
25636         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
25637         resource cleanup if sched_setaffinity or sched_setscheduler fails,
25638         just send SIGCANCEL.
25639         * nptl/pthread_create.c: Forward-declare create_thread before
25640         including createthread.c.
25641         (start_thread): Use new macro START_THREAD_DEFN to replace defining
25642         declaration, and new macro START_THREAD_SELF to replace argument.
25643         Remove return statement.
25644         (report_thread_creation): New function.
25645         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
25646         synchronization logic, and __nptl_nthreads increment here, around
25647         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
25648         PD->parent_cancelhandling here, before create_thread.  When
25649         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
25650         __deallocate_stack, and ENOMEM translation here.
25652 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
25654         [BZ #17616]
25655         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
25656         (mptwo): Rename to __mptwo.
25657         (__inv): Use __mptwo instead of mptwo.
25658         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
25659         (mptwo): Rename to __mptwo.
25660         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
25661         of mpone and __mptwo instead of mptwo.
25662         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
25663         instead of mpone.
25664         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25665         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
25666         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
25667         of mpone and __mptwo instead of mptwo.
25668         (__mpranred): Use __mpone instead of mpone.
25669         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
25670         variable.
25671         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25672         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25673         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25674         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25675         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25676         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25677         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25678         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25679         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25680         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25681         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25682         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25683         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25684         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25685         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25686         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25687         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25688         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25689         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25691 2014-11-18  Tom de Vries  <tom@codesoucery.com>
25693         * manual/signal.texi (Primitives Interrupted by Signals): In section,
25694         replace BSD Handler xref with BSD Signal Handling.
25696 2014-11-17  Richard Henderson  <rth@redhat.com>
25698         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25699         (_FP_PACK_RAW_2): Remove.
25700         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25701         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25702         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25703         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25704         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25705         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25706         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25707         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25708         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25709         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25710         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25711         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25712         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25713         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25714         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25715         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25717 2014-11-14  Roland McGrath  <roland@hack.frob.com>
25719         * signal/signal.h [__USE_MISC]
25720         (struct sigvec): Remove type.
25721         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25722         (sigvec): Remove declaration.
25723         * sysdeps/posix/sigvec.c: Moved ...
25724         * signal/sigvec.c: ... here, replacing old file.
25725         (struct sigvec): New type, copied from old signal.h definition.
25726         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25727         (__sigvec): Convert definition to prototype.
25728         (sigvec): Replace weak_alias with compat_symbol.
25729         * signal/Versions (libc: GLIBC_2.21): New version set.
25730         * include/signal.h: Remove __sigvec declaration.
25731         * sysdeps/unix/bsd/sigvec.c: Remove file.
25732         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25733         * manual/signal.texi (BSD Handler): Remove subsection.
25734         Move siginterrupt up to ...
25735         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
25736         (Blocking in BSD): Fold subsection into its parent.
25737         * NEWS: Mention sigvec removal.
25739 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25741         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25742         (DLA_FMS): Make definition conditional only on [__FMA4__].
25743         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25744         definition.
25746         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25747         Make definition conditional only on [PROF].
25748         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25749         definition.
25750         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25751         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25753         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25754         !__GNUC__].
25755         * include/signal.h (__sigpause): Move declaration above call to
25756         libc_hidden_proto.
25757         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25758         variable.
25759         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25760         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25762 2014-11-14  David S. Miller  <davem@davemloft.net>
25764         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25765         Define before including <string/memcpy.c> and <string/mempcpy.c>.
25767 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25769         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25770         * configure: Regenerated.
25771         * manual/install.texi (Tools for Compilation): Document a
25772         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25773         compiler verified to work.
25774         * INSTALL: Regenerated.
25776         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25777         redeclare with asm name.
25778         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25779         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25780         including <string.h>.
25781         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25782         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25783         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25784         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25785         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25786         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25787         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25789 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
25791         * stdlib/strtol.c (__strtol): Use prototype definition.
25793         [BZ #17594]
25794         * stdlib/strtol.c (SYM__): New macro.
25795         (SYM__1): Likewise.
25796         (__strtol): Likewise.
25797         (strtol): Rename to __strtol and define as weak alias of
25798         __strtol.  Use libc_hidden_weak.
25800 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25802         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25803         Use numbered labels in inline assembly.
25805 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25807         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25808         Add setjmp LIBC_PROBE.
25809         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25810         Likewise.
25811         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25812         Add longjmp, longjmp_target LIBC_PROBE.
25813         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25814         Likewise.
25816 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25818         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25819         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25820         to get rid of unused variable warning.
25822 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25824         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25825         Check for unwind_backtrace ==  NULL only in SHARED case.
25826         (__backchain_backtrace): Compile only in SHARED case.
25827         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25828         Likewise.
25829         (__backchain_backtrace): Declare as static.
25831 2014-11-12  Roland McGrath  <roland@hack.frob.com>
25833         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25834         (__libc_multiple_threads_ptr): Variable moved ...
25835         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25837 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
25839         * conform/GlibcConform.pm: New file.
25840         * conform/conformtest.pl: Use GlibcConform module.
25841         * conform/linknamespace.pl: New file.
25842         * conform/list-header-symbols.pl: Likewise.
25843         * conform/Makefile (linknamespace-symlists-base): New variable.
25844         (linknamespace-symlists-tests): Likewise.
25845         (linknamespace-header-base): Likewise.
25846         (linknamespace-header-tests): Likewise.
25847         (tests-special): Add new tests.
25848         ($(linknamespace-symlists-tests)): New rule.
25849         (linknamespace-libs): New variable.
25850         ($(objpfx)symlist-stdlibs): New rule.
25851         ($(linknamespace-header-tests)): Likewise.
25852         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25853         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25854         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25855         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25856         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25857         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25858         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25859         (test-xfail-ISO/math.h/linknamespace): Likewise.
25860         (test-xfail-ISO/signal.h/linknamespace): Likewise.
25861         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25862         (test-xfail-ISO/time.h/linknamespace): Likewise.
25863         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25864         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25865         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25866         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25867         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25868         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25869         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25870         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25871         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25872         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25873         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25874         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25875         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25876         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25877         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25878         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25879         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25880         (test-xfail-XPG3/search.h/linknamespace): Likewise.
25881         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25882         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25883         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25884         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25885         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25886         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25887         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25888         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25889         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25890         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25891         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25892         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25893         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25894         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25895         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25896         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25897         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25898         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25899         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25900         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25901         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25902         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25903         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25904         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25905         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25906         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25907         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25908         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25909         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25910         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25911         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25912         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25913         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25914         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25915         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25916         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25917         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25918         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25919         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25920         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25921         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25922         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25923         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25924         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25925         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25926         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25927         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25928         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25929         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25930         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25931         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25932         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25933         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25934         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25935         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25936         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25937         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25938         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25939         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25940         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25941         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25942         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25943         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25944         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25945         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25946         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25947         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25948         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25949         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25950         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25951         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25952         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25953         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25954         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25955         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25956         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25957         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25958         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25959         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25960         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25961         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25962         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25963         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25964         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25965         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25966         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25967         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25968         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25969         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25970         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25971         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25972         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25973         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25974         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25975         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25976         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25977         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25978         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25979         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25980         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25981         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25982         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25983         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25984         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25985         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25986         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25987         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25988         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25989         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25990         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25991         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25992         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25993         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25994         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25995         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25996         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25997         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25998         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25999         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26000         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
26001         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26002         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
26003         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26004         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26005         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26006         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26007         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26008         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26009         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
26010         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26011         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26012         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26014         [BZ #17589]
26015         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
26016         of fgets_unlocked.
26018         [BZ #17585]
26019         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
26020         (memmem): Rename to __memmem and define as weak alias of
26021         __memmem.  Use libc_hidden_weak.
26022         (__memmem): Use libc_hidden_def.
26023         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
26024         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
26025         memmem.
26027         [BZ #17582]
26028         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
26029         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
26030         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
26031         and define as weak alias of __fgets_unlocked.  Use
26032         libc_hidden_weak.
26033         (__fgets_unlocked): Use libc_hidden_def.
26034         * include/stdio.h (__fgets_unlocked): Declare.  Use
26035         libc_hidden_proto.
26036         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
26037         __fgets_unlocked instead of fgets_unlocked.
26038         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
26039         (GET_NPROCS_CONF_PARSER): Likewise.
26040         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
26041         (GET_NPROCS_CONF_PARSER): Likewise.
26043         [BZ #17574]
26044         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
26045         weak alias of __wmemset.  Use libc_hidden_weak.
26046         (__wmemset): Use libc_hidden_def.
26047         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
26048         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
26049         of wmemset.
26051         [BZ #17573]
26052         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
26053         with asm name __mempcpy.
26054         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
26056         [BZ #17572]
26057         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
26058         and define as weak alias of __rawmemchr.
26059         (__rawmemchr): Do not define as strong alias of rawmemchr.
26061         [BZ #17571]
26062         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
26063         alias of __qsort_r.
26064         (qsort): Call __qsort_r instead of qsort_r.
26065         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
26066         (__qsort_r): Declare.  Call libc_hidden_proto.
26067         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
26068         instead of qsort_r.
26069         * nscd/gai.c (__qsort_r): Define to qsort_r.
26070         * posix/tst-rfc3484.c (__qsort_r): Likewise.
26071         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
26072         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
26074         [BZ #17570]
26075         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
26076         define as weak alias of __malloc_info.
26078         [BZ #17584]
26079         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
26080         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26081         (__rewinddir): Use libc_hidden_def.
26082         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
26083         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26084         (__rewinddir): Use libc_hidden_def.
26085         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
26086         weak alias of __rewinddir.  Don't use libc_hidden_def.
26087         (__rewinddir): Use libc_hidden_def.
26088         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
26089         (__rewinddir): Use libc_hidden_proto.
26090         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
26091         rewinddir.
26092         (__getcwd): Use __rewinddir instead of rewinddir.
26094         [BZ #17583]
26095         * libio/fileno.c (fileno): Rename to __fileno and define as weak
26096         alias of __fileno.  Use libc_hidden_weak.
26097         (__fileno): Use libc_hidden_def.
26098         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
26099         * libio/ftello.c (ftello): Rename to __ftello and define as weak
26100         alias of __ftello.
26101         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
26102         __ftello.
26103         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
26104         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
26105         libc_hidden_def.
26106         (fread_unlocked): Don't use libc_hidden_ver.
26107         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
26108         and define as weak alias of __fread_unlocked.  Don't use
26109         libc_hidden_def.
26110         (__fread_unlocked): Use libc_hidden_def.
26111         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
26112         (ftello): Don't use libc_hidden_proto.
26113         (__ftello): Declare.  Use libc_hidden_proto.
26114         (fread_unlocked): Don't use libc_hidden_proto.
26115         (__fread_unlocked): Declare.  Use libc_hidden_proto.
26116         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
26117         and __ftello instead of fileno, fread_unlocked and ftello.
26119 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26121         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
26122         GOT12.
26123         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26124         Likewise.
26125         (_dl_start_user): Likewise.
26126         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
26128 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
26129             Siddhesh Poyarekar  <siddhesh@redhat.com>
26131         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
26132         Move argv and envp down instead of moving argc up.
26133         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
26135 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
26137         [BZ #17506]
26138         * test-skeleton.c (main): Return successful if one of
26139         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
26140         * string/tst-strcoll-overflow.c: Define expected status.
26142 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
26144         [BZ #17475]
26145         * locale/iso-639.def: Define Bhili and Tulu language codes.
26147 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
26149         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
26151 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
26153         [BZ #17555]
26154         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
26156 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26158         * configure.ac: Updated check of minimal required version to
26159         2.22.
26160         * manual/install.texi (Tools for Compilation): Updated version
26161         number.
26162         * configure: Regenerated.
26163         * INSTALL: Likewise.
26165 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
26167         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
26168         __tls_get_addr.
26170 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
26172         * include/sys/wait.h (__libc_waitpid): Remove declaration.
26173         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
26174         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26175         libc_hidden_weak.
26176         (waitpid): Define as alias of __waitpid.
26177         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
26178         __waitpid.
26179         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26180         libc_hidden_weak.
26181         (waitpid): Define as alias of __waitpid.
26182         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
26183         __libc_waitpid alias.
26184         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
26185         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
26186         Likewise.
26187         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
26188         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
26189         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
26190         alias.
26191         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
26192         __waitpid.
26193         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26194         libc_hidden_weak.
26195         (waitpid): Define as alias of __waitpid.
26197 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
26199         * manual/llio.texi: Add comment that write safety has been
26200         fixed in Linux.
26202         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
26203         (localplt-build-dso): Add elf/ld.so.
26204         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
26205         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
26206         and free for ld.so.
26207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
26208         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
26209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
26210         Likewise.
26211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26212         Likewise.
26213         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
26214         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
26215         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
26216         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
26217         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26218         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
26219         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
26220         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
26221         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26222         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
26223         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26225 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
26227         [BZ #14132]
26228         * include/libc-symbols.h (INTUSE): Remove macro.
26229         (INTDEF): Likewise.
26230         (INTVARDEF): Likewise.
26231         (_INTVARDEF): Likewise.
26232         (INTDEF2): Likewise.
26233         (INTVARDEF2): Likewise.
26234         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
26235         rtld_hidden_def instead of INTVARDEF.
26236         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
26237         (_dl_starting_up_internal): Remove declaration.
26238         (_dl_starting_up): Use rtld_hidden_proto.
26239         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
26240         declaration.
26241         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
26242         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
26243         _dl_starting_up.
26244         * elf/dl-writev.h (_dl_writev): Likewise.
26245         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
26246         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
26247         _dl_starting_up_internal.
26249 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26251         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26252         test-skeleton.c.
26254 2014-11-05  Will Newton  <will.newton@linaro.org>
26256         * benchtests/Makefile: (bench-malloc): Add malloc thread
26257         scalability benchmark.
26258         * benchtests/bench-malloc-threads.c: New file.
26260 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
26262         * sysdeps/aarch64/strchrnul.S: New file.
26264 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26266         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
26267         definition.
26268         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26269         Likwise.
26270         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26271         Likewise.
26272         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26273         Likewise.
26274         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26275         Likewise.
26276         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26277         Likewise.
26279 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
26281         * catgets/test-gencat.c: Use test-skeleton.c.
26282         * catgets/tst-catgets.c: Likewise.
26283         * csu/tst-empty.c: Likewise.
26284         * elf/tst-audit2.c: Likewise.
26285         * elf/tst-global1.c: Likewise.
26286         * elf/tst-pathopt.c: Likewise.
26287         * elf/tst-piemod1.c: Likewise.
26288         * elf/tst-tls10.c: Likewise.
26289         * elf/tst-tls11.c: Likewise.
26290         * elf/tst-tls12.c: Likewise.
26291         * gnulib/tst-gcc.c: Likewise.
26292         * iconvdata/tst-e2big.c: Likewise.
26293         * iconvdata/tst-loading.c: Likewise.
26294         * iconv/tst-iconv1.c: Likewise.
26295         * iconv/tst-iconv2.c: Likewise.
26296         * inet/test-inet6_opt.c: Likewise.
26297         * inet/tst-gethnm.c: Likewise.
26298         * inet/tst-network.c: Likewise.
26299         * inet/tst-ntoa.c: Likewise.
26300         * intl/tst-codeset.c: Likewise.
26301         * intl/tst-gettext2.c: Likewise.
26302         * intl/tst-gettext3.c: Likewise.
26303         * intl/tst-ngettext.c: Likewise.
26304         * intl/tst-translit.c: Likewise.
26305         * io/test-stat.c: Likewise.
26306         * libio/test-fmemopen.c: Likewise.
26307         * libio/tst-freopen.c: Likewise.
26308         * libio/tst-sscanf.c: Likewise.
26309         * libio/tst-ungetwc1.c: Likewise.
26310         * libio/tst-ungetwc2.c: Likewise.
26311         * libio/tst-widetext.c: Likewise.
26312         * localedata/tst-ctype.c: Likewise.
26313         * localedata/tst-digits.c: Likewise.
26314         * localedata/tst-leaks.c: Likewise.
26315         * localedata/tst-mbswcs1.c: Likewise.
26316         * localedata/tst-mbswcs2.c: Likewise.
26317         * localedata/tst-mbswcs3.c: Likewise.
26318         * localedata/tst-mbswcs4.c: Likewise.
26319         * localedata/tst-mbswcs5.c: Likewise.
26320         * localedata/tst-setlocale.c: Likewise.
26321         * localedata/tst-trans.c: Likewise.
26322         * localedata/tst-wctype.c: Likewise.
26323         * localedata/tst-xlocale1.c: Likewise.
26324         * login/tst-grantpt.c: Likewise.
26325         * malloc/tst-calloc.c: Likewise.
26326         * malloc/tst-malloc.c: Likewise.
26327         * malloc/tst-mallocstate.c: Likewise.
26328         * malloc/tst-mcheck.c: Likewise.
26329         * malloc/tst-mtrace.c: Likewise.
26330         * malloc/tst-obstack.c: Likewise.
26331         * math/atest-exp2.c: Likewise.
26332         * math/atest-exp.c: Likewise.
26333         * math/atest-sincos.c: Likewise.
26334         * math/test-matherr.c: Likewise.
26335         * math/test-misc.c: Likewise.
26336         * math/test-powl.c: Likewise.
26337         * math/tst-definitions.c: Likewise.
26338         * misc/tst-dirname.c: Likewise.
26339         * misc/tst-efgcvt.c: Likewise.
26340         * misc/tst-fdset.c: Likewise.
26341         * misc/tst-hsearch.c: Likewise.
26342         * misc/tst-mntent2.c: Likewise.
26343         * nptl/tst-sem7.c: Likewise.
26344         * nptl/tst-sem8.c: Likewise.
26345         * nptl/tst-sem9.c: Likewise.
26346         * nss/test-netdb.c: Likewise.
26347         * posix/tst-fnmatch.c: Likewise.
26348         * posix/tst-getlogin.c: Likewise.
26349         * posix/tst-gnuglob.c: Likewise.
26350         * posix/tst-mmap.c: Likewise.
26351         * pwd/tst-getpw.c: Likewise.
26352         * resolv/tst-inet_ntop.c: Likewise.
26353         * rt/tst-timer.c: Likewise.
26354         * stdio-common/test-fseek.c: Likewise.
26355         * stdio-common/test-popen.c: Likewise.
26356         * stdio-common/test-vfprintf.c: Likewise.
26357         * stdio-common/tst-cookie.c: Likewise.
26358         * stdio-common/tst-fileno.c: Likewise.
26359         * stdio-common/tst-gets.c: Likewise.
26360         * stdio-common/tst-obprintf.c: Likewise.
26361         * stdio-common/tst-perror.c: Likewise.
26362         * stdio-common/tst-sprintf2.c: Likewise.
26363         * stdio-common/tst-sprintf3.c: Likewise.
26364         * stdio-common/tst-sprintf.c: Likewise.
26365         * stdio-common/tst-swprintf.c: Likewise.
26366         * stdio-common/tst-tmpnam.c: Likewise.
26367         * stdio-common/tst-unbputc.c: Likewise.
26368         * stdio-common/tst-wc-printf.c: Likewise.
26369         * stdlib/tst-environ.c: Likewise.
26370         * stdlib/tst-fmtmsg.c: Likewise.
26371         * stdlib/tst-limits.c: Likewise.
26372         * stdlib/tst-rand48-2.c: Likewise.
26373         * stdlib/tst-rand48.c: Likewise.
26374         * stdlib/tst-random2.c: Likewise.
26375         * stdlib/tst-random.c: Likewise.
26376         * stdlib/tst-strtol.c: Likewise.
26377         * stdlib/tst-strtoll.c: Likewise.
26378         * stdlib/tst-tls-atexit.c: Likewise.
26379         * stdlib/tst-xpg-basename.c: Likewise.
26380         * string/test-ffs.c: Likewise.
26381         * string/tst-bswap.c: Likewise.
26382         * string/tst-inlcall.c: Likewise.
26383         * string/tst-strtok.c: Likewise.
26384         * string/tst-strxfrm.c: Likewise.
26385         * sysdeps/x86_64/tst-audit10.c: Likewise.
26386         * sysdeps/x86_64/tst-audit3.c: Likewise.
26387         * sysdeps/x86_64/tst-audit4.c: Likewise.
26388         * sysdeps/x86_64/tst-audit5.c: Likewise.
26389         * time/tst-ftime_l.c: Likewise.
26390         * time/tst-getdate.c: Likewise.
26391         * time/tst-mktime3.c: Likewise.
26392         * time/tst-mktime.c: Likewise.
26393         * time/tst-posixtz.c: Likewise.
26394         * time/tst-strptime2.c: Likewise.
26395         * time/tst-strptime3.c: Likewise.
26396         * wcsmbs/tst-btowc.c: Likewise.
26397         * wcsmbs/tst-mbrtowc.c: Likewise.
26398         * wcsmbs/tst-mbsrtowcs.c: Likewise.
26399         * wcsmbs/tst-wchar-h.c: Likewise.
26400         * wcsmbs/tst-wcpncpy.c: Likewise.
26401         * wcsmbs/tst-wcrtomb.c: Likewise.
26402         * wcsmbs/tst-wcsnlen.c: Likewise.
26403         * wcsmbs/tst-wcstof.c: Likewise.
26405 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
26407         [BZ #14132]
26408         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
26409         INTDEF.
26410         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
26411         declaration.
26412         (_dl_mcount): Use rtld_hidden_proto.
26413         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
26414         _dl_mcount.
26415         * elf/rtld.c (_rtld_global_ro): Likewise.
26417         [BZ #14132]
26418         * elf/dl-init.c (_dl_init): Don't use INTDEF.
26419         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
26420         of _dl_init_internal.
26421         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
26422         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
26423         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
26424         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
26425         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
26426         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
26427         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
26428         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
26429         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26430         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
26431         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
26432         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
26433         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26434         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26435         * sysdeps/tile/dl-start.S (_start): Likewise.
26436         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
26437         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
26439         [BZ #14132]
26440         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
26441         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
26442         (rtld_progname): Make macro definition unconditional.
26443         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
26444         INTDEF.
26445         (dlmopen_doit): Do not use INTUSE with _dl_argv.
26446         (dl_main): Likewise.
26447         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26448         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
26449         instead of _dl_argv_internal.
26450         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26451         __GI__dl_argv instead of INTUSE(_dl_argv).
26452         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
26453         __GI__dl_argv instead of _dl_argv_internal.
26455         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
26456         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
26457         macro.
26458         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
26459         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
26460         New macro.
26461         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
26462         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
26463         macro.
26464         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
26465         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
26467 2014-11-04  Andreas Schwab  <schwab@suse.de>
26469         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
26471 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26473         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
26474         mtvsrd instruction in binary form.
26476 2014-11-03  Andreas Schwab  <schwab@suse.de>
26478         [BZ #17522]
26479         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
26480         for less than MB_LEN_MAX use a local buffer of that size.
26481         * libio/tst-fputws.c: New file.
26482         * libio/Makefile (tests): Add tst-fputws.
26484 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
26486         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
26487         the size of the fpu_fr.fpu_dregs[] array.
26489 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
26491         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
26492         (__nanosleep): Do not define as alias.
26493         (nanosleep): Define as alias of __nanosleep.
26494         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
26495         __libc_nanosleep name.
26497 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26499         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
26500         install.texi in comment.
26502 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26504         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
26505         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
26506         ... add here and use lwsync or sync ...
26507         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
26508         ... and add here using lwsync.
26510 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26512         * elf/dl-machine-reject-phdr.h: New file.
26513         * elf/dl-load.c: #include that.
26514         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
26515         if that returned true.
26517 2014-10-31  Roland McGrath  <roland@hack.frob.com>
26519         [BZ #17496]
26520         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
26521         gen-as-const-headers chunk.  Add a big scare comment after the last
26522         safe place to touch before-compile.
26524 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26526         * manual/install.texi (Tools for Compilation): Update autoconf
26527         version requirements.
26528         * INSTALL: Regenerated.
26530         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
26531         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
26532         (__libc_pselect): Likewise.
26534         [BZ #14138]
26535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
26536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26540 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26542         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
26543         correct barrier instruction.
26544         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
26545         Likewise.
26546         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
26547         Likewise.
26549 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26551         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
26552         after defining inlines.  Instead, just use parens to defeat macro
26553         expansion of __isctype in its declaration.
26555 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26557         * include/sys/uio.h (__libc_readv): Remove declaration.
26558         (__libc_writev): Likewise.
26559         * misc/readv.c (__libc_readv): Rename to __readv.
26560         (__readv): Do not define as alias.
26561         (readv): Define as alias of __readv.
26562         * misc/writev.c (__libc_writev): Rename to __writev.
26563         (__writev): Do not define as alias.
26564         (writev): Define as alias of __writev.
26565         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
26566         (__readv): Do not define as alias.
26567         (readv): Define unconditionally as alias of __readv.
26568         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
26569         (__writev): Do not define as alias.
26570         (writev): Define unconditionally as alias of __writev.
26571         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
26572         name.
26573         (writev): Do not define __libc_writev name.
26575 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26577         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
26578         (convert_charseq): New function, broken out of ...
26579         (use_from_charmap): ... here.  Call it.
26580         (use_to_charmap): Use convert_charseq and free instead of duplicating
26581         its code with a variable-length stack struct.
26583 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26585         * include/fcntl.h (__libc_creat): Remove declaration.
26586         * io/creat.c (__libc_creat): Rename to creat.
26587         (creat): Do not define as alias.
26588         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
26589         of creat instead of __libc_creat.
26590         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
26591         to creat.
26592         (creat): Do not define as alias.
26593         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
26594         __libc_creat.
26595         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
26596         __libc_creat name.
26597         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
26598         Likewise.
26600 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
26602         * manual/llio.texi: Add comments discussing why write() may be
26603         considered MT-unsafe on Linux.
26605 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
26607         * dl-load.c (local_strdup): Remove.
26608         (expand_dynamic_string_token): Use __strdup.
26609         (decompose_rpath): Likewise.
26610         (_dl_map_object): Likewise.
26612 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
26614         [BZ #14132]
26615         * sysdeps/generic/unwind-dw2-fde.c
26616         (__register_frame_info_bases_internal): Do not declare.
26617         (__register_frame_info_table_bases_internal): Likewise.
26618         (__deregister_frame_info_bases_internal): Likewise.
26619         (__register_frame_info_bases): Declare and use hidden_proto before
26620         definition.  Use hidden_def instead of INTDEF.
26621         (__register_frame_info_table_bases): Likewise.
26622         (__deregister_frame_info_bases): Likewise.
26623         (__register_frame_info): Do not use INTUSE.
26624         (__register_frame): Likewise.
26625         (__register_frame_info_table): Likewise.
26626         (__register_frame_table): Likewise.
26627         (__deregister_frame_info): Likewise.
26628         (__deregister_frame): Likewise.
26630 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
26632         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26633         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
26634         not undefine.
26635         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
26636         Likewise.
26637         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
26638         Likewise.
26640 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
26642         [BZ #14138]
26643         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
26644         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
26645         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
26646         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
26647         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
26648         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
26649         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
26650         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
26651         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
26652         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
26653         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
26654         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
26655         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
26656         syscall.
26657         (setfsuid): Likewise.
26658         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
26659         (setfsuid): Likewise.
26660         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
26661         (setfsuid): Likewise.
26662         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
26663         Likewise.
26664         (setfsuid): Likewise.
26665         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
26666         (setfsuid): Likewise.
26667         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
26668         Likewise.
26669         (setfsuid): Likewise.
26671 2014-10-27  Andreas Schwab  <schwab@suse.de>
26673         [BZ #17501]
26674         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26675         check for Slow_SSE4_2 feature bit.
26676         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26677         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26678         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26679         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
26681 2014-10-24  Roland McGrath  <roland@hack.frob.com>
26683         * configure.ac: Validate compiler version with a empirical test of
26684         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26685         $CC -v output.
26686         * configure: Regenerated.
26688         * inet/htons.c (htons): Prototypify.
26689         * inet/htonl.c (htonl): Likewise.
26691 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26693         * string/strncat.c (strncat): Improve performance by using strlen.
26695 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26697         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26699 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26701         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26702         Call libc_fetestexcept_aarch64.
26704 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26706         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26707         Call libc_feholdexcept_aarch64.
26709 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26711         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26712         Call get_rounding_mode.
26714 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26716         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26717         Simplify logic.
26719 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26721         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26722         Simplify logic.
26724 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
26726         [BZ #14138]
26727         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26728         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26729         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26730         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26731         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26732         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26733         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26734         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26735         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26736         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26737         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26738         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26739         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26740         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26741         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26742         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26743         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26744         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26745         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26746         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26747         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26748         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26749         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26750         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26751         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26752         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26753         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26754         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26755         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26756         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26757         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26758         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26759         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26760         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26761         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26762         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26763         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26764         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26765         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26766         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26767         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26768         syscall.
26769         (geteuid): Likewise.
26770         (getgid): Likewise.
26771         (getuid): Likewise.
26772         (getresgid): Likewise.
26773         (getresuid): Likewise.
26774         (getgroups): Likewise.
26775         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26776         (geteuid): Likewise.
26777         (getgid): Likewise.
26778         (getuid): Likewise.
26779         (getresgid): Likewise.
26780         (getresuid): Likewise.
26781         (getgroups): Likewise.
26782         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26783         (geteuid): Likewise.
26784         (getgid): Likewise.
26785         (getuid): Likewise.
26786         (getresgid): Likewise.
26787         (getresuid): Likewise.
26788         (getgroups): Likewise.
26789         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26790         Likewise.
26791         (geteuid): Likewise.
26792         (getgid): Likewise.
26793         (getuid): Likewise.
26794         (getresgid): Likewise.
26795         (getresuid): Likewise.
26796         (getgroups): Likewise.
26797         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26798         (geteuid): Likewise.
26799         (getgid): Likewise.
26800         (getuid): Likewise.
26801         (getresgid): Likewise.
26802         (getresuid): Likewise.
26803         (getgroups): Likewise.
26804         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26805         Likewise.
26806         (geteuid): Likewise.
26807         (getgid): Likewise.
26808         (getuid): Likewise.
26809         (getgroups): Likewise.
26811         [BZ #14138]
26812         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26813         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26814         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26815         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26816         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26817         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26818         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26819         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26820         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26821         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26822         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26823         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26824         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26825         __chown.
26826         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26827         (lchown): Likewise.
26828         (fchown): Likewise.
26829         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26830         Likewise.
26831         (lchown): Likewise.
26832         (fchown): Likewise.
26833         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26834         (lchown): Likewise.
26835         (fchown): Likewise.
26836         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26837         Likewise.
26838         (lchown): Likewise.
26839         (fchown): Likewise.
26841 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26843         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26844         Simplify logic.
26846 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26848         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26849         Cleanup logic.
26851 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26853         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26854         Remove unused include.
26856 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26858         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26859         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26860         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26861         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26863 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
26864             Helge Deller <deller@gmx.de>
26866         [BZ #17508]
26867         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26868         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26869         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26871 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
26873         [BZ #14132]
26874         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26875         Remove macro definition.
26876         (__ashrdi3_v_glibc20): Likewise.
26877         (__lshrdi3_v_glibc20): Likewise.
26878         (__cmpdi2_v_glibc20): Likewise.
26879         (__ucmpdi2_v_glibc20): Likewise.
26880         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26881         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26882         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26883         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26884         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26885         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26887 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26889         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26890         old GNU extension [0] syntax.
26891         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26892         alloca rather than an array member with variable length.
26893         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26894         * nscd/nscd.c (invalidate_db): New function, broken out of ...
26895         (parse_opt): ... here.  Likewise use alloca there.
26896         Validate the -i argument before checking for rootness.
26897         (send_shutdown): New function, broken out of ...
26898         (parse_opt): ... here.
26900 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26902         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26903         macro to get at the _rt_local_ro field.
26904         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26905         ([PIC] case) or _dl_hwcap ([!PIC] case).
26906         * sysdeps/arm/setjmp.S: Likewise.
26908         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26909         * sysdeps/arm/configure.ac: New check to define it.
26910         * sysdeps/arm/configure: Regenerated.
26911         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26912         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26913         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26914         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26915         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26916         Use move/movt pair instead of a load.
26917         (LDST_GLOBAL): Macro removed.
26918         (LDR_GLOBAL): New macro replaces it.
26919         (LDR_HIDDEN): New macro.
26920         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26921         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26923         * setjmp/tst-setjmp-static.c: New file.
26924         * setjmp/Makefile (tests): Add it.
26925         (tests-static): New variable.
26927 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
26929         [BZ #17485]
26930         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26932 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
26934         [BZ #14132]
26935         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26937 2014-10-21  Roland McGrath  <roland@hack.frob.com>
26939         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26941 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26943         * io/fts.c (dirent_not_directory): New function.
26944         (fts_build): Call it.
26946 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26948         * nptl/version.c (__nptl_main): Use normal __write rather than
26949         INTERNAL_SYSCALL.
26950         (banner): Update copyright years.
26952         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26953         gettimeofday.
26954         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26955         * nptl/pthread_cond_timedwait.c: Likewise.
26956         * nptl/pthread_mutex_timedlock.c: Likewise.
26957         * nptl/sem_timedwait.c: Likewise.
26959         * sysdeps/nptl/bits/libc-lock.h
26960         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26961         (__libc_lock_init_recursive): Return void, not 0.
26962         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26963         (__libc_rwlock_init): Likewise.
26964         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26966 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26968         [BZ #15215]
26969         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26970         (__pthread_once_slow): ... here.
26971         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26972         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26974 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26976         [BZ #15215]
26977         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26978         __PTHREAD_ONCE_FORK_GEN_INCR): New.
26979         * sysdeps/nptl/fork.c (__libc_fork): Use them.
26980         * nptl/pthread_once.c (__pthread_once): Likewise.
26981         Update comments.
26983 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
26985         [BZ #14138]
26986         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26987         name.
26988         (writev): Use __libc_writev as strong name.
26989         * sysdeps/unix/sysv/linux/readv.c: Remove file.
26990         * sysdeps/unix/sysv/linux/writev.c: Likewise.
26992 2014-10-17  Roland McGrath  <roland@hack.frob.com>
26994         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26996         * sysdeps/i386/nptl/tls.h
26997         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26998         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26999         New macros.
27000         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
27001         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
27002         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
27003         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
27004         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
27005         Call CHECK_THREAD_SYSINFO instead of doing an assert.
27007         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27008         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
27009         on [__NR_futex].
27010         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
27011         broken out of ...
27012         (__pthread_mutex_init): ... here.  Call it.
27013         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
27014         Conditionalize PI cases on [__NR_futex].
27015         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
27016         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
27017         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
27019         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
27020         conditional on [SIGSETXID].
27021         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
27022         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
27023         is defined.  Likewise for SIGSETXID.
27024         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
27025         Conditionalize definitions on [SIGSETXID].
27026         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
27027         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
27028         unblocking on [SIGCANCEL].
27030         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
27031         [__NR_set_robust_list].
27033 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27035         * string/strcoll_l.c (get_next_seq): Fix up formatting.
27036         (do_compare): Likewise.
27038 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
27040         [BZ #15884]
27041         * string/strcoll_l.c: Don't include stdio.h.
27042         (coll_seq): Remove members idxarr and rulearr.
27043         (get_next_seq_cached): Remove function.
27044         (get_next_seq): Likewise.
27045         (get_next_seq_nocache): Rename to get_next_seq.
27046         (do_compare): Remove function.
27047         (do_compare_nocache): Rename to do_compare.
27048         (STRCOLL): Remove weight and rules cache.
27050 2014-10-16  Roland McGrath  <roland@hack.frob.com>
27052         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
27053         * sysdeps/arm/sfp-machine.h: ... to here.
27054         * sysdeps/arm/Implies: Remove arm/soft-fp.
27056 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
27058         * conform/data/sys/utsname.h-data (*_t): Allow.
27059         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
27060         [POSIX] (WEXITED): Do not expect constant.
27061         [POSIX] (WSTOPPED): Likewise.
27062         [POSIX] (WNOHANG): Likewise.
27063         [POSIX] (WNOWAIT): Likewise.
27064         [POSIX] (siginfo_t): Do not expect type or elements.
27065         [POSIX] (pid_t): Do not expect type.
27066         [POSIX] (signal.h): Do not allow header.
27067         [POSIX] (sys/resource.h): Likewise.
27068         [POSIX] (si_*): Do not allow pattern.
27069         [POSIX] (W*): Likewise.
27070         [POSIX] (P_*): Likewise.
27071         [POSIX] (BUS_*): Likewise.
27072         [POSIX] (CLD_*): Likewise.
27073         [POSIX] (FPE_*): Likewise.
27074         [POSIX] (ILL_*): Likewise.
27075         [POSIX] (POLL_*): Likewise.
27076         [POSIX] (SEGV_*): Likewise.
27077         [POSIX] (SI_*): Likewise.
27078         [POSIX] (TRAP_*): Likewise.
27079         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
27080         variable.
27082 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
27084         [BZ #12926]
27085         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
27086         infinite loop when __recvmsg returns 0.
27088 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
27090         * CANCEL-FCT-WAIVE: Remove file.
27091         * CANCEL-FILE-WAIVE: Likewise.
27093         [BZ #14132]
27094         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
27095         instead of INTVARDEF.
27096         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27097         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
27098         rtld_hidden_data_def instead of INTVARDEF.
27099         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27100         * elf/dl-deps.c (expand_dst): Likewise.
27101         * elf/dl-load.c (_dl_dst_count): Likewise.
27102         (_dl_dst_substitute): Likewise.
27103         (decompose_rpath): Likewise.
27104         (_dl_init_paths): Likewise.
27105         (open_path): Likewise.
27106         (_dl_map_object): Likewise.
27107         * elf/rtld.c (dl_main): Likewise.
27108         (process_dl_audit): Likewise.
27109         (process_envvars): Likewise.
27110         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
27111         Remove declaration.
27112         (__libc_enable_secure): Use rtld_hidden_proto.
27114 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27116         * elf/dl-load.c
27117         (add_path): New function broken out of _dl_rtld_di_serinfo.
27118         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
27120 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27122         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
27123         parentheses around macro arguments.
27124         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
27125         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
27126         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
27127         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
27128         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
27129         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27130         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27131         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
27132         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
27133         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
27134         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
27135         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
27136         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
27137         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
27138         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
27139         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
27140         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
27141         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
27142         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
27143         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
27144         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
27145         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
27146         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
27147         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27148         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27149         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
27150         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
27151         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
27152         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
27153         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
27154         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
27155         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
27156         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
27157         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
27158         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
27159         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
27160         Likewise.
27161         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
27162         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27163         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27164         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
27165         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
27166         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
27167         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
27168         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
27169         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
27170         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
27171         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
27172         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
27173         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
27174         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
27175         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
27176         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27177         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27178         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
27179         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
27180         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
27181         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
27182         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
27183         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
27184         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
27185         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
27186         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
27187         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
27188         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
27189         (_FP_FRAC_SRS_1): Likewise.
27190         (_FP_FRAC_CLZ_1): Likewise.
27191         (_FP_MUL_MEAT_1_imm): Likewise.
27192         (_FP_MUL_MEAT_1_wide): Likewise.
27193         (_FP_MUL_MEAT_1_hard): Likewise.
27194         (_FP_SQRT_MEAT_1): Likewise.
27195         (_FP_FRAC_ASSEMBLE_1): Likewise.
27196         (_FP_FRAC_DISASSEMBLE_1): Likewise.
27197         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
27198         (__FP_CLZ_2): Likewise.
27199         (_FP_MUL_MEAT_2_wide): Likewise.
27200         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27201         (_FP_MUL_MEAT_2_gmp): Likewise.
27202         (_FP_MUL_MEAT_2_120_240_double): Likewise.
27203         (_FP_SQRT_MEAT_2): Likewise.
27204         (_FP_FRAC_ASSEMBLE_2): Likewise.
27205         (_FP_FRAC_DISASSEMBLE_2): Likewise.
27206         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
27207         (_FP_FRAC_CLZ_4): Likewise.
27208         (_FP_MUL_MEAT_4_wide): Likewise.
27209         (_FP_MUL_MEAT_4_gmp): Likewise.
27210         (_FP_SQRT_MEAT_4): Likewise.
27211         (_FP_FRAC_ASSEMBLE_4): Likewise.
27212         (_FP_FRAC_DISASSEMBLE_4): Likewise.
27213         * soft-fp/op-common.h (_FP_CMP): Likewise.
27214         (_FP_CMP_EQ): Likewise.
27215         (_FP_CMP_UNORD): Likewise.
27216         (_FP_TO_INT): Likewise.
27217         (_FP_FROM_INT): Likewise.
27218         [!__FP_CLZ] (__FP_CLZ): Likewise.
27219         (_FP_DIV_HELP_imm): Likewise.
27220         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
27221         Likewise.
27222         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
27223         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
27224         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
27225         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
27226         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
27227         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27228         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27229         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
27230         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
27231         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
27232         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
27233         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
27234         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
27235         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
27236         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
27237         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
27238         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
27239         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
27240         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
27241         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
27242         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
27243         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
27244         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
27245         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27246         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27247         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
27248         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
27249         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
27250         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
27251         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
27252         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
27253         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
27254         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
27255         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
27256         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
27257         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
27258         (FP_UNPACK_RAW_SP): Likewise.
27259         (FP_PACK_RAW_S): Likewise.
27260         (FP_PACK_RAW_SP): Likewise.
27261         (FP_UNPACK_S): Likewise.
27262         (FP_UNPACK_SP): Likewise.
27263         (FP_UNPACK_SEMIRAW_S): Likewise.
27264         (FP_UNPACK_SEMIRAW_SP): Likewise.
27265         (FP_PACK_S): Likewise.
27266         (FP_PACK_SP): Likewise.
27267         (FP_PACK_SEMIRAW_S): Likewise.
27268         (FP_PACK_SEMIRAW_SP): Likewise.
27269         (_FP_SQRT_MEAT_S): Likewise.
27270         (FP_CMP_S): Likewise.
27271         (FP_CMP_EQ_S): Likewise.
27272         (FP_CMP_UNORD_S): Likewise.
27273         (FP_TO_INT_S): Likewise.
27274         (FP_FROM_INT_S): Likewise.
27276         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
27278         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
27279         (FP_EX_INVALID_IMZ): Likewise.
27280         (FP_EX_INVALID_IMZ_FMA): Likewise.
27281         (FP_EX_INVALID_ISI): Likewise.
27282         (FP_EX_INVALID_ZDZ): Likewise.
27283         (FP_EX_INVALID_IDI): Likewise.
27284         (FP_EX_INVALID_SQRT): Likewise.
27285         (FP_EX_INVALID_CVI): Likewise.
27286         (FP_EX_INVALID_VC): Likewise.
27287         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
27288         "invalid" exceptions.
27289         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
27290         (_FP_ADD_INTERNAL): Likewise.
27291         (_FP_MUL): Likewise.
27292         (_FP_FMA): Likewise.
27293         (_FP_DIV): Likewise.
27294         (_FP_CMP_CHECK_NAN): Likewise.
27295         (_FP_SQRT): Likewise.
27296         (_FP_TO_INT): Likewise.
27297         (FP_EXTEND): Likewise.
27299 2014-10-09  Allan McRae  <allan@archlinux.org>
27301         * po/fr.po: Update French translation from translation project.
27303 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27305         [BZ #14132]
27306         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
27307         of INTDEF.
27308         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
27309         (__cxa_atexit): Use libc_hidden_proto.
27310         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
27312         [BZ #14132]
27313         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
27314         declaration.
27315         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
27316         [!_ISOMAC] (__iswspace_l_internal): Likewise.
27317         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
27318         [!_ISOMAC] (__iswctype_internal): Likewise.
27319         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
27320         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
27321         alias.
27322         (fcntl): Remove __fcntl_internal alias.
27323         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
27324         __connect_internal alias.
27325         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
27326         Likewise.
27328         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
27329         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
27330         FP_DENORM_ZERO.
27331         (_FP_CHECK_FLUSH_ZERO): New macro.
27332         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
27333         (_FP_CMP): Likewise.
27334         (_FP_CMP_EQ): Likewise.
27335         (_FP_TO_INT): Do not set inexact for subnormal arguments if
27336         FP_DENORM_ZERO.
27337         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
27338         (FP_TRUNC): Likewise.
27340         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
27341         treated as invalid conversion, not as normal exponent.
27343         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
27344         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
27345         (_FP_CMP_EQ): Likewise.
27346         (_FP_CMP_UNORD): Likewise.
27347         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
27348         (FP_CMP_EQ_D): Likewise.
27349         (FP_CMP_UNORD_D): Likewise.
27350         * soft-fp/extended.h (FP_CMP_E): Likewise.
27351         (FP_CMP_EQ_E): Likewise.
27352         (FP_CMP_UNORD_E): Likewise.
27353         * soft-fp/quad.h (FP_CMP_Q): Likewise.
27354         (FP_CMP_EQ_Q): Likewise.
27355         (FP_CMP_UNORD_Q): Likewise.
27356         * soft-fp/single.h (FP_CMP_S): Likewise.
27357         (FP_CMP_EQ_S): Likewise.
27358         (FP_CMP_UNORD_S): Likewise.
27359         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
27360         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
27361         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
27362         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
27363         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
27364         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
27365         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
27366         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
27367         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
27368         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
27369         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
27370         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
27371         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
27372         to FP_CMP_Q.
27373         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
27374         FP_CMP_Q.
27375         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
27376         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
27377         FP_CMP_EQ_Q.
27378         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
27379         FP_CMP_Q.
27380         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
27381         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
27382         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
27383         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
27384         FP_CMP_EQ_Q.
27385         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
27386         FP_CMP_Q.
27387         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
27388         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
27389         FP_CMP_EQ_Q.
27390         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
27391         FP_CMP_Q.
27392         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
27393         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
27394         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
27395         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
27396         FP_CMP_EQ_Q.
27398         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
27399         a subnormal result, set the underflow exception if trapping on
27400         underflow is enabled.
27401         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
27402         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
27403         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
27404         redefine to 0.
27405         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
27406         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27407         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27408         * soft-fp/extendxftf2.c (__extendxftf2): Use
27409         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
27411         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
27412         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
27413         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27414         FP_HANDLE_EXCEPTIONS.
27415         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
27416         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27417         FP_HANDLE_EXCEPTIONS.
27418         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
27419         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27420         FP_HANDLE_EXCEPTIONS.
27421         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
27422         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27423         FP_HANDLE_EXCEPTIONS.
27425 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
27427         [BZ #14132]
27428         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
27429         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
27430         use INTUSE.
27431         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
27432         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
27433         Remove alias.
27434         (__adjtimex): Define using libc_hidden_ver.
27435         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
27436         Remove declaration.
27437         (ntp_gettime): Call __adjtimex directly.
27438         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
27439         Remove declaration.
27440         (ntp_gettimex): Call __adjtimex directly.
27441         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
27442         __adjtimex_internal alias.
27444 2014-10-08  Roland McGrath  <roland@hack.frob.com>
27446         [BZ #17460]
27447         * nscd/nscd.c (more_help): Rewrite list of tables collection
27448         using xstrdup and asprintf.
27450         * nscd/nscd_conf.c: Remove local xstrdup declaration.
27452 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27453             Roland McGrath  <roland@hack.frob.com>
27455         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
27456         (do_lookup_unique): ... local function 'enter' here; update callers.
27458 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
27460         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
27461         compat_symbol calls on [SHARED].
27462         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
27463         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
27464         Remove.
27465         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27466         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
27467         (oldsetrlimit): Remove.
27468         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27470         (lchown): New syscall entry.
27471         (oldsetrlimit): Remove.
27472         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27473         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
27474         (oldsetrlimit): Remove.
27475         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27477         [BZ #14138]
27478         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
27479         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
27480         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
27481         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
27482         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27483         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
27484         (fchown): Likewise.
27485         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
27486         (fchown): Likewise.
27487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
27488         Likewise.
27490 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27492         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
27493         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
27494         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
27495         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
27496         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
27497         Likewise.
27498         (__old_sem_post): Likewise.
27500 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
27502         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
27503         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
27504         HAVE_CLOCK_GETTIME_VSYSCALL macros.
27505         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
27506         Use INLINE_VSYSCALL macro.
27507         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
27508         __vdso_clock_gettime.
27509         * sysdeps/unix/sysv/linux/tile/init-first.c
27510         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
27511         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
27512         __vdso_clock_gettime.
27514         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
27515         to set up frame more cleanly.
27517         * sysdeps/tile/memcmp.c: New file.
27519         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
27521         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
27522         * sysdeps/tile/tilegx/strcasestr.c: New file.
27523         * sysdeps/tile/tilegx/strnlen.c: New file.
27524         * sysdeps/tile/tilegx/strstr.c: New file.
27526         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
27528 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
27530         * nptl/tst-setuid3.c: Write errors to stdout.
27532 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27534         * elf/dl-deps.c
27535         (preload): New functions broken out of _dl_map_object_deps.
27536         (_dl_map_object_deps):  Remove a nested function. Update call sites.
27538 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
27540         [BZ #14138]
27541         * sysdeps/unix/sysv/linux/execve.c: Remove file.
27542         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
27544 2014-10-01  Steve Ellcey  <sellcey@mips.com>
27546         * sysdeps/mips/strcmp.S: New.
27548 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
27550         [BZ #14138]
27551         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
27552         (linkat): Likewise.
27553         (mkdirat): Likewise.
27554         (readlinkat): Likewise.
27555         (renameat): Likewise.
27556         (symlinkat): Likewise.
27557         (unlinkat): Likewise.
27558         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
27559         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
27560         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
27561         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
27562         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
27563         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
27564         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
27566 2014-09-30  Will Newton  <will.newton@linaro.org>
27568         * math/math.h: Define long double math functions if
27569         _LIBC_TEST is defined.
27570         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
27572         * localedata/Makefile: Move assignment to tests-special
27573         into an ifdef testing run-built-tests.
27574         * timezone/Makefile: Likewise.
27576 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
27578         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
27579         with $(BASH) not $(SHELL).
27581 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
27582             Matthew LeGendre  <legendre1@llnl.gov>
27584         [BZ #17411]
27585         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
27586         l_reloc_result.
27588 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27590         * stdio-common/printf_fp.c
27591         (hack_digit): New function, broken out of ...
27592         (__printf_fp): ... local function here.  Update call sites.
27593         hack_digit now takes an additional parameter that is a pointer
27594         to a struct of the referenced locals.  Those locals moved inside
27595         the struct and references updated.
27597 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
27599         * aclocal.m4: Require autoconf 2.69.
27600         * configure: Regenerated.
27601         * sysdeps/aarch64/configure: Likewise.
27602         * sysdeps/alpha/configure: Likewise.
27603         * sysdeps/arm/armv7/configure: Likewise.
27604         * sysdeps/arm/configure: Likewise.
27605         * sysdeps/ia64/configure: Likewise.
27606         * sysdeps/mach/configure: Likewise.
27607         * sysdeps/mips/configure: Likewise.
27608         * sysdeps/s390/configure: Likewise.
27609         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
27610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
27612         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
27613         file.
27614         * sysdeps/ia64/configure.ac: Likewise.
27616 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
27618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
27619         specify symbol version for ld.so.  Do not include entry for
27620         libpthread.
27621         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27622         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27623         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27625         [BZ #14171]
27626         * Makeconfig [$(build-shared) = yes]
27627         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
27628         makefiles.
27629         [$(build-shared) = yes && $(soversions.mk-done) = t]
27630         ($(common-objpfx)gnu/lib-names.h): Remove rule.
27631         [$(build-shared) = yes && $(soversions.mk-done) = t]
27632         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
27633         to Makerules.
27634         [$(build-shared) = yes && $(soversions.mk-done) = t]
27635         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
27636         here.
27637         [$(build-shared) = yes && $(soversions.mk-done) = t]
27638         (common-generated): Don't append gnu/lib-names.h and
27639         gnu/lib-names.stmp here.
27640         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
27641         (lib-names-h-abi): New variable.
27642         [$(build-shared) = yes && $(soversions.mk-done) = t]
27643         (lib-names-stmp-abi): Likewise.
27644         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27645         abi-variants] (before-compile): Append
27646         $(common-objpfx)$(lib-names-h-abi).
27647         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27648         abi-variants] (common-generated): Append gnu/lib-names.h.
27649         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27650         abi-variants] (install-others-nosubdir): Depend on
27651         $(inst_includedir)/$(lib-names-h-abi).
27652         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27653         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
27654         [$(build-shared) = yes && $(soversions.mk-done) = t]
27655         ($(common-objpfx)$(lib-names-h-abi)): New rule.
27656         [$(build-shared) = yes && $(soversions.mk-done) = t]
27657         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
27658         [$(build-shared) = yes && $(soversions.mk-done) = t]
27659         (common-generated): Append $(lib-names-h-abi) and
27660         $(lib-names-stmp-abi).
27661         * scripts/lib-names.awk: Do not handle multi being set.
27662         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
27663         Remove variable.
27664         (abi-lp64_be-ld-soname): Likewise.
27665         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
27666         Likewise.
27667         (abi-hard-ld-soname): Likewise.
27668         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
27669         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
27670         Remove variable.
27671         (abi-o32_hard-ld-soname): Likewise.
27672         (abi-o32_soft_2008-ld-soname): Likewise.
27673         (abi-o32_hard_2008-ld-soname): Likewise.
27674         (abi-n32_soft-ld-soname): Likewise.
27675         (abi-n32_hard-ld-soname): Likewise.
27676         (abi-n32_soft_2008-ld-soname): Likewise.
27677         (abi-n32_hard_2008-ld-soname): Likewise.
27678         (abi-n64_soft-ld-soname): Likewise.
27679         (abi-n64_hard-ld-soname): Likewise.
27680         (abi-n64_soft_2008-ld-soname): Likewise.
27681         (abi-n64_hard_2008-ld-soname): Likewise.
27682         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27683         Likewise.
27684         (abi-64-v2-ld-soname): Likewise.
27685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27686         ld.so entries.
27687         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27688         variable.
27689         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27690         entry.
27691         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27692         variable.
27693         (abi-64-ld-soname): Likewise.
27694         (abi-x32-ld-soname): Likewise.
27695         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27696         entry.
27697         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27699 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
27701         [BZ #14138]
27702         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27703         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27704         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27705         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27706         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27707         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27708         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27709         syscall entry for GLIBC_2.2 symbol version.
27710         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27711         Likewise.
27712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27713         (setrlimit): Likewise.
27714         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27715         Likewise.
27717 2014-09-23  Will Newton  <will.newton@linaro.org>
27719         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27720         _LINUX_ARM_SYSDEP_H include guard too.
27721         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27722         define.
27724 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27726         * sysdeps/unix/sysv/linux/eventfd.c:
27727         Make first argument unsigned.
27728         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27729         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27731 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
27733         [BZ #16852]
27734         * socket/recvmmsg.c (recvmmsg): Drop const argument.
27735         * socket/sys/socket.h: Likewise.
27736         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27738 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27740         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27742 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
27744         * time/tst-ftime.c: New test.
27745         * time/Makefile (tests): Add tst-ftime.
27747 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
27749         * soft-fp/extended.h: Fix comment formatting.
27750         * soft-fp/op-1.h: Likewise.
27751         * soft-fp/op-2.h: Likewise.
27752         * soft-fp/op-4.h: Likewise.
27753         * soft-fp/op-8.h: Likewise.
27754         * soft-fp/op-common.h: Likewise.
27755         * soft-fp/soft-fp.h: Likewise.
27757         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27759 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
27761         [BZ #6652]
27762         * Makeconfig (soversions-default-setname): Remove variable.
27763         ($(common-objpfx)soversions.i): Don't pass default_setname to
27764         soversions.awk.
27765         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27766         oldest_abi to abi-versions.awk.
27767         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27768         * config.make.in (oldest-abi): Remove variable.
27769         * configure.ac (--enable-oldest-abi): Remove configure option.
27770         * configure: Regenerated.
27771         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27772         text.
27773         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27774         * scripts/soversions.awk: Do not handle default_setname variable.
27775         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27776         variable.
27777         * sysdeps/mach/hurd/configure: Regenerated.
27778         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27779         variable.
27780         * sysdeps/unix/sysv/linux/configure: Regenerated.
27782 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27784         * elf/Makefile (CFLAGS-interp.c): Remove.
27785         ($(elf-objpfx)runtime-linker.h): Generate header with linker
27786         path string.
27787         * elf/interp.c: Include generated runtime-linker.h
27789         * Makerules (lib%.so): Don't include $(+interp) in
27790         prerequisites.
27791         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27792         * dlfcn/eval.c: Remove file.
27794         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27795         macros.
27797         [BZ #17266]
27798         * misc/sys/cdefs.h: Define __extern_always_inline for clang
27799         4.2 and newer.
27801         [BZ #17370]
27802         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27804 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27805             Jakub Jelinek  <jakub@redhat.com>
27807         [BZ #17266]
27808         * libio/stdio.h: Check definition of __fortify_function
27809         instead of __extern_always_inline to include bits/stdio2.h.
27810         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27811         check if __extern_always_inline is defined.
27812         [__USE_MISC || __USE_XOPEN]: Likewise.
27813         [__USE_ISOC99] Likewise.
27814         * misc/sys/cdefs.h (__fortify_function): Define only if
27815         __extern_always_inline is defined.
27816         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27817         __extern_always_inline and __extern_inline only for g++-4.3
27818         and newer or a compatible gcc.
27820 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
27822         [BZ #17371]
27823         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27824         last change to handle zero prefix length.
27826 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27828         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27829         _SC_REGEX_VERSION.
27831         * posix/getconf.c (vars): Add _POSIX_IPV6 and
27832         _POSIX_RAW_SOCKETS.
27834 2014-09-13  Allan McRae  <allan@archlinux.org>
27836         * po/ru.po: Update Russian translation from translation project.
27838 2014-09-12  Roland McGrath  <roland@hack.frob.com>
27840         * locale/programs/locale.c (show_locale_vars): Inline local function
27841         into its sole call site.  Clean up some style nits.
27842         (print_item): New function, broken out of ...
27843         (show_info): ... local function here.  Clean up style nits.
27845         * locale/programs/ld-ctype.c (set_one_default): New function, broken
27846         out of ...
27847         (set_class_defaults): ... local function set_default here.
27848         Define set_default as a macro locally to pass constant parameters.
27849         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27850         rather than a shared local.
27852         * stdlib/rpmatch.c (try): New function, broken out of ...
27853         (rpmatch): ... local function here.  Also, prototypify definition.
27855 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
27857         * scripts/soversions.awk: Do not handle configuration names.
27858         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27859         vendor and os variables to soversions.awk.
27860         * configure.ac: Do not modify gnu-* host_os.
27861         * configure: Regenerated
27862         * shlib-versions: Remove first column with configuration names.
27863         * nptl/shlib-versions: Likewise.
27864         * nptl_db/shlib-versions: Likewise.
27865         * sysdeps/hppa/shlib-versions: Likewise.
27866         * sysdeps/m68k/shlib-versions: Likewise.
27867         * sysdeps/mach/hurd/shlib-versions: Likewise.
27868         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27869         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27870         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27871         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27872         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27873         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27874         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27875         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27877         Likewise.
27878         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27879         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27880         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27881         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27882         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27883         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27884         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27885         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27888         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27890         Regenerated.
27891         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27893         Condition symbol version definitions on [HAVE_ELFV2_ABI].
27895         * shlib-versions: Remove OS-specific entries.  Moved to files in
27896         sysdeps.
27897         * sysdeps/mach/hurd/shlib-versions: New file.
27898         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27900         * nptl/shlib-versions: Remove architecture-specific entries.
27901         Moved to files in sysdeps.
27902         * shlib-versions: Likewise.
27903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27904         file.
27905         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27906         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27907         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27908         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27910         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27911         (UDP_NO_CHECK6_RX): Likewise.
27913 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27915         * sysdeps/posix/sysconf.c (__sysconf): Spell
27916         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27918 2014-08-12  Florian Weimer  <fweimer@redhat.com>
27920         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27921         loading.
27922         * iconv/Versions (__gconv_transliterate): Export for use from
27923         gconv modules.
27924         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27925         (struct __gconv_trans_data, __gconv_trans_fct,
27926         __gconv_trans_context_fct, __gconv_trans_query_fct,
27927         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27928         definitions.
27929         (struct __gconv_step_data): Remove __trans member.
27930         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
27931         longer hidden.  Remove unused trans_data argument.
27932         * iconv/gconv_int.h (struct trans_struct): Remove definition.
27933         (__gconv_translit_find): Remove declaration.
27934         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
27935         prototype.
27936         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27937         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27938         trans_data argument.  Add hidden definition.
27939         (__gconv_translit_find): Remove.
27940         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27941         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27942         * iconv/skeleton.c: Remove transliteration initialization.
27943         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27944         __gconv_step_data initialization.
27945         * libio/iofwide.c (__libio_translit_): Remove.
27946         (_IO_fwide): Adjust struct __gconv_step_data initialization.
27947         * wcsmbs/btowc.c (__btowc): Likewise.
27948         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27949         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27950         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27951         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27952         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27953         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27954         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27955         * wcsmbs/wctob.c (wctob): Likewise.
27957 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27959         [BZ #16194]
27960         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27961         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
27962         register usage.
27963         * sysdeps/x86/Makefile: Adjust.
27965 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27966             Roland McGrath  <roland@hack.frob.com>
27968         * locale/weight.h: Add include guard.
27969         (findidx): Make static rather than auto; take new parameters
27970         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27971         * locale/weightwc.h: Likewise.
27972         * posix/fnmatch_loop.c
27973         (FCT): Change type of EXTRA from int32_t to wint_t.
27974         Don't include either header inside the function.
27975         Call FINDIDX rather than findidx, and pass new arguments.
27976         #undef FINDIDX at the end of the file.
27977         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27978         FINDIDX before including fnmatch_loop.c for the non-wide version.
27979         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27980         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27981         for the wide version.
27982         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27983         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27984         Pass new arguments to findidx.
27985         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27986         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27987         Don't #include it inside the function.  Pass new arguments to findidx.
27988         * posix/regex_internal.h
27989         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27990         (re_string_elem_size_at): Don't #include it inside the function.
27991         Pass new arguments to findidx.
27992         * string/strcoll_l.c: #include WEIGHT_H at top level.
27993         (get_next_seq): Don't #include it inside the function.
27994         Pass new arguments to findidx.
27995         (get_next_seq_nocache): Likewise.
27996         * string/strxfrm_l.c: #include WEIGHT_H at top level.
27997         (STRXFRM): Don't #include it inside the function.
27998         Pass new arguments to findidx.
28000 2014-09-11  Florian Weimer  <fweimer@redhat.com>
28002         [BZ #17344]
28003         * malloc/malloc.c (unlink): Turn asserts into a call to
28004         malloc_printerr.
28006 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
28008         [BZ #17370]
28009         * libio/wfileops (do_ftell_wide): Free OUT.
28011 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
28013         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
28015 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28017         [BZ #17363]
28018         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
28019         group if the current group is empty.
28021 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28023         * benchtests/bench-memset.c (test_main): Add more test from size
28024         from 32 to 512 bytes.
28025         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28026         Add POWER8 memset object.
28027         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28028         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
28029         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
28030         implementation.
28031         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
28032         Likewise.
28033         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
28034         multiarch POWER8 memset optimization.
28035         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
28036         POWER8 memset optimization.
28038         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28039         Remove bzero multiarch objects.
28040         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
28041         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
28042         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
28043         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
28044         Remove define.
28045         [__bzero]: Redefine to specific name.
28046         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28047         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28048         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
28049         define.
28050         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28051         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28053 2014-09-10  Florian Weimer  <fweimer@redhat.com>
28055         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
28056         warnings into errors.
28058         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
28059         __cxa_thread_atexit_impl prototype.
28061 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28063         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
28064         Fix capitalization of error message.
28066 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28068         * sysdeps/mips/preconfigure: Modify ABI tests.
28070 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
28072         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
28074 2014-09-07  Roland McGrath  <roland@hack.frob.com>
28075             Carlos O'Donell  <carlos@systemhalted.org>
28077         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
28078         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
28079         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
28080         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
28081         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
28082         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
28083         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
28084         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
28085         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
28086         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
28087         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
28088         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
28089         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
28090         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
28091         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
28092         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
28093         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
28094         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
28095         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
28096         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
28097         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
28098         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
28099         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
28100         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
28101         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
28102         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
28103         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
28104         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
28105         Deconditionalize the code that was previously under [RESET_PID].
28106         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
28107         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
28108         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
28109         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
28110         include sysdep.h.
28112 2014-09-08  Allan McRae  <allan@archlinux.org>
28114         * version.h (RELEASE): Set to "development".
28115         (VERSION): Set to "2.20.90"
28117 2014-09-07  Allan McRae  <allan@archlinux.org
28119         * version.h (RELEASE): Set to "stable".
28120         (VERSION): Set to "2.20"
28121         * include/features.h (__GLIBC_MINOR__): Set to 20.
28123         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
28124         Liebler.
28126         * po/ko.po: Update Korean translation from translation project.
28128 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
28130         [BZ #17354]
28131         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
28132         macro for handling signed relocations.
28134 2014-09-03  Florian Weimer  <fweimer@redhat.com>
28136         [BZ #17325]
28137         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
28138         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
28139         assert.
28140         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
28141         * iconvdata/ibm935.c (BODY): Likewise.
28142         * iconvdata/ibm937.c (BODY): Likewise.
28143         * iconvdata/ibm939.c (BODY): Likewise.
28144         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
28145         assert.
28146         * iconvdata/Makefile (iconv-test.out): Pass module list to test
28147         script.
28148         * iconvdata/run-iconv-test.sh: New test loop for checking for
28149         decoder crashers.
28151 2014-09-02  Khem Raj  <raj.khem@gmail.com>
28153         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
28154         libm_hidden_ver.
28156 2014-09-01  Allan McRae  <allan@archlinux.org>
28158         * po/eo.po: Update Esperanto translation from translation project.
28160         * po/ca.po: Update Catalan translation from translation project.
28162 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28164         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
28165         __proc_dostop call.
28167 2014-08-27  Mark Wielaard  <mjw@redhat.com>
28169         [BZ #17319]
28170         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
28171         to call set_thread_area instead of hand written asm.
28172         (__NR_set_thread_area): Removed define.
28173         (TLS_FLAG_WRITABLE): Likewise.
28174         (__ASSUME_SET_THREAD_AREA): Remove check.
28175         (TLS_EBX_ARG): Remove define.
28176         (TLS_LOAD_EBX): Likewise.
28178 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28180         Simplify atomicity of socket creation in bind.
28182         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
28183         looking up the name after linking the file.
28185 2014-08-27  Allan McRae  <allan@archlinux.org>
28187         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28189 2014-08-26  Florian Weimer  <fweimer@redhat.com>
28191         [BZ #17187]
28192         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
28193         trans_compare, open_translit, __gconv_translit_find):
28194         Remove module loading code.
28196 2014-08-26  Allan McRae  <allan@archlinux.org>
28198         * po/vi.po: Update Vietnamese translation from translation project.
28200         * po/uk.po: Update Ukrainian translation from translation project.
28202         * po/fr.po: Update French translation from translation project.
28204         * po/ru.po: Update Russian translation from translation project.
28206         * po/pl.po: Update Polish translation from translation project.
28208         * po/cs.po: Update Czech translation from translation project.
28210         * po/de.po: Update German translation from translation project.
28212         * po/bg.po: Update Bulgarian translation from translation project.
28214         * po/sv.po: Update Sweedish translation from translation project.
28216         * po/nl.po: Update Dutch translation from translation project.
28218         * po/es.po: Update Spanish translation from translation project.
28220 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28222         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
28224         * catgets/Makefile (CPPFLAGS-gencat): Remove.
28225         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
28226         (CPPFLAGS-iconvconfig): Likewise.
28227         * timezone/Makefile (CPPFLAGS-zic): Likewise.
28229         * include/libc-symbols.h: Remove unnecessary check for
28230         NOT_IN_libc.
28231         * nptl/pthreadP.h: Likewise.
28232         * sysdeps/aarch64/setjmp.S: Likewise.
28233         * sysdeps/alpha/setjmp.S: Likewise.
28234         * sysdeps/arm/sysdep.h: Likewise.
28235         * sysdeps/i386/setjmp.S: Likewise.
28236         * sysdeps/m68k/setjmp.c: Likewise.
28237         * sysdeps/posix/getcwd.c: Likewise.
28238         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28239         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28240         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28241         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28242         * sysdeps/sh/sh3/setjmp.S: Likewise.
28243         * sysdeps/sh/sh4/setjmp.S: Likewise.
28244         * sysdeps/unix/alpha/sysdep.h: Likewise.
28245         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28246         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28247         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28248         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28251         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28252         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28253         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28254         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28255         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28256         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28257         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28258         * sysdeps/x86_64/setjmp.S: Likewise.
28260 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
28262         [BZ #17263]
28263         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
28264         <stdint.h>.
28265         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
28266         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
28268 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28270         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
28272         [BZ #17262]
28273         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
28274         and __x86_64__ when disabling x87 inline functions.
28276 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
28278         [BZ #17259]
28279         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
28280         asm statement with __cpuid_count.
28282 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
28284         * configure.ac: Change __ehdr_start code to dereference the struct.
28285         Run readelf on the output to look for relocations.
28286         * configure: Regenerated.
28288 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
28290         [BZ #17261]
28291         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
28292         value to 0.
28293         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
28295 2014-08-12  Roland McGrath  <roland@hack.frob.com>
28297         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
28299 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
28301         [BZ #16892]
28302         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
28303         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
28305 2014-08-12  Sean Anderson  <seanga2@gmail.com>
28307         * malloc/malloc.c: Fix typo in comment.
28309 2014-08-09  Allan McRae  <allan@archlinux.org>
28311         * Regenerate libc.po.
28313 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
28315         * intl/tst-gettext2.sh: Check every lang file for creation.
28317 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28319         * sysdeps/aarch64/fpu/math_private.h
28320         (libc_feholdsetround_noex_aarch64_ctx): New function.
28322 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28324         * sysdeps/arm/armv6/strcpy.S (strcpy):
28325         Fix performance issue in misaligned cases.
28327 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28329         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
28330         Move definition from termios.h.
28331         (struct termio): Likewise.
28332         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28333         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28334         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28335         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28336         Likewise.
28337         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
28338         Move definition to ioctl-types.h
28339         (struct termio): Likewise.
28340         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28341         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28342         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28343         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28344         Likewise.
28346 2014-08-05  Richard Henderson  <rth@redhat.com>
28348         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
28349         exceptions.
28350         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
28351         Add fraiseexcpt.
28352         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
28353         Use __feraiseexcept.
28354         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
28355         Protect libm symbols with IS_IN_libm.
28357         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
28359 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
28361         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
28363 2014-08-04  Will Newton  <will.newton@linaro.org>
28365         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
28366         file.
28368 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
28370         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
28371         variants for each function.
28373 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28375         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
28376         appended ...
28377         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
28378         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
28379         appended ...
28380         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
28381         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
28382         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
28383         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
28384         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
28385         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
28386         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
28387         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
28388         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
28389         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
28390         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
28391         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
28392         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
28393         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
28394         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
28395         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
28396         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
28397         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
28398         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
28399         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
28400         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
28401         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
28402         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
28403         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
28404         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
28405         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
28406         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
28407         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
28408         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
28409         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
28410         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
28411         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
28412         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
28413         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
28414         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
28415         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
28416         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
28417         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
28418         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
28419         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
28420         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
28421         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
28422         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
28423         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
28424         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
28425         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
28426         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
28427         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
28428         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
28429         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
28430         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
28431         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
28432         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
28433         Update #include.
28434         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
28435         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
28437 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28439         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
28440         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
28441         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
28442         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
28443         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
28444         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
28446 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28448         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
28449         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
28450         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28451         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
28453 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28455         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
28456         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
28457         (__libc_vfork): Define function under this name.
28458         (__vfork): Define as an alias.
28459         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
28460         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
28462 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28464         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
28465         that was previously under [RESET_PID].
28466         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
28468 2014-08-04  Andreas Schwab  <schwab@suse.de>
28470         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
28472 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
28474         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
28475         (main): Likewise.
28477 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28479         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
28481 2014-08-01  Richard Henderon  <rth@redhat.com>
28483         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
28484         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
28485         typo in exact zero test.
28486         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28487         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28488         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28490 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28492         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
28493         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
28494         * sysdeps/arm/sysdep.h: ... here.
28495         [!__ASSEMBLER__]: Include <stdint.h>.
28497 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28499         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
28500         (HAVE_WCTYPE_H): Likewise.
28501         (HAVE_ISWCTYPE): Likewise.
28502         (ENABLE_NLS): Likewise.
28503         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
28504         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
28506         * posix/regex_internal.c: Check if DEBUG is defined and is
28507         set.
28509         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
28510         (HAVE_MBSRTOWCS): Likewise.
28511         * posix/fnmatch.c: Include string.h unconditionally.
28513 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28515         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
28516         reversal.
28518 2014-07-31  Roland McGrath  <roland@hack.frob.com>
28520         * sysdeps/generic/safe-fatal.h: New file.
28521         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
28522         * nptl/forward.c: Include it.
28523         (__pthread_unwind): Use __safe_fatal as default action, rather
28524         than a bogus use of INTERNAL_SYSCALL that could never work.
28526         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
28527         * configure.ac (libc_cv_builtin_trap): New test.
28528         * configure: Regenerated.
28529         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
28530         (ABORT_INSTRUCTION): Define using __builtin_trap.
28532         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
28533         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
28534         * sysdeps/nptl/nptl-signals.h: New file.
28535         * nptl/pthreadP.h: Include <nptl-signals.h>.
28537 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28539         * sysdeps/s390/s390-64/utf16-utf32-z9.c
28540         (ONE_DIRECTION): Define.
28541         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28542         (ONE_DIRECTION): Define.
28543         * sysdeps/s390/s390-64/utf8-utf32-z9.c
28544         (ONE_DIRECTION): Define.
28546 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28548         * sysdeps/s390/Makefile: Delete file.
28549         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
28550         * sysdeps/s390/__longjmp.c: Delete file.
28551         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
28552         Remove fields __flags and __reserved.
28553         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
28554         and add versioning.
28555         * sysdeps/s390/rtld-__longjmp.c: Delete file.
28556         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28557         * sysdeps/s390/rtld-setjmp.S: Likewise.
28558         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
28559         * sysdeps/s390/s390-32/__longjmp.c: ... here.
28560         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
28561         * sysdeps/s390/s390-32/setjmp.S: ... here.
28562         Add versioning.
28563         (__sigsetjmp): Remove setting __flags field.
28564         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
28565         * sysdeps/s390/s390-64/__longjmp.c: ... here.
28566         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
28567         * sysdeps/s390/s390-64/setjmp.S: ... here.
28568         Add versioning.
28569         (__sigsetjmp): Remove setting __flags field.
28570         * sysdeps/s390/setjmp.S: Delete file.
28571         * sysdeps/s390/sigjmp.c: Likewise.
28572         * sysdeps/s390/v1-longjmp.c: Likewise.
28573         * sysdeps/s390/v1-setjmp.h: Likewise.
28574         * sysdeps/s390/v1-sigjmp.c: Likewise.
28575         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
28576         Remove v1-longjmp_chk.
28577         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
28578         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
28579         Include debug/longjmp_chk.c and add versioning.
28580         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
28581         Include nptl/pt-longjmp.c and add versioning.
28582         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
28583         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
28584         Include __longjmp.c.
28585         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28586         Move to ...
28587         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
28588         (__getcontext): Remove setting __flags field.
28589         Add versioning.
28590         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28591         Don't restore upper high grps.
28592         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
28593         Likewise.
28594         (__swapcontext): Remove setting uc_flags field.
28595         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
28596         Delete file.
28597         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28598         Include __longjmp.c.
28599         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28600         Move to ...
28601         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
28602         (__getcontext): Remove setting __flags field.
28603         Add versioning.
28604         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
28605         (__swapcontext): Remove setting uc_flags field.
28606         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
28607         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
28608         Remove fields uc_high_gprs and __reserved.
28609         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
28610         New file with reverted content.
28611         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
28612         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
28613         Regenerated.
28614         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
28615         Regenerated.
28617 2014-07-31  Andreas Schwab  <schwab@suse.de>
28619         * config.h.in (HAVE_IFUNC): Define to 0.
28620         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
28621         definedness.
28623 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
28625         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28626         memmove-avx-unaligned, memcpy-avx-unaligned and
28627         mempcpy-avx-unaligned.
28628         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28629         Add tests for AVX memcpy functions.
28630         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
28631         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
28632         memcpy_chk.
28633         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
28634         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
28635         memmove_chk.
28636         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
28637         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
28638         mempcpy_chk.
28639         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
28640         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
28641         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
28643 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28645         [BZ #17213]
28646         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
28647         powerpc64le.
28649 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
28651         [BZ #16839]
28652         * manual/llio.texi: Add section about open file description locks.
28653         * manual/examples/ofdlocks.c: Example of open file description
28654         lock usage.
28655         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
28656         F_OFD_SETLK, and F_OFD_SETLKW.
28658 2014-07-23  Allan McRae  <allan@archlinux.org>
28660         * po/es.po: Update Spanish translation from translation project.
28662 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
28664         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
28666 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
28668         [BZ #17078]
28669         * sysdeps/arm/dl-machine.h (elf_machine_rela)
28670         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
28671         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
28673 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
28675         [BZ #17088]
28676         * math/fesetenv.c (__fesetenv)
28677         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28678         * math/feupdateenv.c (__feupdateenv)
28679         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28681         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28682         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28683         (__ASSUME_SOCKETCALL): Do not define.
28685         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28686         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28687         (__ASSUME_SOCKETCALL): Do not define.
28688         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28689         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28690         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28691         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28692         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28693         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28694         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28695         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28697         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28698         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28699         (__ASSUME_SOCKETCALL): Do not define.
28700         (__ASSUME_IPC64): Define unconditionally.
28701         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28702         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28703         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28704         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28705         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28706         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28707         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28708         Likewise.
28710         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28711         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28712         (__ASSUME_SOCKETCALL): Do not define.
28713         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28714         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28715         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28716         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28717         (__ASSUME_REQUEUE_PI): Define unconditionally.
28718         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28719         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28720         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28721         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28722         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28723         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28725         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28726         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28727         (__ASSUME_SOCKETCALL): Do not define.
28728         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28729         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28730         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28731         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28732         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28733         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28735         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28736         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28737         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28738         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28739         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28740         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28741         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28742         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28743         (__ASSUME_GETCPU_SYSCALL): Likewise.
28745         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28746         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
28747         cases for individual architectures.
28748         * sysdeps/gnu/configure: Regenerated.
28749         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28750         LIBC_SLIBDIR_RTLDDIR.
28751         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28752         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28753         LIBC_SLIBDIR_RTLDDIR.
28754         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28756         LIBC_SLIBDIR_RTLDDIR.
28757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28758         Regenerated.
28759         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28760         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28761         file.
28762         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28763         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28764         file.
28765         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28766         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28767         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28768         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28770         * sysdeps/aarch64/shlib-versions: Move to ...
28771         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28772         * sysdeps/alpha/shlib-versions: Move to ...
28773         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28774         * sysdeps/arm/shlib-versions: Move to ...
28775         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28776         * sysdeps/hppa/shlib-versions: Move all contents except for
28777         libgcc_s entry to ...
28778         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
28779         entry from ...
28780         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
28781         * sysdeps/ia64/shlib-versions: Move to ...
28782         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
28783         entry from ...
28784         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
28785         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28786         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28787         * sysdeps/microblaze/shlib-versions: Move to ...
28788         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28789         * sysdeps/mips/shlib-versions: Move to ...
28790         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
28791         entry from ...
28792         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
28793         * sysdeps/tile/shlib-versions: Move to ...
28794         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28795         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28796         from ...
28797         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
28798         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28799         entry from ...
28800         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
28802 2014-07-17  Will Newton  <will.newton@linaro.org>
28804         * sysdeps/arm/bits/atomic.h
28805         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28806         (__arch_compare_and_exchange_bool_16_int): Likewise.
28807         (__arch_compare_and_exchange_bool_64_int): Likewise.
28809         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28810         into an #else block.
28812 2014-07-16  Roland McGrath  <roland@hack.frob.com>
28814         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28815         just Linux configurations.  Test empirically that the compiler sets
28816         __ARM_EABI__, rather than using the tuple to decide.
28817         * sysdeps/arm/preconfigure: Regenerated.
28818         * sysdeps/unix/sysv/linux/arm/configure: File removed.
28819         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28820         contents appended ...
28821         * sysdeps/arm/configure.ac: ... here.
28822         * sysdeps/arm/configure: Regenerated.
28824 2014-07-15  Roland McGrath  <roland@hack.frob.com>
28826         * nptl/pthread_kill.c: New file.
28827         * nptl/pthread_sigmask.c: New file.
28828         * nptl/pthread_sigqueue.c: New file.
28830         * sysdeps/nptl/lowlevellock.h: New file.
28831         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28832         * sysdeps/nptl/lowlevellock-futex.h: New file.
28834         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28835         Remove dead declarations.
28837 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
28839         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28840         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28841         config-cflags-avx2.
28842         * sysdeps/x86_64/configure.ac: Likewise.
28843         * sysdeps/i386/configure: Regenerated.
28844         * sysdeps/x86_64/configure: Likewise.
28845         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28846         memset-avx2 only if config-cflags-avx2 is yes.
28847         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28848         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28849         defined.
28850         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28851         only if HAVE_AVX2_SUPPORT is defined.
28852         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28854 2014-07-14  Alan Modra  <amodra@gmail.com>
28856         [BZ #17153]
28857         * elf/elf.h (DT_PPC64_NUM): Correct value.
28858         * NEWS: Add to fixed bug list.
28860 2014-07-13  Jim Meyering  <meyering@fb.com>
28862         [BZ 17150]
28863         regex: don't deref NULL upon heap allocation failure
28864         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28865         failure in one more place.
28866         To trigger the segfault, configure grep -with-included-regex,
28867         build it, and run these commands:
28868         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28870 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
28872         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28874 2014-07-11  Richard Henderson  <rth@redhat.com>
28876         * sysdeps/aarch64/libm-test-ulps: Update.
28878 2014-07-10  Florian Weimer  <fweimer@redhat.com>
28880         [BZ #17135]
28881         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28882         * nptl/allocatestack.c (__nptl_setxid_error): New function.
28883         (__nptl_setxid): Initialize error member.  Call
28884         __nptl_setxid_error.
28885         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28886         * nptl/descr.h (struct xid_command): Add error member.
28887         * nptl/tst-setuid3.c: New file.
28888         * nptl/Makefile (tests): Add it.
28890 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28892         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28893         New define.
28894         (__lll_trylock): Use __lll_base_trylock.
28895         (__lll_cond_trylock): Likewise.
28897 2014-07-10  Roland McGrath  <roland@hack.frob.com>
28899         * nptl/pthread_create.c (start_thread): Use atomic_or and
28900         lll_futex_wake directly rather than lll_robust_dead.
28901         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28902         (lll_robust_dead): Macro removed.
28903         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28904         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28905         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28906         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28907         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28908         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28909         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28910         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28911         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28912         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28913         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28914         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28915         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28916         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28917         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28919         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28920         Use atomic_compare_and_exchange_val_acq directly rather than
28921         lll_robust_trylock.
28922         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28923         (__lll_robust_trylock, lll_robust_trylock): Removed.
28924         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28925         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28926         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28927         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28928         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28929         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28930         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28931         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28932         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28933         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28934         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28935         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28936         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28937         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28939 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28941         * manual/locale.texi (Locale Names): New section documenting
28942         locale name syntax.  Adjust menu and node chaining accordingly.
28943         (Choosing Locale): Reference Locale Names, Locale Categories.
28944         Mention setting LC_ALL=C.  Reflect that name syntax is now
28945         documented.
28946         (Locale Categories): New section title.  Reference Locale Names.
28947         LC_ALL is an environment variable, but not a category.
28948         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28949         description, now in Locale Name.  Reference that section.  Locale
28950         name syntax is now documented.
28952 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28954         [BZ #17137]
28955         * locale/findlocale.c (name_present, valid_locale_name): New
28956         functions.
28957         (_nl_find_locale): Use the loc_name variable to store name
28958         candidates.  Call name_present and valid_locale_name to check and
28959         validate locale names.  Return an error if the locale is invalid.
28961 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28963         * locale/setlocale.c (setlocale): Use strdup for allocating
28964         composite name copy.
28966 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28968         Sync up with gnulib.
28969         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28970         [!_LIBC && ENABLE_NLS]: Include gettext.h.
28971         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28972         and _GL_ARG_NONNULL.
28973         [USE_UNLOCKED_IO]: Include unlocked-io.h.
28974         [!_LIBC]: Include code for Windows and Cygwin.
28975         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28976         Include prototype for int strerror_r.
28977         [!_LIBC] (is_open): New function.
28978         (flush_stdout): New function.
28979         (print_errno_message): Use it.
28980         (error): Likewise.
28981         (error_at_line): Likewise.
28982         (error_tail) Add function attribute macros.  Use
28983         __builtin_expect.
28985         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28987         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28989         * io/ftw.c: Include sys/param.h unconditionally.
28991         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28993         [BZ #17125]
28994         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28995         libc_freeres_ptr.
28996         (freecache): New function to free CACHE on exit.
28998         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28999         initialization.
29001 2014-07-09  David S. Miller  <davem@davemloft.net>
29003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29005         * sysdeps/sparc/nptl/internaltypes.h: Delete.
29006         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
29007         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
29008         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
29009         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
29010         * sysdeps/sparc/nptl/sem_init.c: Likewise.
29011         * sysdeps/sparc/nptl/sem_post.c: Likewise.
29012         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
29013         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
29014         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
29015         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
29016         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
29017         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
29019 2014-07-09  Andreas Schwab  <schwab@suse.de>
29021         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
29022         output.
29023         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
29024         (do_test): Likewise.
29026         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29028 2014-07-09  Will Newton  <will.newton@linaro.org>
29030         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
29031         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
29032         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29033         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29034         * sysdeps/hppa/start.S (_start): Likewise.
29036 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
29038         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
29040         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
29041         defined.
29043 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29045         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
29046         after checking that it is non-NULL.
29048         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
29050 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29052         * sysdeps/powerpc/memmove.c: Remove file.
29053         * sysdeps/powerpc/powerpc32/power4/memcopy.h
29054         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
29055         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29056         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
29057         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
29058         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
29059         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
29060         string memmove instead of removed powerpc one.
29062         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29063         [weak_alias]: Fix compiler warning due trailing data.
29064         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
29065         [weak_alias]: Likewise.
29066         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
29067         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
29069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29070         (__libc_ifunc_impl_list): Add memmove functions.
29072 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29074         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
29075         Remove code.
29076         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
29077         Likewise.
29078         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
29079         Likewise.
29080         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
29081         Likewise.
29082         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
29083         Likewise.
29084         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
29085         Likewise.
29086         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
29087         Likewise.
29088         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
29089         Likewise.
29090         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
29091         Likewise.
29092         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
29093         Likewise.
29094         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
29095         Likewise.
29096         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
29097         Likewise.
29098         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
29099         Likewise.
29100         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
29101         Likewise.
29102         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
29103         Likewise.
29104         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
29105         Likewise.
29106         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
29107         Likewise.
29109 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29111         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
29112         to avoid alignment traps in non-cacheable memory.
29113         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29115         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
29116         multiarch objects.
29117         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
29118         file: multiarch power7 memmove.
29119         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
29120         multiarch default memmove.
29121         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
29122         multiarch memove for powerpc32/power4.
29124         * string/bcopy.c: Use full path to include memmove.c.
29125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
29126         multiarch objects.
29127         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
29128         bcopy for powerpc64.
29129         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
29130         bcopy for powerpc64.
29131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
29132         and memmove implementations.
29133         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
29134         optimized multiarch memmove for POWER7/powerpc64.
29135         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
29136         default multiarch memmove for powerpc64.
29137         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
29138         multiarch for powerpc64.
29139         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
29140         for POWER7/powerpc64.
29141         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
29142         memmove for POWER7/powerpc64.
29144         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
29145         glibc default one.
29147         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
29148         __ELF_NATIVE_CLASS equal to 64.
29150 2014-07-07  Roland McGrath  <roland@hack.frob.com>
29152         * sysdeps/nptl/lowlevellock.h: File removed.
29154         * NEWS: NPTL is no longer an add-on!
29155         * nptl/internaltypes.h: Moved ...
29156         * sysdeps/nptl/internaltypes.h: ... here.
29157         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
29158         * sysdeps/nptl/fork.c: Likewise.
29159         * sysdeps/nptl/gai_misc.h: Likewise.
29160         * sysdeps/nptl/librt-cancellation.c: Likewise.
29161         * sysdeps/nptl/jmp-unwind.c: Likewise.
29162         * sysdeps/nptl/setxid.h: Likewise.
29163         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
29164         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
29165         * sysdeps/unix/sysv/linux/arm/Implies: New file.
29166         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
29167         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
29168         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
29169         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
29170         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
29171         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
29172         * sysdeps/unix/sysv/linux/mips/Implies: New file.
29173         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
29174         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
29175         * sysdeps/unix/sysv/linux/sh/Implies: New file.
29176         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
29177         * sysdeps/unix/sysv/linux/tile/Implies: New file.
29178         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
29179         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
29180         * nptl/Makeconfig: Moved ...
29181         * sysdeps/nptl/Makeconfig: ... here.
29182         * nptl/configure: File removed.
29183         * nptl/ANNOUNCE: File removed.
29184         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
29185         * sysdeps/unix/sysv/linux/configure: Regenerated.
29187         * nptl/Makefile (routines): Add libc_pthread_init,
29188         libc_multiple_threads, register-atfork and unregister-atfork.
29189         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
29190         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
29191         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
29192         pthread-pi-defines.sym, structsem.sym.
29193         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
29194         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
29195         [$(subdir) = nptl] (tests): Add tst-setgetname.
29196         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
29197         * sysdeps/unix/sysv/linux/sigaction.c: Just include
29198         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
29199         [!LIBC_SIGACTION]: Remove aliases.
29200         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29201         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29202         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29203         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
29204         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29205         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
29206         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29207         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29208         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29209         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
29210         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
29211         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
29212         __libc_allocate_rtsig_private.
29213         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
29214         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
29215         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29216         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29217         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
29218         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
29219         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
29220         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
29221         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
29222         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
29223         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
29224         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
29225         * nptl/internaltypes.h: ... here.
29226         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
29227         * sysdeps/nptl/jmp-unwind.c: ... here.
29228         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
29229         * nptl/libc-lowlevellock.c: ... here.
29230         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
29231         * nptl/libc_multiple_threads.c: ... here.
29232         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
29233         * nptl/libc_pthread_init.c: ... here.
29234         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
29235         * nptl/lowlevelbarrier.sym: ... here.
29236         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
29237         * nptl/lowlevelcond.sym: ... here.
29238         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
29239         * nptl/lowlevellock.c: ... here.
29240         * nptl/lowlevellock.h: Moved ...
29241         * sysdeps/nptl/lowlevellock.h: ... here.
29242         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
29243         * nptl/lowlevelrobustlock.c: ... here.
29244         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
29245         * nptl/lowlevelrobustlock.sym: ... here.
29246         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
29247         * nptl/lowlevelrwlock.sym: ... here.
29248         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
29249         * nptl/pt-fork.c: ... here.
29250         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
29251         * nptl/pthread-pi-defines.sym: ... here.
29252         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
29253         * nptl/pthread_attr_getaffinity.c: ... here.
29254         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
29255         * nptl/pthread_attr_setaffinity.c: ... here.
29256         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
29257         * nptl/pthread_mutex_cond_lock.c: ... here.
29258         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29259         Update #include.
29260         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
29261         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
29262         * nptl/pthread_once.c: ... here, replacing old file.
29263         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
29264         * nptl/pthread_yield.c: ... here.
29265         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
29266         * nptl/register-atfork.c: ... here.
29267         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
29268         * nptl/sem_post.c: ... here.
29269         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
29270         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
29271         * nptl/sem_timedwait.c: ... here.
29272         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
29273         * nptl/sem_trywait.c: ... here.
29274         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
29275         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
29276         * nptl/sem_wait.c: ... here.
29277         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
29278         * nptl/structsem.sym: ... here.
29279         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
29280         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
29281         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
29282         * nptl/unregister-atfork.c: ... here.
29283         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
29284         * nptl/unwindbuf.sym: ... here.
29285         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
29286         * sysdeps/nptl/fork.c: ... here.
29287         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
29288         * sysdeps/nptl/fork.h: ... here.
29289         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
29290         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
29291         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
29292         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
29293         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
29294         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
29295         * sysdeps/unix/sysv/linux/getpid.c: ... here.
29296         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
29297         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
29298         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
29299         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
29300         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
29301         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
29302         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
29303         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
29304         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
29305         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
29306         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
29307         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
29308         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
29309         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
29310         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
29311         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
29312         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
29313         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
29314         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
29315         * sysdeps/unix/sysv/linux/raise.c: ... here.
29316         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
29317         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
29318         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
29319         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
29320         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
29321         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
29322         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
29323         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
29324         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
29325         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
29326         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
29327         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
29328         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
29329         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
29330         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
29332 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29334         * sysdeps/generic/memcopy.h: Add comment for
29335         MEMCPY_OK_FOR_FWD_MEMMOVE.
29337 2014-07-04  Will Newton  <will.newton@linaro.org>
29339         * string/memchr.c: Merge from gnulib.
29340         [_LIBC]: Remove conditionals.
29341         (__ptr_t): Remove define.
29342         (LONG_MAX_32_BITS): Likewise.
29343         (LONG_MAX): Likewise.
29344         (MEMCHR): Use ANSI prototype and optimize algorithm.
29346         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
29348 2014-07-03  Roland McGrath  <roland@hack.frob.com>
29350         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
29351         (lll_futex_timed_wait_bitset): Fix syscall argument count.
29353         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
29354         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
29355         in a bare environment with no <stdlib.h> installed.
29356         * sysdeps/nptl/configure: Regenerated.
29358         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
29360         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
29361         AC_EGREP_CPP for kernel header checks, so they only succeed if
29362         including <linux/version.h> actually works right.
29363         * sysdeps/unix/sysv/linux/configure: Regenerated.
29365         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
29366         value so it's not diagnosed as unused.
29368         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
29369         thing) with "ifeq ($(subdir),rt)".
29371 2014-07-03  Richard Henderson  <rth@redhat.com>
29373         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
29374         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
29375         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
29377         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
29378         (math_force_eval): New.
29380         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
29381         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
29383         * sysdeps/alpha/fpu/s_round.c: Remove file.
29384         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
29386         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
29387         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
29388         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
29389         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
29390         (_dl_start, print_statistics): Likewise.
29391         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
29392         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
29394         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29395         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29396         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29397         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29398         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29399         (HP_SMALL_TIMING_AVAIL): Define.
29400         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29401         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29402         (HP_SMALL_TIMING_AVAIL): Define.
29403         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29404         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29406         * sysdeps/aarch64/hp-timing.h: New file.
29408         * sysdeps/generic/hp-timing.h: Remove dead comment.
29409         * sysdeps/generic/hp-timing-common.h: New file.
29410         * sysdeps/alpha/hp-timing.h: Include it.
29411         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
29412         * sysdeps/i386/i686/hp-timing.h: Likewise.
29413         * sysdeps/ia64/hp-timing.h: Likewise.
29414         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29415         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29416         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29417         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29418         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
29419         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
29420         (hp_timing_t): New.
29422         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
29423         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
29424         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
29425         * elf/rtld.c (_dl_start_final): Likewise.
29426         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
29427         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29428         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29429         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29430         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29431         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29432         (HP_TIMING_DIFF_INIT): Remove.
29433         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29434         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29435         (HP_TIMING_DIFF_INIT): Remove.
29436         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29437         * sysdeps/i386/i686/hp-timing.c: Remove file.
29438         * sysdeps/x86_64/hp-timing.c: Remove file.
29439         * sysdeps/ia64/hp-timing.c: Remove file.
29440         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
29441         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
29442         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
29443         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
29445         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
29446         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
29447         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
29448         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29449         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29450         (HP_TIMING_ACCUM): Remove.
29451         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29452         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
29453         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29455         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
29456         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
29457         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
29458         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
29459         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
29460         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29461         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
29462         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29464         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
29466 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
29468         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
29470 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29472         Sync up with gettext.
29473         * intl/loadmsgcat.c: Define O_BINARY if not defined.
29474         [_MSC_VER]: Include malloc.h
29475         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
29476         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
29477         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
29478         TEMP_FAILURE_RETRY.  Cast return of alloca.
29479         [!_LIBC] Call gl_rwlock_init.
29480         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
29482 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29484         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
29485         before checking its value.
29487 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29489         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
29491         * debug/memcpy_chk.c: Don't include pagecopy.h.
29492         * debug/mempcpy_chk.c: Likewise.
29493         * string/memcpy.c: Likewise.
29494         * string/memmove.c: Likewise.
29495         * sysdeps/powerpc/memmove.c: Likewise.
29496         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
29497         definition of PAGE_COPY_FWD_MAYBE here...
29498         * sysdeps/generic/pagecopy.h: ... from here.
29499         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
29501 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29502             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29504         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
29505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
29506         optimizations.
29507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29508         (__libc_ifunc_impl_list): Likewise.
29509         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
29510         multiarch strcat for PPC64.
29511         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
29512         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
29514 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29516         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
29518 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29520         * intl/loadmsgcat.c: Remove declaration of
29521         get_sysdep_segment_value.
29522         (get_sysdep_segment_value): Use ISO C style.
29523         (_nl_load_domain): Use ISO C style.  Get rid of redundant
29524         semicolon.  Fix typo and formatting in comment.
29525         (_nl_unload_domain): Use ISO C style.
29527         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
29529 2014-07-02  Will Newton  <will.newton@linaro.org>
29531         * malloc/obstack.c: Merge from gnulib master.
29532         [HAVE_CONFIG_H]: Remove conditional code.
29533         [!_LIBC]: Include config.h.
29534         [!ELIDE_CODE]: Don't include inttypes.h, include
29535         stdint.h unconditionally.
29536         (print_and_abort): Mark as _Noreturn.
29537         (_obstack_allocated_p): Mark as __attribute_pure__.
29538         (obstack_free): Rename to __obstack_free.
29539         [!__attribute__]: Remove conditional code.
29540         * malloc/obstack.h: Merge from gnulib master.
29541         [__cplusplus]: Move conditional down.
29542         [!__attribute_pure__]: Define __attribute_pure__ here
29543         if it is not already defined.
29544         (_obstack_memory_used): Mark as __attribute_pure__.
29545         [!__obstack_free]: Define as obstack_free.
29546         [__GNUC__]: Remove check for ancient NeXT gcc.
29548 2014-07-02  Will Newton  <will.newton@linaro.org>
29549             Paul Eggert  <eggert@cs.ucla.edu>
29551         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
29553 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29555         * resolv/gethnamaddr.c: Add comment warning that the file is
29556         not maintained.
29558 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
29560         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
29561         entries.
29563         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
29564         entry for aio_cancel and aio_cancel64.
29565         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
29566         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
29567         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
29568         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
29569         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
29570         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
29571         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
29572         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
29573         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
29574         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
29575         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
29576         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
29577         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
29579 2014-07-01  Roland McGrath  <roland@hack.frob.com>
29581         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
29582         * nptl/pthread_mutex_lock.c: Likewise.
29583         * nptl/pthread_mutex_timedlock.c: Likewise.
29584         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
29586 2014-07-01  Richard henderson  <rth@redhat.com>
29588         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
29589         (__isnan, __isnanl): Remove.
29590         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
29592         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29594 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29596         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29598 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29600         * resolv/nss_dns/dns-host.c (getanswer_r)
29601         [MULTI_PTRS_ARE_ALIASES]: Remove code.
29603 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
29605         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29606         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
29607         undefine.
29608         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
29609         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
29611 2014-07-01  Roland McGrath <roland@hack.frob.com>
29613         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
29614         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
29616         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
29617         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
29619         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
29620         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
29621         ... here.
29622         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
29623         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
29625         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
29626         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
29627         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
29628         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
29630         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
29631         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
29632         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
29633         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
29634         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
29635         Moved ...
29636         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
29637         ... here.
29638         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
29639         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
29640         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
29641         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
29642         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
29643         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
29644         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
29645         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
29646         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
29647         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
29648         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
29649         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
29650         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
29651         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
29652         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
29653         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
29654         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
29655         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
29656         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
29657         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
29658         ... here.
29659         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
29660         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
29661         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
29662         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
29663         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
29664         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
29665         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
29666         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
29668 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
29670         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
29671         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
29672         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
29673         Add sysdep.
29675 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29679 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29681         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29682         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29684         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29686         * sysdeps/arm/libm-test-ulps: Regenerated.
29688 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29689             Roland McGrath <roland@hack.frob.com>
29691         * test-skeleton.c (signal_handler): Kill the whole process group
29692         before killing the child individually.
29693         (main): Report any failure on `setpgid'.
29695 2014-06-30  Roland McGrath  <roland@hack.frob.com>
29697         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29698         from _TLS_H to _ARM_NPTL_TLS_H.
29699         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29700         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29702 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29704         [BZ #16539]
29705         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29706         (__expm1l): Return argument unchanged when small but not
29707         subnormal.
29709         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29710         include macro name.
29711         (_FP_UNPACK_RAW_1_P): Likewise.
29712         (_FP_PACK_RAW_1): Likewise.
29713         (_FP_PACK_RAW_1_P): Likewise.
29714         (_FP_MUL_MEAT_1_wide): Likewise.
29715         (_FP_MUL_MEAT_DW_1_hard): Likewise.
29716         (_FP_MUL_MEAT_1_hard): Likewise.
29717         (_FP_DIV_MEAT_1_imm): Likewise.
29718         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29719         (_FP_DIV_MEAT_1_udiv): Likewise.
29720         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29721         (_FP_UNPACK_RAW_2): Likewise.
29722         (_FP_UNPACK_RAW_2_P): Likewise.
29723         (_FP_PACK_RAW_2): Likewise.
29724         (_FP_PACK_RAW_2_P): Likewise.
29725         (_FP_MUL_MEAT_DW_2_wide): Likewise.
29726         (_FP_MUL_MEAT_2_wide): Likewise.
29727         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29728         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29729         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29730         (_FP_MUL_MEAT_2_gmp): Likewise.
29731         (_FP_DIV_MEAT_2_udiv): Likewise.
29732         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29733         (_FP_FRAC_SRL_4): Likewise.
29734         (_FP_FRAC_SRST_4): Likewise.
29735         (_FP_FRAC_SRS_4): Likewise.
29736         (_FP_UNPACK_RAW_4): Likewise.
29737         (_FP_UNPACK_RAW_4_P): Likewise.
29738         (_FP_PACK_RAW_4): Likewise.
29739         (_FP_PACK_RAW_4_P): Likewise.
29740         (_FP_MUL_MEAT_DW_4_wide): Likewise.
29741         (_FP_MUL_MEAT_4_wide): Likewise.
29742         (_FP_MUL_MEAT_4_gmp): Likewise.
29743         (umul_ppppmnnn): Likewise.
29744         (_FP_DIV_MEAT_4_udiv): Likewise.
29745         (__FP_FRAC_ADD_4): Likewise.
29746         (__FP_FRAC_SUB_3): Likewise.
29747         (__FP_FRAC_SUB_4): Likewise.
29748         (__FP_FRAC_DEC_3): Likewise.
29749         (__FP_FRAC_DEC_4): Likewise.
29750         (__FP_FRAC_ADDI_4): Likewise.
29751         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29752         (_FP_FRAC_SRL_8): Likewise.
29753         (_FP_FRAC_SRS_8): Likewise.
29755         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29756         include macro name.
29757         (FP_UNPACK_RAW_EP): Likewise.
29758         (FP_PACK_RAW_E): Likewise.
29759         (FP_PACK_RAW_EP): Likewise.
29760         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29761         (_FP_ISSIGNAN): Likewise.
29762         (_FP_ADD_INTERNAL): Likewise.
29763         (_FP_FMA): Likewise.
29764         (_FP_CMP): Likewise.
29765         (_FP_SQRT): Likewise.
29766         (_FP_TO_INT): Likewise.
29767         (_FP_FROM_INT): Likewise.
29768         (FP_EXTEND): Likewise.
29769         (_FP_DIV_MEAT_N_loop): Likewise.
29771 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29773         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29774         throughout.
29776 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
29778         [BZ #17097]
29779         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29780         result with correct sign in case of exponents that produce
29781         overflow except for X very close to 1.
29783 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
29785         mktime: merge #if/#ifdef usage from glibc
29786         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29787         as that works with both Glibc's and Gnulib's style.
29788         See thread starting at Siddhesh Poyarekar's bug report at:
29789         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29791 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29793         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29794         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29795         * sysdeps/tile/tilegx/memmove.c: Remove file.
29797 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29799         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29800         abi-name definition.
29801         * scripts/soversions.awk: Do not handle or generate ABI lines.
29802         * shlib-versions: Remove ABI entries.
29803         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29804         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29806 2014-06-27  Roland McGrath  <roland@hack.frob.com>
29808         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29809         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29810         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29811         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29812         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29813         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29814         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29815         Moved ...
29816         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29817         ... here.
29818         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29819         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29820         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29821         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29822         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29823         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29824         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29825         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29826         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29827         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29828         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29829         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29830         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29831         Moved ...
29832         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29833         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29834         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29835         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29836         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29837         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29838         Moved ...
29839         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29840         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29841         Moved ...
29842         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29843         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29844         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29845         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29846         Moved ...
29847         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29848         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29849         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29850         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29851         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29852         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29853         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29854         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29855         Moved ...
29856         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29857         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29858         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29859         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29860         Moved ...
29861         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29862         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29863         Moved ...
29864         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29865         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29866         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29867         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29868         Moved ...
29869         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29870         ... here.
29871         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29872         Identical file removed.
29873         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29874         Moved ...
29875         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29876         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29877         Identical file removed.
29878         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29879         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29880         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29881         Moved ...
29882         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29883         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29884         Identical file removed.
29885         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29886         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29887         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29888         Identical file removed.
29889         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29890         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29891         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29892         Identical file removed.
29893         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29894         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29895         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29896         Identical file removed.
29897         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29898         Moved ...
29899         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29900         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29901         Identical file removed.
29902         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29903         Moved ...
29904         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29905         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29906         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29907         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29908         Identical file removed.
29909         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29910         Moved ...
29911         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29912         ... here.
29913         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29914         Identical file removed.
29915         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29916         Moved ...
29917         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29918         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29919         Identical file removed.
29920         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29921         Moved ...
29922         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29923         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29924         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29925         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29926         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29927         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29928         Moved ...
29929         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29930         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29931         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29933         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29934         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29935         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29936         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29937         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29939 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
29941         [BZ #17092]
29942         * nscd/nscd.c (monitor_child): Return exit status of child
29943         instead of return value from wait syscall.
29945 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29947         * configure.ac (libc_commonpagesize): Remove variable.
29948         (libc_relro_required): Likewise.
29949         (libc_cv_z_relro): Remove configure test.
29950         * configure: Regenerated.
29951         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29952         variable.
29953         (libc_relro_required): Likewise.
29954         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29955         (libc_relro_required): Likewise.
29956         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29957         (libc_relro_required): Likewise.
29958         * sysdeps/arm/preconfigure: Regenerated.
29959         * sysdeps/ia64/preconfigure: Remove file.
29960         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29961         variable.
29962         (libc_relro_required): Likewise.
29964         [BZ #16561]
29965         [BZ #16562]
29966         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29967         (__ieee754_yn): Set FE_TONEAREST mode internally and then
29968         recompute overflowing results in original rounding mode.
29969         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29970         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29971         recompute overflowing results in original rounding mode.
29972         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29973         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29974         recompute overflowing results in original rounding mode.
29975         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29976         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29977         recompute overflowing results in original rounding mode.
29978         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29979         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29980         recompute overflowing results in original rounding mode.
29981         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29982         (libc_feholdsetround_ctx): New macro.
29983         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29984         * sysdeps/i386/fpu/libm-test-ulps: Update.
29985         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29987 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29989         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29990         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29991         corresponding .cpsetup call.
29993 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29995         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29996         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29997         * sysdeps/arm/Makefile [$(subdir) = csu]
29998         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29999         (static-only-routines): Add aeabi_read_tp here.
30000         (shared-only-routines): Add libc-aeabi_read_tp here.
30001         (CFLAGS-libc-start.c): Add -fexceptions here.
30002         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
30003         (sysdep_routines, static-only-routines, shared-only-routines):
30004         Don't add to these here.
30005         (CFLAGS-libc-start.c): Likewise.
30007         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
30008         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30009         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
30010         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30011         * sysdeps/arm/Makefile [$(subdir) = rt]
30012         (librt-sysdep_routines, librt-shared-only-routines):
30013         Append rt-aeabi_unwind_cpp_pr1 here.
30014         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
30015         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
30016         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
30017         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30018         Append nptl-aeabi_unwind_cpp_pr1 here.
30019         (tests): Filter out tst-cleanupx4 here.
30020         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
30021         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
30022         Don't do those here.
30024 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30026         * scripts/list-sources.sh: Do not handle ports specially.
30028 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30030         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
30031         * sysdeps/arm/feupdateenv.c: Likewise.
30033         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
30035 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30037         * manual/texinfo.tex: Update to version 2014-05-05.10 with
30038         trailing whitespace removed.
30039         * scripts/config.guess: Update to version 2014-03-23.
30040         * scripts/config.sub: Update to version 2014-05-01
30041         * scripts/install-sh: Update to version 2013-12-25.23.
30042         * scripts/move-if-change: Update from gnulib.
30044 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30046         * debug/memmove_chk.c: Remove pagecopy.h include.
30048 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
30050         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
30051         identical to gnulib mktime.
30053 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30055         * configure.ac: Do not test for machine being rs6000.  Do not test
30056         for powerpc*-*soft.
30057         * configure: Regenerated.
30059         [BZ #11505]
30060         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
30061         test.
30062         * configure: Regenerated.
30063         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
30064         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
30065         Remove configure test.
30066         * sysdeps/arm/configure: Regenerated.
30067         * sysdeps/nptl/configure.ac: Do not check
30068         libc_cv_asm_cfi_directives.
30069         * sysdeps/nptl/configure: Regenerated.
30070         * sysdeps/x86_64/nptl/configure.ac: Remove file.
30071         * sysdeps/x86_64/nptl/configure: Remove generated file.
30072         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
30073         unconditional.
30074         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
30076 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30078         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
30079         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
30080         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
30081         it is defined.
30083         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
30084         instead of whether it is defined.
30085         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
30086         * sysdeps/hppa/dl-machine.h: Likewise.
30087         * sysdeps/ia64/dl-machine.h: Likewise.
30088         * sysdeps/m68k/dl-machine.h: Likewise.
30089         * sysdeps/microblaze/dl-machine.h: Likewise.
30090         * sysdeps/mips/dl-machine.: Likewise.
30091         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30092         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30093         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30094         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30095         * sysdeps/sh/dl-machine.h: Likewise.
30096         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30097         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30098         * sysdeps/tile/dl-machine.h: Likewise.
30099         * sysdeps/x86_64/dl-machine.h: Likewise.
30101         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
30102         code.
30103         (verify_persistent_db): Likewise.
30105 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
30108         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
30109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
30110         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
30111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30112         Moved ...
30113         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
30114         ... here.
30115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
30116         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
30117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
30118         Identical file removed.
30119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
30120         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
30121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
30122         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
30123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
30124         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
30125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
30126         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
30127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
30128         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
30129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30130         Moved ...
30131         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
30132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
30133         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
30134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
30135         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
30136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30137         Moved ...
30138         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
30139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
30140         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
30141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
30142         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
30143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30144         Identical file removed.
30145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
30146         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
30147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
30148         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
30149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30150         Moved ...
30151         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
30152         ... here.
30153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
30154         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
30155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
30156         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
30157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
30158         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
30159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
30160         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
30161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
30162         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
30163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30164         Moved ...
30165         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
30166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
30167         Moved ...
30168         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
30169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
30170         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
30171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30172         Moved ...
30173         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
30174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
30175         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
30177         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
30178         folded into ...
30179         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
30180         * sysdeps/unix/sysv/linux/s390/Versions
30181         (libpthread: GLIBC_2.19): New version set.
30182         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
30183         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
30184         (librt: GLIBC_2.3.3): New version set.
30185         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
30186         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
30187         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
30188         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
30189         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
30190         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
30191         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
30192         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
30193         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
30194         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
30195         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
30196         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
30197         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
30198         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
30199         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
30200         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
30201         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
30202         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
30203         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
30204         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
30205         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
30206         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
30207         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
30208         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
30209         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
30210         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
30211         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
30212         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
30213         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
30214         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
30215         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
30216         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
30217         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
30218         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
30219         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
30220         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
30221         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
30222         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
30223         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
30224         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
30225         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
30226         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
30227         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
30228         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
30229         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
30231         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
30232         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
30233         (__libc_vfork): Define the function under this name.
30234         [!NOT_IN_libc] (__vfork): Make this an alias.
30235         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30236         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
30237         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
30238         (__libc_vfork): Define the function under this name.
30239         [!NOT_IN_libc] (__vfork): Make this an alias.
30240         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30241         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
30242         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
30243         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
30244         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
30245         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30247         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
30248         code that was previously under [RESET_PID].
30249         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
30250         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
30251         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
30253         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
30254         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
30255         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
30256         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
30257         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
30258         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
30259         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
30260         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
30261         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
30262         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
30263         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
30264         Moved ...
30265         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
30266         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
30267         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
30268         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
30269         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
30270         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
30271         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
30272         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
30273         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
30274         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
30275         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
30276         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
30277         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
30278         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
30279         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
30280         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
30281         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
30282         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
30283         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
30284         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
30285         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
30286         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
30287         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
30288         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
30289         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
30290         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
30291         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
30292         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
30293         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
30295 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30297         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
30298         that was previously under [RESET_PID].
30299         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
30301 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30303         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
30304         not undefine and redefine.
30305         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
30306         [O_CLOEXEC]: Make code unconditional.
30307         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
30308         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
30309         <kernel-features.h>.
30310         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
30311         conditional variable definition.
30312         (shm_open) [O_CLOEXEC]: Make code unconditional.
30313         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
30314         code.
30316         * configure.ac (USE_REGPARMS): Don't define here.
30317         * configure: Regenerated.
30318         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
30319         * sysdeps/i386/configure: Regenerated.
30321         * nptl/createthread.c: Don't include kernel-features.h.
30322         * nptl/pthread_cancel.c: Likewise.
30323         * nptl/pthread_condattr_setclock.c: Likewise.
30324         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
30325         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
30326         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
30327         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
30328         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
30329         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
30330         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30331         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
30332         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30333         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
30334         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
30335         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
30336         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
30337         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
30338         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
30339         * nscd/gai.c: Likewise.
30340         * nss/nss_db/db-open.c: Likewise.
30341         * sysdeps/generic/ldsodefs.h: Likewise.
30342         * sysdeps/sh/nptl/tls.h: Likewise.
30343         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30344         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
30345         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
30346         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
30347         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
30348         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30349         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
30350         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30351         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30352         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30353         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30354         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30355         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
30356         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
30357         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
30358         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
30359         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
30360         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
30361         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
30362         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
30363         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
30364         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
30365         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
30366         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
30367         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
30368         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
30369         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
30370         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
30371         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30372         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
30373         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
30374         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
30375         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
30376         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30377         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30378         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30379         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30380         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
30381         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
30382         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30383         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30384         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
30385         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
30386         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30387         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
30388         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
30389         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
30390         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
30391         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
30392         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
30393         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
30394         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
30395         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
30396         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30397         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
30398         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30399         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30400         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
30401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
30403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
30404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
30405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
30406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
30407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
30408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
30409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
30412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
30413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
30414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
30415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
30421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
30422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
30423         * sysdeps/unix/sysv/linux/pread.c: Likewise.
30424         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
30425         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
30426         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
30427         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
30428         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
30429         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
30430         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
30431         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
30432         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
30433         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
30434         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
30435         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
30436         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
30437         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
30438         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
30439         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30440         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
30441         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
30442         * sysdeps/unix/sysv/linux/system.c: Likewise.
30443         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
30444         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30445         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30446         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30447         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30448         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30449         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30451         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
30452         * configure: Regenerated.
30453         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
30455         * configure.ac (base_machine): Do not set specially for particular
30456         machines here.
30457         * configure: Regenerated.
30458         * sysdeps/powerpc/preconfigure: Move machine and base_machine
30459         settings from configure.ac.
30460         * sysdeps/i386/preconfigure: New file.
30461         * sysdeps/s390/preconfigure: Likewise.
30462         * sysdeps/sh/preconfigure: Likewise.
30463         * sysdeps/sparc/preconfigure: Likewise.
30465 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30467         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
30468         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
30469         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
30470         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
30471         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
30472         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
30473         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
30474         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
30475         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
30476         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
30477         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
30478         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
30479         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
30480         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
30481         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30482         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
30483         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
30484         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
30485         * sysdeps/sparc/sparc64/Makefile: ... appended here.
30487         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
30488         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
30489         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
30490         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
30491         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
30492         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
30493         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
30494         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
30495         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
30496         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
30497         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
30498         * sysdeps/sparc/sparc32/sem_post.c: ... here.
30499         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
30500         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
30501         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
30502         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
30503         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
30504         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
30505         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
30506         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
30507         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
30508         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
30509         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
30510         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
30511         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
30512         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
30513         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
30514         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
30515         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
30516         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
30517         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
30518         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
30519         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
30520         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
30521         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
30522         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
30523         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
30524         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
30526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
30527         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
30528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
30529         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
30530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30531         Moved ...
30532         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
30533         ... here.
30534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
30535         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
30536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
30537         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
30538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
30539         Moved ...
30540         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
30541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
30542         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
30543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
30544         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
30545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
30546         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
30547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30548         Moved ...
30549         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
30550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30551         Moved ...
30552         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
30554         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
30555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30556         Moved ...
30557         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
30558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
30559         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
30560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
30561         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
30562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
30563         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
30564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
30565         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
30566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30567         Moved ...
30568         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
30569         ... here.
30570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
30571         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
30572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
30573         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
30574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
30575         Moved ...
30576         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
30577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
30578         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
30579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
30580         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
30581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
30582         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
30583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30584         Moved ...
30585         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
30586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30587         Moved ...
30588         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
30589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
30590         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
30591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30592         Moved ...
30593         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
30594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
30595         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
30596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
30597         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
30599 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30601         * timezone/checktab.awk: Update from tzcode 2014e.
30602         * timezone/private.h: Likewise.
30603         * timezone/tzfile.h: Likewise.
30604         * timezone/zdump.c: Likewise.
30605         * timezone/zic.c: Likewise.
30607         * sysdeps/unix/sysv/linux/kernel-features.h
30608         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
30609         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
30610         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
30611         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30612         Remove conditional code.
30614 2014-06-25  Will Newton  <will.newton@linaro.org>
30616         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
30617         (_dl_arm_cap_flags): Add HWCAP2 values.
30618         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
30619         (_DL_HWCAP_COUNT): Increase to 37.
30620         (_DL_HWCAP_LAST): New define.
30621         (_DL_HWCAP2_LAST): New define.
30622         (_dl_procinfo): Add support for printing
30623         AT_HWCAP2 entries.
30624         (_dl_string_hwcap): Use _dl_hwcap_string.
30626 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30630 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30632         * README: Do not mention ports directory.
30634         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
30635         Remove macro.
30636         * sysdeps/unix/sysv/linux/futimes.c: Do not include
30637         <kernel-features.h>.
30638         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
30639         conditional variable definition.
30640         (__futimes): Update comment.
30641         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
30642         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
30644         [BZ #16560]
30645         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
30646         arguments close to 0.
30647         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
30648         Likewise.
30649         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
30650         Likewise.
30651         * math/auto-libm-test-in: Add more tests of exp10.
30652         * math/auto-libm-test-out: Regenerated.
30653         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30655         * sysdeps/unix/sysv/linux/kernel-features.h
30656         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
30657         * sysdeps/unix/sysv/linux/readv.c: Do not include
30658         <kernel-features.h>.
30659         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30660         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30661         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30662         unconditional.
30663         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30664         conditional code.
30665         * sysdeps/unix/sysv/linux/writev.c: Do not include
30666         <kernel-features.h>.
30667         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30668         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30669         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30670         unconditional.
30671         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30672         conditional code.
30674 2014-06-25  Will Newton  <will.newton@linaro.org>
30676         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30677         comment changes throughout the file.  Remove checks
30678         for HAVE_*_H definitions that are not required.
30679         (__gen_tempname): Call abort if an unknown kind value is
30680         passed.
30682 2014-06-25  Andreas Schwab  <schwab@suse.de>
30684         [BZ #17086]
30685         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30686         scalbln, scalblnf, scalblnl in libc.
30688 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30690         [BZ #17086]
30691         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30692         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30693         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30695 2014-06-24  Roland McGrath  <roland@hack.frob.com>
30697         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30698         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30699         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30700         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30701         Update #include.
30702         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30703         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30704         Update #include.
30705         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30706         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30707         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30708         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30709         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30710         * sysdeps/x86/bits/pthreadtypes.h: ... here.
30711         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30712         * sysdeps/x86/bits/semaphore.h: ... here.
30713         * sysdeps/x86/nptl/elide.h: Moved ...
30714         * sysdeps/x86/elide.h: ... here.
30715         * sysdeps/x86_64/nptl/Implies: File removed.
30716         * sysdeps/i386/nptl/Implies: File removed.
30718 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
30720         [BZ #16539]
30721         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30722         return the argument for normal arguments with exponent below -64.
30723         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30724         Likewise.
30725         * math/auto-libm-test-in: Add another test of expm1.
30726         * math/auto-libm-test-out: Regenerated.
30728         [BZ #16287]
30729         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30730         calling __erfcl for arguments at least 16.
30731         * math/auto-libm-test-in: Add more tests of erf.
30732         * math/auto-libm-test-out: Regenerated.
30734         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30735         individual architectures.
30736         * sysdeps/unix/sysv/linux/configure: Regenerated.
30737         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30738         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30739         * sysdeps/unix/sysv/linux/powerpc/configure.ac
30740         (ldd_rewrite_script): Define variable.
30741         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30743         file.
30744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30745         generated file.
30746         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30747         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30748         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30749         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30750         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30751         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30752         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30753         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30755 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30757         [BZ #17084]
30758         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30759         Rename member __data.d to __data.__elision_data.
30761 2014-06-24  Wilco  <wdijkstr@arm.com>
30763         * NEWS: Add 16918 to fixed bug list.
30765 2014-06-24  Wilco  <wdijkstr@arm.com>
30767         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30769 2014-06-24  Wilco  <wdijkstr@arm.com>
30771         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30772         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30773         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30774         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30775         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30776         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30777         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30778         Use _FPU_MASK_RM.
30780 2014-06-24  Wilco  <wdijkstr@arm.com>
30782         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30784 2014-06-24  Wilco  <wdijkstr@arm.com>
30786         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30787         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30788         * sysdeps/arm/fesetround.c (fesetround): Remove space.
30789         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30791 2014-06-24  Wilco  <wdijkstr@arm.com>
30793         [BZ #16918]
30794         * sysdeps/arm/feupdateenv.c (feupdateenv):
30795         Rewrite to reduce FPSCR accesses and fix return value.
30797 2014-06-24  Wilco  <wdijkstr@arm.com>
30799         * sysdeps/arm/fclrexcpt.c (feclearexcept):
30800         Optimize to avoid unnecessary FPSCR writes.
30801         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30802         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30803         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30804         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30806 2014-06-24  Wilco  <wdijkstr@arm.com>
30808         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30809         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30810         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30811         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30812         Call libc_fetestexcept_vfp.
30813         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30814         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30815         __SOFTFP__ ifdef so that they can be built for softfp.
30817 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30819         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30820         argument type signed char.
30822         * Makerules (check-abi): Dump diff of symlist if the test
30823         fails.
30825 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30827         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30828         using abort.
30830         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30831         Remove unused variable ST.
30833 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30835         [BZ #16354]
30836         [BZ #17061]
30837         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30838         small arguments before calling __expm1.
30839         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30840         small arguments before calling __expm1f.
30841         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30842         small arguments before calling __expm1l.
30843         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30844         Likewise.
30845         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30846         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
30847         spurious underflow for some cosh tests.
30848         * math/auto-libm-test-out: Regenerated.
30849         * sysdeps/i386/fpu/libm-test-ulps: Update.
30851         [BZ #17050]
30852         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30853         (__ieee754_y1): Set errno if return value overflows.
30854         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30855         (__ieee754_y1f): Set errno if return value overflows.
30856         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30857         (__ieee754_y1l): Set errno if return value overflows.
30858         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30859         (__ieee754_y1l): Set errno if return value overflows.
30860         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30861         * math/auto-libm-test-out: Regenerated.
30863         * math/gen-auto-libm-tests.c: Document use of
30864         ignore-zero-inf-sign.
30865         (input_flag_type): Add value flag_ignore_zero_inf_sign.
30866         (input_flags): Add ignore-zero-inf-sign.
30867         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30868         * math/gen-libm-test.pl (generate_testfile): Handle
30869         ignore-zero-inf-sign.
30870         * math/auto-libm-test-in: Mark some cpow tests with
30871         ignore-zero-inf-sign and some with xfail-rounding.
30872         * math/auto-libm-test-out: Regenerated.
30873         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30874         * sysdeps/i386/fpu/libm-test-ulps: Update.
30875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30877         [BZ #16315]
30878         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30879         overflowing or underflowing operations take place with sign of
30880         result.
30881         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30882         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30883         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30884         (__ieee754_pow): Recompute overflowing and underflowing results in
30885         original rounding mode.
30886         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30887         (__powl_helper): Allow negative argument X and scale negated value
30888         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
30889         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30890         overflowing or underflowing operations take place with sign of
30891         result.
30892         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30893         Include <math.h>.
30894         * math/auto-libm-test-in: Add more tests of pow.
30895         * math/auto-libm-test-out: Regenerated.
30896         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30897         (pow_tonearest_test_data): Remove.
30898         (pow_test_tonearest): Likewise.
30899         (pow_towardzero_test_data): Likewise.
30900         (pow_test_towardzero): Likewise.
30901         (pow_downward_test_data): Likewise.
30902         (pow_test_downward): Likewise.
30903         (pow_upward_test_data): Likewise.
30904         (pow_test_upward): Likewise.
30905         (main): Don't call removed functions.
30906         * sysdeps/i386/fpu/libm-test-ulps: Update.
30907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30909 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30912         Moved ...
30913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30915         Moved ...
30916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30918         Moved ...
30919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30921         Moved ...
30922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30924         File removed.
30925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30926         File removed.
30927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30928         File removed.
30929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30930         File removed.
30931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30932         File removed.
30933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30934         File removed.
30935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30936         File removed.
30937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30938         File removed.
30939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30940         File removed.
30941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30942         File removed.
30943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30944         File removed.
30945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30946         File removed.
30947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30948         Moved ...
30949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30951         Moved ...
30952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30953         ... here.
30954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30955         Moved ...
30956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30958         Moved ...
30959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30961         Moved ...
30962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30964         Moved ...
30965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30967         Moved ...
30968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30970         Moved ...
30971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30973         Moved ...
30974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30977         ... here.
30978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30979         Moved ...
30980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30982         Moved ...
30983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30984         ... here.
30985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30986         Moved ...
30987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30988         ... here.
30989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30990         Moved ...
30991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30992         ... here.
30993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30994         Moved ...
30995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30997         Moved ...
30998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
31000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
31001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31002         Moved ...
31003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
31004         ... here.
31005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31006         Moved ...
31007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
31008         ... here.
31009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31010         Moved ...
31011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
31012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31013         Moved ...
31014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
31015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31016         Moved ...
31017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
31018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31019         Moved ...
31020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
31021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31022         Moved ...
31023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
31024         ... here.
31025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31026         Moved ...
31027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
31028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31029         Moved ...
31030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
31031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31032         Moved ...
31033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
31034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31035         Moved ...
31036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
31037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
31038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
31039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31040         Moved ...
31041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
31042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31043         Moved ...
31044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
31045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31046         Moved ...
31047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
31048         ... here.
31049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31050         Moved ...
31051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
31052         ... here.
31053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31054         Moved ...
31055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
31056         ... here.
31057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31058         Moved ...
31059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
31060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31061         Moved ...
31062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
31063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31064         Moved ...
31065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
31066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31067         Moved ...
31068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
31069         ... here.
31070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31071         Moved ...
31072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
31073         ... here.
31074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31075         Moved ...
31076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
31077         ... here.
31078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31079         Moved ...
31080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
31081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31082         Moved ...
31083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
31085 2014-06-23  Will Newton  <will.newton@linaro.org>
31086             Wilco  <wdijkstr@arm.com>
31088         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
31089         implementation.  Include get-rounding-mode.h.
31090         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
31091         [!libc_feholdsetround_noex_ctx]: Define
31092         libc_feholdsetround_noex_ctx.
31093         [!libc_feholdsetround_noexf_ctx]: Define
31094         libc_feholdsetround_noexf_ctx.
31095         [!libc_feholdsetround_noexl_ctx]: Define
31096         libc_feholdsetround_noexl_ctx.
31097         (libc_feholdsetround_ctx): New function.
31098         (libc_feresetround_ctx): New function.
31099         (libc_feholdsetround_noex_ctx): New function.
31100         (libc_feresetround_noex_ctx): New function.
31102 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31104         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
31105         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
31106         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
31107         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
31108         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
31109         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
31111         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
31112         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
31113         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
31114         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
31115         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
31116         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
31117         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
31118         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
31119         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
31120         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
31121         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
31122         Moved ...
31123         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
31124         ... here.
31125         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
31126         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
31127         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
31128         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
31129         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
31130         Moved ...
31131         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
31132         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
31133         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
31134         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
31135         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
31136         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
31137         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
31138         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
31139         Moved ...
31140         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
31141         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
31142         Moved ...
31143         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
31144         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
31145         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
31146         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
31147         Moved ...
31148         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
31149         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
31150         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
31151         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
31152         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
31153         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
31154         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
31155         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
31156         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
31157         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
31158         Moved ...
31159         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
31160         ... here.
31161         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
31162         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
31163         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
31164         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
31165         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
31166         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
31167         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
31168         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
31169         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
31170         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
31171         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
31172         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
31173         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
31174         Moved ...
31175         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
31176         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
31177         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
31178         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
31179         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
31180         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
31181         Moved ...
31182         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
31183         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
31184         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
31185         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
31186         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
31188         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
31189         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
31190         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
31191         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
31192         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
31193         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
31194         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
31195         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
31196         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
31197         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
31198         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
31199         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
31200         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
31201         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
31202         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
31203         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
31204         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
31205         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
31206         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
31207         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
31208         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
31209         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
31210         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
31211         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
31212         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
31213         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
31214         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
31215         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
31217 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31219         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31220         (FALLOC_FL_COLLAPSE_RANGE): New macro.
31221         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
31222         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
31223         (IPV6_PMTUDISC_INTERFACE): Likewise.
31224         (IPV6_PMTUDISC_OMIT): Likewise.
31226 2014-06-23  Andreas Schwab  <schwab@suse.de>
31228         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
31229         Remove unused errout label.
31231 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31233         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
31234         macro: hardware supports Vector Crypto instructions.
31236 2014-06-23  Will Newton  <will.newton@linaro.org>
31238         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
31239         rather than __builtin_expect.
31241         * elf/dl-lookup.c (undefined_msg): Remove variable.
31242         (_dl_lookup_symbol_x): Replace undefined_msg with string
31243         literal.
31245         * elf/dl-lookup.c (do_lookup_unique): New function.
31246         (do_lookup_x): Move STB_GNU_UNIQUE handling code
31247         to a separate function.
31249 2014-06-23  Andreas Schwab  <schwab@suse.de>
31251         [BZ #17079]
31252         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
31253         before reading the next line.
31255 2014-06-23  Will Newton  <will.newton@linaro.org>
31257         * test-skeleton.c (signal_handler): Use printf and %m
31258         rather than perror.  Use printf rather than fprintf to
31259         stderr.  Use puts rather than fputs to stderr.
31260         (main): Likewise.
31262 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
31264         * nscd/nscd.c (thread_info_t): Remove typedef.
31265         (thread_info): Remove variable.
31267 2014-06-21  Allan McRae  <allan@archlinux.org>
31269         * NEWS: Mention CVE-2014-4043.
31271 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31273         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
31274         * nptl/smp.h: ... here.
31276         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
31278         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
31279         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
31280         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
31281         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
31283         * nptl/allocatestack.c: Include <stack-aliasing.h>.
31284         * nptl/stack-aliasing.h: New file.
31285         * sysdeps/i386/i686/stack-aliasing.h: New file.
31286         * sysdeps/i386/i686/nptl/Makefile: File removed.
31287         * sysdeps/x86_64/stack-aliasing.h: New file.
31288         * sysdeps/x86_64/nptl/Makefile
31289         (CFLAGS-pthread_create.c): Variable removed.
31291         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
31292         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
31293         old file.
31294         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
31295         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
31296         old file.
31298 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
31300         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31301         (__ASSUME_SIGFRAME_V2): Remove macro.
31302         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
31303         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
31304         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
31305         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
31306         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
31307         Declare as function.  Remove conditional macro definitions.
31308         (__default_rt_sa_restorer): Likewise.
31309         (__default_sa_restorer_v1): Remove declaration.
31310         (__default_sa_restorer_v2): Likewise.
31311         (__default_rt_sa_restorer_v1): Likewise.
31312         (__default_rt_sa_restorer_v2): Likewise.
31313         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
31314         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
31315         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
31317 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31319         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
31320         (libpthread-routines): Add sysdep.
31321         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
31322         * sysdeps/unix/sysv/linux/sparc/Versions
31323         (libpthread: GLIBC_2.3.3): New version set.
31324         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
31325         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
31326         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
31327         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
31328         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
31329         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
31330         Moved ...
31331         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
31332         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
31333         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
31334         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
31335         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
31336         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
31337         * sysdeps/sparc/nptl/sem_init.c: ... here.
31338         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
31339         * sysdeps/sparc/nptl/sem_post.c: ... here.
31340         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
31341         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
31342         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
31343         * sysdeps/sparc/nptl/sem_wait.c: ... here.
31344         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
31345         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
31346         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
31347         (libpthread-routines): Add cpu_relax.
31348         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
31349         File removed.
31350         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
31351         (librt: GLIBC_2.3.3): New version set.
31352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
31353         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
31354         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
31355         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
31356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
31357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
31358         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
31359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
31360         Moved ...
31361         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
31362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
31363         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
31364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
31365         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
31366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
31367         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
31368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
31369         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
31370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
31371         Moved ...
31372         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
31373         Update #include.
31374         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
31375         Moved ...
31376         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
31377         Update #include.
31378         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
31379         Moved ...
31380         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
31381         Update #include.
31382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
31383         Moved ...
31384         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
31385         Update #include.
31386         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
31387         Moved ...
31388         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
31389         Update #include.
31390         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
31391         Moved ...
31392         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
31393         Update #include.
31394         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
31395         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
31396         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
31397         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
31398         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
31399         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
31400         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
31401         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
31402         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
31403         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
31404         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31405         Moved ...
31406         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
31407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
31408         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
31409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
31410         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
31412 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31414         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
31415         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
31416         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31417         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
31418         * nscd/nscd.c: Likewise.
31419         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
31420         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
31421         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
31422         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
31424         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
31425         <kernel-features.h>.
31426         (init_mq_netlink): Remove conditional have_sock_cloexec
31427         definitions.  Remove code conditional on have_sock_cloexec < 0.
31428         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
31429         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
31430         * sysdeps/unix/sysv/linux/opensock.c: Do not include
31431         <kernel-features.h>.
31432         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
31433         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
31435 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31437         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31438         Add tests for memset_chk and memset.
31440         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
31441         with AVX2_Usable.
31443 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31445         [BZ #16046]
31446         * elf/tst-dl-iter-static.c: New file.
31447         * elf/Makefile (tests-static): Add tst-dl-iter-static.
31449         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
31450         error.
31452 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31454         * sysdeps/unix/sysv/linux/kernel-features.h
31455         (__ASSUME_F_GETOWN_EX): Remove macro.
31456         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
31457         <kernel-features.h>.
31458         (miss_F_GETOWN_EX): Remove variable or macro.
31459         (do_fcntl): Do not check miss_F_GETOWN_EX.
31460         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
31462         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
31463         Remove macro.
31464         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
31465         [!__ASSUME_AT_RANDOM]: Remove conditional code.
31466         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
31468         * sysdeps/unix/sysv/linux/kernel-features.h
31469         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
31470         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
31471         [ADJ_OFFSET_SS_READ]: Make code unconditional.
31472         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
31474 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31476         [BZ #17075]
31477         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
31478         Fix calculation of the symbol's value.
31479         * sysdeps/arm/tst-armtlsdescloc.c: New file.
31480         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
31481         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
31482         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
31483         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
31484         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
31485         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
31486         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
31487         (modules-names): Add `tst-armtlsdescmod',
31488         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
31489         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
31490         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31491         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
31492         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
31493         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31494         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
31495         ($(objpfx)tst-armtlsdescloc): New dependency.
31496         ($(objpfx)tst-armtlsdescextnow): Likewise.
31497         ($(objpfx)tst-armtlsdescextlazy): Likewise.
31498         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
31499         TLS scheme support.
31500         * sysdeps/arm/configure: Regenerate.
31502 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31504         * include/fcntl.h (__atfct_seterrno): Remove prototype.
31505         (__atfct_seterrno_2): Likewise.
31506         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
31507         <kernel-features.h>.
31508         (__ASSUME_ATFCTS): Do not undefine and redefine.
31509         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
31510         (__have_atfcts): Remove conditional definition.
31511         (__fxstatat([__NR_fstatat64]: Make code unconditional.
31512         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
31513         unreachable if [__ASSUME_ATFCTS].
31514         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
31515         not undefine and redefine.
31516         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
31517         <kernel-features.h>.
31518         (faccessat) [__NR_faccessat]: Make code unconditional.
31519         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
31520         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
31521         <kernel-features.h>.
31522         (fchmodat) [__NR_fchmodat]: Make code unconditional.
31523         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31524         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
31525         <kernel-features.h>.
31526         (fchownat) [__NR_fchownat]: Make code unconditional.
31527         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
31528         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
31529         <kernel-features.h>.
31530         (futimesat) [__NR_futimesat]: Make code unconditional.
31531         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
31532         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31533         <kernel-features.h>.
31534         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31535         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31536         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31537         <kernel-features.h>.
31538         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
31539         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31540         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
31541         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31542         <kernel-features.h>.
31543         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
31544         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31545         * sysdeps/unix/sysv/linux/linkat.c: Do not include
31546         <kernel-features.h>.
31547         (linkat) [__NR_linkat]: Make code unconditional.
31548         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31549         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
31550         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
31551         <kernel-features.h>.
31552         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
31553         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31554         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
31555         <kernel-features.h>.
31556         (mkdirat) [__NR_mkdirat]: Make code unconditional.
31557         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
31558         * sysdeps/unix/sysv/linux/openat.c: Do not include
31559         <kernel-features.h>.
31560         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
31561         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
31562         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
31563         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
31564         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
31565         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
31566         <kernel-features.h>.
31567         (readlinkat) [__NR_readlinkat]: Make code unconditional.
31568         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
31569         result of INLINE_SYSCALL directly, not via int variable.
31570         * sysdeps/unix/sysv/linux/renameat.c: Do not include
31571         <kernel-features.h>.
31572         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
31573         (renameat) [__NR_renameat]: Make code unconditional.
31574         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
31575         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
31576         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
31577         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
31578         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
31579         (__ASSUME_ATFCTS): Do not undefine and redefine.
31580         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
31581         <kernel-features.h>.
31582         (symlinkat) [__NR_symlinkat]: Make code unconditional.
31583         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31584         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
31585         <kernel-features.h>.
31586         (unlinkat) [__NR_unlinkat]: Make code unconditional.
31587         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31588         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
31589         (__ASSUME_ATFCTS): Do not undefine and redefine.
31590         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31591         <kernel-features.h>.
31592         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31593         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31594         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31595         <kernel-features.h>.
31596         (__xmknodat) [__NR_mknodat]: Make code unconditional.
31597         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31599 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31601         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
31603 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
31605         [BZ #17069]
31606         * posix/regcomp.c (parse_reg_exp): Deallocate partially
31607         constructed tree before returning error.
31608         * posix/bug-regexp36.c: Expand test case.
31610 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
31612         [BZ #6803]
31613         * math/libm-test.inc (scalbln_test_date):
31614         Add errno expectations.
31615         * math/w_scalblnf.c: New File.
31616         Add wrapper which checks for setting errno to ERANGE.
31617         Add weak_alias for corresponding scalbln function.
31618         * math/w_scalbln.c: Likewise.
31619         * math/w_scalblnl.c: Likewise.
31620         * math/Makefile (libm-calls): Add w_scalbln.
31621         * sysdeps/ieee754/flt-32/s_scalblnf.c:
31622         Remove weak_alias for corresponding scalbln function.
31623         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31624         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31625         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31626         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31627         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
31628         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31629         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
31630         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31631         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
31632         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
31633         Remove long_double_symbol for scalblnl function in libm, libc.
31634         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
31635         Add wrapper which checks for setting errno to ERANGE.
31636         Add long_double_symbol for scalblnl function in libm, libc.
31637         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
31638         Remove long_double_symbol for scalblnl in libm.
31639         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
31640         Add wrapper which checks for setting errno to ERANGE.
31641         Add long_double_symbol for scalblnl function in libm.
31642         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
31643         Do not use wrapper because of own implementation.
31645 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
31647         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
31648         3 bytes for __pad1 for x32.
31649         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
31651 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
31652             H.J. Lu  <hongjiu.lu@intel.com>
31654         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
31655         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
31656         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31657         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31658         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31660 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
31662         [BZ #17069]
31663         * posix/regcomp.c (parse_expression): Deallocate partially
31664         constructed tree before returning error.
31665         * posix/Makefile.c (tests): Add bug-regex36.
31666         (generated): Add bug-regex36.mtrace.
31667         (tests-special): Add $(objpfx)bug-regex36-mem.out
31668         (bug-regex36-ENV): New variable.
31669         ($(objpfx)bug-regex36-mem.out): New rule.
31670         * posix/bug-regex36.c: New file.
31672 2014-06-19  Will Newton  <will.newton@linaro.org>
31674         * malloc/malloc.c (systrim): If extra is zero then return
31675         early.
31677 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31679         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31681 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
31683         * sysdeps/aarch64/strchr.S: New file.
31685 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31687         [BZ #17022]
31688         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31689         from arguments -2 or below.
31690         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31691         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31693 2014-06-18  Andreas Schwab  <schwab@suse.de>
31695         [BZ #17062]
31696         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31697         of a bracket expr not to run off the end of the string.
31698         * posix/Makefile (tests): Add tst-fnmatch3.
31699         * posix/tst-fnmatch3.c: New file.
31701 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31703         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31704         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31705         [$(cross-compiling) = no]: Likewise.
31706         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31707         [$(cross-compiling) = no]: Likewise.
31709 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31711         [BZ #17031]
31712         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31713         double, adjusted for any remainder from the high double.
31714         * math/libm-test.inc (nearbyint): Add tests.
31715         (rint): Likewise.
31717 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31719         * nptl/sysdeps/powerpc/Makefile: Moved ...
31720         * sysdeps/powerpc/nptl/Makefile: ... here.
31721         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31722         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31723         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31724         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31725         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31726         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31727         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31728         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31729         * nptl/sysdeps/powerpc/tls.h: Moved ...
31730         * sysdeps/powerpc/nptl/tls.h: ... here.
31732 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
31734         [BZ #16681]
31735         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31736         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31737         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31738         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31739         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31740         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31741         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31742         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31743         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31745 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
31747         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31749 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
31751         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31752         defined operator.
31754         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31755         $TIMEOUTFACTOR.
31757 2014-06-16  Florian Weimer  <fweimer@redhat.com>
31759         [BZ #17058]
31760         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31761         non-executed part of the test.
31763 2014-06-16  Andreas Schwab  <schwab@suse.de>
31765         * string/bits/string2.h (strdup, strndup): Update feature guard.
31767 2014-06-14  David S. Miller  <davem@davemloft.net>
31769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31771 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
31773         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31774         that was previously under [RESET_PID].
31775         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31777         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31778         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31779         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31780         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31781         (__libc_vfork): New strong alias.
31782         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31784 2014-06-14 Andi Kleen  <ak@linux.intel.com>
31786         * sysdeps/generic/elide.h: New file.
31788 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31790         * Makefile (installed-headers): Adjust path of pthread.h header.
31792 2014-06-13  Roland McGrath  <roland@hack.frob.com>
31794         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31795         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31796         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31797         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31799         * nptl/sysdeps/s390/Makefile: Moved ...
31800         * sysdeps/s390/nptl/Makefile: ... here.
31801         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31802         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31803         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31804         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31805         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31806         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31807         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31808         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31809         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31810         * sysdeps/s390/nptl/pthreaddef.h: ... here.
31811         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31812         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31813         * nptl/sysdeps/s390/tls.h: Moved ...
31814         * sysdeps/s390/nptl/tls.h: ... here.
31816         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31817         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31819 2014-06-13  David S. Miller  <davem@davemloft.net>
31821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31824         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31826         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31828         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31829         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31830         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31831         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31832         Remove RESET_PID cpp guards.
31833         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31834         Remove RESET_PID cpp guards.
31835         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31837 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
31839         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31840         __sp to uintptr_t.
31842 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31844         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31845         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31846         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31847         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31848         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31849         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31850         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31851         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31852         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31853         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31854         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31855         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31856         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31857         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31858         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31859         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31860         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31861         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31862         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31863         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31865         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31866         (pthread_rwlock_rdlock): Add elision.
31867         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31868         (pthread_rwlock_wrlock): Add elision.
31869         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31870         (pthread_rwlock_trywrlock): Add elision.
31871         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31872         (pthread_rwlock_tryrdlock): Add elision.
31873         * nptl/pthread_rwlock_unlock.c: Include elide.h.
31874         (pthread_rwlock_tryrdlock): Add elision unlock.
31875         * nptl/sysdeps/pthread/pthread.h:
31876         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31877         (PTHREAD_RWLOCK_INITIALIZER,
31878         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31879         Handle new elision field.
31880         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31881         * sysdeps/arm/nptl/bits/pthreadtypes.h
31882         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31883         * sysdeps/sh/nptl/bits/pthreadtypes.h
31884         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31885         * sysdeps/tile/nptl/bits/pthreadtypes.h
31886         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31887         * sysdeps/a/nptl/bits/pthreadtypes.h
31888         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31889         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31890         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31891         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31892         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31893         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31894         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31895         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31896         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31897         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31898         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31899         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31900         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31901         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31902         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31903         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31904         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31905         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31906         (elision_init): Set try_xbegin to zero when no RTM.
31907         * sysdeps/x86/nptl/bits/pthreadtypes.h
31908         (pthread_rwlock_t): Change __pad1 to __rwelision.
31909         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31911 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31913         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31914         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31915         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31916         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31918 2014-06-13  Meador Inge  <meadori@codesourcery.com>
31920         [BZ #16996]
31921         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31922         that the cached result has been set before returning it.
31924 2014-06-12  Roland McGrath  <roland@hack.frob.com>
31926         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31927         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31928         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31929         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31930         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31931         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31933         * nptl/sysdeps/sparc/Makefile: Moved ...
31934         * sysdeps/sparc/nptl/Makefile: ... here.
31935         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31936         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31937         * nptl/sysdeps/sparc/tls.h: Moved ...
31938         * sysdeps/sparc/nptl/tls.h: ... here.
31939         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31940         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31941         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31942         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31943         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31944         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31945         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31946         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31947         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31948         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31949         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31950         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31951         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31952         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31953         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31954         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31955         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31956         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31957         Update #include.
31958         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31959         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31960         Update #include.
31961         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31962         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31963         Update #include.
31964         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31965         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31966         Update #include.
31968         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31970         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31971         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31973         * sysdeps/pthread/posix-timer.h: Include <list.h>.
31974         (struct list_links): Type removed.
31975         (struct thread_node, struct timer_node): Replace struct list_links
31976         with struct list_head.
31977         (list_unlink_ip): Likewise.
31978         * sysdeps/pthread/timer_routines.c
31979         (timer_free_list, thread_free_list, thread_active_list): Likewise.
31980         (list_append, list_insbefore): Likewise.
31981         (list_init): Function removed.
31982         (thread_init, init_module): Use INIT_LIST_HEAD instead.
31983         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31984         * sysdeps/pthread/Makefile: ... here, new file.
31986         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31987         * sysdeps/nptl/Implies: ... here.
31988         * sysdeps/unix/sysv/linux/Implies: Add nptl.
31989         * nptl/sysdeps/pthread/list.h: Moved ...
31990         * include/list.h: ... here.
31991         * nptl/sysdeps/pthread/createthread.c: Moved ...
31992         * nptl/createthread.c: ... here.
31993         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31994         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31995         * nptl/pt-longjmp.c: ... here.
31996         * nptl/sysdeps/pthread/Makefile: Moved ...
31997         * sysdeps/nptl/Makefile: ... here.
31998         * nptl/sysdeps/pthread/Subdirs: Moved ...
31999         * sysdeps/nptl/Subdirs: ... here.
32000         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
32001         * sysdeps/nptl/aio_misc.h: ... here.
32002         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
32003         * sysdeps/nptl/bits/libc-lock.h: ... here.
32004         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
32005         * sysdeps/nptl/bits/libc-lockP.h: ... here.
32006         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
32007         * sysdeps/nptl/bits/stdio-lock.h: ... here.
32008         * nptl/sysdeps/pthread/configure: Moved ...
32009         * sysdeps/nptl/configure: ... here.
32010         * nptl/sysdeps/pthread/configure.ac: Moved ...
32011         * sysdeps/nptl/configure.ac: ... here.
32012         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
32013         * sysdeps/nptl/gai_misc.h: ... here.
32014         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
32015         * sysdeps/nptl/librt-cancellation.c: ... here.
32016         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
32017         * sysdeps/nptl/malloc-machine.h: ... here.
32018         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
32019         * sysdeps/nptl/pthread-functions.h: ... here.
32020         * nptl/sysdeps/pthread/pthread.h: Moved ...
32021         * sysdeps/nptl/pthread.h: ... here.
32022         * nptl/sysdeps/pthread/setxid.h: Moved ...
32023         * sysdeps/nptl/setxid.h: ... here.
32024         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
32025         * sysdeps/nptl/sigfillset.c: ... here.
32026         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
32027         * sysdeps/nptl/tcb-offsets.h: ... here.
32028         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
32029         * sysdeps/nptl/tst-mqueue8x.c: ... here.
32030         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
32031         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
32032         * nptl/sysdeps/pthread/allocalim.h: Moved ...
32033         * sysdeps/pthread/allocalim.h: ... here.
32034         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
32035         * sysdeps/pthread/bits/sigthread.h: ... here.
32036         * nptl/sysdeps/pthread/flockfile.c: Moved ...
32037         * sysdeps/pthread/flockfile.c: ... here.
32038         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
32039         * sysdeps/pthread/ftrylockfile.c: ... here.
32040         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
32041         * sysdeps/pthread/funlockfile.c: ... here.
32042         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
32043         * sysdeps/pthread/posix-timer.h: ... here.
32044         * nptl/sysdeps/pthread/timer_create.c: Moved ...
32045         * sysdeps/pthread/timer_create.c: ... here.
32046         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
32047         * sysdeps/pthread/timer_delete.c: ... here.
32048         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
32049         * sysdeps/pthread/timer_getoverr.c: ... here.
32050         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
32051         * sysdeps/pthread/timer_gettime.c: ... here.
32052         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
32053         * sysdeps/pthread/timer_routines.c: ... here.
32054         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
32055         * sysdeps/pthread/timer_settime.c: ... here.
32056         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
32057         * sysdeps/pthread/tst-timer.c: ... here.
32058         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
32059         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
32061         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
32062         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
32064         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
32065         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
32066         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
32067         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
32068         Update #include target.
32069         * nptl/sysdeps/i386/i686/Makefile: Moved ...
32070         * sysdeps/i386/i686/nptl/Makefile: ... here.
32071         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
32072         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
32073         Update #include target.
32074         * nptl/sysdeps/i386/i686/tls.h: Moved ...
32075         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
32076         * nptl/sysdeps/i386/Makefile: Moved ...
32077         * sysdeps/i386/nptl/Makefile: ... here.
32078         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
32079         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
32080         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
32081         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
32082         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
32083         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
32084         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
32085         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
32086         * sysdeps/i386/nptl/pthreaddef.h: ... here.
32087         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
32088         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
32089         * nptl/sysdeps/i386/tls.h: Moved ...
32090         * sysdeps/i386/nptl/tls.h: ... here.
32092         * sysdeps/sh/Makefile [$(subdir) = csu]
32093         (gen-as-const-headers): Add tcb-offsets.sym.
32094         * nptl/sysdeps/sh/Makefile: File removed.
32095         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
32096         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
32097         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
32098         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
32099         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
32100         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
32101         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
32102         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
32103         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
32104         * sysdeps/sh/nptl/pthreaddef.h: ... here.
32105         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
32106         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
32107         * nptl/sysdeps/sh/tls.h: Moved ...
32108         * sysdeps/sh/nptl/tls.h: ... here.
32109         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
32110         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
32111         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
32112         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
32113         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
32114         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
32115         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
32116         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
32117         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
32118         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
32119         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
32120         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
32121         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
32122         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
32123         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
32124         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
32125         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
32126         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
32127         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
32128         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
32129         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
32130         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
32131         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
32132         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
32133         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
32134         Moved ...
32135         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
32136         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
32137         Moved ...
32138         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
32139         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
32140         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
32141         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
32142         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
32143         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
32144         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
32145         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
32146         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
32147         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
32148         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
32149         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
32150         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
32151         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
32152         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
32153         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
32154         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
32155         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
32156         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
32158 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32160         * posix/spawn_faction_addopen.c: Include string.h.
32162 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32164         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
32165         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
32166         * nptl/sysdeps/x86_64/Makefile: Moved ...
32167         * sysdeps/x86_64/nptl/Makefile: ... here.
32168         * nptl/sysdeps/x86_64/configure: Moved ...
32169         * sysdeps/x86_64/nptl/configure: ... here.
32170         * nptl/sysdeps/x86_64/configure.ac: Moved ...
32171         * sysdeps/x86_64/nptl/configure.ac: ... here.
32172         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
32173         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
32174         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
32175         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
32176         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
32177         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
32178         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
32179         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
32180         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
32181         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
32182         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
32183         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
32184         * nptl/sysdeps/x86_64/tls.h: Moved ...
32185         * sysdeps/x86_64/nptl/tls.h: ... here.
32186         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
32187         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
32188         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
32189         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
32191         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
32193 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32197 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
32199         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
32200         type.
32201         [POSIX] (off_t): Likewise.
32202         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
32203         [POSIX] (S_ISBLK): Require macro.
32204         [POSIX] (S_ISCHR): Likewise.
32205         [POSIX] (S_ISDIR): Likewise.
32206         [POSIX] (S_ISFIFO): Likewise.
32207         [POSIX] (S_ISREG): Likewise.
32208         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
32209         optional-macro.
32210         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
32211         type.
32212         [POSIX] (time_t): Likewise.
32213         [POSIX] (timer_t): Likewise.
32215 2014-06-11  Florian Weimer  <fweimer@redhat.com>
32217         [BZ #17048]
32218         * posix/spawn_int.h (struct __spawn_action): Make the path string
32219         non-const to support deallocation.
32220         * posix/spawn_faction_addopen.c
32221         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
32222         * posix/spawn_faction_destroy.c
32223         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
32224         path in all spawn_do_open actions.
32225         * posix/tst-spawn.c (do_test): Exercise the copy operation in
32226         posix_spawn_file_actions_addopen.
32228 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
32230         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
32231         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
32232         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
32233         conditional code always true.
32234         (__libc_vfork): New alias.
32236 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32238         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32239         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
32241         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
32243         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32244         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
32246         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32247         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
32249         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32250         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
32252 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32254         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
32255         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
32256         multiarch strcmp for PPC64.
32257         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
32258         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
32259         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
32260         multiarch optimizations.
32261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32262         (__libc_ifunc_impl_list): Likewise.
32264 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32266         * benchtests/scripts/validate_benchout.py: New script.
32267         * benchtests/Makefile (bench-func): Call it.
32268         * benchtests/scripts/benchout.schema.json: New file.
32270 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
32272         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
32273         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
32274         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
32275         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
32276         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
32277         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
32278         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
32279         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
32280         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
32281         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
32282         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
32283         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
32284         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
32285         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
32286         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
32287         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
32288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
32289         Moved ...
32290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
32291         ... here.
32292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
32293         Moved ...
32294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
32295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
32296         Moved ...
32297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
32298         ... here.
32299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
32300         Moved ...
32301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
32302         ... here.
32303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
32304         Moved ...
32305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
32306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
32307         Moved ...
32308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
32309         ... here.
32310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
32311         Moved ...
32312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
32313         ... here.
32314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
32315         Moved ...
32316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
32317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
32318         Moved ...
32319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
32320         ... here.
32321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
32322         Moved ...
32323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
32324         ... here.
32325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
32326         Moved ...
32327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
32328         ... here.
32329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
32330         Moved ...
32331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
32332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
32333         Moved ...
32334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
32335         ... here.
32336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
32337         Moved ...
32338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
32339         ... here.
32340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
32341         Moved ...
32342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
32343         ... here.
32344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
32345         Moved ...
32346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
32347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
32348         Moved ...
32349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
32350         ... here.
32351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
32352         Moved ...
32353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
32354         ... here.
32355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
32356         Moved ...
32357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
32358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
32359         Moved ...
32360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
32361         ... here.
32362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
32363         Moved ...
32364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
32365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
32366         Moved ...
32367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
32368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
32369         Moved ...
32370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
32371         ... here.
32372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
32373         Moved ...
32374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
32375         ... here.
32376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
32377         Moved ...
32378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
32379         ... here.
32380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
32381         Moved ...
32382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
32383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
32384         Moved ...
32385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
32386         ... here.
32387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
32388         Moved ...
32389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
32390         ... here.
32391         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
32392         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
32393         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
32394         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
32395         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
32396         Moved ...
32397         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
32398         ... here.
32399         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
32400         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
32401         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
32402         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
32403         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
32404         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
32405         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
32406         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
32407         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
32408         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
32409         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
32410         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
32411         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
32412         Moved ...
32413         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
32414         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
32415         Moved ...
32416         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
32417         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
32418         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
32419         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
32420         Moved ...
32421         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
32422         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
32423         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
32424         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
32425         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
32426         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
32427         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
32429 2014-06-10  Wilco  <wdijkstr@arm.com>
32431         * math/test-fenv-return.c: New file.
32432         * math/Makefile: Add new test test-fenv-return.
32434 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
32436         [BZ #17042]
32437         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
32438         when x - 1 is zero.
32439         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
32440         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
32441         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
32442         0.0L for an argument of 1.0L.
32443         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
32444         Likewise.
32445         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
32446         value when x - 1 is zero.
32447         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
32448         * sysdeps/i386/fpu/libm-test-ulps: Update.
32449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32451 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
32453         [BZ #15119]
32454         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
32456 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32458         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
32459         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
32461 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32463         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32464         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
32466         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32467         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
32469         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32470         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
32472         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32473         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
32475         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
32476         if not already defined.
32477         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
32478         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
32479         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
32480         (TLS_INIT_TP): Use it.
32481         (TLS_DEFINE_INIT_TP): New macro.
32482         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
32484 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
32486         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
32487         constant.
32488         [POSIX] (IXANY): Likewise.
32489         [POSIX] (OLCUC): Likewise.
32490         [POSIX || POSIX2008] (CBAUD): Do not allow.
32491         [POSIX || POSIX2008] (DEFECHO): Likewise.
32492         [POSIX || POSIX2008] (ECHOCTL): Likewise.
32493         [POSIX || POSIX2008] (ECHOKE): Likewise.
32494         [POSIX || POSIX2008] (ECHOPRT): Likewise.
32495         [POSIX || POSIX2008] (EXTA): Likewise.
32496         [POSIX || POSIX2008] (EXTB): Likewise.
32497         [POSIX || POSIX2008] (FLUSHO): Likewise.
32498         [POSIX || POSIX2008] (LOBLK): Likewise.
32499         [POSIX || POSIX2008] (PENDIN): Likewise.
32500         [POSIX || POSIX2008] (SWTCH): Likewise.
32501         [POSIX || POSIX2008] (VDISCARD): Likewise.
32502         [POSIX || POSIX2008] (VDSUSP): Likewise.
32503         [POSIX || POSIX2008] (VLNEXT): Likewise.
32504         [POSIX || POSIX2008] (VREPRINT): Likewise.
32505         [POSIX || POSIX2008] (VSTATUS): Likewise.
32506         [POSIX || POSIX2008] (VWERASE): Likewise.
32507         (B*): Change to B[0123456789]*.
32508         * conform/data/time.h-data [POSIX || UNIX98]
32509         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
32510         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32511         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
32512         [POSIX] (tm_*): Do not allow.
32514 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
32516         * Makefile (install): Don't set LANGUAGE.
32517         * Makefile.in (install): Likewise.
32518         * assert/Makefile (test-assert-ENV): Remove variable.
32519         (test-assert-perr-ENV): Likewise.
32520         * elf/Makefile (neededtest4-ENV): Likewise.
32521         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32522         [$(cross-compiling) = no]: Don't set LANGUAGE.
32523         * io/ftwtest-sh (LANG): Remove variable.
32524         * libio/Makefile (tst-widetext-ENV): Likewise.
32525         * manual/install.texi (Running make install): Don't refer to
32526         environment settings for make install.
32527         * INSTALL: Regenerated.
32528         * nptl/tst-tls6.sh: Don't set LANG.
32529         * posix/globtest.sh (LANG): Remove variable.
32530         * string/Makefile (tester-ENV): Likewise.
32531         (inl-tester-ENV): Likewise.
32532         (noinl-tester-ENV): Likewise.
32533         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32534         [$(cross-compiling) = no]: Don't set LANGUAGE.
32535         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
32536         without explicit environment settings.
32538 2014-06-06  Roland McGrath  <roland@hack.frob.com>
32540         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
32541         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
32542         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
32543         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
32545 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
32547         * crypt/crypt-private.h [DOS]: Add some includes taken from the
32548         other files in the crypt directory.
32549         * crypt/crypt.c: Remove duplicate includes.
32550         * crypt/crypt-entry.c: Likewise.
32551         * crypt/crypt_util.c: Likewise.
32553 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
32555         * Makeconfig (run-program-env): New variable.
32556         (run-program-prefix-before-env): Likewise.
32557         (run-program-prefix-after-env): Likewise.
32558         (run-program-prefix): Define in terms of new variables.
32559         (built-program-cmd-before-env): New variable.
32560         (built-program-cmd-after-env): Likewise.
32561         (built-program-cmd): Define in terms of new variables.
32562         (test-program-prefix-before-env): New variable.
32563         (test-program-prefix-after-env): Likewise.
32564         (test-program-prefix): Define in terms of new variables.
32565         (test-program-cmd-before-env): New variable.
32566         (test-program-cmd-after-env): Likewise.
32567         (test-program-cmd): Define in terms of new variables.
32568         * Rules (make-test-out): Use $(run-program-env).
32569         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
32570         (help): Do not mention environment variables.  Mention
32571         --timeoutfactor option.
32572         (timeoutfactor): New variable.
32573         (blacklist_exports): Remove function.
32574         (exports): Remove variable.
32575         (command): Do not include ${exports}.
32576         * manual/install.texi (Configuring and compiling): Do not mention
32577         test wrappers preserving environment variables.  Mention that last
32578         assignment to a variable must take precedence.
32579         * INSTALL: Regenerated.
32580         * benchtests/Makefile (run-bench): Use $(run-program-env).
32581         * catgets/Makefile ($(objpfx)test1.cat): Use
32582         $(built-program-cmd-before-env), $(run-program-env) and
32583         $(built-program-cmd-after-env).
32584         ($(objpfx)test2.cat): Do not specify environment variables
32585         explicitly.
32586         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
32587         $(run-program-env) and $(built-program-cmd-after-env).
32588         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
32589         $(run-program-env) and $(test-program-cmd-after-env).
32590         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
32591         explicitly.
32592         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
32593         run_program_env and test_program_cmd_after_env arguments.
32594         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
32595         * elf/tst-pathopt.sh: Use run_program_env argument.
32596         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
32597         $(test-wrapper-env) and $(run-program-env).
32598         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
32599         run_program_env arguments.
32600         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
32601         * intl/Makefile ($(objpfx)tst-gettext.out): Use
32602         $(test-program-prefix-before-env), $(run-program-env) and
32603         $(test-program-prefix-after-env).
32604         ($(objpfx)tst-gettext2.out): Likewise.
32605         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
32606         run_program_env and test_program_prefix_after_env arguments.
32607         * intl/tst-gettext2.sh: Likewise.
32608         * intl/tst-gettext4.sh: Do not set environment variables
32609         explicitly.
32610         * intl/tst-gettext6.sh: Likewise.
32611         * intl/tst-translit.sh: Likewise.
32612         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
32613         $(test-program-prefix-before-env), $(run-program-env) and
32614         $(test-program-prefix-after-env).
32615         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
32616         run_program_env and test_program_prefix_after_env arguments.
32617         * math/Makefile (run-regen-ulps): Use $(run-program-env).
32618         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
32619         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
32620         explicitly with each use of ${test_wrapper_env}.
32621         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
32622         $(test-program-prefix-before-env), $(run-program-env) and
32623         $(test-program-prefix-after-env).
32624         * posix/tst-getconf.sh: Do not set environment variables
32625         explicitly.
32626         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
32627         run_program_env and test_program_prefix_after_env arguments.
32628         * stdio-common/tst-printf.sh: Do not set environment variables
32629         explicitly.
32630         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
32631         $(test-program-prefix-before-env), $(run-program-env) and
32632         $(test-program-prefix-after-env).
32633         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
32634         run_program_env and test_program_prefix_after_env arguments.
32635         Split $test calls into $test_pre and $test.
32636         * timezone/Makefile (build-testdata): Use
32637         $(built-program-cmd-before-env), $(run-program-env) and
32638         $(built-program-cmd-after-env).
32640 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32642         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
32643         strlen for non SHARED builds.
32645 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32647         * nptl/allocatestack.c (check_list): Inlined function...
32648         (__reclaim_stacks): ... here.
32650 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32652         [BZ #15698]
32653         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32654         memory overrun.
32656 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
32658         * Rules (make-test-out): Include
32659         LOCPATH=$(common-objpfx)localedata in default environment.
32660         * debug/Makefile (tst-chk1-ENV): Remove variable.
32661         (tst-chk2-ENV): Likewise.
32662         (tst-chk3-ENV): Likewise.
32663         (tst-chk4-ENV): Likewise.
32664         (tst-chk5-ENV): Likewise.
32665         (tst-chk6-ENV): Likewise.
32666         (tst-lfschk1-ENV): Likewise.
32667         (tst-lfschk2-ENV): Likewise.
32668         (tst-lfschk3-ENV): Likewise.
32669         (tst-lfschk4-ENV): Likewise.
32670         (tst-lfschk5-ENV): Likewise.
32671         (tst-lfschk6-ENV): Likewise.
32672         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
32673         (tst-iconv7-ENV): Likewise.
32674         * intl/Makefile (LOCPATH-ENV): Likewise.
32675         (tst-codeset-ENV): Likewise.
32676         (tst-gettext3-ENV): Likewise.
32677         (tst-gettext5-ENV): Likewise.
32678         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32679         (tst-fopenloc-ENV): Likewise.
32680         (tst-fgetws-ENV): Remove variable.
32681         (tst-ungetwc1-ENV): Likewise.
32682         (tst-ungetwc2-ENV): Likewise.
32683         (bug-ungetwc2-ENV): Likewise.
32684         (tst-swscanf-ENV): Likewise.
32685         (bug-ftell-ENV): Likewise.
32686         (tst-fgetwc-ENV): Likewise.
32687         (tst-fseek-ENV): Likewise.
32688         (tst-ftell-partial-wide-ENV): Likewise.
32689         (tst-ftell-active-handler-ENV): Likewise.
32690         (tst-ftell-append-ENV): Likewise.
32691         * posix/Makefile (tst-fnmatch-ENV): Likewise.
32692         (tst-regexloc-ENV): Likewise.
32693         (bug-regex1-ENV): Likewise.
32694         (tst-regex-ENV): Likewise.
32695         (tst-regex2-ENV): Likewise.
32696         (bug-regex5-ENV): Likewise.
32697         (bug-regex6-ENV): Likewise.
32698         (bug-regex17-ENV): Likewise.
32699         (bug-regex18-ENV): Likewise.
32700         (bug-regex19-ENV): Likewise.
32701         (bug-regex20-ENV): Likewise.
32702         (bug-regex22-ENV): Likewise.
32703         (bug-regex23-ENV): Likewise.
32704         (bug-regex25-ENV): Likewise.
32705         (bug-regex26-ENV): Likewise.
32706         (bug-regex30-ENV): Likewise.
32707         (bug-regex32-ENV): Likewise.
32708         (bug-regex33-ENV): Likewise.
32709         (bug-regex34-ENV): Likewise.
32710         (bug-regex35-ENV): Likewise.
32711         (tst-rxspencer-ENV): Likewise.
32712         (tst-rxspencer-no-utf8-ENV): Likewise.
32713         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32714         (tst-sscanf-ENV): Likewise.
32715         (tst-swprintf-ENV): Likewise.
32716         (tst-swscanf-ENV): Likewise.
32717         (test-vfprintf-ENV): Likewise.
32718         (scanf13-ENV): Likewise.
32719         (bug14-ENV): Likewise.
32720         (tst-grouping-ENV): Likewise.
32721         * stdlib/Makefile (tst-strtod-ENV): Likewise.
32722         (tst-strtod3-ENV): Likewise.
32723         (tst-strtod4-ENV): Likewise.
32724         (tst-strtod5-ENV): Likewise.
32725         (testmb2-ENV): Likewise./
32726         * string/Makefile (tst-strxfrm-ENV): Likewise.
32727         (tst-strxfrm2-ENV): Likewise.
32728         (bug-strcoll1-ENV): Likewise.
32729         (test-strcasecmp-ENV): Likewise.
32730         (test-strncasecmp-ENV): Likewise.
32731         * time/Makefile (tst-strptime-ENV): Likewise.
32732         (tst-ftime_l-ENV): Likewise.
32733         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32734         (tst-mbrtowc-ENV): Likewise.
32735         (tst-wcrtomb-ENV): Likewise.
32736         (tst-mbrtowc2-ENV): Likewise.
32737         (tst-c16c32-1-ENV): Likewise.
32738         (tst-mbsnrtowcs-ENV): Likewise.
32740 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32742         * manual/resource.texi (How to get information about the memory
32743         subsystem?): Fix typo.
32744         Reported by Peon de la Parra Ivan <peon@keba.com>
32746 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
32748         [BZ #16882]
32749         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32750         (pthread_spin_lock): Branch out of spin loop to proper location.
32751         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32752         (pthread_spin_lock): Likewise.
32754         * nptl/tst-spin4.c: New test.
32755         * nptl/Makefile (tests): Add tst-spin4.
32757 2014-06-03  Andreas Schwab  <schwab@suse.de>
32759         [BZ #15946]
32760         * resolv/res_send.c (send_dg): Reload file descriptor after
32761         calling reopen.
32763 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
32765         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32767 2014-06-03  Richard Henderson  <rth@redhat.com>
32769         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32770         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32771         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32772         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
32773         in the SAVE_PID block.
32774         (__libc_vfork): New alias.
32775         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32777         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32778         child in registers, not on the stack.  Remove RESET_PID conditionals.
32779         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32781 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32783         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32785 2014-06-03  Wilco  <wdijkstr@arm.com>
32787         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32788         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32789         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32790         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32791         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32792         Likewise.
32794 2014-06-03  Wilco  <wdijkstr@arm.com>
32796         * sysdeps/aarch64/fpu/math_private.h
32797         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32798         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32799         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32800         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32801         Fix declarations.
32803 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32805         * crypt/crypt-private.h: Include ufc-crypt.h.
32806         (__b64_from_24bit): Declare extern.
32807         * crypt/crypt_util.c(__b64_from_24bit): New function.
32808         (b64t): New static const variable.
32809         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32810         (b64t): Remove variable.
32811         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32812         * crypt/sha256-crypt.c: Include crypt-private.h.
32813         (b64t): Remove variable.
32814         (__sha256_crypt_r): Remove b64_from_24bit and replace
32815         with __b64_from_24bit.
32816         * crypt/sha512-crypt.c: Likewise.
32818 2014-06-02  Roland McGrath  <roland@hack.frob.com>
32820         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32821         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32822         Label the code __libc_vfork rather than __vfork.
32823         [!NOT_IN_libc] (vfork): Define as weak alias.
32824         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32825         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32826         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32828 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32830         * malloc/malloc.c (malloc_info): Fix format specifier for
32831         n_mmaps.
32833 2014-06-02  Wilco  <wdijkstr@arm.com>
32835         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32836         FPCR write.
32838 2014-06-02  Wilco  <wdijkstr@arm.com>
32840         [BZ #17009]
32841         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32842         Rewrite to reduce FPCR/FPSR accesses.
32844 2014-06-01  David S. Miller  <davem@davemloft.net>
32846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32848 2014-05-31  David S. Miller  <davem@davemloft.net>
32850         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32851         to occur in round to nearest mode when |x| >= 2.0
32853 2014-05-30  Richard Henderson  <rth@twiddle.net>
32855         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32856         (PSEUDO_RET_NOERRNO): Remove.
32857         (ret): Don't redefine.
32858         (ret_NOERRNO): Define in terms of ret.
32859         (ret_ERRVAL): Likewise.
32861         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32862         use of PSEUDO_RET; perform the error check directly.
32864 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
32866         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32867         with __int128_t.
32869 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32871         * malloc/malloc (malloc_info): Fix formatting.
32873 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32874             Roland McGrath  <roland@hack.frob.com>
32876         * malloc/malloc (malloc_info): Also print mmapped statistics.
32878 2014-05-30  Roland McGrath  <roland@hack.frob.com>
32880         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32881         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32883 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
32885         * malloc/malloc.c (malloc_info): Inline mi_arena.
32887 2014-05-29  Richard Henderson  <rth@twiddle.net>
32889         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32890         Remove comma before expanding ASM_ARGS_##nr.
32891         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32892         Make _x0 a strict output; make _x8 a strict input; adjust expansion
32893         of ASM_ARGS_##nr.
32894         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32895         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32896         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32897         (ASM_ARGS_1): Add leading comma.
32899         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32900         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32901         to __errno_location.
32902         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32903         Remove the expected plt for __errno_location.
32905         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32906         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32907         call to __read_tp.
32909         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32910         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
32911         it and break it down.
32912         (DOCARGS_0, DOCARGS_1): Do nothing.
32913         (DOCARGS_2): Update to store into the new stack frame.
32914         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32915         (UNDOCARGS_1): Update to restore from the new stack frame.
32916         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32917         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32919         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32920         (SINGLE_THREAD_P): New parameter for result regno.
32921         (PSEUDO): Update to match; use cbz instead of beq.
32923         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32924         Use ENTRY to define the _nocancel entry point.  Share the syscall
32925         and syscall error check paths with the cancel path.
32926         (PSEUDO_END): New.
32928         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32929         whitespace; tabs before and after asm mnemonics.
32931 2014-05-29  Eric Wong  <normalperson@yhbt.net>
32933         [BZ #15132]
32934         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32935         Call fstat64 or stat64 internally, depending on arguments passed.
32936         Replace stat buffer argument with file descriptor argument.
32937         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32938         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32939         Pass fd to __internal_statvfs instead of calling fstat64.
32940         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32941         Pass fd to __internal_statvfs64 instead of calling fstat64.
32942         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32943         Pass -1 to __internal_statvfs instead of calling stat64.
32944         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32945         Pass -1 to __internal_statvfs64 instead of calling stat64.
32947 2014-05-28  Roland McGrath  <roland@hack.frob.com>
32949         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32950         that was previously under [RESET_PID].
32951         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32953         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32954         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32956 2014-05-27  Roland McGrath  <roland@hack.frob.com>
32958         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32960         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32961         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32963 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
32965         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32967 2014-05-27  Andreas Schwab  <schwab@suse.de>
32969         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32970         TLS_INIT_TP macro.
32971         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32972         * elf/rtld.c (init_tls, dl_main): Likewise.
32973         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32974         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32975         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32976         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32977         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32978         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32979         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32980         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32981         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32982         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32983         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32984         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32985         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32986         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32987         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32988         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32989         * sysdeps/generic/tls.h: Update description.
32991 2014-05-27  Will Newton  <will.newton@linaro.org>
32993         [BZ #16990]
32994         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32995         and restore r2 rather than just restoring.
32997 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32999         [BZ #16724]
33000         * libio/tst-ftell-append.c: New test case.
33001         * libio/Makefile (tests): Add test case.
33002         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
33003         append mode.
33004         * libio/wfileops.c (do_ftell_wide): Likewise.
33006 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33010         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
33011         ...
33012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
33013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33014         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
33015         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
33016         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
33017         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
33018         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
33019         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
33020         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33021         Moved ...
33022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
33023         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33024         Moved ...
33025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
33026         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
33027         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
33028         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
33029         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
33030         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
33031         ...
33032         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
33033         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
33034         Moved ...
33035         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
33036         here.
33037         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
33038         ...
33039         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
33040         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
33041         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
33043         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
33044         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
33045         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
33046         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
33048         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
33049         merge into ...
33050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
33051         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
33052         ...
33053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
33054         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
33055         ...
33056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
33057         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33058         Moved ...
33059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
33060         here.
33061         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33062         Moved ...
33063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
33064         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33065         Moved ...
33066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
33068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
33069         conditional [RESET_PID].
33070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
33071         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
33072         removed.
33073         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
33074         removed.
33076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
33077         <tcb-offsets.h>.
33078         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33079         (__libc_vfork): New strong alias.
33080         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
33081         removed.
33082         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
33083         Removed.
33085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
33086         <tcb-offsets.h>.
33087         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
33088         (__libc_vfork): New strong alias.
33089         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
33090         removed.
33091         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
33092         removed.
33094 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
33096         * malloc/malloc.c (mi_arena): New function.
33097         (malloc_info): Remove nested function mi_arena. Call non-nosted
33098         function mi_arena.
33100 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33102         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
33103         by insrwi.
33104         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33105         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33106         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
33107         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
33108         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
33109         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
33110         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
33112 2014-05-26  Andreas Schwab  <schwab@suse.de>
33114         [BZ #16984]
33115         * locale/programs/repertoire.c (repertoire_read): Add slash
33116         between I18NPATH element and file name.
33117         * locale/programs/locfile.c (locfile_read): Likewise.
33119 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33121         * nptl/pthread_mutexattr_settype.c
33122         (__pthread_mutexattr_settype):
33123         Disable lock elision for PTHREAD_MUTEX_NORMAL.
33125 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33127         * nptl/tst-mutex5 (do_test):
33128         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
33130 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33132         * benchtests/README: Document 'init' directive.
33133         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
33134         BENCH_INIT.
33135         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
33136         (parse_file): Recognize 'init' directive.
33138 2014-05-26  Kyle McMartin  <kyle@redhat.com>
33140         [BZ #16796]
33141         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
33142         alignment of struct pthread.
33144 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33146         [BZ #16878]
33147         * nscd/netgroupcache.c (addgetnetgrentX): Look for
33148         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33149         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
33150         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33152 2014-05-25  Richard Henderson  <rth@twiddle.net>
33154         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33155         (SINGLE_THREAD_P_PIC): Remove.
33156         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
33157         (SINGLE_THREAD_P_PIC): Remove.
33159         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
33160         branch to syscall error ...
33161         (PSEUDO): ... here.
33162         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
33163         from __local_syscall_error to .Lsyscall_error.
33164         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
33165         (SYSCALL_ERROR): Update label name.
33167         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33168         Do not use DOARGS/UNDOARGS.
33169         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
33170         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
33171         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
33172         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
33173         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
33175         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
33176         block comment.
33178         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
33179         define if !NOT_IN_libc.
33180         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
33181         define with non-default symbol versions.
33183 2014-05-23  Richard Henderson  <rth@twiddle.net>
33185         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
33186         (vfork, __vfork): Define via compat_symbol.
33188         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
33189         [!HAVE_IFUNC] (vfork_compat): Remove.
33190         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
33192 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33194         [BZ #16978]
33195         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
33196         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
33197         variable.
33199 2014-05-23  Richard Henderson  <rth@twiddle.net>
33201         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
33202         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
33203         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
33204         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
33206         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
33207         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
33208         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
33209         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
33210         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
33211         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
33212         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
33213         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
33214         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
33215         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
33216         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
33217         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
33218         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
33219         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
33220         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
33221         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
33222         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
33223         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
33224         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
33225         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
33226         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
33227         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
33228         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
33229         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
33230         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
33231         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
33232         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
33233         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
33234         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
33235         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
33236         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
33237         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
33238         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
33239         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
33240         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
33241         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
33242         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
33243         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
33244         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
33245         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
33246         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
33247         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
33248         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
33249         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
33250         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
33251         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
33252         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
33253         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
33254         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
33255         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
33256         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
33257         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
33258         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
33259         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
33260         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
33261         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
33263         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
33264         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
33265         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
33266         before exiting on error.
33267         (__libc_vfork): New strong alias.
33268         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
33269         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
33271         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
33272         that was previously under [RESET_PID].
33273         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
33275         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
33277 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33279         [BZ #16977]
33280         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
33281         value when x - 1 is zero.
33282         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
33283         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
33284         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
33285         0.0L for an argument of 1.0L.
33286         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
33287         Likewise.
33288         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
33289         value when x - 1 is zero.
33290         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
33291         * sysdeps/i386/fpu/libm-test-ulps: Update.
33292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33294 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33296         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
33297         alphasort and versionsort.
33299 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33301         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
33302         macro.
33303         [copysignf]: Likewise.
33305 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33307         * crypt/md5-crypt.c: Fix formatting.
33309 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33311         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
33312         (b64_from_24bit): New function.
33314 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33316         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
33317         libc_hidden_builtin_def to ifunc.
33318         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33319         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
33321 2014-05-21  Roland McGrath  <roland@hack.frob.com>
33323         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
33324         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
33326 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
33328         * nscd/Depend (linuxthreads): Remove.
33329         (nptl): Add.
33330         * resolv/Depend (linuxthreads): Remove.
33331         * rt/Depend (linuxthreads): Remove.
33333         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
33334         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
33335         $(common-objpfx)elf/.
33336         (link-libc-before-gnulib): Likewise.
33337         (elfobjdir): Remove variable.
33338         * Makefile (install): Use $(elf-objpfx) instead of
33339         $(common-objpfx)elf/.
33340         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
33341         $(elfobjdir)/.
33342         (link-libc-deps): Likewise.
33343         ($(common-objpfx)libc.so): Likewise.
33344         ($(common-objpfx)linkobj/libc.so): Likewise.
33345         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
33346         instead of $(common-objpfx)elf/.
33347         (symbolic-link-list): Likewise.
33348         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33349         [$(cross-compiling) = no]: Likewise.
33350         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
33351         $(elfobjdir)/.
33352         (static-gnulib-arch): Likewise.
33353         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33354         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
33355         $(common-objpfx)elf/.
33357 2014-05-21  Richard Henderson  <rth@redhat.com>
33359         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33360         (SINGLE_THREAD_P): Use the correct width load.  Fold
33361         into the ldr offset.
33363         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
33364         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
33366 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
33368         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
33369         (libgcc_s_resume): Use __attribute_used__.
33370         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
33371         Likewise.
33373 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33375         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
33376         optimization when used with float constants.
33378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33380 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
33382         [BZ #16915]
33383         * locale/nl_langinfo_l.c: Make direct reference to every
33384         _nl_current_CATEGORY symbol.
33385         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
33386         (tests-static): Add tst-langinfo-static.
33387         (tests-special): Add tst-langinfo-static.out.
33388         ($(objpfx)tst-langinfo.out): Redirect output.
33389         ($(objpfx)tst-langinfo-static.out): New.
33390         * localedata/tst-langinfo.sh: Send output to stdout.
33391         * localedata/tst-langinfo-static.c: New file.
33393         [BZ #16965]
33394         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
33395         when the shift amount is modulo the limb size.
33397 2014-05-20  Richard Henderson  <rth@redhat.com>
33399         [BZ #16967]
33400         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
33401         Change type of sa_flags from unsigned int to int.
33403         [BZ #16966]
33404         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
33406         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
33408 2014-05-20  Will Newton  <will.newton@linaro.org>
33410         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33411         Test the return value of the system call in the nocancel case.
33413 2014-05-20  Will Newton  <will.newton@linaro.org>
33414             Yvan Roux  <yvan.roux@linaro.org>
33416         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
33417         #include of asm/ptrace.h.
33418         (PTRACE_GET_THREAD_AREA): Remove #undef.
33419         (PTRACE_GETHBPREGS): Likewise.
33420         (PTRACE_SETHBPREGS): Likewise.
33421         (struct user_regs_struct): New structure.
33422         (struct user_fpsimd_struct): New structure.
33423         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
33424         #include of asm/ptrace.h and second #include of sys/user.h.
33425         (PTRACE_GET_THREAD_AREA): Remove #undef.
33426         (PTRACE_GETHBPREGS): Likewise.
33427         (PTRACE_SETHBPREGS): Likewise.
33428         (ELF_NGREG): Use new struct user_regs_struct.
33429         (elf_fpregset_t): Use new struct user_fpsimd_struct.
33431 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33433         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
33434         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
33436 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
33438         [BZ #16958]
33439         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
33440         membar to avoid block loads/stores to overlap previous stores.
33442 2014-05-17  Richard Henderson  <rth@redhat.com>
33444         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
33445         Create the __##syscall_name##_nocancel entry point.
33446         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
33447         Remove; let the sysdep-cancel.h code create it.
33449 2014-05-17  David S. Miller  <davem@davemloft.net>
33451         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
33452         Protect with __USE_GNU.
33453         (TIOCSET_TEMPT): Likewise.
33454         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33455         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
33456         these are already provided in bits/ioctl-types.h
33458 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33460         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
33461         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
33463         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
33464         Use wait4 regardless of [__NR_waitpid].
33466 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33468         PR libgcc/60166
33469         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33470         (_FP_NANSIGN_Q): Set the quiet bit.
33472 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
33474         * benchtests/Makefile
33475         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
33476         not $(common-objpfx)math/libm.so.
33477         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
33478         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
33479         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
33480         $(common-objpfx)dlfcn/libdl.so.
33481         ($(objpfx)tst-audit8): Depend on $(libm), not
33482         $(common-objpfx)math/libm.so.
33483         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
33484         not $(common-objpfx)dlfcn/libdl.so.
33485         * math/Makefile
33486         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33487         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
33488         [$(build-shared) = yes].
33489         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
33490         $(common-objpfx)nptl/libpthread.so.
33491         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
33492         $(common-objpfx)math/libm.so$(libm.so-version) or
33493         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
33494         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
33495         $(common-objpfx)dlfcn/libdl.so.
33496         * setjmp/Makefile (link-libm): Remove variable.
33497         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
33498         * stdio-common/Makefile (link-libm): Remove variable.
33499         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
33500         * stdlib/Makefile (link-libm): Remove variable.
33501         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
33502         ($(objpfx)tst-strtod-round): Likewise.
33503         ($(objpfx)tst-tininess): Likewise.
33504         ($(objpfx)tst-strtod-underflow): Likewise.
33505         ($(objpfx)tst-strtod6): Likewise.
33506         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
33507         $(libdl), not $(common-objpfx)nptl/libpthread.so and
33508         $(common-objpfx)dlfcn/libdl.so.
33510 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33512         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
33513         BSD terminal modes definitions.
33515 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33517         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
33518         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
33520         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
33521         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
33522         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
33523         Don't do #include_next.
33524         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
33525         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
33526         Don't do #include_next.
33527         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
33528         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
33529         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
33530         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
33532 2014-05-16  Allan McRae  <allan@archlinux.org>
33534         * po/sv.po: Update Swedish translation from translation project.
33536         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
33537         in sed expression.
33539 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
33541         [BZ #16917]
33542         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
33543         errno if the TIOCGPTN ioctl fails with an error different than
33544         EINVAL.
33545         * login/tst-ptsname.c: New file.
33546         * login/Makefile (tests): Add tst-ptsname.
33548         [BZ #16943]
33549         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
33550         and prlimit64.
33552 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33554         [BZ #16849]
33555         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
33556         herrno to return EAI_AGAIN.
33558 2014-05-14  Roland McGrath  <roland@hack.frob.com>
33560         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
33561         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
33562         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
33563         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
33564         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
33565         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
33566         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
33567         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
33568         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
33569         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
33570         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
33571         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
33572         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
33573         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
33574         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
33575         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
33576         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
33577         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
33578         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
33579         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
33580         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
33581         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
33582         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
33583         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
33584         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
33585         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
33586         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
33587         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
33588         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
33589         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
33590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
33591         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
33592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
33593         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
33594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33595         Moved ...
33596         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
33597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
33598         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
33599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
33600         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
33601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
33602         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
33603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
33604         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
33605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
33606         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
33607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
33608         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
33609         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
33610         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
33611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
33612         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
33613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
33614         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
33615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
33616         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
33617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
33618         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
33619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
33620         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
33621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
33622         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
33623         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33624         Moved ...
33625         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
33626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
33627         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
33628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
33629         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
33630         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
33631         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
33632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
33633         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
33634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
33635         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
33636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
33637         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
33638         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
33639         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
33640         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
33641         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
33642         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
33643         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
33644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33645         Moved ...
33646         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
33647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
33648         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
33650         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
33651         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
33652         (libpthread-sysdep_routines): Add elision-related stuff here instead.
33653         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
33654         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
33655         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
33656         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
33657         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
33658         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
33659         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
33660         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
33661         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
33662         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
33663         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
33664         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
33665         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
33666         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
33667         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
33668         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
33669         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
33670         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
33671         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
33672         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
33673         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33674         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33675         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33676         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33677         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33678         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33679         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33680         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33682         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33683         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33685         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33686         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33687         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33688         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33689         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33690         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33691         Moved ...
33692         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33693         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33694         Moved ...
33695         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33696         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33697         Moved ...
33698         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33699         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33700         Moved ...
33701         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33702         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33703         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33704         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33705         Moved ...
33706         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33707         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33708         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33709         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33710         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33711         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33712         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33713         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33714         Moved ...
33715         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33716         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33717         Moved ...
33718         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33719         ... here.
33720         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33721         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33722         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33723         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33724         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33725         Moved ...
33726         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33727         ... here.
33728         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33729         Moved ...
33730         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33731         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33732         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33733         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33734         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33735         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33736         Moved ...
33737         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33738         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33739         Moved ...
33740         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33741         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33742         Moved ...
33743         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33744         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33745         Moved ...
33746         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33747         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33748         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33749         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33750         Moved ...
33751         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33752         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33753         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33754         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33755         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33756         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33757         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33758         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33759         Moved ...
33760         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33761         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33762         Moved ...
33763         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33764         ... here.
33765         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33766         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33767         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33768         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33769         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33770         Moved ...
33771         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33772         ... here.
33773         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33774         Moved ...
33775         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33776         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33777         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33778         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33779         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33780         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33781         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33782         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33783         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33784         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33785         Moved ...
33786         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33787         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33788         Moved ...
33789         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33790         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33791         Moved ...
33792         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33793         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33794         Moved ...
33795         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33796         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33797         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33798         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33799         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33800         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33801         Moved ...
33802         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33803         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33804         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33805         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33806         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33807         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33808         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33809         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33810         Moved ...
33811         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33812         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33813         Moved ...
33814         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33815         ... here.
33816         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33817         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33818         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33819         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33820         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33821         Moved ...
33822         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33823         ... here.
33824         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33825         Moved ...
33826         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33827         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33828         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33829         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33830         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33831         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33832         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33833         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33834         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33835         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33836         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33838         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33839         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33841         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33842         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33844         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33845         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33846         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33847         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33848         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33849         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33850         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33851         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33852         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33853         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33854         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33855         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33856         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33857         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33858         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33859         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33860         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33861         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33862         Moved ...
33863         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33864         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33865         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33866         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33867         Moved ...
33868         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33869         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33870         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33871         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33872         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33873         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33874         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33875         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33876         Moved ...
33877         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33878         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33879         Moved ...
33880         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33881         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33882         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33883         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33884         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33885         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33886         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33887         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33888         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33889         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33890         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33891         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33892         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33893         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33894         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33895         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33896         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33898         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33899         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33900         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33901         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33902         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33904         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33905         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33906         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33907         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33908         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33909         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33910         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33911         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33912         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33913         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33915         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33916         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33918         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33919         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33920         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33921         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33922         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33923         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33924         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33925         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33926         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33927         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33928         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33929         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33930         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33931         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33932         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33933         Update #include.
33934         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33935         Likewise.
33936         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33937         Likewise.
33938         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33939         Likewise.
33940         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33941         Likewise.
33942         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33943         Likewise.
33944         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33945         Likewise.
33946         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33947         Likewise.
33948         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33949         Likewise.
33950         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33951         Likewise.
33952         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33953         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33954         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33955         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33956         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33957         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33958         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33959         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33960         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33961         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33962         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33963         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33964         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33965         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
33966         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
33968         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33969         that was previously under [RESET_PID].
33970         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33971         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33972         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33974         * sysdeps/i386/nptl/Implies: New file.
33975         * sysdeps/x86_64/nptl/Implies: New file.
33976         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33977         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33978         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33979         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33981         * sysdeps/unix/sysv/linux/i386/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         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33985         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33987         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33988         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33989         (__libc_vfork): New strong alias.
33990         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33991         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33993         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33994         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33995         (__libc_vfork): New strong alias.
33996         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33997         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33998         * nptl/pt-vfork.c: New file.
33999         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
34000         (libpthread: GLIBC_2.20): New version set (empty).
34002 2014-05-14  Will Newton  <will.newton@linaro.org>
34004         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
34005         rather than #if.
34007 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34009         [BZ #16564]
34010         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
34011         arguments with exponent 65 or above.
34012         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
34013         arguments 0x1p113L or above.
34014         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
34015         to arguments 0x1p107L or above.
34016         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
34017         positive arguments with exponent 65 or above.
34018         * math/auto-libm-test-in: Add more tests of log1p.
34019         * math/auto-libm-test-out: Regenerated.
34021         [BZ #16928]
34022         * math/s_cacos.c (__cacos): Ensure zero real part of result from
34023         non-finite arguments is +0.
34024         * math/s_cacosf.c (__cacosf): Likewise.
34025         * math/s_cacosl.c (__cacosl): Likewise.
34026         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
34027         * sysdeps/i386/fpu/libm-test-ulps: Update.
34028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34030         [BZ #16927]
34031         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
34032         value.
34033         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
34034         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
34035         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
34036         for explicit high bit of mantissa when testing for argument equal
34037         to 1.
34038         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
34039         * sysdeps/i386/fpu/libm-test-ulps: Update.
34040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34042         [BZ #16516]
34043         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
34044         (__erf): Scale by 16 instead of 8 in potentially underflowing
34045         case.  Ensure exception if result actually underflows.
34046         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
34047         (__erff): Scale by 16 instead of 8 in potentially underflowing
34048         case.  Ensure exception if result actually underflows.
34049         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
34050         (efx8): Remove variable.
34051         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34052         case.  Ensure exception if result actually underflows.
34053         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
34054         (efx8): Remove variable.
34055         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34056         case.  Ensure exception if result actually underflows.
34057         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
34058         (efx8): Remove variable.
34059         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34060         case.  Ensure exception if result actually underflows.
34061         * math/auto-libm-test-in: Add more tests of erf.
34062         * math/auto-libm-test-out: Regenerated.
34064 2014-05-14  Andreas Schwab  <schwab@suse.de>
34066         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
34067         Remove code conditionalized on USE___THREAD.
34069         * config.h.in (HAVE_PT_CHOWN): Define as 0.
34070         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
34071         not definedness.
34073 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34075         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
34076         Define unconditionally.
34077         (__ASSUME_O_CLOEXEC): Likewise.
34078         (__ASSUME_SOCK_CLOEXEC): Likewise.
34079         (__ASSUME_IN_NONBLOCK): Likewise.
34080         (__ASSUME_PIPE2): Likewise.
34081         (__ASSUME_EVENTFD2): Likewise.
34082         (__ASSUME_SIGNALFD4): Likewise.
34083         (__ASSUME_DUP3): Likewise.
34084         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34085         (__ASSUME_DUP3): Do not define.
34086         (__ASSUME_EVENTFD2): Likewise.
34087         (__ASSUME_IN_NONBLOCK): Likewise.
34088         (__ASSUME_O_CLOEXEC): Likewise.
34089         (__ASSUME_PIPE2): Likewise.
34090         (__ASSUME_SIGNALFD4): Likewise.
34091         (__ASSUME_SOCK_CLOEXEC): Likewise.
34092         (__ASSUME_UTIMES): Undefine.
34093         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34094         (__ASSUME_UTIMES): Do not define.
34095         (__ASSUME_O_CLOEXEC): Likewise.
34096         (__ASSUME_SOCK_CLOEXEC): Likewise.
34097         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
34098         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
34099         0x020621].
34100         (__ASSUME_PIPE2): Likewise.
34101         (__ASSUME_EVENTFD2): Likewise.
34102         (__ASSUME_SIGNALFD4): Likewise.
34103         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
34104         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
34105         Do not define.
34106         (__ASSUME_EVENTFD2): Likewise.
34107         (__ASSUME_SIGNALFD4): Likewise.
34108         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34109         (__ASSUME_32BITUIDS): Likewise.
34110         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34111         (__ASSUME_IPC64): Likewise.
34112         (__ASSUME_ST_INO_64_BIT): Likewise.
34113         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
34114         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
34115         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34116         (__ASSUME_UTIMES): Do not define.
34117         (__ASSUME_PSELECT): Likewise.
34118         (__ASSUME_PPOLL): Likewise.
34119         (__ASSUME_O_CLOEXEC): Likewise.
34120         (__ASSUME_SOCK_CLOEXEC): Likewise.
34121         (__ASSUME_IN_NONBLOCK): Likewise.
34122         (__ASSUME_PIPE2): Likewise.
34123         (__ASSUME_EVENTFD2): Likewise.
34124         (__ASSUME_SIGNALFD4): Likewise.
34125         (__ASSUME_DUP3): Likewise.
34126         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34127         (__ASSUME_UTIMES): Likewise.
34128         (__ASSUME_O_CLOEXEC): Likewise.
34129         (__ASSUME_SOCK_CLOEXEC): Likewise.
34130         (__ASSUME_IN_NONBLOCK): Likewise.
34131         (__ASSUME_PIPE2): Likewise.
34132         (__ASSUME_EVENTFD2): Likewise.
34133         (__ASSUME_SIGNALFD4): Likewise.
34134         (__ASSUME_DUP3): Likewise.
34135         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34136         (__ASSUME_UTIMES): Likewise.
34137         (__ASSUME_O_CLOEXEC): Likewise.
34138         (__ASSUME_SOCK_CLOEXEC): Likewise.
34139         (__ASSUME_IN_NONBLOCK): Likewise.
34140         (__ASSUME_PIPE2): Likewise.
34141         (__ASSUME_EVENTFD2): Likewise.
34142         (__ASSUME_SIGNALFD4): Likewise.
34143         (__ASSUME_DUP3): Likewise.
34144         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
34145         Likewise.
34146         (__ASSUME_UTIMES): Likewise.
34147         (__ASSUME_EVENTFD2): Likewise.
34148         (__ASSUME_SIGNALFD4): Likewise.
34149         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34150         (__ASSUME_O_CLOEXEC): Likewise.
34151         (__ASSUME_SOCK_CLOEXEC): Likewise.
34152         (__ASSUME_IN_NONBLOCK): Likewise.
34153         (__ASSUME_PIPE2): Likewise.
34154         (__ASSUME_EVENTFD2): Likewise.
34155         (__ASSUME_SIGNALFD4): Likewise.
34156         (__ASSUME_DUP3): Likewise.
34157         (__ASSUME_UTIMES): Undefine.
34159         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
34160         feclearexcept.  Remove symbol versioning code.
34161         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
34162         symbol versioning code.
34163         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
34164         symbol versioning code.
34165         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
34166         feupdateenv.  Remove symbol versioning code.
34167         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
34168         fegetexceptflag.  Remove symbol versioning code.
34169         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
34170         fesetexceptflag.  Remove symbol versioning code.
34171         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
34172         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
34173         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
34174         (__posix_fadvise64_l32): Remove prototype.
34175         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
34176         code.
34178 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34180         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
34181         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
34182         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
34183         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
34185 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
34187         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
34188         current working directory
34190 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34192         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
34193         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
34194         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
34195         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
34196         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
34197         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
34198         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
34199         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
34200         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
34201         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
34202         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
34203         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
34204         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
34205         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
34206         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
34207         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
34208         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
34209         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
34210         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
34211         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
34212         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
34213         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
34214         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
34215         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
34216         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
34217         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
34218         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
34219         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
34220         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
34221         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
34222         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
34223         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
34224         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
34225         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
34226         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
34227         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
34228         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
34229         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
34230         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
34231         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
34232         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
34233         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
34235         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
34236         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
34238         * sysdeps/unix/sysv/linux/arm/Makefile
34239         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34240         Add rt-aeabi_unwind_cpp_pr1.
34241         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
34242         Add nptl-aeabi_unwind_cpp_pr1.
34243         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
34244         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
34245         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
34246         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34247         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
34248         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34250         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
34251         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
34252         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
34253         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
34255         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
34256         Deconditionalize the code that was previously under [RESET_PID].
34257         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
34259         * sysdeps/generic/exit-thread.h: New file.
34260         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
34261         * include/unistd.h (__exit_thread): Remove declaration.
34262         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
34263         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
34264         * csu/libc-start.c: Include <exit-thread.h>.
34265         (LIBC_START_MAIN): Pass no argument to __exit_thread.
34266         * nptl/pthread_create.c: Include <exit-thread.h>.
34267         (start_thread): Call __exit_thread in place of __exit_thread_inline.
34268         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
34269         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
34270         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
34271         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
34272         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
34273         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
34274         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
34275         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
34276         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
34277         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
34278         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
34279         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
34280         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
34281         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
34282         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
34283         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
34285 2014-05-13  Andreas Schwab  <schwab@suse.de>
34287         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
34289 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
34291         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34292         (__ASSUME_UTIMES): Do not condition on kernel version.
34293         (__ASSUME_PSELECT): Define unconditionally.
34294         (__ASSUME_PPOLL): Likewise.
34295         (__ASSUME_ATFCTS): Likewise.
34296         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
34297         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
34298         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
34299         (__ASSUME_UTIMENSAT): Define unconditionally.
34300         (__ASSUME_PRIVATE_FUTEX): Likewise.
34301         (__ASSUME_FALLOCATE): Likewise.
34302         (__ASSUME_O_CLOEXEC): Likewise.
34303         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
34304         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
34305         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
34306         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
34307         (__ASSUME_IN_NONBLOCK): Likewise.
34308         (__ASSUME_PIPE2): Likewise.
34309         (__ASSUME_EVENTFD2): Likewise.
34310         (__ASSUME_SIGNALFD4): Likewise.
34311         (__ASSUME_DUP3): Likewise.
34312         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34313         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
34314         (__ASSUME_AT_RANDOM): Likewise.
34315         (__ASSUME_PREADV): Likewise.
34316         (__ASSUME_PWRITEV): Likewise.
34317         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
34318         (__ASSUME_F_GETOWN_EX): Define unconditionally.
34319         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
34320         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34321         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
34322         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34323         (__ASSUME_O_CLOEXEC): Define unconditionally.
34324         (__ASSUME_PSELECT): Do not undefine conditionally.
34325         (__ASSUME_PPOLL): Likewise.
34326         (__ASSUME_ATFCTS): Likewise.
34327         (__ASSUME_SET_ROBUST_LIST): Likewise.
34328         (__ASSUME_UTIMENSAT): Likewise.
34329         (__ASSUME_FDATASYNC): Define unconditionally.
34330         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34331         (__ASSUME_SIGFRAME_V2): Likewise.
34332         )__ASSUME_EVENTFD2): Likewise.
34333         (__ASSUME_SIGNALFD4): Likewise.
34334         (__ASSUME_PSELECT): Do not undefine conditionally.
34335         (__ASSUME_PPOLL): Likewise.
34336         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34337         (__ASSUME_PSELECT): Define unconditionally.
34338         (__ASSUME_PPOLL): Likewise.
34339         (__ASSUME_O_CLOEXEC): Likewise.
34340         (__ASSUME_SOCK_CLOEXEC): Likewise.
34341         (__ASSUME_IN_NONBLOCK): Likewise.
34342         (__ASSUME_PIPE2): Likewise.
34343         (__ASSUME_EVENTFD2): Likewise.
34344         (__ASSUME_SIGNALFD4): Likewise.
34345         (__ASSUME_DUP3): Likewise.
34346         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34347         (__ASSUME_O_CLOEXEC): Likewise.
34348         (__ASSUME_SOCK_CLOEXEC): Likewise.
34349         (__ASSUME_IN_NONBLOCK): Likewise.
34350         (__ASSUME_PIPE2): Likewise.
34351         (__ASSUME_EVENTFD2): Likewise.
34352         (__ASSUME_SIGNALFD4): Likewise.
34353         (__ASSUME_DUP3): Likewise.
34354         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34355         (__ASSUME_EVENTFD2): Likewise.
34356         (__ASSUME_SIGNALFD4): Likewise.
34357         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34359 2014-05-12  Andreas Schwab  <schwab@suse.de>
34361         [BZ #16932]
34362         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
34363         (_nss_nis_gethostbyname4_r): Return error if item length is larger
34364         than maximum RPC packet size.
34365         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
34366         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
34367         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
34368         (_nss_nis_getservbyport_r): Likewise.
34370 2014-05-12  Will Newton  <will.newton@linaro.org>
34372         * malloc/Makefile (tests): Add tst-mallopt.
34373         * malloc/tst-mallopt.c: New file.
34375 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34377         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
34378         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
34380 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34382         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
34383         (tst-tlsmod6.so): Likewise.
34385 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34387         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
34389 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
34391         [BZ #16064]
34392         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
34393         and <dl-procinfo.h>.
34394         (__fegetenv): Save SSE state in envp->__eip if supported.
34395         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
34396         envp->__eip if supported.
34397         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
34398         and <dl-procinfo.h>.
34399         (__fesetenv): Always set __eip, __cs_selector, __opcode,
34400         __data_offset and __data_selector in environment to 0.  Set SSE
34401         state if supported.
34402         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
34403         test-fenv-sse.
34404         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
34405         -mfpmath=sse.
34406         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
34408 2014-05-09  Will Newton  <will.newton@linaro.org>
34410         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
34411         and libc_relro_required for ARM.
34412         * sysdeps/arm/preconfigure: Regenerate.
34414 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
34415             Stefan Liebler  <stli@linux.vnet.ibm.com>
34417         * config.make.in (enable-lock-elision): New Makefile variable.
34418         * configure.ac: Likewise.
34419         * configure: Regenerate.
34420         * sysdeps/s390/configure.ac:
34421         Add check for gcc transactions support.
34422         * sysdeps/s390/configure: Regenerate.
34423         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
34424         Build elision files if enabled.
34425         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
34426         Add lock elision support for s390.
34427         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
34428         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
34429         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
34430         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
34431         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
34432         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
34433         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34434         Likewise.
34435         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
34436         Likewise.
34437         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
34438         Likewise.
34439         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
34440         Likewise.
34441         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
34442         (__lll_timedlock_elision, __lll_lock_elision)
34443         (__lll_unlock_elision, __lll_trylock_elision)
34444         (lll_timedlock_elision, lll_lock_elision)
34445         (lll_unlock_elision, lll_trylock_elision): Add.
34446         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34447         (pthread_mutex_t): Add lock elision support for s390.
34449 2014-05-14  Wilco  <wdijkstr@arm.com>
34451         * sysdeps/arm/fclrexcpt.c: Cleanup.
34452         * sysdeps/arm/fedisblxcpt.c: Cleanup.
34453         * sysdeps/arm/feenablxcpt.c: Cleanup.
34454         * sysdeps/arm/fegetenv.c: Cleanup.
34455         * sysdeps/arm/fegetexcept.c: Cleanup.
34456         * sysdeps/arm/fegetround.c: Cleanup.
34457         * sysdeps/arm/feholdexcpt.c: Cleanup.
34458         * sysdeps/arm/fesetenv.c: Cleanup.
34459         * sysdeps/arm/fesetround.c: Cleanup.
34460         * sysdeps/arm/feupdateenv.c: Cleanup.
34461         * sysdeps/arm/fgetexcptflg.c: Cleanup.
34462         * sysdeps/arm/fraiseexcpt.c: Cleanup.
34463         * sysdeps/arm/fsetexcptflg.c: Cleanup.
34464         * sysdeps/arm/ftestexcept.c: Cleanup.
34465         * sysdeps/arm/get-rounding-mode.h: Cleanup.
34466         * sysdeps/arm/setfpucw.c: Cleanup.
34468 2014-05-09  Will Newton  <will.newton@linaro.org>
34470         * sysdeps/arm/armv7/strcmp.S: New file.
34471         * NEWS: Mention addition of ARMv7 optimized strcmp.
34473 2014-05-08  Roland McGrath  <roland@hack.frob.com>
34475         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
34476         look for %.ac rather than %.in.
34478         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
34479         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
34480         * sysdeps/mach/hurd/configure: Regenerated.
34481         * sysdeps/unix/sysv/linux/configure: Regenerated.
34483         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
34485 2014-05-07  Steve Ellcey  <sellcey@mips.com>
34487         [BZ# 16922]
34488         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
34489         (LONG_SUB): Ditto.
34490         (PTR_SUB): Ditto.
34492 2014-05-07  Andreas Schwab  <schwab@suse.de>
34494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
34495         when skipping over non-matching result from nscd.
34497 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
34499         [BZ #16876]
34500         * nptl/sockperf.c (client): Check socket return value.
34502         [BZ #16877]
34503         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
34504         nscd security class.
34506 2014-05-06  Roland McGrath  <roland@hack.frob.com>
34508         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
34509         * sysdeps/arm/unwind.h: ... here.
34511 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
34513         [BZ# 16916]
34514         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
34515         Define.
34517 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34519         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
34520         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
34521         multiarch strncpy for PPC64.
34522         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
34523         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
34524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
34525         multiarch optimizations.
34526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34527         (__libc_ifunc_impl_list): Likewise.
34528         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
34529         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
34530         multiarch stpncpy for PPC64.
34531         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
34532         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
34534 2014-05-06  Andreas Schwab  <schwab@suse.de>
34536         [BZ #16912]
34537         * gmon/mcount.c (_MCOUNT_DECL): Use
34538         atomic_compare_and_exchange_bool_acq instead of
34539         catomic_compare_and_exchange_bool_acq.
34541 2014-05-05  Roland McGrath  <roland@hack.frob.com>
34543         * elf/Makefile (others, install-bin): Remove pldd.
34544         (pldd-modules): Variable removed.
34545         ($(objpfx)pldd): Target removed.
34546         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
34547         (others, install-bin): Append pldd here.
34548         ($(objpfx)pldd): New target.
34550         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
34551         to 0, so the first #if test emitted later doesn't see it undefined.
34552         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
34553         * sysdeps/gnu/errlist.c: Regenerated.
34555 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34557         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34558         [libc_hidden_builtin_def]: Define to empty value.
34559         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
34560         [libc_hidden_builtin_def]: Likewise.
34561         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
34562         [libc_hidden_builtin_def]: Likewise.
34563         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
34564         [libc_hidden_builtin_def]: Likewise.
34565         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
34566         __redirect_memcpy and define ifunc as default hidden symbol.
34567         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
34568         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
34570 2014-05-04  Adam Conrad  <adconrad@0c3.net>
34572         * locale/iso-4217.def: Reintroduce XDR currency.
34574 2014-05-04  Allan McRae  <allan@archlinux.org>
34576         * po/eo.po: Update Esperanto translation from translation project.
34578 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
34580         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
34581         and FEATURE_INDEX_MAX to 1.
34582         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
34584 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34586         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
34587         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
34588         * iconvdata/big5.c (ONE_DIRECTION): Define.
34589         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
34590         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
34591         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
34592         * iconvdata/cp932.c (ONE_DIRECTION): Define.
34593         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
34594         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
34595         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
34596         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
34597         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
34598         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
34599         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
34600         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
34601         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
34602         * iconvdata/gbk.c (ONE_DIRECTION): Define.
34603         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
34604         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
34605         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
34606         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
34607         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
34608         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
34609         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
34610         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
34611         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
34612         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
34613         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
34614         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
34615         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
34616         * iconvdata/iso646.c (ONE_DIRECTION): Define.
34617         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
34618         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
34619         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
34620         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
34621         * iconvdata/johab.c (ONE_DIRECTION): Define.
34622         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
34623         * iconvdata/sjis.c (ONE_DIRECTION): Define.
34624         * iconvdata/t.61.c (ONE_DIRECTION): Define.
34625         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
34626         * iconvdata/tscii.c (ONE_DIRECTION): Define.
34627         * iconvdata/uhc.c (ONE_DIRECTION): Define.
34628         * iconvdata/unicode.c (ONE_DIRECTION): Define.
34629         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
34630         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
34631         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
34633 2014-05-01  Roland McGrath  <roland@hack.frob.com>
34635         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
34636         (_IO_JUMPS_OFFSET): Define to 0.
34638         * nptl/sysdeps/pthread/bits/libc-lock.h
34639         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34640         (__libc_lock_define_initialized_recursive): Always define using
34641         initializer.  Modern compilers treat uninitialized (implicit zero) and
34642         explicit zero initializers the same (i.e. put the datum in bss).
34644 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34646         * nscd/nscd-client.h: Include <string.h>.
34648 2014-05-01  David S. Miller  <davem@davemloft.net>
34650         [BZ #16885]
34651         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
34652         multiple zero bytes exist at the end of a string.
34653         Reported by Aurelien Jarno <aurelien@aurel32.net>
34655         * string/test-strcmp.c (check): Add explicit test for situations where
34656         there are multiple zero bytes after the first.
34658 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34660         [BZ #16890]
34661         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
34662         when compiling wprintf.
34663         * stdio-common/tstdiomisc.c (t3): New function.
34664         (main): Call it.
34666 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34668         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
34669         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
34670         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
34671         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
34673 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34675         * stdlib/longlong.h: Updated from GCC.
34677 2014-05-01  Will Newton  <will.newton@linaro.org>
34678             Bernard Ogden  <bernie.ogden@linaro.org>
34680         * NEWS: Update fixed bug list.
34682         [BZ #15119]
34683         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34685 2014-04-30  David S. Miller  <davem@davemloft.net>
34687         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34688         (libc_feholdexcept_setround_sparc_ctx): New function.
34689         (libc_fesetenv_sparc_ctx): Likewise.
34690         (libc_feupdateenv_sparc_ctx): Likewise.
34691         (libc_feholdsetround_sparc_ctx): Likewise.
34692         (libc_feholdexcept_setround_ctx): Define.
34693         (libc_feholdexcept_setroundf_ctx): Likewise.
34694         (libc_feholdexcept_setroundl_ctx): Likewise.
34695         (libc_fesetenv_ctx): Likewise.
34696         (libc_fesetenvf_ctx): Likewise.
34697         (libc_fesetenvl_ctx): Likewise.
34698         (libc_feupdateenv_ctx): Likewise.
34699         (libc_feupdateenvf_ctx): Likewise.
34700         (libc_feupdateenvl_ctx): Likewise.
34701         (libc_feresetround_ctx): Likewise.
34702         (libc_feresetroundf_ctx): Likewise.
34703         (libc_feresetroundl_ctx): Likewise.
34704         (libc_feholdsetround_ctx): Likewise.
34705         (libc_feholdsetroundf_ctx): Likewise.
34706         (libc_feholdsetroundl_ctx): Likewise.
34708         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34709         with __USE_GNU instead of XOPEN cpp guards.
34711         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34712         0.
34714         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34715         with XOPEN cpp guards.
34717 2014-04-30  Julian Brown  <julian@codesourcery.com>
34719         [BZ #16888]
34720         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34721         handling.
34723 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
34725         [BZ #9894]
34726         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34727         Change to 2.6.32.
34728         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34729         * sysdeps/unix/sysv/linux/configure: Regenerated.
34730         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34731         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34732         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34733         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34734         * README: Update reference to required Linux kernel version.
34735         * manual/install.texi (Linux): Update reference to required Linux
34736         kernel headers version.
34737         * INSTALL: Regenerated.
34739         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34740         header inclusion.
34741         [POSIX] (limits.h): Likewise.
34742         [POSIX] (math.h): Likewise.
34743         [POSIX] (sys/wait.h): Likewise.
34744         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34745         function.
34746         [POSIX] (stddef.h): Do not allow header inclusion.
34748 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34750         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34752 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
34754         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34755         Return immediately after lll_futex_wake.
34757 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34759         [BZ #16791]
34760         * nscd/nscd-client.h (datahead_init_common): Initialize entire
34761         structure.
34762         (datahead_init_pos): Call datahead_init_common early.
34763         (datahead_init_neg): Likewise.
34765         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34766         datahead_init_neg): New functions.
34767         * nscd/aicache.c (addhstaiX): Use them.
34768         * nscd/grpcache.c (cache_addgr): Likewise.
34769         * nscd/hstcache.c (cache_addhst): Likewise.
34770         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34771         * nscd/netgroupcache.c (do_notfound): Likewise.
34772         (addgetnetgrentX): Likewise.
34773         (addinnetgrX): Likewise.
34774         * nscd/pwdcache.c (cache_addpw): Likewise.
34775         * nscd/servicescache.c (cache_addserv): Likewise.
34777 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34778             Atsushi Onoe  <atsushi@onoe.org>
34780         [BZ #14308]
34781         [BZ #12994]
34782         [BZ #13651]
34783         * resolv/res_query.c (__libc_res_nsearch): Return if at least
34784         one response is valid.
34785         * resolv/res_send.c (send_dg): Check for validity of other
34786         response if the current response is a referral.
34788 2014-04-29  Steve Ellcey  <sellcey@mips.com>
34790         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34792 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
34794         [BZ #16823]
34795         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34796         Always divide by positive zero when computing -Inf result.
34797         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34798         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34800 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34802         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34803         FPSCR if value do not change.
34804         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34805         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34806         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34807         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34808         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34809         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34810         function.
34812 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
34814         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34815         * sysdeps/unix/sysv/linux/hppa: Move directory from
34816         ports/systeps/unix/sysv/linux/hppa.
34817         * README: Update listing for hppa-*-linux-gnu.
34819 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
34821         [BZ #16754]
34822         * manual/stdio.texi (Hook functions): Fix types of stream hook
34823         functions.
34824         [BZ #16854]
34825         * socket/sys/socket.h: Fix typo in comment.
34827 2014-04-28  Wilco  <wdijkstr@arm.com>
34829         * sysdeps/arm/fenv_private.h: New file.
34830         * sysdeps/arm/math_private.h: New file.
34831         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34833 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
34835         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34836         with __int128_t.
34837         (La_x86_64_retval): Likewise.
34839 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
34841         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34842         fpsr if value didn't change.
34843         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34844         to fpcr if value didn't change.
34845         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34846         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34847         fpsr or fpcr if value didn't change.
34848         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34849         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34850         fpcr if value didn't change.
34851         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34852         to fpsr if value didn't change.
34854 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34856         * nptl/tst-sem3.c: Use test-skeleton.c
34857         (main): Rename to do_test.  Use return instead of
34858         exit.
34859         * nptl/tst-sem4.c: Use test-skeleton.c
34860         (main): Rename to do_test.
34862 2014-04-22  David S. Miller  <davem@davemloft.net>
34864         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34865         (struct sigaction): New struct member __glibc_reserved0, change
34866         type of sa_flags to int.
34868 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
34870         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34871         (COUNT_LEADING_ZEROS_0): Define for AArch64.
34873 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34875         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34876         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34878 2014-04-22  Will Newton  <will.newton@linaro.org>
34879             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
34881         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34882         (__longjmp): Add longjmp and longjmp_target SystemTap
34883         probes.
34884         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34885         (__sigsetjmp): Add setjmp SystemTap probe.
34887 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
34889         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34890         match manual order.
34892 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34894         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34896         * sysdeps/powerpc/fpu/fenv_private.h
34897         (libc_feholdexcept_setroundl_ctx): Define to
34898         libc_feholdexcept_setround_ppc_ctx.
34899         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34900         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34901         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34902         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34904 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34906         * sysdeps/aarch64/math-tests.h: New file.
34908 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
34910         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34911         New.
34912         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34913         Check and set bit_AVX2_Usable.
34914         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34915         macro.
34916         (bit_AVX2): Likewise.
34917         (index_AVX2_Usable): Likewise.
34918         (CPUID_AVX2): Likewise.
34919         (HAS_AVX2): Likewise.
34921 2014-04-17  Will Newton  <will.newton@linaro.org>
34923         * manual/setjmp.texi (System V contexts): Add note that
34924         calling setcontext on a context created by a call to a
34925         signal handler is undefined.  Update text to note that
34926         setcontext from a signal handler is possible but not
34927         recommended.
34929         [BZ #16629]
34930         * stdlib/tst-setcontext.c: Include signal.h.
34931         (main): Check that the signal stack before and
34932         after swapcontext is the same.
34934         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34935         Re-implement to restore registers in user code and avoid
34936         rt_sigreturn system call.
34938 2014-04-17  Wilco  <wdijkstr@arm.com>
34940         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34941         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34942         * math/test-fenv.c: Skip exception trap tests on targets which only
34943         support non-stop mode.
34945 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34946             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34948         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34949         (libc_feholdsetround_aarch64_ctx)
34950         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34951         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34952         (libc_feresetround_ctx, libc_feresetroundf_ctx)
34953         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34954         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34955         (libc_feresetround_noexl_ctx): Define.
34957 2014-04-16  Richard Henderson  <rth@redhat.com>
34959         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34961         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34962         unwind tables.
34964         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34965         const from the non-libc, non-ldso copy.
34967         * sysdeps/alpha/libm-test-ulps: Regenerate.
34969 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
34970             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34972         * sysdeps/aarch64/fpu/math_private.h: New file.
34974 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34976         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34978 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
34980         [BZ #16275]
34981         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34982         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34983         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34984         Intel MPX bound registers before _dl_profile_fixup.
34985         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34986         registers after _dl_profile_fixup.  Save and restore bound
34987         registers bnd0/bnd1 when calling _dl_call_pltexit.
34988         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34989         (LR_BND_OFFSET): Likewise.
34990         (LRV_BND0_OFFSET): Likewise.
34991         (LRV_BND1_OFFSET): Likewise.
34993 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34995         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34996         to...
34997         * sysdeps/mach/hurd/i386/tls.h: ... here.
34998         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34999         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
35000         fields.
35002 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35004         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
35006 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35008         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35010 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35012         [BZ #14770]
35013         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
35014         * sysdeps/s390/configure: Regenerate.
35016         [BZ #16824]
35017         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
35018         Set round-to-nearest internally to reduce error accumulation.
35020 2014-04-16  Alan Modra  <amodra@gmail.com>
35022         [BZ #16740]
35023         [BZ #16619]
35024         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
35025         * math/libm-test.inc (frexp_test_data): Add tests.
35026         * NEWS: Update fixed bug list.
35028 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35030         * benchtests/Makefile: Depend on libraries in build directory.
35031         (bench-math): Separate out math tests.
35032         (bench-pthread): Separate out pthread tests.
35033         (bench): Include math and pthread tests.
35035 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
35037         [BZ #16831]
35038         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
35039         _dl_debug_initialize.
35041         * configure.ac: Remove SELinux header check.
35042         * configure: Regenerate.
35043         * nscd/selinux.c (perms): Array of const char* to permission names.
35044         (nscd_request_avc_has_perm): Call security_deny_unknown to find
35045         default policy. Call string_to_security_class and string_to_av_perm to
35046         translate strings. Enforce default policy and call avs_has_perm with
35047         results of translated strings.
35049 2014-04-13  David S. Miller  <davem@davemloft.net>
35051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35053 2014-04-12  Allan McRae  <allan@archlinux.org>
35055         [BZ #16838]
35056         * manual/string.texi (Collation Functions): Fix qsort argument
35057         order in example.
35058         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35060 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
35062         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
35063         Make the test a no-op if there are no exceptions defined.
35065 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35067         * elf/Makefile (tests): make tst-dlopen-aout conditional on
35068         enable-hardcoded-path-in-tests
35070 2014-04-11  Will Newton  <will.newton@linaro.org>
35072         * benchtests/Makefile (extra-objs): Add json-lib.o.
35073         (bench-func): Tidy up JSON output.
35074         * benchtests/bench-skeleton.c: Include json-lib.h.
35075         (main): Use JSON library functions to do output of
35076         benchmark results.
35077         * benchtests/bench-timing-type.c (main): Output the
35078         timing type simply, leaving formatting to the user.
35079         * benchtests/json-lib.c: New file.
35080         * benchtests/json-lib.h: Likewise.
35082 2014-04-11  Torvald Riegel  <triegel@redhat.com>
35084         [BZ #15215]
35085         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
35086         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
35087         memory barriers.  Add comments.
35088         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
35089         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
35090         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
35091         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
35092         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
35093         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
35095 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35097         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
35098         * sysdeps/s390/s390-64/configure.ac: ... this ...
35099         * sysdeps/s390/configure.ac: ... to here.
35100         * sysdeps/s390/s390-32/configure: Delete file.
35101         * sysdeps/s390/s390-64/configure: Delete file.
35102         * sysdeps/s390/configure: Regenerate.
35104 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
35106         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
35108 2014-04-11  Will Newton  <will.newton@linaro.org>
35110         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
35111         to zero if it is not defined elsewhere.  (mtrim): Test
35112         the value of MALLOC_DEBUG with #if rather than #ifdef.
35114 2014-04-10 Torvald Riegel  <triegel@redhat.com>
35116         * benchtests/pthread_once-inputs: New file.
35117         * benchtests/pthread_once-source.c: New file.
35118         * benchtests/README: Update documentation.
35120 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
35121             H.J. Lu  <hongjiu.lu@intel.com>
35123         [BZ #16275]
35124         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
35125         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
35126         * sysdeps/x86_64/configure: Regenerated.
35127         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
35128         macro.
35129         (REGISTER_SAVE_RAX): Likewise.
35130         (REGISTER_SAVE_RCX): Likewise.
35131         (REGISTER_SAVE_RDX): Likewise.
35132         (REGISTER_SAVE_RSI): Likewise.
35133         (REGISTER_SAVE_RDI): Likewise.
35134         (REGISTER_SAVE_R8): Likewise.
35135         (REGISTER_SAVE_R9): Likewise.
35136         (REGISTER_SAVE_BND0): Likewise.
35137         (REGISTER_SAVE_BND1): Likewise.
35138         (REGISTER_SAVE_BND2): Likewise.
35139         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
35140         bound registers when calling _dl_fixup.
35142 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35144         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
35145         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
35146         of its definition.
35147         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
35148         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
35149         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
35150         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
35151         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
35152         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
35153         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
35155 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
35157         [BZ #15514]
35158         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
35159         pathconf(_PC_NAME_MAX).
35161 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35163         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
35164         Remove macro usage.
35165         (__PTHREAD_SPINS): Move definition to ...
35166         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35167         (__PTHREAD_SPINS): ... here.
35168         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35169         (__PTHREAD_SPIN): Likewise.
35170         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
35171         (__PTHREAD_SPIN): Likewise.
35172         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
35173         (__PTHREAD_SPIN): Likewise.
35174         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
35175         (__PTHREAD_SPIN): Likewise.
35176         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35177         (__PTHREAD_SPIN): Likewise.
35178         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35179         (__PTHREAD_SPIN): Likewise.
35180         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
35181         (__PTHREAD_SPIN): Likewise.
35182         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35183         (__PTHREAD_SPIN): Likewise.
35184         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35185         (__PTHREAD_SPIN): Likewise.
35186         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35187         (__PTHREAD_SPIN): Likewise.
35188         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35189         (__PTHREAD_SPIN): Likewise.
35190         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
35191         (__PTHREAD_SPIN): Likewise.
35193         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
35194         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
35195         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
35196         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
35197         imply folder.
35198         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
35199         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
35200         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
35201         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
35202         correct imply path.
35203         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
35204         strlen symbol for non multi-arch builds.
35205         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
35206         missing hidden_def and weak_alias.
35208 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
35210         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
35212 2014-04-07  Will Newton  <will.newton@linaro.org>
35214         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
35215         and contents.  [!_LIBC] Remove #ifndef and contents.
35216         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
35217         * string/memccpy.c (__memccpy): Use ANSI prototype.
35218         * string/memfrob.c (memfrob): Likewise.
35219         * string/strcoll.c (STRCOLL): Likewise.
35220         * string/strlen.c (strlen): Likewise.
35221         * string/strtok.c (STRTOK): Likewise.
35222         * string/strcat.c: Remove unused #include of memcopy.h.
35223         (strcat): Use ANSI prototype.
35224         * string/strchr.c: Remove unused #include of memcopy.h.
35225         (strchr): Use ANSI prototype.
35226         * string/strcmp.c: Remove unused #include of memcopy.h.
35227         (strcmp): Use ANSI prototype.
35228         * string/strcpy.c: Remove unused #include of memcopy.h.
35229         (strcpy): Use ANSI prototype.
35231 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35233         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
35234         * config.make.in (config-extra-cppflags): Set it from
35235         libc_extra_cppflags.
35236         * configure.ac (libc_extra_cflags): Make it accumulate over
35237         configure fragments.
35238         (libc_extra_cppflags): New flag.
35239         * configure. Regenerate.
35240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35241         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
35242         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
35243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
35245         [BZ #16815]
35246         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
35247         result for FE_DOWNWARD rounding mode.
35248         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
35249         Likewise.
35250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35252 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
35254         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
35255         in function argument name.
35257 2014-04-03  David Svoboda  <svoboda@cert.org>
35259         [BZ #5666]
35260         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
35261         explicitly.
35263 2014-04-03  Roland McGrath  <roland@hack.frob.com>
35265         * elf/dl-unmap-segments.h: New file.
35266         * sysdeps/generic/ldsodefs.h
35267         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
35268         * elf/dl-close.c: Include <dl-unmap-segments.h>.
35269         * elf/dl-fptr.c: Likewise.
35270         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
35271         * sysdeps/aarch64/tlsdesc.c: Likewise.
35272         * sysdeps/arm/tlsdesc.c: Likewise.
35273         * sysdeps/i386/tlsdesc.c: Likewise.
35274         * sysdeps/tile/dl-runtime.c: Likewise.
35275         * sysdeps/x86_64/tlsdesc.c: Likewise.
35276         * elf/dl-load.h: New file.
35277         * elf/dl-load.c: Include it.
35278         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
35279         Macros moved to dl-load.h.
35280         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
35281         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
35282         Use _dl_unmap_segments in place of __munmap.
35283         Break out segment-mapping loop into ...
35284         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
35286 2014-04-03  Will Newton  <will.newton@linaro.org>
35288         * elf/dl-lookup.c (do_lookup_x): Remove comment
35289         referring to nested function and move variable
35290         declarations down to before first use.
35292 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
35294         [BZ #16799]
35295         [BZ #16800]
35296         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
35297         with 0 numerator.
35298         * math/s_catanf.c (__catanf): Likewise.
35299         * math/s_catanh.c (__catanh): Likewise.
35300         * math/s_catanhf.c (__catanhf): Likewise.
35301         * math/s_catanhl.c (__catanhl): Likewise.
35302         * math/s_catanl.c (__catanl): Likewise.
35303         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
35304         by positive zero when computing -Inf result.
35305         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
35306         (catanh_test): Likewise.
35307         * sysdeps/i386/fpu/libm-test-ulps: Update.
35308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35310         [BZ #16789]
35311         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
35312         instead of using underflowing value in computing result.
35313         * math/s_clog10.c (__clog10): Likewise.
35314         * math/s_clog10f.c (__clog10f): Likewise.
35315         * math/s_clog10l.c (__clog10l): Likewise.
35316         * math/s_clogf.c (__clogf): Likewise.
35317         * math/s_clogl.c (__clogl): Likewise.
35318         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
35319         (clog10_test): Likewise.
35320         * sysdeps/i386/fpu/libm-test-ulps: Update.
35321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35323 2014-04-02  Alan Modra  <amodra@gmail.com>
35325         [BZ #16739]
35326         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
35327         output when value is near a power of two.  Use int64_t for lx and
35328         remove casts.  Use decimal rather than hex exponent constants.
35329         Don't use long double multiplication when double will suffice.
35330         * math/libm-test.inc (nextafter_test_data): Add tests.
35331         * NEWS: Add 16739 and 16786 to bug list.
35333         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
35335         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
35337 2014-04-01  Will Newton  <will.newton@linaro.org>
35339         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
35340         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
35342 2014-04-01  Florian Weimer  <fweimer@redhat.com>
35344         [BZ #13347]
35345         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
35346         * nptl/tst-setuid2.c: New file.
35347         * nptl/Makefile (xtests): Add tst-setuid2.
35349 2014-04-01  Alan Modra  <amodra@gmail.com>
35351         [BZ #16786]
35352         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
35354 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35356         [BZ #6803]
35357         [BZ #6804]
35358         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
35359         set errno as appropriate.
35360         * math/w_scalbf.c (__scalbf): Likewise.
35361         * math/w_scalbl.c (__scalbl): Likewise.
35362         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
35363         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
35364         * math/libm-test.inc (scalb_test_data): Add errno expectations.
35365         Add more NaN tests.
35367         [BZ #16349]
35368         * math/w_atan2.c: Include <errno.h>.
35369         (__atan2): Set errno for result underflowing to zero.
35370         * math/w_atan2f.c: Include <errno.h>.
35371         (__atan2f): Set errno for result underflowing to zero.
35372         * math/w_atan2l.c: Include <errno.h>.
35373         (__atan2l): Set errno for result underflowing to zero.
35374         * math/auto-libm-test-in: Don't allow missing errno for some atan2
35375         tests.
35376         * math/auto-libm-test-out: Regenerated.
35378 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35380         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35381         Encode instruction correctly in little endian.
35382         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35383         Likewise.
35384         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35385         Likewise.
35386         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35387         Likewise.
35388         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35389         Likewise.
35391 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35393         [BZ #9894]
35394         * sysdeps/unix/sysv/linux/kernel-features.h
35395         [__sparc__ && !__arch64__ && !__sparc_v9__]
35396         (__ASSUME_SET_ROBUST_LIST): Do not define.
35397         [__sparc__ && !__arch64__ && !__sparc_v9__]
35398         (__ASSUME_FUTEX_LOCK_PI): Likewise.
35399         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
35400         Likewise.
35401         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35402         (__ASSUME_FUTEX_LOCK_PI): Undefine.
35403         (__ASSUME_REQUEUE_PI): Likewise.
35404         (__ASSUME_SET_ROBUST_LIST): Likewise.
35405         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35406         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
35407         Undefine.
35408         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35409         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
35410         Likewise.
35411         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
35412         Likewise.
35413         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
35414         Likewise.
35415         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35416         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
35417         Undefine.
35418         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
35419         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
35420         Likewise.
35422         [BZ #16648]
35423         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35424         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
35425         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
35427 2014-03-31  Will Newton  <will.newton@linaro.org>
35429         * benchtests/Makefile (bench): Add ffs and ffsll to list
35430         of tests.
35431         * benchtests/ffs-inputs: New file.
35432         * benchtests/ffsll-inputs: Likewise.
35434 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
35436         [BZ #16770]
35437         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
35438         too large before casting to int.
35439         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
35440         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
35441         * math/libm-test.inc (scalb_test_data): Add more tests.
35443 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35445         * benchtests/Makefile (DETAILED_OPT): New make option.
35446         (bench-func): Run benchmark program with -d if DETAILED_OPT is
35447         set.
35448         * benchtests/bench-skeleton.c: Include stdbool.h.
35449         (main): Store and print timings per input.
35450         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
35451         member to each argument value.
35452         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
35453         (_print_arg_data): Initialize per-input timing to 0.
35455         * benchtests/Makefile (timing-type): New binary.
35456         (bench-clean): Also remove bench-timing-type.
35457         (bench): New target for timing-type.
35458         (bench-func): Print output in JSON format.
35459         * benchtests/bench-skeleton.c (main): Print output in JSON
35460         format.
35461         * benchtests/bench-timing-type.c: New file.
35462         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
35463         (TIMING_PRINT_STATS): Remove.
35464         * benchtests/scripts/bench.py (_print_arg_data): Store variant
35465         name separately.
35467         * benchtests/bench-modf.c: Remove.
35468         * benchtests/modf-inputs: New inputs file.
35470 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
35472         [BZ #16362]
35473         * math/s_clog10.c (M_PI_LOG10E): New macro.
35474         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
35475         imaginary parts are 0.
35476         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
35477         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
35478         imaginary parts are 0.
35479         * math/s_clog10l.c (M_PI_LOG10El): New macro.
35480         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
35481         imaginary parts are 0.
35482         * math/libm-test.inc (clog10_test_data): Update expected results
35483         for when real and imaginary parts are 0.
35485 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
35487         * elf/dl-load.c: Finish conversion of __builtin_expect into
35488         __glibc_{un}likely.
35490 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
35492         [BZ #16348]
35493         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
35494         1+x for argument with exponent below -67.
35495         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
35496         Likewise.
35497         * math/auto-libm-test-in: Add more tests of exp.
35498         * math/auto-libm-test-out: Regenerated.
35500 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35502         [BZ #16759]
35503         * inet/getnetgrent_r.c (get_nonempty_val): New function.
35504         (nscd_getnetgrent): Use it.
35506         [BZ #16760]
35507         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
35508         of stpcpy.
35510 2014-03-27  Andi Kleen  <ak@linux.intel.com>
35512         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
35513         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35514         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35515         (lll_robust_unlock): Remove out of line section. Use cfi
35516         intrinsics.
35517         (LLL_STUB_UNWIND_INFO*): Remove.
35518         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
35519         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35520         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35521         (lll_robust_unlock): Remove out of line section. Use cfi
35522         intrinsics.
35523         (LLL_STUB_UNWIND_INFO*): Remove.
35525 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35527         [BZ #16758]
35528         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
35529         blank values.
35531 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
35533         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
35535 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
35537         [BZ #16198]
35538         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
35539         fnstenv.
35540         * math/test-fenv-preserve.c: New file.
35541         * math/Makefile (tests): Add test-fenv-preserve.
35543 2014-03-26  Will Newton <will.newton@linaro.org>
35545         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
35547 2014-03-25  Roland McGrath  <roland@hack.frob.com>
35549         * scripts/versionlist.awk: Partition the version sets and emit all
35550         GLIBC_* (sorted) before all others (sorted).
35552 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35554         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
35555         GLIBC_2.2.5 version.
35557 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35559         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
35560         calls.
35562         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
35563         previous change.
35565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35567 2014-03-25  Andreas Schwab  <schwab@suse.de>
35569         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
35570         label to be used after in6ailist is initialized.
35572 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35574         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35575         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35577 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35579         [BZ #16357]
35580         [BZ #16599]
35581         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
35582         min_plus_half.
35583         (fp_formats): Update initializers.
35584         (init_fp_formats): Initialize new field.
35585         (output_for_one_input_case): Allow underflow for results up to
35586         min_plus_half.
35587         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
35588         * math/auto-libm-test-in: Don't mark some underflows from asin and
35589         atanh as spurious.
35590         * math/auto-libm-test-out: Regenerated.
35591         * sysdeps/i386/fpu/libm-test-ulps: Update.
35592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35594 2014-03-25  Andreas Schwab  <schwab@suse.de>
35596         * libio/Makefile (tst-ftell-partial-wide-ENV)
35597         (tst-ftell-active-handler-ENV): Define.
35599 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
35601         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
35603 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35605         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
35607 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35609         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
35610         * sysdeps/x86_64/fpu/multiarch/e_exp.c
35611         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
35613 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35615         [BZ #16634]
35616         * elf/dl-load.c (open_verify): Add mode parameter.
35617         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
35618         (open_path): Change from boolean 'secure' to complete flag 'mode'
35619         (_dl_map_object): Adjust.
35620         * elf/Makefile (tests): Add tst-dlopen-aout.
35621         * elf/tst-dlopen-aout.c: New test.
35623 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
35625         [BZ #16714]
35626         * sysdeps/unix/sysv/linux/s390/bits/stat.h
35627         (struct stat): Rename member pad0 to __glibc_reserved0.
35629         [BZ #16712]
35630         * sysdeps/s390/s390-32/bits/wordsize.h
35631         (__WORDSIZE32_SIZE_ULONG): New define.
35632         * sysdeps/s390/s390-64/bits/wordsize.h
35633         (__WORDSIZE32_SIZE_ULONG): Likewise.
35634         * sysdeps/generic/stdint.h (SIZE_MAX):
35635         Define as UL if __WORDSIZE32_SIZE_ULONG.
35637         [BZ #16713]
35638         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35639         (__glibc_reserved0): New variable.
35640         (sa_flags): Change type to int.
35642         * posix/Makefile (before-compile): Use += before-compile instead
35643         of a :=.
35645         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35646         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35648 2014-03-20  Andreas Schwab  <schwab@suse.de>
35650         [BZ #16743]
35651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
35652         non-matching result from nscd.
35654 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35656         * scripts/bench.py: Moved to ...
35657         * benchtests/scripts/bench.py: ... here.
35658         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
35660 2014-03-24  Andreas Schwab  <schwab@suse.de>
35662         [BZ #16002]
35663         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
35664         alloca_account and account alloca use for struct in6ailist.
35666 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35668         [BZ #16284]
35669         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
35670         rounding mode to recompute results that overflow to infinity or
35671         underflow to zero.
35672         * math/auto-libm-test-in: Don't mark tests as expected to fail for
35673         bug 16284.
35674         * math/auto-libm-test-out: Regenerated.
35675         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35676         (ccosh_test): Likewise.
35677         (csin_test_data): Use plus_oflow.
35678         (csin_test): Use ALL_RM_TEST.
35679         (csinh_test_data): Use plus_oflow.
35680         (csinh_test): Use ALL_RM_TEST.
35681         * sysdeps/i386/fpu/libm-test-ulps: Update.
35682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35684 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
35686         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35687         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35688         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35690         [BZ #16731]
35691         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35692         when x - 1 is zero.
35693         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35694         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35695         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35696         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35697         argument is 1.
35698         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35699         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35700         zero.
35701         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35702         * sysdeps/i386/fpu/libm-test-ulps: Update.
35703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35705 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35707         * scripts/bench.pl: Remove file.
35708         * scripts/bench.py: New benchmark script.
35709         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35710         * benchtests/README: Mention python dependency.
35711         * scripts/pylintrc: New file.
35712         * scripts/pylint: New file.
35714         * bits/mathdef.h: Use #ifdef instead of #if.
35715         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35716         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35717         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35718         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35719         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35720         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35722 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35723             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35725         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35727         and strpbrk-ppc64 objects.
35728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35729         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35730         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35731         multiarch strpbrk for POWER7.
35732         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35733         multiarch strpbrk for PPC64.
35734         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35735         ifunc selector.
35736         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35737         strpbrk for POWER7.
35739 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35741         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35742         (atan_test): Likewise.
35743         (atanh_test_data): Use NO_TEST_INLINE for two tests.
35744         (atanh_test): Use ALL_RM_TEST.
35745         (atan2_test_data): Likewise.
35746         (cabs_test): Likewise.
35747         (cacosh_test): Likewise.
35748         (carg_test): Likewise.
35749         (casin_test): Likewise.
35750         (casinh_test): Likewise.
35751         (cbrt_test): Likewise.
35752         (csqrt_test): Likewise.
35753         (erf_test): Likewise.
35754         (erfc_test): Likewise.
35755         (pow10_test): Likewise.
35756         (exp2_test): Likewise.
35757         (hypot_test): Likewise.
35758         (j0_test): Likewise.
35759         (j1_test): Likewise.
35760         (lgamma_test): Likewise.
35761         (gamma_test): Likewise.
35762         (sincos_test): Likewise.
35763         (tanh_test): Likewise.
35764         (y0_test): Likewise.
35765         (y1_test): Likewise.
35766         * sysdeps/i386/fpu/libm-test-ulps: Update.
35767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35769 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35771         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35773         and strcspn-ppc64 objects.
35774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35775         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35776         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35777         multiarch strcspn for POWER7.
35778         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35779         multiarch strcspn for PPC64.
35780         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35781         ifunc selector.
35782         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35783         strcspn for POWER7.
35785 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35787         * math/gen-libm-test.pl (generate_testfile): Expect only function
35788         name as argument to AUTO_TESTS_* and pass results for all rounding
35789         modes to parse_args.
35790         (parse_auto_input): Separate inputs of automatic tests from
35791         outputs before storing in %auto_tests.
35792         * math/libm-test.inc (acos_test_data): Update call to
35793         AUTO_TESTS_f_f.
35794         (acos_test): Use ALL_RM_TEST.
35795         (acos_tonearest_test_data): Remove.
35796         (acos_test_tonearest): Likewise.
35797         (acos_towardzero_test_data): Likewise.
35798         (acos_test_towardzero): Likewise.
35799         (acos_downward_test_data): Likewise.
35800         (acos_test_downward): Likewise.
35801         (acos_upward_test_data): Likewise.
35802         (acos_test_upward): Likewise.
35803         (acosh_test_data): Update call to AUTO_TESTS_f_f.
35804         (asin_test_data): Likewise.
35805         (asin_test): Use ALL_RM_TEST.
35806         (asin_tonearest_test_data): Remove.
35807         (asin_test_tonearest): Likewise.
35808         (asin_towardzero_test_data): Likewise.
35809         (asin_test_towardzero): Likewise.
35810         (asin_downward_test_data): Likewise.
35811         (asin_test_downward): Likewise.
35812         (asin_upward_test_data): Likewise.
35813         (asin_test_upward): Likewise.
35814         (asinh_test_data): Update call to AUTO_TESTS_f_f.
35815         (atan_test_data): Likewise.
35816         (atanh_test_data): Likewise.
35817         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35818         (cabs_test_data): Update call to AUTO_TESTS_c_f.
35819         (carg_test_data): Likewise.
35820         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35821         (ccos_test_data): Update call to AUTO_TESTS_c_c.
35822         (ccosh_test_data): Likewise.
35823         (cexp_test_data): Likewise.
35824         (clog_test_data): Likewise.
35825         (clog10_test_data): Likewise.
35826         (cos_test_data): Update call to AUTO_TESTS_f_f.
35827         (cos_test): Use ALL_RM_TEST.
35828         (cos_tonearest_test_data): Remove.
35829         (cos_test_tonearest): Likewise.
35830         (cos_towardzero_test_data): Likewise.
35831         (cos_test_towardzero): Likewise.
35832         (cos_downward_test_data): Likewise.
35833         (cos_test_downward): Likewise.
35834         (cos_upward_test_data): Likewise.
35835         (cos_test_upward): Likewise.
35836         (cosh_test_data): Update call to AUTO_TESTS_f_f.
35837         (cosh_test): Use ALL_RM_TEST.
35838         (cosh_tonearest_test_data): Remove.
35839         (cosh_test_tonearest): Likewise.
35840         (cosh_towardzero_test_data): Likewise.
35841         (cosh_test_towardzero): Likewise.
35842         (cosh_downward_test_data): Likewise.
35843         (cosh_test_downward): Likewise.
35844         (cosh_upward_test_data): Likewise.
35845         (cosh_test_upward): Likewise.
35846         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35847         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35848         (ctan_test_data): Likewise.
35849         (ctan_test): Use ALL_RM_TEST.
35850         (ctan_tonearest_test_data): Remove.
35851         (ctan_test_tonearest): Likewise.
35852         (ctan_towardzero_test_data): Likewise.
35853         (ctan_test_towardzero): Likewise.
35854         (ctan_downward_test_data): Likewise.
35855         (ctan_test_downward): Likewise.
35856         (ctan_upward_test_data): Likewise.
35857         (ctan_test_upward): Likewise.
35858         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35859         (ctanh_test): Use ALL_RM_TEST.
35860         (ctanh_tonearest_test_data): Remove.
35861         (ctanh_test_tonearest): Likewise.
35862         (ctanh_towardzero_test_data): Likewise.
35863         (ctanh_test_towardzero): Likewise.
35864         (ctanh_downward_test_data): Likewise.
35865         (ctanh_test_downward): Likewise.
35866         (ctanh_upward_test_data): Likewise.
35867         (ctanh_test_upward): Likewise.
35868         (erf_test_data): Update call to AUTO_TESTS_f_f.
35869         (erfc_test_data): Likewise.
35870         (exp_test_data): Likewise.
35871         (exp_test): Use ALL_RM_TEST.
35872         (exp_tonearest_test_data): Remove.
35873         (exp_test_tonearest): Likewise.
35874         (exp_towardzero_test_data): Likewise.
35875         (exp_test_towardzero): Likewise.
35876         (exp_downward_test_data): Likewise.
35877         (exp_test_downward): Likewise.
35878         (exp_upward_test_data): Likewise.
35879         (exp_test_upward): Likewise.
35880         (exp10_test_data): Update call to AUTO_TESTS_f_f.
35881         (exp10_test): Use ALL_RM_TEST.
35882         (exp10_tonearest_test_data): Remove.
35883         (exp10_test_tonearest): Likewise.
35884         (exp10_towardzero_test_data): Likewise.
35885         (exp10_test_towardzero): Likewise.
35886         (exp10_downward_test_data): Likewise.
35887         (exp10_test_downward): Likewise.
35888         (exp10_upward_test_data): Likewise.
35889         (exp10_test_upward): Likewise.
35890         (exp2_test_data): Update call to AUTO_TESTS_f_f.
35891         (expm1_test_data): Likewise.
35892         (expm1_test): Use ALL_RM_TEST.
35893         (expm1_tonearest_test_data): Remove.
35894         (expm1_test_tonearest): Likewise.
35895         (expm1_towardzero_test_data): Likewise.
35896         (expm1_test_towardzero): Likewise.
35897         (expm1_downward_test_data): Likewise.
35898         (expm1_test_downward): Likewise.
35899         (expm1_upward_test_data): Likewise.
35900         (expm1_test_upward): Likewise.
35901         (fma_test_data): Update call to AUTO_TESTS_fff_f.
35902         (fma_test): Use ALL_RM_TEST.
35903         (fma_towardzero_test_data): Remove.
35904         (fma_test_towardzero): Likewise.
35905         (fma_downward_test_data): Likewise.
35906         (fma_test_downward): Likewise.
35907         (fma_upward_test_data): Likewise.
35908         (fma_test_upward): Likewise.
35909         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35910         (j0_test_data): Update call to AUTO_TESTS_f_f.
35911         (j1_test_data): Likewise.
35912         (jn_test_data): Update call to AUTO_TESTS_if_f.
35913         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35914         (log_test_data): Update call to AUTO_TESTS_f_f.
35915         (log10_test_data): Likewise.
35916         (log1p_test_data): Likewise.
35917         (log2_test_data): Likewise.
35918         (pow_test_data): Update call to AUTO_TESTS_ff_f.
35919         (pow_tonearest_test_data): Likewise.
35920         (sin_test_data): Update call to AUTO_TESTS_f_f.
35921         (sin_test): Use ALL_RM_TEST.
35922         (sin_tonearest_test_data): Remove.
35923         (sin_test_tonearest): Likewise.
35924         (sin_towardzero_test_data): Likewise.
35925         (sin_test_towardzero): Likewise.
35926         (sin_downward_test_data): Likewise.
35927         (sin_test_downward): Likewise.
35928         (sin_upward_test_data): Likewise.
35929         (sin_test_upward): Likewise.
35930         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35931         (sinh_test_data): Update call to AUTO_TESTS_f_f.
35932         (sinh_test): Use ALL_RM_TEST.
35933         (sinh_tonearest_test_data): Remove.
35934         (sinh_test_tonearest): Likewise.
35935         (sinh_towardzero_test_data): Likewise.
35936         (sinh_test_towardzero): Likewise.
35937         (sinh_downward_test_data): Likewise.
35938         (sinh_test_downward): Likewise.
35939         (sinh_upward_test_data): Likewise.
35940         (sinh_test_upward): Likewise.
35941         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35942         (sqrt_test): Use ALL_RM_TEST.
35943         (sqrt_tonearest_test_data): Remove.
35944         (sqrt_test_tonearest): Likewise.
35945         (sqrt_towardzero_test_data): Likewise.
35946         (sqrt_test_towardzero): Likewise.
35947         (sqrt_downward_test_data): Likewise.
35948         (sqrt_test_downward): Likewise.
35949         (sqrt_upward_test_data): Likewise.
35950         (sqrt_test_upward): Likewise.
35951         (tan_test_data): Update call to AUTO_TESTS_f_f.
35952         (tan_test): Use ALL_RM_TEST.
35953         (tan_tonearest_test_data): Remove.
35954         (tan_test_tonearest): Likewise.
35955         (tan_towardzero_test_data): Likewise.
35956         (tan_test_towardzero): Likewise.
35957         (tan_downward_test_data): Likewise.
35958         (tan_test_downward): Likewise.
35959         (tan_upward_test_data): Likewise.
35960         (tan_test_upward): Likewise.
35961         (tanh_test_data): Update call to AUTO_TESTS_f_f.
35962         (tgamma_test_data): Likewise.
35963         (y0_test_data): Likewise.
35964         (y1_test_data): Likewise.
35965         (yn_test_data): Update call to AUTO_TESTS_if_f.
35966         (main): Do not call removed functions.
35968 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35970         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35971         (ldexp_test_data): Remove.
35972         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
35973         scalbn_test_data.
35974         (scalb_test): Use ALL_RM_TEST.
35976 2014-03-19  Andreas Schwab  <schwab@suse.de>
35978         * nscd/nscd.service: Also invalidate netgroup cache on reload.
35980 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35982         [BZ #16649]
35983         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35984         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35985         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35986         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35987         (__ASSUME_PREADV): Undefine.
35988         (__ASSUME_PWRITEV): Likewise.
35990 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35992         * bits/mman-linux.h: Add comment about non-Linux use.
35993         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35994         bits/mman-linux.h resting place.
35996         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35997         * bits/mman-linux.h: ... here.
35999 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36001         * conform/conformtest.pl: Add standard definition when calling C
36002         preprocessor on data files.
36003         (checknamespace): Remove unused variable.
36005 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36007         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
36008         minus_oflow, plus_uflow and minus_uflow in expected results.
36009         * math/libm-test.inc (scalbn_test_data): Add more tests of
36010         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
36011         minus_uflow.
36012         (scalbn_test): Use ALL_RM_TEST.
36013         (scalbln_test_data): Add more tests of negative arguments.  Use
36014         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
36015         (scalbln_test): Use ALL_RM_TEST.
36017 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36019         * scripts/abilist.awk: Ignore symbols marked with .hidden.
36021 2014-03-18  Will Newton  <will.newton@linaro.org>
36023         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
36024         inaccurate comment.
36026 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36028         * Makerules [!subdir] (check-abi): Exit with error status if a
36029         test failed.
36031 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36033         * math/libm-test.inc (nearbyint_test_data): Include all tests used
36034         for rint.  Include results for all rounding modes.
36035         (nearbyint_test): Use ALL_RM_TEST.
36036         (rint_test_data): Include all tests used for nearbyint.
36038 2014-03-17  Will Newton  <will.newton@linaro.org>
36040         * nptl/sysdeps/pthread/pthread.h: Revert previous
36041         change.
36043         * sysdeps/generic/ldsodefs.h: Revert previous
36044         change.
36046         * libio/genops.c: Revert previous change.
36047         * libio/libioP.h: Likewise.
36048         * stdio-common/vfprintf.c: Likewise.
36050         * sysdeps/generic/math_private.h: Revert previous
36051         change.
36053         * sysdeps/generic/math_private.h: Check whether
36054         HAVE_RM_CTX is defined with #ifdef rather
36055         than #if.
36057         * argp/argp-fmtstream.h: Check whether
36058         __STRICT_ANSI__ is defined with #ifdef rather
36059         than #if.
36060         * argp/argp.h: Likewise.
36062         * libio/genops.c: Check whether
36063         _IO_JUMPS_OFFSET is defined with #ifdef rather
36064         than #if.
36065         * libio/libioP.h: Likewise.
36066         * stdio-common/vfprintf.c: Likewise.
36068         * sysdeps/generic/ldsodefs.h: Check whether
36069         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
36070         than #if.
36072         * nptl/sysdeps/pthread/pthread.h: Check
36073         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
36074         its value.
36076 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36078         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
36079         setting O_APPEND.
36080         * libio/tst-ftell-active-handler.c (do_append_test): Add a
36081         test case.
36083         [BZ #16680]
36084         * libio/fileops.c (_IO_file_open): Seek to end of file but
36085         don't cache the offset.
36086         (get_file_offset): Remove function.
36087         (do_ftell): Use cached offset when available.
36088         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
36089         don't cache the offset.
36090         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
36091         case.
36092         (do_one_test): Call it.
36093         (do_ftell_test): Fix up expected old offset for a+ mode.
36094         * libio/wfileops.c (do_ftell_wide): Used cached offset when
36095         available.
36097         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
36098         up test status with function return status.
36099         (do_write_test): Likewise.
36100         (do_append_test): Likewise.
36102         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
36103         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
36104         Remove.
36106 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36108         * math/gen-libm-test.pl (parse_args): Handle results specified for
36109         each rounding mode separately.
36110         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
36111         tests and results from lrint_tonearest_test_data,
36112         lrint_towardzero_test_data, lrint_downward_test_data and
36113         lrint_upward_test_data.
36114         (lrint_test): Use ALL_RM_TEST.
36115         (lrint_tonearest_test_data): Remove.
36116         (lrint_test_tonearest): Likewise.
36117         (lrint_towardzero_test_data): Likewise.
36118         (lrint_test_towardzero): Likewise.
36119         (lrint_downward_test_data): Likewise.
36120         (lrint_test_downward): Likewise.
36121         (lrint_upward_test_data): Likewise.
36122         (lrint_test_upward): Likewise.
36123         (llrint_test_data): Merge in per-rounding-mode tests and results
36124         from llrint_tonearest_test_data, llrint_towardzero_test_data,
36125         llrint_downward_test_data and llrint_upward_test_data.
36126         (llrint_test): Use ALL_RM_TEST.
36127         (llrint_tonearest_test_data): Remove.
36128         (llrint_test_tonearest): Likewise.
36129         (llrint_towardzero_test_data): Likewise.
36130         (llrint_test_towardzero): Likewise.
36131         (llrint_downward_test_data): Likewise.
36132         (llrint_test_downward): Likewise.
36133         (llrint_upward_test_data): Likewise.
36134         (llrint_test_upward): Likewise.
36135         (rint_test_data): Merge in per-rounding-mode tests and results
36136         from rint_tonearest_test_data, rint_towardzero_test_data,
36137         rint_downward_test_data and rint_upward_test_data.  Add
36138         per-rounding-mode results for tests not in those arrays.
36139         (rint_test): Use ALL_RM_TEST.
36140         (rint_tonearest_test_data): Remove.
36141         (rint_test_tonearest): Likewise.
36142         (rint_towardzero_test_data): Likewise.
36143         (rint_test_towardzero): Likewise.
36144         (rint_downward_test_data): Likewise.
36145         (rint_test_downward): Likewise.
36146         (rint_upward_test_data): Likewise.
36147         (rint_test_upward): Likewise.
36148         (main): Don't call removed functions.
36150 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36152         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
36153         "Compiled on ..." crapola.  It is anti-useful.
36155 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
36157         * scripts/evaluate-test.sh: Handle fourth argument to determine
36158         whether test run should stop on failure.
36159         * Makeconfig (stop-on-test-failure): New variable.
36160         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
36161         $(stop-on-test-failure).
36162         * Makefile (tests): Give a summary of results from testing and
36163         exit with failure status if they include an ERROR or FAIL.
36164         (xtests): Likewise.
36165         * manual/install.texi (Configuring and compiling): Mention
36166         stop-on-test-failure=y.
36167         * INSTALL: Regenerated.
36169 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36171         * scripts/versionlist.awk: New file.
36172         * Makerules [$(build-shared) = yes]
36173         (postclean-generated): Add Versions.def, not Versions.def.v and
36174         Versions.def.v.i.
36175         ($(common-objpfx)Versions.def.v.i): Target removed.
36176         ($(common-objpfx)Versions.def): New target.
36177         ($(common-objpfx)Versions.all): Depend on that rather that
36178         $(common-objpfx)Versions.def.v.
36179         * Versions.def: File removed.
36181         * Makeconfig (+gccwarn): Add -Wundef.
36182         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
36183         a dl-sysdep.h breaking its contract.
36184         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
36185         * include/stackinfo.h: New file.
36186         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
36187         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
36188         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
36189         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
36190         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
36191         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
36192         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36193         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36194         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36195         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36196         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36197         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
36198         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36199         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36200         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36202 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36204         [BZ #16707]
36205         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
36206         implementation.
36207         * math/libm-test.inc (round_test_data): Add more tests.
36209         [BZ #16706]
36210         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
36211         implementation.
36212         * math/libm-test.inc (nearbyint_test_data): Add more tests.
36214         [BZ #16701]
36215         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
36216         implementation.
36217         * math/libm-test.inc (ceil_test_data): Add more tests.
36219         * math/libm-test.inc (trunc_test_data): Add more tests related to
36220         BZ#16414.
36222 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36224         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
36225         with #if rather than #ifdef.
36226         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
36228 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
36230         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
36231         first.  Disable AVX-512 GCC support if assembler doesn't support
36232         it.
36233         * sysdeps/x86_64/configure: Regenerated.
36235 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
36237         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
36238         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
36239         (__old_pthread_attr_setstack): Likewise.
36240         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
36241         [!_STACK_GROWS_DOWN]: Likewise.
36243 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
36245         * config.make.in (have-bash2): Delete.
36246         * configure.ac (libc_cv_have_bash2): Delete.
36247         * configure: Regenerate.
36248         * elf/Makefile (common-ldd-rewrite): Rename to ...
36249         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
36250         (sh-ldd-rewrite): Delete.
36251         (bash-ldd-rewrite): Delete.
36252         (have-bash2): Delete checks.
36253         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
36254         ldd-rewrite.
36256         * config.make.in (have-ksh): Delete.
36257         (KSH): Delete.
36258         * configure.ac (libc_cv_have_ksh): Delete.
36259         * configure: Regenerate.
36261         * elf/Makefile: Delete $(have-ksh) check.
36262         ($(objpfx)sotruss): Change KSH to BASH.
36263         * elf/sotruss.ksh: Rename to ...
36264         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
36265         function style to match POSIX.  Drop ksh vim mode setting.
36267         * manual/time.texi (Specifying the Time Zone with TZ): Change
36268         Tuesday to Thursday.
36270         * debug/tst-longjmp_chk2.c: Update header comment.
36271         (stackoverflow_handler): Add comment.  Call assert on pass value.
36273 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
36275         [BZ #16194]
36276         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
36277         (HAVE_AVX512_ASM_SUPPORT): Likewise.
36278         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
36279         (La_x86_64_vector): Add zmm.
36280         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
36281         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
36282         ($(objpfx)tst-audit10): New target.
36283         ($(objpfx)tst-audit10.out): Likewise.
36284         (tst-audit10-ENV): New.
36285         (AVX512-CFLAGS): Likewise.
36286         (CFLAGS-tst-audit10.c): Likewise.
36287         (CFLAGS-tst-auditmod10a.c): Likewise.
36288         (CFLAGS-tst-auditmod10b.c): Likewise.
36289         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
36290         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
36291         * sysdeps/x86_64/configure: Regenerated.
36292         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
36293         AVX-512 zmm register support.
36294         (_dl_x86_64_save_sse): Likewise.
36295         (_dl_x86_64_restore_sse): Likewise.
36296         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
36297         size vector registers.
36298         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
36299         (ZMM_SIZE): Likewise.
36300         * sysdeps/x86_64/tst-audit10.c: New file.
36301         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
36302         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
36304 2014-03-13  Roland McGrath  <roland@hack.frob.com>
36306         * configure.ac (HAVE_EHDR_START): New check.
36307         * configure: Regenerated.
36308         * config.h.in (HAVE_EHDR_START): New #undef.
36309         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
36310         assuming the lowest-addressed segment maps the start of the file.
36312 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
36314         * INSTALL: Regenerated.
36316 2014-03-13  Will Newton  <will.newton@linaro.org>
36318         * manual/setjmp.texi (System V contexts): Improve
36319         clarity and grammar of documentation.
36321 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
36323         [BZ #16381]
36324         * elf/Makefile (tests): Add tst-pie2.
36325         (tests-pie): Add tst-pie2.
36326         * elf/tst-pie2.c: New file.
36327         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
36328         for ET_EXEC.
36329         * elf/rtld.c (map_doit): Load executable as lt_executable.
36330         (dl_main): Likewise.
36332 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
36334         [BZ #16642]
36335         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36336         (__ASSUME_PSELECT): Undefine.
36338 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36340         [BZ #16689]
36341         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
36342         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
36343         static build.
36344         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
36345         selector for static builds.
36347 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36349         [BZ #16695]
36350         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
36351         key in the buffer.
36353 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36355         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
36356         IFUNC selector for static builds.
36358 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
36360         * sysdeps/mips/math_private.h [__mips_hard_float]
36361         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
36362         libc_feresetround_mips_ctx.
36363         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
36364         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
36365         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
36367         [BZ #16677]
36368         * math/s_nextafter.c (__nextafter): Do not return value from
36369         overflowing computation.
36370         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36371         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
36372         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36373         Likewise.
36374         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
36375         Likewise.
36376         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36377         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
36379 2014-03-11  Roland McGrath  <roland@hack.frob.com>
36381         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
36382         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
36383         Move sfi_sp use from the load-multiple (that no longer sets sp) to
36384         the new mov targetting sp.
36386 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36388         [BZ #16683]
36389         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
36390         Define it for static builds as well.
36391         (NO_BZERO_IMPL): Likewise.
36393 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36395         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
36396         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
36397         multiarch strspn for PPC64.
36398         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
36399         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
36400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36401         (__libc_ifunc_impl_list): Likewise.
36402         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
36403         multiarch optimizations
36404         * string/strspn.c (strspn): Using macro to redefine symbol name.
36406 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36407             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36409         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
36410         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
36411         multiarch strncat for PPC64.
36412         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
36413         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
36414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36415         (__libc_ifunc_impl_list): Likewise.
36416         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
36417         multiarch optimizations
36419 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36421         [BZ #16639]
36422         * nscd/nscd.service: Make service type forking.
36424 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36426         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
36427         sign in non default rounding modes.
36428         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
36430 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
36432         * math/libm-test.inc (ALL_RM_TEST): New macro.
36433         (ceil_test): Use ALL_RM_TEST.
36434         (cimag_test): Likewise.
36435         (conj_test): Likewise.
36436         (copysign_test): Likewise.
36437         (cproj_test): Likewise.
36438         (creal_test): Likewise.
36439         (fabs_test): Likewise.
36440         (floor_test): Likewise.
36441         (fmax_test): Likewise.
36442         (fmin_test): Likewise.
36443         (fmod_test): Likewise.
36444         (fpclassify_test): Likewise.
36445         (frexp_test): Likewise.
36446         (ilogb_test): Likewise.
36447         (isfinite_test): Likewise.
36448         (finite_test): Likewise.
36449         (isgreater_test): Likewise.
36450         (isgreaterequal_test): Likewise.
36451         (isinf_test): Likewise.
36452         (isless_test): Likewise.
36453         (islessequal_test): Likewise.
36454         (islessgreater_test): Likewise.
36455         (isnan_test): Likewise.
36456         (isnormal_test): Likewise.
36457         (issignaling_test): Likewise.
36458         (isunordered_test): Likewise.
36459         (logb_test): Likewise.
36460         (logb_downward_test_data): Remove.
36461         (logb_test_downward): Likewise.
36462         (lround_test): Use ALL_RM_TEST.
36463         (llround_test): Likewise.
36464         (modf_test): Likewise.
36465         (nexttoward_test): Likewise.
36466         (remainder_test): Likewise.
36467         (drem_test): Likewise.
36468         (remainder_tonearest_test_data): Likewise.
36469         (remainder_test_tonearest): Likewise.
36470         (drem_test_tonearest): Likewise.
36471         (remainder_towardzero_test_data): Likewise.
36472         (remainder_test_towardzero): Likewise.
36473         (drem_test_towardzero): Likewise.
36474         (remainder_downward_test_data): Likewise.
36475         (remainder_test_downward): Likewise.
36476         (drem_test_downward): Likewise.
36477         (remainder_upward_test_data): Likewise.
36478         (remainder_test_upward): Likewise.
36479         (drem_test_upward): Likewise.
36480         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
36481         (round_test): Use ALL_RM_TEST.
36482         (signbit_test): Likewise.
36483         (trunc_test): Likewise.
36484         (significand_test): Likewise.
36485         (main): Don't call removed functions.
36487 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36489         [BZ #16674]
36490         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
36491         || __USE_XOPEN2K8].
36492         (ILL_ILLOPN): Likewise.
36493         (ILL_ILLADR): Likewise.
36494         (ILL_ILLTRP): Likewise.
36495         (ILL_PRVOPC): Likewise.
36496         (ILL_PRVREG): Likewise.
36497         (ILL_COPROC): Likewise.
36498         (ILL_BADSTK): Likewise.
36499         (FPE_INTDIV): Likewise.
36500         (FPE_INTOVF): Likewise.
36501         (FPE_FLTDIV): Likewise.
36502         (FPE_FLTOVF): Likewise.
36503         (FPE_FLTUND): Likewise.
36504         (FPE_FLTRES): Likewise.
36505         (FPE_FLTINV): Likewise.
36506         (FPE_FLTSUB): Likewise.
36507         (SEGV_MAPERR): Likewise.
36508         (SEGV_ACCERR): Likewise.
36509         (BUS_ADRALN): Likewise.
36510         (BUS_ADRERR): Likewise.
36511         (BUS_OBJERR): Likewise.
36512         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36513         (TRAP_TRACE): Likewise.
36514         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36515         __USE_XOPEN2K8].
36516         (CLD_KILLED): Likewise.
36517         (CLD_DUMPED): Likewise.
36518         (CLD_TRAPPED): Likewise.
36519         (CLD_STOPPED): Likewise.
36520         (CLD_CONTINUED): Likewise.
36521         (POLL_IN): Likewise.
36522         (POLL_OUT): Likewise.
36523         (POLL_MSG): Likewise.
36524         (POLL_ERR): Likewise.
36525         (POLL_PRI): Likewise.
36526         (POLL_HUP): Likewise.
36527         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
36528         Likewise.
36529         (ILL_ILLOPN): Likewise.
36530         (ILL_ILLADR): Likewise.
36531         (ILL_ILLTRP): Likewise.
36532         (ILL_PRVOPC): Likewise.
36533         (ILL_PRVREG): Likewise.
36534         (ILL_COPROC): Likewise.
36535         (ILL_BADSTK): Likewise.
36536         (FPE_INTDIV): Likewise.
36537         (FPE_INTOVF): Likewise.
36538         (FPE_FLTDIV): Likewise.
36539         (FPE_FLTOVF): Likewise.
36540         (FPE_FLTUND): Likewise.
36541         (FPE_FLTRES): Likewise.
36542         (FPE_FLTINV): Likewise.
36543         (FPE_FLTSUB): Likewise.
36544         (SEGV_MAPERR): Likewise.
36545         (SEGV_ACCERR): Likewise.
36546         (BUS_ADRALN): Likewise.
36547         (BUS_ADRERR): Likewise.
36548         (BUS_OBJERR): Likewise.
36549         (BUS_MCEERR_AR): Likewise.
36550         (BUS_MCEERR_AO): Likewise.
36551         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36552         (TRAP_TRACE): Likewise.
36553         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36554         __USE_XOPEN2K8].
36555         (CLD_KILLED): Likewise.
36556         (CLD_DUMPED): Likewise.
36557         (CLD_TRAPPED): Likewise.
36558         (CLD_STOPPED): Likewise.
36559         (CLD_CONTINUED): Likewise.
36560         (POLL_IN): Likewise.
36561         (POLL_OUT): Likewise.
36562         (POLL_MSG): Likewise.
36563         (POLL_ERR): Likewise.
36564         (POLL_PRI): Likewise.
36565         (POLL_HUP): Likewise.
36566         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
36567         (ILL_ILLOPN): Likewise.
36568         (ILL_ILLADR): Likewise.
36569         (ILL_ILLTRP): Likewise.
36570         (ILL_PRVOPC): Likewise.
36571         (ILL_PRVREG): Likewise.
36572         (ILL_COPROC): Likewise.
36573         (ILL_BADSTK): Likewise.
36574         (FPE_INTDIV): Likewise.
36575         (FPE_INTOVF): Likewise.
36576         (FPE_FLTDIV): Likewise.
36577         (FPE_FLTOVF): Likewise.
36578         (FPE_FLTUND): Likewise.
36579         (FPE_FLTRES): Likewise.
36580         (FPE_FLTINV): Likewise.
36581         (FPE_FLTSUB): Likewise.
36582         (SEGV_MAPERR): Likewise.
36583         (SEGV_ACCERR): Likewise.
36584         (BUS_ADRALN): Likewise.
36585         (BUS_ADRERR): Likewise.
36586         (BUS_OBJERR): Likewise.
36587         (BUS_MCEERR_AR): Likewise.
36588         (BUS_MCEERR_AO): Likewise.
36589         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36590         (TRAP_TRACE): Likewise.
36591         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36592         __USE_XOPEN2K8].
36593         (CLD_KILLED): Likewise.
36594         (CLD_DUMPED): Likewise.
36595         (CLD_TRAPPED): Likewise.
36596         (CLD_STOPPED): Likewise.
36597         (CLD_CONTINUED): Likewise.
36598         (POLL_IN): Likewise.
36599         (POLL_OUT): Likewise.
36600         (POLL_MSG): Likewise.
36601         (POLL_ERR): Likewise.
36602         (POLL_PRI): Likewise.
36603         (POLL_HUP): Likewise.
36604         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
36605         Likewise.
36606         (ILL_ILLOPN): Likewise.
36607         (ILL_ILLADR): Likewise.
36608         (ILL_ILLTRP): Likewise.
36609         (ILL_PRVOPC): Likewise.
36610         (ILL_PRVREG): Likewise.
36611         (ILL_COPROC): Likewise.
36612         (ILL_BADSTK): Likewise.
36613         (ILL_BADIADDR): Likewise.
36614         (ILL_BREAK): Likewise.
36615         (FPE_INTDIV): Likewise.
36616         (FPE_INTOVF): Likewise.
36617         (FPE_FLTDIV): Likewise.
36618         (FPE_FLTOVF): Likewise.
36619         (FPE_FLTUND): Likewise.
36620         (FPE_FLTRES): Likewise.
36621         (FPE_FLTINV): Likewise.
36622         (FPE_FLTSUB): Likewise.
36623         (FPE_DECOVF): Likewise.
36624         (FPE_DECDIV): Likewise.
36625         (FPE_DECERR): Likewise.
36626         (FPE_INVASC): Likewise.
36627         (FPE_INVDEC): Likewise.
36628         (SEGV_MAPERR): Likewise.
36629         (SEGV_ACCERR): Likewise.
36630         (SEGV_PSTKOVF): Likewise.
36631         (BUS_ADRALN): Likewise.
36632         (BUS_ADRERR): Likewise.
36633         (BUS_OBJERR): Likewise.
36634         (BUS_MCEERR_AR): Likewise.
36635         (BUS_MCEERR_AO): Likewise.
36636         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36637         (TRAP_TRACE): Likewise.
36638         (TRAP_BRANCH): Likewise.
36639         (TRAP_HWBKPT): Likewise.
36640         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36641         __USE_XOPEN2K8].
36642         (CLD_KILLED): Likewise.
36643         (CLD_DUMPED): Likewise.
36644         (CLD_TRAPPED): Likewise.
36645         (CLD_STOPPED): Likewise.
36646         (CLD_CONTINUED): Likewise.
36647         (POLL_IN): Likewise.
36648         (POLL_OUT): Likewise.
36649         (POLL_MSG): Likewise.
36650         (POLL_ERR): Likewise.
36651         (POLL_PRI): Likewise.
36652         (POLL_HUP): Likewise.
36653         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
36654         (ILL_ILLOPN): Likewise.
36655         (ILL_ILLADR): Likewise.
36656         (ILL_ILLTRP): Likewise.
36657         (ILL_PRVOPC): Likewise.
36658         (ILL_PRVREG): Likewise.
36659         (ILL_COPROC): Likewise.
36660         (ILL_BADSTK): Likewise.
36661         (FPE_INTDIV): Likewise.
36662         (FPE_INTOVF): Likewise.
36663         (FPE_FLTDIV): Likewise.
36664         (FPE_FLTOVF): Likewise.
36665         (FPE_FLTUND): Likewise.
36666         (FPE_FLTRES): Likewise.
36667         (FPE_FLTINV): Likewise.
36668         (FPE_FLTSUB): Likewise.
36669         (SEGV_MAPERR): Likewise.
36670         (SEGV_ACCERR): Likewise.
36671         (BUS_ADRALN): Likewise.
36672         (BUS_ADRERR): Likewise.
36673         (BUS_OBJERR): Likewise.
36674         (BUS_MCEERR_AR): Likewise.
36675         (BUS_MCEERR_AO): Likewise.
36676         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36677         (TRAP_TRACE): Likewise.
36678         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36679         __USE_XOPEN2K8].
36680         (CLD_KILLED): Likewise.
36681         (CLD_DUMPED): Likewise.
36682         (CLD_TRAPPED): Likewise.
36683         (CLD_STOPPED): Likewise.
36684         (CLD_CONTINUED): Likewise.
36685         (POLL_IN): Likewise.
36686         (POLL_OUT): Likewise.
36687         (POLL_MSG): Likewise.
36688         (POLL_ERR): Likewise.
36689         (POLL_PRI): Likewise.
36690         (POLL_HUP): Likewise.
36691         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36692         (ILL_ILLOPN): Likewise.
36693         (ILL_ILLADR): Likewise.
36694         (ILL_ILLTRP): Likewise.
36695         (ILL_PRVOPC): Likewise.
36696         (ILL_PRVREG): Likewise.
36697         (ILL_COPROC): Likewise.
36698         (ILL_BADSTK): Likewise.
36699         (FPE_INTDIV): Likewise.
36700         (FPE_INTOVF): Likewise.
36701         (FPE_FLTDIV): Likewise.
36702         (FPE_FLTOVF): Likewise.
36703         (FPE_FLTUND): Likewise.
36704         (FPE_FLTRES): Likewise.
36705         (FPE_FLTINV): Likewise.
36706         (FPE_FLTSUB): Likewise.
36707         (SEGV_MAPERR): Likewise.
36708         (SEGV_ACCERR): Likewise.
36709         (BUS_ADRALN): Likewise.
36710         (BUS_ADRERR): Likewise.
36711         (BUS_OBJERR): Likewise.
36712         (BUS_MCEERR_AR): Likewise.
36713         (BUS_MCEERR_AO): Likewise.
36714         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36715         (TRAP_TRACE): Likewise.
36716         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36717         __USE_XOPEN2K8].
36718         (CLD_KILLED): Likewise.
36719         (CLD_DUMPED): Likewise.
36720         (CLD_TRAPPED): Likewise.
36721         (CLD_STOPPED): Likewise.
36722         (CLD_CONTINUED): Likewise.
36723         (POLL_IN): Likewise.
36724         (POLL_OUT): Likewise.
36725         (POLL_MSG): Likewise.
36726         (POLL_ERR): Likewise.
36727         (POLL_PRI): Likewise.
36728         (POLL_HUP): Likewise.
36729         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36730         (ILL_ILLOPN): Likewise.
36731         (ILL_ILLADR): Likewise.
36732         (ILL_ILLTRP): Likewise.
36733         (ILL_PRVOPC): Likewise.
36734         (ILL_PRVREG): Likewise.
36735         (ILL_COPROC): Likewise.
36736         (ILL_BADSTK): Likewise.
36737         (FPE_INTDIV): Likewise.
36738         (FPE_INTOVF): Likewise.
36739         (FPE_FLTDIV): Likewise.
36740         (FPE_FLTOVF): Likewise.
36741         (FPE_FLTUND): Likewise.
36742         (FPE_FLTRES): Likewise.
36743         (FPE_FLTINV): Likewise.
36744         (FPE_FLTSUB): Likewise.
36745         (SEGV_MAPERR): Likewise.
36746         (SEGV_ACCERR): Likewise.
36747         (BUS_ADRALN): Likewise.
36748         (BUS_ADRERR): Likewise.
36749         (BUS_OBJERR): Likewise.
36750         (BUS_MCEERR_AR): Likewise.
36751         (BUS_MCEERR_AO): Likewise.
36752         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36753         (TRAP_TRACE): Likewise.
36754         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36755         __USE_XOPEN2K8].
36756         (CLD_KILLED): Likewise.
36757         (CLD_DUMPED): Likewise.
36758         (CLD_TRAPPED): Likewise.
36759         (CLD_STOPPED): Likewise.
36760         (CLD_CONTINUED): Likewise.
36761         (POLL_IN): Likewise.
36762         (POLL_OUT): Likewise.
36763         (POLL_MSG): Likewise.
36764         (POLL_ERR): Likewise.
36765         (POLL_PRI): Likewise.
36766         (POLL_HUP): Likewise.
36767         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36768         (ILL_ILLOPN): Likewise.
36769         (ILL_ILLADR): Likewise.
36770         (ILL_ILLTRP): Likewise.
36771         (ILL_PRVOPC): Likewise.
36772         (ILL_PRVREG): Likewise.
36773         (ILL_COPROC): Likewise.
36774         (ILL_BADSTK): Likewise.
36775         (ILL_DBLFLT): Likewise.
36776         (ILL_HARDWALL): Likewise.
36777         (FPE_INTDIV): Likewise.
36778         (FPE_INTOVF): Likewise.
36779         (FPE_FLTDIV): Likewise.
36780         (FPE_FLTOVF): Likewise.
36781         (FPE_FLTUND): Likewise.
36782         (FPE_FLTRES): Likewise.
36783         (FPE_FLTINV): Likewise.
36784         (FPE_FLTSUB): Likewise.
36785         (SEGV_MAPERR): Likewise.
36786         (SEGV_ACCERR): Likewise.
36787         (BUS_ADRALN): Likewise.
36788         (BUS_ADRERR): Likewise.
36789         (BUS_OBJERR): Likewise.
36790         (BUS_MCEERR_AR): Likewise.
36791         (BUS_MCEERR_AO): Likewise.
36792         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36793         (TRAP_TRACE): Likewise.
36794         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36795         __USE_XOPEN2K8].
36796         (CLD_KILLED): Likewise.
36797         (CLD_DUMPED): Likewise.
36798         (CLD_TRAPPED): Likewise.
36799         (CLD_STOPPED): Likewise.
36800         (CLD_CONTINUED): Likewise.
36801         (POLL_IN): Likewise.
36802         (POLL_OUT): Likewise.
36803         (POLL_MSG): Likewise.
36804         (POLL_ERR): Likewise.
36805         (POLL_PRI): Likewise.
36806         (POLL_HUP): Likewise.
36807         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36808         (ILL_ILLOPN): Likewise.
36809         (ILL_ILLADR): Likewise.
36810         (ILL_ILLTRP): Likewise.
36811         (ILL_PRVOPC): Likewise.
36812         (ILL_PRVREG): Likewise.
36813         (ILL_COPROC): Likewise.
36814         (ILL_BADSTK): Likewise.
36815         (FPE_INTDIV): Likewise.
36816         (FPE_INTOVF): Likewise.
36817         (FPE_FLTDIV): Likewise.
36818         (FPE_FLTOVF): Likewise.
36819         (FPE_FLTUND): Likewise.
36820         (FPE_FLTRES): Likewise.
36821         (FPE_FLTINV): Likewise.
36822         (FPE_FLTSUB): Likewise.
36823         (SEGV_MAPERR): Likewise.
36824         (SEGV_ACCERR): Likewise.
36825         (BUS_ADRALN): Likewise.
36826         (BUS_ADRERR): Likewise.
36827         (BUS_OBJERR): Likewise.
36828         (BUS_MCEERR_AR): Likewise.
36829         (BUS_MCEERR_AO): Likewise.
36830         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36831         (TRAP_TRACE): Likewise.
36832         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36833         __USE_XOPEN2K8].
36834         (CLD_KILLED): Likewise.
36835         (CLD_DUMPED): Likewise.
36836         (CLD_TRAPPED): Likewise.
36837         (CLD_STOPPED): Likewise.
36838         (CLD_CONTINUED): Likewise.
36839         (POLL_IN): Likewise.
36840         (POLL_OUT): Likewise.
36841         (POLL_MSG): Likewise.
36842         (POLL_ERR): Likewise.
36843         (POLL_PRI): Likewise.
36844         (POLL_HUP): Likewise.
36845         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36846         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36848         [BZ #16670]
36849         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36850         before #include of <time.h>.
36851         [!__USE_XOPEN2K] (__need_timespec): Likewise.
36852         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36853         (test-xfail-UNIX98/sched.h/conform): Likewise.
36855 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36857         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36858         error absence of trapping exception support.
36859         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36861 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36863         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36864         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36865         * timezone/Makefile (testdata): Move definition above include of
36866         Rules.
36867         (test-zones): New variable.
36868         (tests-special): Add zone files.
36869         (build-testdata): Use $(evaluate-test).
36871         * elf/Makefile (tests-special): Rename tests to end with .out.
36872         ($(objpfx)noload-mem): Likewise.
36873         ($(objpfx)tst-leaks1-mem): Likewise.
36874         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36875         * iconv/Makefile (xtests-special): Change test-iconvconfig to
36876         $(objpfx)test-iconvconfig.out.
36877         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
36878         set -e inside subshell and redirect output to file.
36879         * iconvdata/Makefile (generated): Rename tests to end with .out.
36880         Correct type.
36881         (tests-special): Rename tests to end with .out.
36882         ($(objpfx)mtrace-tst-loading): Likewise.
36883         * intl/Makefile (generated): Likewise.
36884         (tests-special): Likewise.
36885         ($(objpfx)mtrace-tst-gettext): Likewise.
36886         * misc/Makefile (generated): Likewise.
36887         (tests-special): Likewise.
36888         ($(objpfx)tst-error1-mem): Likewise.
36889         * nptl/Makefile (tests-special): Likewise.
36890         ($(objpfx)tst-stack3-mem): Likewise.
36891         (generated): Likewise.
36892         * posix/Makefile (generated): Likewise.
36893         (tests-special): Likewise.
36894         (xtests-special): Likewise.
36895         ($(objpfx)tst-fnmatch-mem): Likewise.
36896         ($(objpfx)bug-regex2-mem): Likewise.
36897         ($(objpfx)bug-regex14-mem): Likewise.
36898         ($(objpfx)bug-regex21-mem): Likewise.
36899         ($(objpfx)bug-regex31-mem): Likewise.
36900         ($(objpfx)tst-vfork3-mem): Likewise.
36901         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36902         ($(objpfx)tst-pcre-mem): Likewise.
36903         ($(objpfx)tst-boost-mem): Likewise.
36904         ($(objpfx)bug-ga2-mem): Likewise.
36905         ($(objpfx)bug-glob2-mem): Likewise.
36906         * resolv/Makefile (generate): Likewise.
36907         (tests-special): Likewise.
36908         (xtests-special): Likewise.
36909         (generated): Likewise.
36910         ($(objpfx)mtrace-tst-leaks): Likewise.
36911         ($(objpfx)mtrace-tst-leaks2): Likewise.
36913         * scripts/merge-test-results.sh: New file.
36914         * Makefile (tests-special-notdir): New variable.
36915         (tests): Run merge-test-results.sh.
36916         (xtests): Likewise.
36917         * Rules (tests-special-notdir): New variable.
36918         (xtests-special-notdir): Likewise.
36919         (tests): Run merge-test-results.sh
36920         (xtests): Likewise.
36922         * Makeconfig (test-xfail-name): New variable.
36923         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36924         compute variable name for expected failures.
36925         * conform/Makefile (conformtest-headers-data): New variable.
36926         (conformtest-standards): Likewise.
36927         (conformtest-headers-ISO): Likewise.
36928         (conformtest-headers-ISO99): Likewise.
36929         (conformtest-headers-ISO11): Likewise.
36930         (conformtest-headers-POSIX): Likewise.
36931         (conformtest-headers-XPG3): Likewise.
36932         (conformtest-headers-XPG4): Likewise.
36933         (conformtest-headers-UNIX98): Likewise.
36934         (conformtest-headers-XOPEN2K): Likewise.
36935         (conformtest-headers-POSIX2008): Likewise.
36936         (conformtest-headers-XOPEN2K8): Likewise.
36937         (conformtest-header-list-base): Likewise.
36938         (conformtest-header-list-tests): Likewise.
36939         (conformtest-header-base): Likewise.
36940         (conformtest-header-tests): Likewise.
36941         (tests-special): Add $(conformtest-header-list-tests).  If
36942         [$(fast-check) && !$(cross-compiling)], add
36943         $(conformtest-header-tests) instead of
36944         $(objpfx)run-conformtest.out.
36945         (generated): Add $(conformtest-header-list-base).  If
36946         [$(fast-check) && !$(cross-compiling)], add
36947         $(conformtest-header-base).  Remove previous setting.
36948         ($(conformtest-header-list-tests)): New target.
36949         (test-xfail-run-conformtest): Remove variable.
36950         ($(objpfx)run-conformtest.out): Remove target.
36951         (test-xfail-ISO11/complex.h/conform): New variable.
36952         (test-xfail-ISO11/stdalign.h/conform): Likewise.
36953         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36954         (test-xfail-XPG3/varargs.h/conform): Likewise.
36955         (test-xfail-XPG4/varargs.h/conform): Likewise.
36956         (test-xfail-UNIX98/varargs.h/conform): Likewise.
36957         (test-xfail-XPG4/ndbm.h/conform): Likewise.
36958         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36959         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36960         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36961         (test-xfail-XPG3/fcntl.h/conform): Likewise.
36962         (test-xfail-XPG3/ftw.h/conform): Likewise.
36963         (test-xfail-XPG3/grp.h/conform): Likewise.
36964         (test-xfail-XPG3/langinfo.h/conform): Likewise.
36965         (test-xfail-XPG3/limits.h/conform): Likewise.
36966         (test-xfail-XPG3/pwd.h/conform): Likewise.
36967         (test-xfail-XPG3/search.h/conform): Likewise.
36968         (test-xfail-XPG3/signal.h/conform): Likewise.
36969         (test-xfail-XPG3/stdio.h/conform): Likewise.
36970         (test-xfail-XPG3/stdlib.h/conform): Likewise.
36971         (test-xfail-XPG3/string.h/conform): Likewise.
36972         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36973         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36974         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36975         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36976         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36977         (test-xfail-XPG3/sys/types.h/conform): Likewise.
36978         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36979         (test-xfail-XPG3/termios.h/conform): Likewise.
36980         (test-xfail-XPG3/time.h/conform): Likewise.
36981         (test-xfail-XPG3/unistd.h/conform): Likewise.
36982         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36983         (test-xfail-XPG4/fcntl.h/conform): Likewise.
36984         (test-xfail-XPG4/langinfo.h/conform): Likewise.
36985         (test-xfail-XPG4/netdb.h/conform): Likewise.
36986         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36987         (test-xfail-XPG4/signal.h/conform): Likewise.
36988         (test-xfail-XPG4/stdio.h/conform): Likewise.
36989         (test-xfail-XPG4/stdlib.h/conform): Likewise.
36990         (test-xfail-XPG4/stropts.h/conform): Likewise.
36991         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36992         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36993         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36994         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36995         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36996         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36997         (test-xfail-XPG4/sys/time.h/conform): Likewise.
36998         (test-xfail-XPG4/sys/types.h/conform): Likewise.
36999         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
37000         (test-xfail-XPG4/termios.h/conform): Likewise.
37001         (test-xfail-XPG4/ucontext.h/conform): Likewise.
37002         (test-xfail-XPG4/unistd.h/conform): Likewise.
37003         (test-xfail-XPG4/utmpx.h/conform): Likewise.
37004         (test-xfail-POSIX/sched.h/conform): Likewise.
37005         (test-xfail-POSIX/signal.h/conform): Likewise.
37006         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37007         (test-xfail-POSIX/tar.h/conform): Likewise.
37008         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
37009         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
37010         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
37011         (test-xfail-UNIX98/netdb.h/conform): Likewise.
37012         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
37013         (test-xfail-UNIX98/sched.h/conform): Likewise.
37014         (test-xfail-UNIX98/signal.h/conform): Likewise.
37015         (test-xfail-UNIX98/stdio.h/conform): Likewise.
37016         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
37017         (test-xfail-UNIX98/stropts.h/conform): Likewise.
37018         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
37019         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
37020         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
37021         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
37022         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
37023         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
37024         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
37025         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
37026         (test-xfail-UNIX98/unistd.h/conform): Likewise.
37027         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
37028         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
37029         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
37030         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
37031         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
37032         (test-xfail-XOPEN2K/math.h/conform): Likewise.
37033         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
37034         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
37035         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
37036         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
37037         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
37038         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
37039         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
37040         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
37041         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
37042         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
37043         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
37044         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
37045         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
37046         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
37047         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
37048         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
37049         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
37050         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
37051         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
37052         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
37053         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
37054         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
37055         (test-xfail-POSIX2008/signal.h/conform): Likewise.
37056         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
37057         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
37058         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
37059         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
37060         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
37061         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
37062         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
37063         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
37064         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
37065         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
37066         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
37067         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
37068         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
37069         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
37070         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
37071         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
37072         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
37073         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
37074         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
37075         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
37076         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
37077         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
37078         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
37079         (conformtest-cc-flags): Likewise.
37080         ($(conformtest-header-tests): New target.
37081         * conform/check-header-lists.sh: New file.
37082         * conform/run-conformtest.sh: Remove.
37084         * conform/conformtest.pl: Allow ' and \ in values given for
37085         constants.
37086         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
37087         inclusion.
37088         [POSIX] (sys/types.h): Likewise.
37089         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
37090         inclusion.
37091         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
37092         inclusion.
37093         * conform/data/signal.h-data (SIGIO): Remove expectation.
37094         [XPG3] (SIGBUS): Do not expect.
37095         [POSIX || XPG3] (SIGPOLL): Likewise.
37096         [POSIX || XPG3] (SIGPROF): Likewise.
37097         [POSIX || XPG3] (SIGSYS): Likewise.
37098         [XPG3] (SIGTRAP): Likewise.
37099         [POSIX || XPG3] (SIGURG): Likewise.
37100         [POSIX || XPG3] (SIGVTALRM): Likewise.
37101         [POSIX || XPG3] (SIGXCPU): Likewise.
37102         [POSIX || XPG3] (SIGXFSZ): Likewise.
37103         [POSIX] (SA_SIGINFO): Expect.
37104         [XPG3] (siginfo_t): Do not expect type or contents.
37105         [POSIX] (si_pid): Do not expect element.
37106         [POSIX] (si_uid): Likewise.
37107         [POSIX] (si_addr): Likewise.
37108         [POSIX] (si_status): Likewise.
37109         [POSIX] (si_band): Likewise.
37110         [XPG4] (si_value): Likewise.
37111         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
37112         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
37113         [POSIX || XPG3] (ILL_ILLADR): Likewise.
37114         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
37115         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
37116         [POSIX || XPG3] (ILL_PRVREG): Likewise.
37117         [POSIX || XPG3] (ILL_COPROC): Likewise.
37118         [POSIX || XPG3] (ILL_BADSTK): Likewise.
37119         [POSIX || XPG3] (FPE_INTDIV): Likewise.
37120         [POSIX || XPG3] (FPE_INTOVF): Likewise.
37121         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
37122         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
37123         [POSIX || XPG3] (FPE_FLTUND): Likewise.
37124         [POSIX || XPG3] (FPE_FLTRES): Likewise.
37125         [POSIX || XPG3] (FPE_FLTINV): Likewise.
37126         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
37127         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
37128         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
37129         [POSIX || XPG3] (BUS_ADRALN): Likewise.
37130         [POSIX || XPG3] (BUS_ADRERR): Likewise.
37131         [POSIX || XPG3] (BUS_OBJERR): Likewise.
37132         [POSIX || XPG3] (CLD_EXITED): Likewise.
37133         [POSIX || XPG3] (CLD_KILLED): Likewise.
37134         [POSIX || XPG3] (CLD_DUMPED): Likewise.
37135         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
37136         [POSIX || XPG3] (CLD_STOPPED): Likewise.
37137         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
37138         [POSIX || XPG3] (POLL_IN): Likewise.
37139         [POSIX || XPG3] (POLL_OUT): Likewise.
37140         [POSIX || XPG3] (POLL_MSG): Likewise.
37141         [POSIX || XPG3] (POLL_ERR): Likewise.
37142         [POSIX || XPG3] (POLL_PRI): Likewise.
37143         [POSIX || XPG3] (POLL_HUP): Likewise.
37144         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
37145         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
37146         (SIG*): Do not allow.
37147         [XPG3] (si_*): Likewise.
37148         [XPG3] (SI_*): Likewise.
37149         [XPG3 || XPG4] (sigev_*): Likewise.
37150         [XPG3 || XPG4] (SIGEV_*): Likewise.
37151         [XPG3 || XPG4] (sival_*): Likewise.
37152         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
37153         [POSIX || XPG3] (BUS_*): Likewise.
37154         [POSIX || XPG3] (CLD_*): Likewise.
37155         [POSIX || XPG3] (FPE_*): Likewise.
37156         [POSIX || XPG3] (ILL_*): Likewise.
37157         [POSIX || XPG3] (POLL_*): Likewise.
37158         [POSIX || XPG3] (SEGV_*): Likewise.
37159         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
37160         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
37161         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
37162         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
37163         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
37164         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
37165         Specify type and value.
37166         (TVERSLEN): Likewise.
37167         (REGTYPE): Likewise.
37168         (AREGTYPE): Likewise.
37169         (LNKTYPE): Likewise.
37170         (SYMTYPE): Likewise.
37171         (CHRTYPE): Likewise.
37172         (BLKTYPE): Likewise.
37173         (DIRTYPE): Likewise.
37174         (FIFOTYPE): Likewise.
37175         (CONTTYPE): Likewise.
37176         (TSUID): Likewise.
37177         (TSGID): Likewise.
37178         (TSVTX): Likewise.
37179         (TUREAD): Likewise.
37180         (TUWRITE): Likewise.
37181         (TUEXEC): Likewise.
37182         (TGREAD): Likewise.
37183         (TGWRITE): Likewise.
37184         (TGEXEC): Likewise.
37185         (TOREAD): Likewise.
37186         (TOWRITE): Likewise.
37187         (TOEXEC): Likewise.
37188         [POSIX] (TSVTX): Expect constant.
37190 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
37192         * Makefile (tests): Change dependencies to ....
37193         (tests-special): ... additions to this variable.
37194         (tests): Depend on $(tests-special).
37195         * Makerules (check-abi-list): New variable.
37196         (check-abi): Depend on $(check-abi-list).
37197         [$(subdir) = elf] (tests-special): Add
37198         $(objpfx)check-abi-libc.out.
37199         [$(build-shared) = yes && subdir] (tests-special): Add
37200         $(check-abi-list).
37201         [$(build-shared) = yes && subdir] (tests): Do not depend on
37202         check-abi.
37203         * Rules (tests): Depend on $(tests-special).
37204         (xtests): Depend on $(xtests-special).
37205         * catgets/Makefile (tests): Change dependencies to ....
37206         (tests-special): ... additions to this variable.
37207         * conform/Makefile (tests): Change dependencies to ....
37208         (tests-special): ... additions to this variable.
37209         * elf/Makefile (tests): Change dependencies to ....
37210         (tests-special): ... additions to this variable.
37211         * grp/Makefile (tests): Change dependencies to ....
37212         (tests-special): ... additions to this variable.
37213         * iconv/Makefile (xtests): Change dependencies to ....
37214         (xtests-special): ... additions to this variable.
37215         * iconvdata/Makefile (tests): Change dependencies to ....
37216         (tests-special): ... additions to this variable.
37217         * intl/Makefile (tests): Change dependencies to ....
37218         (tests-special): ... additions to this variable.  Also add
37219         $(objpfx)tst-gettext.out.
37220         * io/Makefile (tests): Change dependencies to ....
37221         (tests-special): ... additions to this variable.
37222         * libio/Makefile (tests): Change dependencies to ....
37223         (tests-special): ... additions to this variable.
37224         * malloc/Makefile (tests): Change dependencies to ....
37225         (tests-special): ... additions to this variable.
37226         * misc/Makefile (tests): Change dependencies to ....
37227         (tests-special): ... additions to this variable.
37228         * nptl/Makefile (tests): Change dependencies to ....
37229         (tests-special): ... additions to this variable.
37230         * nptl_db/Makefile (tests): Change dependencies to ....
37231         (tests-special): ... additions to this variable.
37232         * posix/Makefile (tests): Change dependencies to ....
37233         (tests-special): ... additions to this variable.
37234         (xtests): Change dependencies to ....
37235         (xtests-special): ... additions to this variable.
37236         * resolv/Makefile (tests): Change dependencies to ....
37237         (tests-special): ... additions to this variable.
37238         (xtests): Change dependencies to ....
37239         (xtests-special): ... additions to this variable.
37240         * stdio-common/Makefile (tests): Change dependencies to ....
37241         (tests-special): ... additions to this variable.
37242         (do-tst-unbputc): Remove target.
37243         (do-tst-printf): Likewise.
37244         * stdlib/Makefile (tests): Change dependencies to ....
37245         (tests-special): ... additions to this variable.
37246         * string/Makefile (tests): Change dependencies to ....
37247         (tests-special): ... additions to this variable.
37248         * sysdeps/x86/Makefile (tests): Change dependencies to ....
37249         (tests-special): ... additions to this variable.
37251         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
37252         whole file.
37253         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
37254         whole file.
37255         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
37256         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
37258         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
37259         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
37260         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
37261         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
37262         * conform/data/libgen.h-data [XPG3]: Likewise.
37263         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
37264         * conform/data/ndbm.h-data [XPG3]: Likewise.
37265         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37266         * conform/data/netdb.h-data [XPG3]: Likewise.
37267         * conform/data/netinet/in.h-data [XPG3]: Likewise.
37268         * conform/data/poll.h-data [XPG3]: Likewise.
37269         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37270         * conform/data/strings.h-data [XPG3]: Likewise.
37271         * conform/data/stropts.h-data [XPG3]: Likewise.
37272         * conform/data/sys/mman.h-data [XPG3]: Likewise.
37273         * conform/data/sys/resource.h-data [XPG3]: Likewise.
37274         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
37275         Likewise.
37276         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
37277         * conform/data/sys/time.h-data [XPG3]: Likewise.
37278         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
37279         * conform/data/sys/uio.h-data [XPG3]: Likewise.
37280         * conform/data/sys/un.h-data [XPG3]: Likewise.
37281         * conform/data/syslog.h-data [XPG3]: Likewise.
37282         * conform/data/ucontext.h-data [XPG3]: Likewise.
37283         * conform/data/utmpx.h-data [XPG3]: Likewise.
37284         * conform/data/varargs.h-data [UNIX98]: Enable file.
37286         * manual/Makefile (INSTALL_INFO): Remove variable setting.
37288         * math/libm-test.inc (struct test_f_f_data): Move expected results
37289         into structure for each rounding mode.
37290         (struct test_ff_f_data): Likewise.
37291         (struct test_ff_f_data_nexttoward): Likewise.
37292         (struct test_fi_f_data): Likewise.
37293         (struct test_fl_f_data): Likewise.
37294         (struct test_if_f_data): Likewise.
37295         (struct test_fff_f_data): Likewise.
37296         (struct test_c_f_data): Likewise.
37297         (struct test_f_f1_data): Likewise.
37298         (struct test_fF_f1_data): Likewise.
37299         (struct test_ffI_f1_data): Likewise.
37300         (struct test_c_c_data): Likewise.
37301         (struct test_cc_c_data): Likewise.
37302         (struct test_f_i_data): Likewise.
37303         (struct test_ff_i_data): Likewise.
37304         (struct test_f_l_data): Likewise.
37305         (struct test_f_L_data): Likewise.
37306         (struct test_fFF_11_data): Likewise.
37307         (RM_): New macro.
37308         (RM_FE_DOWNWARD): Likewise.
37309         (RM_FE_TONEAREST): Likewise.
37310         (RM_FE_TOWARDZERO): Likewise.
37311         (RM_FE_UPWARD): Likewise.
37312         (RUN_TEST_LOOP_f_f): Update references to expected results.
37313         (RUN_TEST_LOOP_2_f): Likewise.
37314         (RUN_TEST_LOOP_fff_f): Likewise.
37315         (RUN_TEST_LOOP_c_f): Likewise.
37316         (RUN_TEST_LOOP_f_f1): Likewise.
37317         (RUN_TEST_LOOP_fF_f1): Likewise.
37318         (RUN_TEST_LOOP_fI_f1): Likewise.
37319         (RUN_TEST_LOOP_ffI_f1): Likewise.
37320         (RUN_TEST_LOOP_c_c): Likewise.
37321         (RUN_TEST_LOOP_cc_c): Likewise.
37322         (RUN_TEST_LOOP_f_i): Likewise.
37323         (RUN_TEST_LOOP_f_i_tg): Likewise.
37324         (RUN_TEST_LOOP_ff_i_tg): Likewise.
37325         (RUN_TEST_LOOP_f_b): Likewise.
37326         (RUN_TEST_LOOP_f_b_tg): Likewise.
37327         (RUN_TEST_LOOP_f_l): Likewise.
37328         (RUN_TEST_LOOP_f_L): Likewise.
37329         (RUN_TEST_LOOP_fFF_11): Likewise.
37330         * math/gen-libm-test.pl (parse_args): Output four copies of
37331         expected results for each test.
37333         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37334         (__ASSUME_UTIMES): Remove.
37335         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37336         (__ASSUME_UTIMES): Likewise.
37338         * math/gen-auto-libm-tests.c: Update comment on output format.
37339         (output_for_one_input_case): Generate before-rounding and
37340         after-rounding information as conditions on output flags not
37341         floating-point format.
37342         * math/auto-libm-test-out: Regenerated.
37343         * math/gen-libm-test.pl (cond_value): New function.
37344         (or_cond_value): Use cond_value.
37345         (generate_testfile): Handle conditional exceptions.
37347 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
37349         * math/libm-test.inc (max_valid_error): New variable.
37350         (init_max_error): Take new argument specifying whether function
37351         results are exactly determined.  Set max_valid_error and bound
37352         other variables for errors based on this argument.
37353         (set_max_error): Do not record results above max_valid_error.
37354         (check_float_internal): Only accept errors of up to 0.5ulps if
37355         also at most max_valid_error.
37356         (START): Take new argument EXACT and pass it to init_max_error.
37357         (acos_test): Update call to START.
37358         (acos_test_tonearest): Likewise.
37359         (acos_test_towardzero): Likewise.
37360         (acos_test_downward): Likewise.
37361         (acos_test_upward): Likewise.
37362         (acosh_test): Likewise.
37363         (asin_test): Likewise.
37364         (asin_test_tonearest): Likewise.
37365         (asin_test_towardzero): Likewise.
37366         (asin_test_downward): Likewise.
37367         (asin_test_upward): Likewise.
37368         (asinh_test): Likewise.
37369         (atan_test): Likewise.
37370         (atanh_test): Likewise.
37371         (atan2_test): Likewise.
37372         (cabs_test): Likewise.
37373         (cacos_test): Likewise.
37374         (cacosh_test): Likewise.
37375         (carg_test): Likewise.
37376         (casin_test): Likewise.
37377         (casinh_test): Likewise.
37378         (catan_test): Likewise.
37379         (catanh_test): Likewise.
37380         (cbrt_test): Likewise.
37381         (ccos_test): Likewise.
37382         (ccosh_test): Likewise.
37383         (ceil_test): Likewise.
37384         (cexp_test): Likewise.
37385         (cimag_test): Likewise.
37386         (clog_test): Likewise.
37387         (clog10_test): Likewise.
37388         (conj_test): Likewise.
37389         (copysign_test): Likewise.
37390         (cos_test): Likewise.
37391         (cos_test_tonearest): Likewise.
37392         (cos_test_towardzero): Likewise.
37393         (cos_test_downward): Likewise.
37394         (cos_test_upward): Likewise.
37395         (cosh_test): Likewise.
37396         (cosh_test_tonearest): Likewise.
37397         (cosh_test_towardzero): Likewise.
37398         (cosh_test_downward): Likewise.
37399         (cosh_test_upward): Likewise.
37400         (cpow_test): Likewise.
37401         (cproj_test): Likewise.
37402         (creal_test): Likewise.
37403         (csin_test): Likewise.
37404         (csinh_test): Likewise.
37405         (csqrt_test): Likewise.
37406         (ctan_test): Likewise.
37407         (ctan_test_tonearest): Likewise.
37408         (ctan_test_towardzero): Likewise.
37409         (ctan_test_downward): Likewise.
37410         (ctan_test_upward): Likewise.
37411         (ctanh_test): Likewise.
37412         (ctanh_test_tonearest): Likewise.
37413         (ctanh_test_towardzero): Likewise.
37414         (ctanh_test_downward): Likewise.
37415         (ctanh_test_upward): Likewise.
37416         (erf_test): Likewise.
37417         (erfc_test): Likewise.
37418         (exp_test): Likewise.
37419         (exp_test_tonearest): Likewise.
37420         (exp_test_towardzero): Likewise.
37421         (exp_test_downward): Likewise.
37422         (exp_test_upward): Likewise.
37423         (exp10_test): Likewise.
37424         (exp10_test_tonearest): Likewise.
37425         (exp10_test_towardzero): Likewise.
37426         (exp10_test_downward): Likewise.
37427         (exp10_test_upward): Likewise.
37428         (pow10_test): Likewise.
37429         (exp2_test): Likewise.
37430         (expm1_test): Likewise.
37431         (expm1_test_tonearest): Likewise.
37432         (expm1_test_towardzero): Likewise.
37433         (expm1_test_downward): Likewise.
37434         (expm1_test_upward): Likewise.
37435         (fabs_test): Likewise.
37436         (fdim_test): Likewise.
37437         (floor_test): Likewise.
37438         (fma_test): Likewise.
37439         (fma_test_towardzero): Likewise.
37440         (fma_test_downward): Likewise.
37441         (fma_test_upward): Likewise.
37442         (fmax_test): Likewise.
37443         (fmin_test): Likewise.
37444         (fmod_test): Likewise.
37445         (fpclassify_test): Likewise.
37446         (frexp_test): Likewise.
37447         (hypot_test): Likewise.
37448         (ilogb_test): Likewise.
37449         (isfinite_test): Likewise.
37450         (finite_test): Likewise.
37451         (isgreater_test): Likewise.
37452         (isgreaterequal_test): Likewise.
37453         (isinf_test): Likewise.
37454         (isless_test): Likewise.
37455         (islessequal_test): Likewise.
37456         (islessgreater_test): Likewise.
37457         (isnan_test): Likewise.
37458         (isnormal_test): Likewise.
37459         (issignaling_test): Likewise.
37460         (isunordered_test): Likewise.
37461         (j0_test): Likewise.
37462         (j1_test): Likewise.
37463         (jn_test): Likewise.
37464         (ldexp_test): Likewise.
37465         (lgamma_test): Likewise.
37466         (gamma_test): Likewise.
37467         (lrint_test): Likewise.
37468         (lrint_test_tonearest): Likewise.
37469         (lrint_test_towardzero): Likewise.
37470         (lrint_test_downward): Likewise.
37471         (lrint_test_upward): Likewise.
37472         (llrint_test): Likewise.
37473         (llrint_test_tonearest): Likewise.
37474         (llrint_test_towardzero): Likewise.
37475         (llrint_test_downward): Likewise.
37476         (llrint_test_upward): Likewise.
37477         (log_test): Likewise.
37478         (log10_test): Likewise.
37479         (log1p_test): Likewise.
37480         (log2_test): Likewise.
37481         (logb_test): Likewise.
37482         (logb_test_downward): Likewise.
37483         (lround_test): Likewise.
37484         (llround_test): Likewise.
37485         (modf_test): Likewise.
37486         (nearbyint_test): Likewise.
37487         (nextafter_test): Likewise.
37488         (nexttoward_test): Likewise.
37489         (pow_test): Likewise.
37490         (pow_test_tonearest): Likewise.
37491         (pow_test_towardzero): Likewise.
37492         (pow_test_downward): Likewise.
37493         (pow_test_upward): Likewise.
37494         (remainder_test): Likewise.
37495         (drem_test): Likewise.
37496         (remainder_test_tonearest): Likewise.
37497         (drem_test_tonearest): Likewise.
37498         (remainder_test_towardzero): Likewise.
37499         (drem_test_towardzero): Likewise.
37500         (remainder_test_downward): Likewise.
37501         (drem_test_downward): Likewise.
37502         (remainder_test_upward): Likewise.
37503         (drem_test_upward): Likewise.
37504         (remquo_test): Likewise.
37505         (rint_test): Likewise.
37506         (rint_test_tonearest): Likewise.
37507         (rint_test_towardzero): Likewise.
37508         (rint_test_downward): Likewise.
37509         (rint_test_upward): Likewise.
37510         (round_test): Likewise.
37511         (scalb_test): Likewise.
37512         (scalbn_test): Likewise.
37513         (scalbln_test): Likewise.
37514         (signbit_test): Likewise.
37515         (sin_test): Likewise.
37516         (sin_test_tonearest): Likewise.
37517         (sin_test_towardzero): Likewise.
37518         (sin_test_downward): Likewise.
37519         (sin_test_upward): Likewise.
37520         (sincos_test): Likewise.
37521         (sinh_test): Likewise.
37522         (sinh_test_tonearest): Likewise.
37523         (sinh_test_towardzero): Likewise.
37524         (sinh_test_downward): Likewise.
37525         (sinh_test_upward): Likewise.
37526         (sqrt_test): Likewise.
37527         (sqrt_test_tonearest): Likewise.
37528         (sqrt_test_towardzero): Likewise.
37529         (sqrt_test_downward): Likewise.
37530         (sqrt_test_upward): Likewise.
37531         (tan_test): Likewise.
37532         (tan_test_tonearest): Likewise.
37533         (tan_test_towardzero): Likewise.
37534         (tan_test_downward): Likewise.
37535         (tan_test_upward): Likewise.
37536         (tanh_test): Likewise.
37537         (tgamma_test): Likewise.
37538         (trunc_test): Likewise.
37539         (y0_test): Likewise.
37540         (y1_test): Likewise.
37541         (yn_test): Likewise.
37542         (significand_test): Likewise.
37544         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
37545         individual tests in comment.
37546         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
37547         (prev_max_error): New variable.
37548         (prev_real_max_error): Likewise.
37549         (prev_imag_max_error): Likewise.
37550         (compare_ulp_data): Don't refer to test names in comment.
37551         (find_test_ulps): Remove function.
37552         (find_function_ulps): Likewise.
37553         (find_complex_function_ulps): Likewise.
37554         (init_max_error): Take function name as argument.  Look up ulps
37555         for that function.
37556         (print_ulps): Remove function.
37557         (print_max_error): Use prev_max_error instead of calling
37558         find_function_ulps.
37559         (print_complex_max_error): Use prev_real_max_error and
37560         prev_imag_max_error instead of calling find_complex_function_ulps.
37561         (check_float_internal): Take max_ulp parameter instead of calling
37562         find_test_ulps.  Don't call print_ulps.
37563         (check_float): Update call to check_float_internal.
37564         (check_complex): Update calls to check_float_internal.
37565         (START): Pass argument to init_max_error.
37566         * math/gen-libm-test.pl (%results): Don't include "kind"
37567         information.
37568         (parse_ulps): Don't handle ulps of individual tests.
37569         (print_ulps_file): Likewise.
37570         (output_ulps): Likewise.
37571         * math/README.libm-test: Update.
37572         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
37573         individual tests.
37574         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
37575         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
37576         * sysdeps/arm/libm-test-ulps: Likewise.
37577         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
37578         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
37579         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
37580         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
37581         * sysdeps/microblaze/libm-test-ulps: Likewise.
37582         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
37583         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37584         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37585         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
37586         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37587         * sysdeps/sh/libm-test-ulps: Likewise.
37588         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37589         * sysdeps/tile/libm-test-ulps: Likewise.
37590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37592 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
37594         * math/libm-test.inc (print_complex_max_error): Check separately
37595         whether real and imaginary errors are within allowed range and
37596         pass 0 to print_complex_function_ulps instead of value within
37597         allowed range.
37599 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37601         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
37602         formatting.
37603         (get_handles_fopen): Likewise.
37604         (do_write_test): Likewise.
37606         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
37608         * libio/fileops.c (do_ftell): Use cached offset when
37609         available.
37610         * libio/iofwide.c (do_ftell_wide): Likewise.
37611         * libio/iofdopen.c (_IO_new_fdopen): Don't use
37612         _IO_file_attach.
37613         * libio/wfileops.c (_IO_fwide): Don't cache offset.
37615         [BZ #16532]
37616         * libio/libioP.h (get_file_offset): New function.
37617         * libio/fileops.c (get_file_offset): Likewise.
37618         (do_ftell): Likewise.
37619         (_IO_new_file_seekoff): Split out ftell logic.
37620         * libio/wfileops.c (do_ftell_wide): Likewise.
37621         (_IO_wfile_seekoff): Split out ftell logic.
37622         * libio/tst-ftell-active-handler.c: New test case.
37623         * libio/Makefile (tests): Add it.
37625 2014-03-03  Roland McGrath  <roland@hack.frob.com>
37627         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
37628         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
37630 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37632         [BZ #16639]
37633         * nscd/connections.c (nscd_init): Call do_exit.
37634         (start_threads): Call do_exit and notify_parent.
37635         (begin_drop_privileges): Call do_exit.
37636         (finish_drop_privileges): Likewise.
37637         * nscd/selinux.c (preserve_capabilities): Likewise.
37638         (install_real_capabilities): Likewise.
37639         (nscd_selinux_enabled): Likewise.
37640         (avc_create_thread): Likewise.
37641         (avc_alloc_lock): Likewise.
37642         (nscd_avc_init): Likewise.
37643         * nscd/nscd.c (parent_fd): New static variable.
37644         (main): Create a pipe between parent and child processes.
37645         Skip closing parent_fd.
37646         (monitor_child): New function.
37647         (do_exit): Likewise.
37648         (notify_parent): Likewise.
37649         * nscd/nscd.h (notify_parent): Likewise.
37650         (do_exit): Likewise.
37652 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
37654         * malloc/malloc.c (__libc_calloc): Revert last change.
37656 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37660 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37662         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
37663         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
37664         implementation.
37665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37666         (__libc_ifunc_impl_list): Likewise.
37667         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
37668         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
37669         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
37670         * string/strrchr.c: Define STRRCHR.
37672 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
37674         * benchtest/bench-strtok.c (simple_strtok): Delete.
37675         (strtok_string): Use as benchmark.
37676         * string/strtok (STRTOK): New macro.
37678 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
37680         * manual/threads.texi: Add header and standard comments to all
37681         functions.
37683         * elf/dl-lookup.c (check_match): New function.
37684         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37685         (do_lookup_x): Remove nested function check_match. Use non-nested
37686         function check_match.
37688 2014-02-28  Roland McGrath  <roland@hack.frob.com>
37690         * csu/Makefile (generated, before-compile): Use += rather than =.
37691         * catgets/Makefile (generated, generated-dirs): Likewise.
37692         * debug/Makefile (generated): Likewise.
37693         * dlfcn/Makefile (generated): Likewise.
37694         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37695         * iconvdata/Makefile (before-compile, generated): Likewise.
37696         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37697         * libio/Makefile (generated): Likewise.
37698         * malloc/Makefile (generated): Likewise.
37699         * manual/Makefile (generated, generated-dirs): Likewise.
37700         * misc/Makefile (generated): Likewise.
37701         * posix/Makefile (generated): Likewise.
37702         * resolv/Makefile (generated): Likewise.
37703         * sunrpc/Makefile (generated, generated-dirs): Likewise.
37704         * timezone/Makefile (generated, generated-dirs): Likewise.
37706         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37708 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37710         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37711         power8 implementation.
37712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37713         file: POWER8 llround ifunc implementation.
37714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37715         (__lllround): Add POWER8 implementation.
37716         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37717         POWER8 llround implementation.
37719         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37720         power8 implementation.
37721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37722         file: POWER8 llrint ifunc implementation.
37723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37724         Add POWER8 implementation.
37725         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37726         POWER8 llrint implementation.
37728         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37729         power8 implementation.
37730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37731         file: POWER8 finite ifunc implementation.
37732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37733         Add POWER8 implementation.
37734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37735         Likewise.
37736         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37737         POWER8 finite implementation.
37738         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37740         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37741         power8 implementation.
37742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37743         file: POWER8 isinf ifunc implementation.
37744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37745         POWER8 implementation.
37746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37747         Likewise.
37748         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37749         isinf implementation.
37750         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37752         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37753         (INIT_ARCH): Add hwcap2 initialization.
37754         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37755         power8 implementation.
37756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37757         file: POWER8 isnan ifunc implementation.
37758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37759         POWER8 implementation.
37760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37761         Likewise.
37762         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37763         isnan implementation.
37764         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37766 2014-02-27  Joey Ye  <joey.ye@arm.com>
37768         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37769         (_FP_NANFRAC_Q): Set to zero.
37771 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37773         [BZ #16623]
37774         * math/auto-libm-test-in: New test inputs.
37775         * math/auto-libm-test-out: Regenerate.
37776         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37777         and DA.
37778         (__cos): Likewise.
37779         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37781 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
37783         * scripts/evaluate-test.sh: Take new argument indicating whether
37784         failure is expected.
37785         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37786         indicating whether failure is expected.
37787         * conform/Makefile (test-xfail-run-conformtest): New variable.
37788         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37789         level.
37790         * posix/Makefile (test-xfail-annexc): New variable.
37791         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37793 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
37795         * argp/Makefile: Include Makeconfig immediately after defining
37796         subdir.
37797         * assert/Makefile: Likewise.
37798         * benchtests/Makefile: Likewise.
37799         * catgets/Makefile: Likewise.
37800         * conform/Makefile: Likewise.
37801         * crypt/Makefile: Likewise.
37802         * csu/Makefile: Likewise.
37803         (all): Remove target.
37804         * ctype/Makefile: Include Makeconfig immediately after defining
37805         subdir.
37806         * debug/Makefile: Likewise.
37807         * dirent/Makefile: Likewise.
37808         * dlfcn/Makefile: Likewise.
37809         * gmon/Makefile: Likewise.
37810         * gnulib/Makefile: Likewise.
37811         * grp/Makefile: Likewise.
37812         * gshadow/Makefile: Likewise.
37813         * hesiod/Makefile: Likewise.
37814         * hurd/Makefile: Likewise.
37815         (all): Remove target.
37816         * iconvdata/Makefile: Include Makeconfig immediately after
37817         defining subdir.
37818         * inet/Makefile: Likewise.
37819         * intl/Makefile: Likewise.
37820         * io/Makefile: Likewise.
37821         * libio/Makefile: Likewise.
37822         (all): Remove target.
37823         * locale/Makefile: Include Makeconfig immediately after defining
37824         subdir.
37825         * login/Makefile: Likewise.
37826         * mach/Makefile: Likewise.
37827         (all): Remove target.
37828         * malloc/Makefile: Include Makeconfig immediately after defining
37829         subdir.
37830         (all): Remove target.
37831         * manual/Makefile: Include Makeconfig immediately after defining
37832         subdir.
37833         * math/Makefile: Likewise.
37834         * misc/Makefile: Likewise.
37835         * nis/Makefile: Likewise.
37836         * nss/Makefile: Likewise.
37837         * po/Makefile: Likewise.
37838         (all): Remove target.
37839         * posix/Makefile: Include Makeconfig immediately after defining
37840         subdir.
37841         * pwd/Makefile: Likewise.
37842         * resolv/Makefile: Likewise.
37843         * resource/Makefile: Likewise.
37844         * rt/Makefile: Likewise.
37845         * setjmp/Makefile: Likewise.
37846         * shadow/Makefile: Likewise.
37847         * signal/Makefile: Likewise.
37848         * socket/Makefile: Likewise.
37849         * soft-fp/Makefile: Likewise.
37850         * stdio-common/Makefile: Likewise.
37851         * stdlib/Makefile: Likewise.
37852         * streams/Makefile: Likewise.
37853         * string/Makefile: Likewise.
37854         * sunrpc/Makefile: Likewise.
37855         (all): Remove target.
37856         * sysvipc/Makefile: Include Makeconfig immediately after defining
37857         subdir.
37858         * termios/Makefile: Likewise.
37859         * time/Makefile: Likewise.
37860         * timezone/Makefile: Likewise.
37861         (all): Remove target.
37862         * wcsmbs/Makefile: Include Makeconfig immediately after defining
37863         subdir.
37864         * wctype/Makefile: Likewise.
37866 2014-02-26  Steve Ellcey  <sellcey@mips.com>
37868         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37869         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37870         (libc_feholdexcept_setround_mips): Ditto.
37871         (libc_feholdsetround): New.
37872         (libc_feholdsetroundf): New.
37873         (libc_feholdsetroundl): New.
37874         (libc_feupdateenv_test_mips): New.
37875         (libc_feupdateenv_test): New.
37876         (libc_feupdateenv_testf): New.
37877         (libc_feupdateenv_testl): New.
37878         (libc_feresetround): New.
37879         (libc_feresetroundf): New.
37880         (libc_feresetroundl): New.
37881         (libc_fetestexcept_mips): New.
37882         (libc_fetestexcept): New.
37883         (libc_fetestexceptf): New.
37884         (libc_fetestexceptl): New.
37885         (HAVE_RM_CTX): New.
37886         (libc_feholdexcept_setround_mips_ctx): New.
37887         (libc_feholdexcept_setround_ctx): New.
37888         (libc_feholdexcept_setroundf_ctx): New.
37889         (libc_feholdexcept_setroundl_ctx): New.
37890         (libc_fesetenv_mips_ctx): New.
37891         (libc_fesetenv_ctx): New.
37892         (libc_fesetenv_ctxf): New.
37893         (libc_fesetenv_ctxl): New.
37894         (libc_feupdateenv_mips_ctx): New.
37895         (libc_feupdateenv_ctx): New.
37896         (libc_feupdateenvf_ctx): New.
37897         (libc_feupdateenvl_ctx): New.
37898         (libc_feholdsetround_mips_ctx): New.
37899         (libc_feholdsetround_ctx): New.
37900         (libc_feholdsetroundf_ctx): New.
37901         (libc_feholdsetroundl_ctx): New.
37902         (libc_feresetround_mips_ctx): New.
37903         (libc_feresetround_ctx): New.
37904         (libc_feresetroundf_ctx): New.
37905         (libc_feresetroundl_ctx): New.
37907 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
37909         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37911         * manual/ipc.texi: New file.
37912         * manual/Makefile (chapters): Add ipc.
37913         * manual/job.texi: Add "Inter-Process Communication" to next.
37914         * manual/process.texi: Add "Inter-Process Communication" to prev.
37916 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37920 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
37922         * malloc/malloc.c (__libc_calloc): Simplify implementation.
37924         * manual/arith.texi: Fix spaces after sentences.
37925         * manual/charset.texi: Likewise.
37926         * manual/errno.texi: Likewise.
37927         * manual/install.texi: Likewise.
37928         * manual/llio.texi: Likewise.
37929         * manual/locale.texi: Likewise.
37930         * manual/maint.texi: Likewise.
37931         * manual/math.texi: Likewise.
37932         * manual/memory.texi: Likewise.
37933         * manual/message.texi: Likewise.
37934         * manual/probes.texi: Likewise.
37935         * manual/resource.texi: Likewise.
37936         * manual/signal.texi: Likewise.
37937         * manual/socket.texi: Likewise.
37938         * manual/stdio.texi: Likewise.
37939         * manual/string.texi: Likewise.
37940         * manual/time.texi: Likewise.
37941         * manual/users.texi: Likewise.
37943 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
37945         [BZ #16632]
37946         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37947         _DEFAULT_SOURCE is defined.
37949 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
37950             Carlos O'Donell  <carlos@redhat.com>
37952         [BZ #16613]
37953         * elf/dl-tls.c (_dl_count_modids): New function.
37954         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37955         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37956         audit library and increment generation counter.
37957         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37958         * elf/tst-audit9.c: New file.
37959         * elf/tst-auditmod9a.c: New file.
37960         * elf/tst-auditmod9b.c: New file.
37961         * elf/Makefile: Add rules to build and run tst-audit9.
37963 2014-02-25  Florian Weimer  <fweimer@redhat.com>
37965         [BZ #15347]
37966         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37968 2014-02-25  Will Newton  <will.newton@linaro.org>
37970         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37971         (__longjmp): Restore sp and lr before restoring callee
37972         saved registers.  Add longjmp and longjmp_target
37973         SystemTap probe point.
37974         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37975         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37976         Define to zero to match jmpbuf layout.
37977         * sysdeps/arm/setjmp.S: Include stap-probe.h.
37978         (__sigsetjmp): Save sp and lr before saving callee
37979         saved registers.  Add setjmp SystemTap probe point.
37981 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37983         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37985 2014-02-24  Andreas Schwab  <schwab@suse.de>
37987         [BZ #15804]
37988         * elf/pldd.c (wait_for_ptrace_stop): New function.
37989         (main): Call it after attaching.
37991 2014-02-22  Roland McGrath  <roland@hack.frob.com>
37993         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37994         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37995         Versions files is now verboten.
37996         * hurd/Versions (libc: GLIBC_2.0):
37997         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37998         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37999         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
38000         * mach/Versions: Likewise.
38002         * csu/Versions: Remove unused %include.
38003         * resolv/Versions: Likewise.
38005 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
38007         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
38008         ($(objpfx)check-local-headers.out): Likewise.
38009         ($(objpfx)begin-end-check.out): Likewise.
38010         * Makerules (check-abi-%.out): Likewise.
38011         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
38012         ($(objpfx)test2.cat): Likewise.
38013         ($(objpfx)de/libc.cat): Likewise.
38014         ($(objpfx)test-gencat.out): Likewise.
38015         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
38016         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
38017         ($(objpfx)noload-mem): Likewise.
38018         ($(objpfx)tst-pathopt.out): Likewise.
38019         ($(objpfx)tst-rtld-load-self.out): Likewise.
38020         ($(objpfx)tst-array1-cmp.out): Likewise.
38021         ($(objpfx)tst-array1-static-cmp.out): Likewise.
38022         ($(objpfx)tst-array2-cmp.out): Likewise.
38023         ($(objpfx)tst-array3-cmp.out): Likewise.
38024         ($(objpfx)tst-array4-cmp.out): Likewise.
38025         ($(objpfx)tst-array5-cmp.out): Likewise.
38026         ($(objpfx)tst-array5-static-cmp.out): Likewise.
38027         ($(objpfx)check-textrel.out): Likewise.
38028         ($(objpfx)check-execstack.out): Likewise.
38029         ($(objpfx)check-localplt.out): Likewise.
38030         ($(objpfx)order2-cmp.out): Likewise.
38031         ($(objpfx)tst-leaks1-mem): Likewise.
38032         ($(objpfx)tst-leaks1-static-mem): Likewise.
38033         ($(objpfx)tst-initorder-cmp.out): Likewise.
38034         ($(objpfx)tst-initorder2-cmp.out): Likewise.
38035         ($(objpfx)tst-unused-dep.out): Likewise.
38036         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
38037         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38038         * iconv/Makefile (test-iconvconfig): Likewise.
38039         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
38040         ($(objpfx)iconv-test.out): Likewise.
38041         ($(objpfx)tst-tables.out): Likewise.
38042         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
38043         ($(objpfx)tst-gettext.out): Likewise.
38044         ($(objpfx)tst-translit.out): Likewise.
38045         ($(objpfx)tst-gettext2.out): Likewise.
38046         ($(objpfx)tst-gettext4.out): Likewise.
38047         ($(objpfx)tst-gettext6.out): Likewise.
38048         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
38049         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38050         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
38051         ($(objpfx)tst-fopenloc-mem.out): Likewise.
38052         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38053         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
38054         * posix/Makefile ($(objpfx)globtest.out): Likewise.
38055         ($(objpfx)wordexp-tst.out): Likewise.
38056         ($(objpfx)annexc.out): Likewise.
38057         ($(objpfx)tst-fnmatch-mem): Likewise.
38058         ($(objpfx)bug-regex2-mem): Likewise.
38059         ($(objpfx)bug-regex14-mem): Likewise.
38060         ($(objpfx)bug-regex21-mem): Likewise.
38061         ($(objpfx)bug-regex31-mem): Likewise.
38062         ($(objpfx)tst-vfork3-mem): Likewise.
38063         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38064         ($(objpfx)tst-pcre-mem): Likewise.
38065         ($(objpfx)tst-boost-mem): Likewise.
38066         ($(objpfx)tst-getconf.out): Likewise.
38067         ($(objpfx)bug-ga2-mem): Likewise.
38068         ($(objpfx)bug-glob2-mem): Likewise.
38069         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
38070         ($(objpfx)mtrace-tst-leaks2): Likewise.
38071         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
38072         ($(objpfx)tst-printf.out): Likewise.
38073         ($(objpfx)tst-setvbuf1.out): Likewise.
38074         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
38075         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
38076         ($(objpfx)tst-fmtmsg.out): Likewise.
38077         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
38078         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
38080         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
38081         * bits/sigaction.h [__USE_MISC]: Likewise.
38082         * bits/waitstatus.h: Update #endif comments.
38083         * ctype/ctype.h: Likewise.
38084         * dirent/dirent.h: Likewise.
38085         [__USE_MISC]: Remove redundant conditionals.
38086         * grp/grp.h: Update #endif comments.
38087         [__USE_GNU]: Remove redundant conditionals.
38088         [__USE_MISC]: Likewise.
38089         * inet/netinet/in.h [__USE_GNU]: Likewise.
38090         * io/sys/stat.h [__USE_MISC]: Likewise.
38091         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
38092         * libio/bits/stdio.h: Update #endif comments.
38093         [__USE_MISC]: Remove redundant conditionals.
38094         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
38095         * libio/stdio.h: Update #endif comments.
38096         [__USE_MISC]: Remove redundant conditionals.
38097         * math/bits/math-finite.h [__USE_MISC]: Likewise.
38098         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
38099         * math/math.h: Update #else and #endif comments.
38100         [__USE_MISC]: Remove redundant conditionals.
38101         * misc/sys/uio.h: Update #endif comments.
38102         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
38103         * posix/glob.h [__USE_MISC]: Likewise.
38104         * posix/sys/types.h: Update #endif comments.
38105         [__USE_MISC]: Remove redundant conditionals.
38106         * posix/sys/wait.h: Update #endif comments.
38107         [__USE_MISC]: Remove redundant conditionals.
38108         * posix/unistd.h: Update #endif comments.
38109         [__USE_MISC]: Remove redundant conditionals.
38110         * pwd/pwd.h [__USE_GNU]: Likewise.
38111         [__USE_MISC]: Likewise.
38112         * resolv/netdb.h [__USE_GNU]: Likewise.
38113         * signal/signal.h: Update #endif comments.
38114         [__USE_MISC]: Remove redundant conditionals.
38115         * stdlib/stdlib.h: Update #else and #endif comments.
38116         [__USE_MISC]: Remove redundant conditionals.
38117         [__USE_GNU]: Likewise.
38118         * string/bits/string2.h [__USE_MISC]: Likewise.
38119         * string/string.h: Update #endif comments.
38120         [__USE_MISC]: Remove redundant conditionals.
38121         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
38122         Likewise.
38123         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
38124         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
38125         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
38126         Likewise.
38127         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
38128         Likewise.
38129         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
38130         comments.
38131         [__USE_MISC]: Remove redundant conditionals.
38132         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
38133         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
38134         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
38135         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
38136         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
38137         Likewise.
38138         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
38139         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
38140         Likewise.
38141         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
38142         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
38143         Likewise.
38144         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
38145         Likewise.
38146         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
38147         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
38148         Likewise.
38149         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
38150         Likewise.
38151         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
38152         * sysdeps/x86/bits/string.h: Update #endif comments.
38153         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
38154         conditionals.
38155         * time/sys/time.h: Update #endif comments.
38156         * time/time.h: Likewise.
38157         [__USE_MISC]: Remove redundant conditionals.
38159 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
38161         [BZ #16600]
38162         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
38164 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
38166         * Versions.def (librt): Add GLIBC_2.17.
38168 2014-02-21  Adam Conrad  <adconrad@0c3.net>
38170         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
38171         synonym for _SYS_AUXV_H to allow direct inclusion.
38172         * sysdeps/sparc/bits/hwcap.h: Likewise.
38173         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
38174         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
38175         * sysdeps/sparc/sysdep.h: Likewise.
38177 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38179         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
38181 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38183         * benchtests/bench-strrchr.c: Print length instead of position.
38185 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
38187         [BZ #16611]
38188         * sysdeps/unix/sysv/linux/kernel-features.h
38189         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
38190         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
38191         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
38192         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
38193         Likewise.
38194         [__i386__ || __powerpc__ || __sh__ || __sparc__]
38195         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38196         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
38197         (__ASSUME_SENDMMSG): Define instead of using previous
38198         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
38199         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38200         (__ASSUME_SENDMMSG_SYSCALL): Define.
38201         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38202         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
38203         Likewise.
38204         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38205         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38206         Likewise.
38207         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38208         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38209         Likewise.
38210         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
38211         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38212         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38213         [__ASSUME_SENDMMSG]: Change conditionals to
38214         [__ASSUME_SENDMMSG_SOCKETCALL].
38215         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38216         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
38217         Define.
38218         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38219         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
38220         Likewise.
38221         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
38222         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38223         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38224         [!__ASSUME_SENDMMSG]: Change conditional to
38225         [!__ASSUME_SENDMMSG_SOCKETCALL].
38226         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38227         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38228         Define.
38230         [BZ #16610]
38231         * sysdeps/unix/sysv/linux/kernel-features.h
38232         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
38233         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
38234         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
38235         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
38236         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38237         [__i386__ || __sparc__]
38238         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38239         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
38240         (__ASSUME_RECVMMSG): Define instead of using previous
38241         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
38242         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38243         (__ASSUME_RECVMMSG_SYSCALL): Define.
38244         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38245         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38246         Likewise.
38247         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38248         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38249         Likewise.
38250         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38251         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38252         Likewise.
38253         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__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/microblaze/kernel-features.h
38259         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38260         Define.
38261         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38262         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38263         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38264         Likewise.
38265         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
38266         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38267         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38268         [!__ASSUME_RECVMMSG]: Change condition to
38269         [!__ASSUME_RECVMMSG_SOCKETCALL].
38270         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38271         (__ASSUME_RECVMMSG_SYSCALL): Define.
38273         [BZ #16609]
38274         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
38275         __powerpc__ || __s390__ || __sh__ || __sparc__]
38276         (__ASSUME_SOCKETCALL): Define.
38277         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
38278         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
38279         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
38280         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
38281         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38282         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38283         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
38284         (__ASSUME_ACCEPT4): Define instead of using previous
38285         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
38286         __powerpc__ || __sparc__ || __s390__)] condition.
38287         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38288         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38289         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
38290         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38291         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38292         [!__ASSUME_ACCEPT4]: Change condition to
38293         [!__ASSUME_ACCEPT4_SOCKETCALL].
38294         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38295         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
38296         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
38297         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38298         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
38299         __ASSUME_ACCEPT4_SYSCALL.
38300         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
38301         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
38302         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38303         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
38304         __ASSUME_ACCEPT4_SYSCALL.
38305         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
38306         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38307         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38308         [__ASSUME_ACCEPT4]: Change condition to
38309         [__ASSUME_ACCEPT4_SOCKETCALL].
38310         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38311         (__ASSUME_SOCKETCALL): Define.
38312         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
38313         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38314         (__ASSUME_SOCKETCALL): Define.
38315         (__ASSUME_ACCEPT4): Remove.
38316         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
38317         Define.
38318         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38319         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
38320         Likewise.
38321         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38322         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38324         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
38325         macro.
38326         (HWCAP_ARM_LPAE): Likewise.
38327         (HWCAP_ARM_EVTSTRM): Likewise.
38328         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
38329         Add vpfd32, lpae and evtstrm.
38330         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
38331         Increase to 22.
38333 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
38335         * math/auto-libm-test-in: Add tests of clog10.
38336         * math/auto-libm-test-out: Regenerated.
38337         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
38338         * sysdeps/i386/fpu/libm-test-ulps: Update.
38339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38341 2014-02-18  Andreas Schwab  <schwab@suse.de>
38343         [BZ #16574]
38344         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
38345         Store non-zero if the second buffer was newly allocated.
38346         (send_dg): Likewise.
38347         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
38348         to send_vc and send_dg.
38349         (res_nsend): Pass NULL for ansp2_malloced.
38350         * resolv/res_query.c (__libc_res_nquery): Add parameter
38351         answerp2_malloced and pass it down to __libc_res_nsend.
38352         (res_nquery): Pass additional NULL to __libc_res_nquery.
38353         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
38354         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
38355         second answer buffer if answerp2_malloced was set.
38356         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
38357         (__libc_res_nquerydomain): Add parameter
38358         answerp2_malloced and pass it down to __libc_res_nquery.
38359         (res_nquerydomain): Pass additional NULL to
38360         __libc_res_nquerydomain.
38361         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
38362         additional NULL to __libc_res_nsend and __libc_res_nquery.
38363         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
38364         additional NULL to __libc_res_nsearch.
38365         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
38366         parameter of __libc_res_nsearch to check for separately allocated
38367         second buffer.
38368         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
38369         __libc_res_nquery.
38370         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
38371         additional NULL to __libc_res_nquery.
38372         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
38373         __libc_res_nsearch.
38374         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
38375         * include/resolv.h: Update prototypes of __libc_res_nquery,
38376         __libc_res_nsearch, __libc_res_nsend.
38378 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
38380         * math/auto-libm-test-in: Add tests of fma.
38381         * math/auto-libm-test-out: Regenerated.
38382         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
38383         (fma_towardzero_test_data): Likewise.
38384         (fma_downward_test_data): Likewise.
38385         (fma_upward_test_data): Likewise.
38386         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
38387         mpc_mode.
38388         (rounding_modes): Add values for new field.
38389         (func_calc_method): Add value mpfr_fff_f.
38390         (func_calc_desc): Add mpfr_fff_f union field.
38391         (test_function): Add field exact_args.
38392         (FUNC): Add macro argument EXACT_ARGS.
38393         (FUNC_mpfr_f_f): Update call to FUNC.
38394         (FUNC_mpfr_f_f): Likewise.
38395         (FUNC_mpfr_ff_f): Likewise.
38396         (FUNC_mpfr_if_f): Likewise.
38397         (FUNC_mpc_c_f): Likewise.
38398         (FUNC_mpc_c_c): Likewise.
38399         (test_functions): Add fma.  Update calls to FUNC.
38400         (handle_input_arg): Add argument exact_args.
38401         (add_test): Update call to handle_input_arg.
38402         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
38403         (output_for_one_input_case): Update call to calc_generic_results.
38404         Recalculate exact zero results in each rounding mode.
38406         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
38407         non-negative before setting low bit.
38408         * math/auto-libm-test-in: Mark one asin test possibly having
38409         spurious underflow.
38410         * math/auto-libm-test-out: Regenerated.
38411         * sysdeps/i386/fpu/libm-test-ulps: Update.
38412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38414 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
38416         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
38417         * sysdeps/unix/sysv/linux/microblaze: Move directory from
38418         ports/sysdeps/unix/sysv/linux/microblaze.
38419         * README: Add missing listing for microblaze*-*-linux-gnu.
38421 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
38423         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
38424         duplicate code
38426 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
38428         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
38429         * sysdeps/unix/sysv/linux/ia64: Move directory from
38430         ports/sysdeps/unix/sysv/linux/ia64.
38431         * README: Update listing for ia64-*-linux-gnu.
38433 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
38434             Joseph Myers  <joseph@codesourcery.com>
38436         * Makeconfig (test-name): New variable.
38437         (evaluate-test): Likewise.
38438         * Makerules (do-test-clean): Remove .test-result files.
38439         (common-mostlyclean): Likewise.
38440         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
38441         * scripts/evaluate-test.sh: New file.
38443 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
38445         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
38446         separate $(objpfx)tst-fopenloc-cmp.out and
38447         $(objpfx)tst-fopenloc-mem.out targets.
38448         (tests): Update dependencies.
38449         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
38450         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
38451         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
38452         (tst-rxspencer-no-utf8-ARGS): New variable.
38453         (tst-rxspencer-no-utf8-ENV): Likewise.
38454         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
38455         instead of $(objpfx)tst-rxspencer-mem.
38456         ($(objpfx)tst-rxspencer-mem): Change target to
38457         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
38458         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
38459         * posix/tst-rxspencer-no-utf8.c: New file.
38461         * elf/Makefile ($(objpfx)order.out): Remove rule.
38462         [$(run-built-tests) = yes] (tests): Depend on
38463         $(objpfx)order-cmp.out.
38464         ($(objpfx)order-cmp.out): New rule.
38465         [$(run-built-tests) = yes] (tests): Depend on
38466         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
38467         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
38468         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
38469         $(objpfx)tst-array5-static-cmp.out.
38470         ($(objpfx)tst-array1.out): Remove rule.
38471         ($(objpfx)tst-array1-cmp.out): New rule.
38472         ($(objpfx)tst-array1-static.out): Remove rule.
38473         ($(objpfx)tst-array1-static-cmp.out): New rule.
38474         ($(objpfx)tst-array2.out): Remove rule.
38475         ($(objpfx)tst-array2-cmp.out): New rule.
38476         ($(objpfx)tst-array3.out): Remove rule.
38477         ($(objpfx)tst-array3-cmp.out): New rule.
38478         ($(objpfx)tst-array4.out): Remove rule.
38479         ($(objpfx)tst-array4-cmp.out): New rule.
38480         ($(objpfx)tst-array5.out): Remove rule.
38481         ($(objpfx)tst-array5-cmp.out): New rule.
38482         ($(objpfx)tst-array5-static.out): Remove rule.
38483         ($(objpfx)tst-array5-static-cmp.out): New rule.
38484         [$(run-built-tests) = yes] (tests): Depend on
38485         $(objpfx)order2-cmp.out.
38486         ($(objpfx)order2.out): Remove rule.
38487         ($(objpfx)order2-cmp.out): New rule.
38488         ($(objpfx)tst-initorder.out): Remove rule.
38489         [$(run-built-tests) = yes] (tests): Depend on
38490         $(objpfx)tst-initorder-cmp.out.
38491         ($(objpfx)tst-initorder-cmp.out): New rule.
38492         ($(objpfx)tst-initorder2.out): Remove rule.
38493         [$(run-built-tests) = yes] (tests): Depend on
38494         $(objpfx)tst-initorder2-cmp.out.
38495         ($(objpfx)tst-initorder2-cmp.out): New rule.
38496         [$(run-built-tests) = yes] (tests): Depend on
38497         $(objpfx)tst-unused-dep-cmp.out.
38498         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
38499         ($(objpfx)tst-unused-dep-cmp.out): New rule.
38500         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
38501         on $(objpfx)tst-setvbuf1-cmp.out.
38502         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
38503         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
38504         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
38505         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
38506         ($(objpfx)tst-svc.out): Remove rule.
38507         ($(objpfx)tst-svc-cmp.out): New rule.
38509 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
38511         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
38512         * ctype/ctype.h [__USE_MISC]: Likewise.
38513         * dirent/dirent.h [__USE_MISC]: Likewise.
38514         * grp/grp.h [__USE_MISC]: Likewise.
38515         * io/fcntl.h [__USE_MISC]: Likewise.
38516         * io/sys/stat.h [__USE_MISC]: Likewise.
38517         * libio/stdio.h [__USE_MISC]: Likewise.
38518         * posix/unistd.h [__USE_MISC]: Likewise.
38519         * pwd/pwd.h [__USE_MISC]: Likewise.
38520         * stdlib.h [__USE_MISC]: Likewise.
38521         * string/bits/string2.h [__USE_MISC]: Likewise.
38522         * string/string.h [__USE_MISC]: Likewise.
38523         * time/time.h [__USE_MISC]: Likewise.
38525 2014-02-13  Andreas Schwab  <schwab@suse.de>
38527         [BZ #16574]
38528         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
38529         second answer buffer if it was separately allocated.
38531 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
38533         * sysdeps/mips/math-tests.h: Include <features.h>.
38534         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38535         (ROUNDING_TESTS_long_double): Do not define.
38536         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38537         (EXCEPTION_TESTS_long_double): Likewise.
38538         * sysdeps/mips/mips64/libm-test-ulps: Update.
38540         * include/features.h (__USE_BSD): Remove macro definitions.
38541         (__USE_SVID): Likewise.
38542         (_BSD_SOURCE): Likewise.
38543         (_SVID_SOURCE): Likewise.
38544         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
38545         from definition of _DEFAULT_SOURCE.
38546         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
38547         [_DEFAULT_SOURCE].
38548         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
38549         * bits/mman.h [__USE_BSD]: Likewise.
38550         * bits/termios.h [__USE_BSD]: Likewise.
38551         * bits/waitstatus.h [__USE_BSD]: Likewise.
38552         * ctype/ctype.h [__USE_SVID]: Likewise.
38553         * dirent/dirent.h [__USE_BSD]: Likewise.
38554         * grp/grp.h [__USE_SVID]: Likewise.
38555         [__USE_BSD]: Likewise.
38556         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
38557         * io/fcntl.h [__USE_BSD]: Likewise.
38558         * io/ftw.h [__USE_BSD]: Likewise.
38559         * io/sys/stat.h [__USE_BSD]: Likewise.
38560         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
38561         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
38562         * libio/stdio.h [__USE_SVID]: Likewise.
38563         [__USE_BSD]: Likewise.
38564         * math/math.h [__USE_SVID]: Likewise.
38565         [__USE_BSD]: Likewise.
38566         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
38567         * misc/bits/syslog.h [__USE_BSD]: Likewise.
38568         * misc/search.h [__USE_SVID]: Likewise.
38569         * misc/sys/mman.h [__USE_BSD]: Likewise.
38570         * misc/sys/syslog.h [__USE_BSD]: Likewise.
38571         * misc/sys/uio.h [__USE_BSD]: Likewise.
38572         * posix/bits/unistd.h [__USE_BSD]: Likewise.
38573         * posix/glob.h [__USE_BSD]: Likewise.
38574         * posix/regex.h [__USE_BSD]: Likewise.
38575         * posix/sys/types.h [__USE_BSD]: Likewise.
38576         [__USE_SVID]: Likewise.
38577         * posix/sys/utsname.h [__USE_SVID]: Likewise.
38578         * posix/sys/wait.h [__USE_BSD]: Likewise.
38579         [__USE_SVID]: Likewise.
38580         * posix/unistd.h [__USE_BSD]: Likewise.
38581         [__USE_SVID]: Likewise.
38582         * pwd/pwd.h [__USE_SVID]: Likewise.
38583         * resolv/netdb.h [__USE_BSD]: Likewise.
38584         * setjmp/setjmp.h [__USE_BSD]: Likewise.
38585         * signal/signal.h [__USE_BSD]: Likewise.
38586         [__USE_SVID]: Likewise.
38587         * socket/sys/socket.h [__USE_BSD]: Likewise.
38588         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
38589         * stdlib/stdlib.h [__USE_BSD]: Likewise.
38590         [__USE_SVID]: Likewise.
38591         * string/bits/string2.h [__USE_BSD]: Likewise.
38592         [__USE_SVID]: Likewise.
38593         * string/bits/string3.h [__USE_BSD]: Likewise.
38594         * string/endian.h [__USE_BSD]: Likewise.
38595         * string/string.h [__USE_SVID]: Likewise.
38596         [__USE_BSD]: Likewise.
38597         * string/strings.h [__USE_BSD]: Likewise.
38598         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
38599         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
38600         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
38601         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
38602         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
38603         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
38604         Likewise.
38605         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
38606         Likewise.
38607         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
38608         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
38609         Likewise.
38610         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
38611         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
38612         Likewise.
38613         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
38614         Likewise.
38615         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
38616         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
38617         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
38618         Likewise.
38619         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
38620         Likewise.
38621         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
38622         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
38623         * termios/termios.h [__USE_BSD]: Likewise.
38624         * time/sys/time.h [__USE_BSD]: Likewise.
38625         * time/time.h [__USE_BSD]: Likewise.
38626         [__USE_SVID]: Likewise.
38628         * Makefile (subdir_targets): Remove subdir_lint.out.
38630         * stdio-common/Makefile (do-tst-unbputc): Remove target.
38631         (do-tst-printf): Likewise.
38632         (tests): Depend directly on $(objpfx)tst-unbputc.out and
38633         $(objpfx)tst-printf.out.
38635         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
38637         * Makerules (check-abi-%): Change target to
38638         $(objpfx)check-abi-%.out.
38639         (check-abi target): Update dependencies.
38640         (check-abi-pattern variable): Redirect output of diff to $@.
38641         (check-abi variable): Likewise.
38642         * elf/Makefile (check-abi): Update dependencies.
38644         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
38645         unused.
38646         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
38647         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
38648         subnormal range.
38649         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
38650         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
38651         value has largest subnormal exponent.
38652         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
38653         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
38654         * sysdeps/aarch64/soft-fp/sfp-machine.h
38655         (_FP_TININESS_AFTER_ROUNDING): New macro.
38656         * sysdeps/alpha/soft-fp/sfp-machine.h
38657         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38658         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38659         Likewise.
38660         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
38661         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38662         * sysdeps/mips/soft-fp/sfp-machine.h
38663         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38664         * sysdeps/powerpc/soft-fp/sfp-machine.h
38665         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38666         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38667         Likewise.
38668         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38669         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38670         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38671         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38672         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38673         Likewise.
38675 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
38677         [BZ #16545]
38678         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38679         model 1.
38681 2014-02-12  Richard Henderson  <rth@redhat.com>
38683         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38684         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38685         * sysdeps/unix/sysv/linux/alpha: Move directory from
38686         ports/sysdeps/unix/sysv/linux/alpha.
38687         * README: Update listing for alpha-*-linux-gnu.
38689 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
38691         * include/features.h: Update comment documenting feature test
38692         macros.
38693         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
38694         _DEFAULT_SOURCE.
38695         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38696         (_SVID_SOURCE): Likewise.
38697         (_DEFAULT_SOURCE): Update description of default features.
38698         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38699         with _GNU_SOURCE.
38700         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38701         (S_ISVTX): Likewise.
38702         * manual/math.texi (Mathematical Constants): Likewise.
38703         * manual/signal.texi (Interrupted Primitives): Likewise.
38704         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38705         * math/test-matherr.c (_SVID_SOURCE): Do not define.
38706         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38707         Don't refer to _SVID_SOURCE in warning text.
38709         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38711         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38712         already defined.
38713         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38714         * sysdeps/mips/dl-lookup.c: Remove.
38715         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38717 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38719         [BZ #16447]
38720         * math/auto-libm-test-in: Add testcase for expl.
38721         * math/auto-libm-test-out: Regenerate.
38722         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38723         calculation of unsafe.
38724         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38726 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38728         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38729         * sysdeps/unix/sysv/linux/aarch64: Move directory from
38730         ports/sysdeps/unix/sysv/linux/aarch64.
38731         * README: Update listing for aarch64*-*-linux-gnu.
38733 2014-02-11  Will Newton  <will.newton@linaro.org>
38735         * manual/probes.texi (Mathematical Function Probes): Use
38736         "triggered" instead of "hit".
38738         * manual/probes.texi (Internal Probes): Add documentation
38739         of setjmp, longjmp and longjmp_target probes.
38741         * include/stap-probe.h: Add comment about probe argument
38742         format.
38744         * malloc/mtrace.c (attribute_hidden): Remove unused macro
38745         definition.  (tr_where, tr_freehook, tr_mallochook,
38746         tr_reallochook, tr_memalignhook): Use ANSI protoype.
38748 2014-02-11  David S. Miller  <davem@davemloft.net>
38750         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38751         processing int_tests.
38753 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
38755         * sysdeps/mips: Move directory from ports/sysdeps/mips.
38756         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38757         * sysdeps/unix/sysv/linux/mips: Move directory from
38758         ports/sysdeps/unix/sysv/linux/mips.
38759         * README: Update listing for mips-*-linux-gnu and
38760         mips64-*-linux-gnu.
38762 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
38764         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38765         * sysdeps/unix/sysv/linux/m68k: Move directory from
38766         ports/sysdeps/unix/sysv/linux/m68k.
38767         * README: Update listing for m68k-*-linux-gnu.
38769 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
38771         * sysdeps/tile: Move directory from ports/sysdeps/tile.
38772         * sysdeps/unix/sysv/linux/generic: Move directory from
38773         ports/sysdeps/unix/sysv/linux/generic.
38774         * sysdeps/unix/sysv/linux/tile: Move directory from
38775         ports/sysdeps/unix/sysv/linux/tile.
38776         * README: Update listing for tile*-*-linux-gnu.
38778 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
38780         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38781         __builtin_expect.
38782         * benchtests/bench-memmem.c (simple_memmem): Likewise.
38783         * catgets/open_catalog.c (__open_catalog): Likewise.
38784         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38785         * debug/confstr_chk.c: Likewise.
38786         * debug/fread_chk.c (__fread_chk): Likewise.
38787         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38788         * debug/getgroups_chk.c: Likewise.
38789         * debug/mbsnrtowcs_chk.c: Likewise.
38790         * debug/mbsrtowcs_chk.c: Likewise.
38791         * debug/mbstowcs_chk.c: Likewise.
38792         * debug/memcpy_chk.c: Likewise.
38793         * debug/memmove_chk.c: Likewise.
38794         * debug/mempcpy_chk.c: Likewise.
38795         * debug/memset_chk.c: Likewise.
38796         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38797         * debug/strcat_chk.c (__strcat_chk): Likewise.
38798         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38799         * debug/strncat_chk.c (__strncat_chk): Likewise.
38800         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38801         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38802         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38803         * debug/wcpncpy_chk.c: Likewise.
38804         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38805         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38806         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38807         * debug/wcsncpy_chk.c: Likewise.
38808         * debug/wcsnrtombs_chk.c: Likewise.
38809         * debug/wcsrtombs_chk.c: Likewise.
38810         * debug/wcstombs_chk.c: Likewise.
38811         * debug/wmemcpy_chk.c: Likewise.
38812         * debug/wmemmove_chk.c: Likewise.
38813         * debug/wmempcpy_chk.c: Likewise.
38814         * debug/wmemset_chk.c: Likewise.
38815         * dirent/scandirat.c (SCANDIRAT): Likewise.
38816         * dlfcn/dladdr1.c (dladdr1): Likewise.
38817         * dlfcn/dladdr.c (dladdr): Likewise.
38818         * dlfcn/dlclose.c (dlclose_doit): Likewise.
38819         * dlfcn/dlerror.c (__dlerror): Likewise.
38820         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38821         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38822         * dlfcn/dlopen.c (dlopen_doit): Likewise.
38823         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38824         * dlfcn/dlsym.c (dlsym_doit): Likewise.
38825         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38826         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38827         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38828         Likewise.
38829         * elf/dl-conflict.c: Likewise.
38830         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38831         * elf/dl-dst.h: Likewise.
38832         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38833         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38834         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38835         * elf/dl-init.c (call_init, _dl_init): Likewise.
38836         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38837         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38838         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38839         Likewise.
38840         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38841         Likewise.
38842         * elf/dl-minimal.c (__libc_memalign): Likewise.
38843         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38844         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38845         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38846         * elf/dl-sym.c (do_sym): Likewise.
38847         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38848         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38849         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38850         * elf/dl-writev.h (_dl_writev): Likewise.
38851         * elf/ldconfig.c (search_dir): Likewise.
38852         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38853         (dl_main): Likewise.
38854         * elf/setup-vdso.h (setup_vdso): Likewise.
38855         * grp/compat-initgroups.c (compat_call): Likewise.
38856         * grp/fgetgrent.c (fgetgrent): Likewise.
38857         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38858         * grp/putgrent.c (putgrent): Likewise.
38859         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38860         Likewise.
38861         * hurd/hurdinit.c: Likewise.
38862         * iconvdata/8bit-gap.c (struct): Likewise.
38863         * iconvdata/ansi_x3.110.c : Likewise.
38864         * iconvdata/big5.c : Likewise.
38865         * iconvdata/big5hkscs.c : Likewise.
38866         * iconvdata/cp1255.c: Likewise.
38867         * iconvdata/cp1258.c : Likewise.
38868         * iconvdata/cp932.c : Likewise.
38869         * iconvdata/euc-cn.c: Likewise.
38870         * iconvdata/euc-jisx0213.c : Likewise.
38871         * iconvdata/euc-jp.c: Likewise.
38872         * iconvdata/euc-jp-ms.c : Likewise.
38873         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38874         * iconvdata/gb18030.c : Likewise.
38875         * iconvdata/gbbig5.c (const): Likewise.
38876         * iconvdata/gbgbk.c: Likewise.
38877         * iconvdata/gbk.c : Likewise.
38878         * iconvdata/ibm1364.c : Likewise.
38879         * iconvdata/ibm930.c : Likewise.
38880         * iconvdata/ibm932.c: Likewise.
38881         * iconvdata/ibm933.c : Likewise.
38882         * iconvdata/ibm935.c : Likewise.
38883         * iconvdata/ibm937.c : Likewise.
38884         * iconvdata/ibm939.c : Likewise.
38885         * iconvdata/ibm943.c: Likewise.
38886         * iconvdata/iso_11548-1.c: Likewise.
38887         * iconvdata/iso-2022-cn.c : Likewise.
38888         * iconvdata/iso-2022-cn-ext.c : Likewise.
38889         * iconvdata/iso-2022-jp-3.c: Likewise.
38890         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38891         * iconvdata/iso-2022-kr.c : Likewise.
38892         * iconvdata/iso646.c (gconv_end): Likewise.
38893         * iconvdata/iso_6937-2.c : Likewise.
38894         * iconvdata/iso_6937.c : Likewise.
38895         * iconvdata/iso8859-1.c: Likewise.
38896         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38897         * iconvdata/shift_jisx0213.c : Likewise.
38898         * iconvdata/sjis.c : Likewise.
38899         * iconvdata/t.61.c : Likewise.
38900         * iconvdata/tcvn5712-1.c : Likewise.
38901         * iconvdata/tscii.c: Likewise.
38902         * iconvdata/uhc.c : Likewise.
38903         * iconvdata/unicode.c (gconv_end): Likewise.
38904         * iconvdata/utf-16.c (gconv_end): Likewise.
38905         * iconvdata/utf-32.c (gconv_end): Likewise.
38906         * iconvdata/utf-7.c (base64): Likewise.
38907         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38908         * iconv/gconv_close.c (__gconv_close): Likewise.
38909         * iconv/gconv_open.c (__gconv_open): Likewise.
38910         * iconv/gconv_simple.c (internal_ucs4_loop_single)
38911         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38912         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38913         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38914         (ucs4le_internal_loop_single): Likewise.
38915         * iconv/iconv.c (iconv): Likewise.
38916         * iconv/iconv_close.c: Likewise.
38917         * iconv/loop.c (SINGLE): Likewise.
38918         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38919         * include/atomic.h: Likewise.
38920         * inet/inet6_option.c (option_alloc): Likewise.
38921         * intl/bindtextdom.c (set_binding_values): Likewise.
38922         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38923         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38924         * intl/localealias.c (read_alias_file): Likewise.
38925         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38926         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38927         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38928         * libio/fmemopen.c (fmemopen): Likewise.
38929         * libio/iofgets.c (_IO_fgets): Likewise.
38930         * libio/iofgets_u.c (fgets_unlocked): Likewise.
38931         * libio/iofgetws.c (fgetws): Likewise.
38932         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38933         * libio/iogetdelim.c (_IO_getdelim): Likewise.
38934         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38935         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38936         * locale/findlocale.c (_nl_find_locale): Likewise.
38937         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38938         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38939         Likewise.
38940         * locale/setlocale.c (setlocale): Likewise.
38941         * login/programs/pt_chown.c (main): Likewise.
38942         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38943         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38944         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38945         (mmap, mmap64, mremap, munmap): Likewise.
38946         * math/e_exp2l.c: Likewise.
38947         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38948         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38949         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38950         * math/s_catan.c (__catan): Likewise.
38951         * math/s_catanf.c (__catanf): Likewise.
38952         * math/s_catanh.c (__catanh): Likewise.
38953         * math/s_catanhf.c (__catanhf): Likewise.
38954         * math/s_catanhl.c (__catanhl): Likewise.
38955         * math/s_catanl.c (__catanl): Likewise.
38956         * math/s_ccosh.c (__ccosh): Likewise.
38957         * math/s_ccoshf.c (__ccoshf): Likewise.
38958         * math/s_ccoshl.c (__ccoshl): Likewise.
38959         * math/s_cexp.c (__cexp): Likewise.
38960         * math/s_cexpf.c (__cexpf): Likewise.
38961         * math/s_cexpl.c (__cexpl): Likewise.
38962         * math/s_clog10.c (__clog10): Likewise.
38963         * math/s_clog10f.c (__clog10f): Likewise.
38964         * math/s_clog10l.c (__clog10l): Likewise.
38965         * math/s_clog.c (__clog): Likewise.
38966         * math/s_clogf.c (__clogf): Likewise.
38967         * math/s_clogl.c (__clogl): Likewise.
38968         * math/s_csin.c (__csin): Likewise.
38969         * math/s_csinf.c (__csinf): Likewise.
38970         * math/s_csinh.c (__csinh): Likewise.
38971         * math/s_csinhf.c (__csinhf): Likewise.
38972         * math/s_csinhl.c (__csinhl): Likewise.
38973         * math/s_csinl.c (__csinl): Likewise.
38974         * math/s_csqrt.c (__csqrt): Likewise.
38975         * math/s_csqrtf.c (__csqrtf): Likewise.
38976         * math/s_csqrtl.c (__csqrtl): Likewise.
38977         * math/s_ctan.c (__ctan): Likewise.
38978         * math/s_ctanf.c (__ctanf): Likewise.
38979         * math/s_ctanh.c (__ctanh): Likewise.
38980         * math/s_ctanhf.c (__ctanhf): Likewise.
38981         * math/s_ctanhl.c (__ctanhl): Likewise.
38982         * math/s_ctanl.c (__ctanl): Likewise.
38983         * math/w_pow.c: Likewise.
38984         * math/w_powf.c: Likewise.
38985         * math/w_powl.c: Likewise.
38986         * math/w_scalb.c (sysv_scalb): Likewise.
38987         * math/w_scalbf.c (sysv_scalbf): Likewise.
38988         * math/w_scalbl.c (sysv_scalbl): Likewise.
38989         * misc/error.c (error_tail): Likewise.
38990         * misc/pselect.c (__pselect): Likewise.
38991         * nis/nis_callback.c (__nis_create_callback): Likewise.
38992         * nis/nis_call.c (__nisfind_server): Likewise.
38993         * nis/nis_creategroup.c (nis_creategroup): Likewise.
38994         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38995         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38996         * nis/nis_getservlist.c (nis_getservlist): Likewise.
38997         * nis/nis_lookup.c (nis_lookup): Likewise.
38998         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38999         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
39000         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
39001         * nis/nis_xdr.c (xdr_endpoint): Likewise.
39002         * nis/nss_compat/compat-grp.c (getgrent_next_file)
39003         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
39004         * nis/nss_compat/compat-initgroups.c (add_group)
39005         (internal_getgrent_r): Likewise.
39006         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
39007         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
39008         * nis/nss_compat/compat-spwd.c (getspent_next_file)
39009         (internal_getspnam_r): Likewise.
39010         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
39011         (_nss_nis_getaliasbyname_r): Likewise.
39012         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
39013         (_nss_nis_getntohost_r): Likewise.
39014         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
39015         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
39016         (_nss_nis_getgrgid_r): Likewise.
39017         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
39018         (internal_nis_gethostent_r, internal_gethostbyname2_r)
39019         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
39020         (_nss_nis_gethostbyname4_r): Likewise.
39021         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
39022         (initgroups_netid): Likewise.
39023         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
39024         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
39025         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
39026         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
39027         (_nss_nis_getprotobynumber_r): Likewise.
39028         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
39029         (_nss_nis_getsecretkey): Likewise.
39030         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
39031         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
39032         (_nss_nis_getpwuid_r): Likewise.
39033         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
39034         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
39035         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
39036         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
39037         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
39038         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
39039         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
39040         Likewise.
39041         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
39042         (_nss_nisplus_getntohost_r): Likewise.
39043         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
39044         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
39045         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
39046         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
39047         Likewise.
39048         * nis/nss_nisplus/nisplus-initgroups.c
39049         (_nss_nisplus_initgroups_dyn): Likewise.
39050         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
39051         (_nss_nisplus_getnetbyaddr_r): Likewise.
39052         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
39053         (_nss_nisplus_getprotobynumber_r): Likewise.
39054         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
39055         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
39056         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
39057         Likewise.
39058         * nis/nss_nisplus/nisplus-service.c
39059         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
39060         (_nss_nisplus_getservbyport_r): Likewise.
39061         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
39062         (_nss_nisplus_getspnam_r): Likewise.
39063         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
39064         Likewise.
39065         * nscd/aicache.c (addhstaiX): Likewise.
39066         * nscd/cache.c (cache_search, prune_cache): Likewise.
39067         * nscd/connections.c (register_traced_file, send_ro_fd)
39068         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
39069         (main_loop_epoll): Likewise.
39070         * nscd/grpcache.c (addgrbyX): Likewise.
39071         * nscd/hstcache.c (addhstbyX): Likewise.
39072         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39073         * nscd/mem.c (gc, mempool_alloc): Likewise.
39074         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
39075         (addinnetgrX): Likewise.
39076         * nscd/nscd-client.h (__nscd_acquire_maplock)
39077         (__nscd_drop_map_ref): Likewise.
39078         * nscd/nscd_getai.c (__nscd_getai): Likewise.
39079         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
39080         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
39081         Likewise.
39082         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
39083         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39084         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
39085         (__nscd_get_map_ref): Likewise.
39086         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
39087         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
39088         Likewise.
39089         * nscd/pwdcache.c (addpwbyX): Likewise.
39090         * nscd/selinux.c (preserve_capabilities): Likewise.
39091         * nscd/servicescache.c (addservbyX): Likewise.
39092         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
39093         * posix/fnmatch.c (fnmatch): Likewise.
39094         * posix/getopt.c (_getopt_internal_r): Likewise.
39095         * posix/glob.c (glob, glob_in_dir): Likewise.
39096         * posix/wordexp.c (exec_comm_child): Likewise.
39097         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
39098         (getanswer_r, gaih_getanswer_slice): Likewise.
39099         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
39100         * resolv/res_init.c: Likewise.
39101         * resolv/res_mkquery.c (res_nmkquery): Likewise.
39102         * resolv/res_query.c (__libc_res_nquery): Likewise.
39103         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
39104         Likewise.
39105         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
39106         * stdio-common/perror.c (perror): Likewise.
39107         * stdio-common/printf_fp.c (___printf_fp): Likewise.
39108         * stdio-common/tmpnam.c (tmpnam): Likewise.
39109         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39110         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
39111         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
39112         Likewise.
39113         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
39114         * stdlib/putenv.c (putenv): Likewise.
39115         * stdlib/setenv.c (__add_to_environ): Likewise.
39116         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39117         * stdlib/strtol_l.c (INTERNAL): Likewise.
39118         * string/memmem.c (memmem): Likewise.
39119         * string/strerror.c (strerror): Likewise.
39120         * string/strnlen.c (__strnlen): Likewise.
39121         * string/test-memmem.c (simple_memmem): Likewise.
39122         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
39123         * sunrpc/pm_getport.c (__get_socket): Likewise.
39124         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
39125         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
39126         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
39127         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
39128         Likewise.
39129         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
39130         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39131         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
39132         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
39133         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
39134         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
39135         Likewise.
39136         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
39137         Likewise.
39138         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
39139         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
39140         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39141         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
39142         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
39143         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
39144         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39145         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
39146         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
39147         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
39148         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39149         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
39150         Likewise.
39151         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
39152         Likewise.
39153         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
39154         Likewise.
39155         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
39156         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39157         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
39158         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
39159         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
39160         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
39161         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39162         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
39163         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
39164         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
39165         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
39166         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39167         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39168         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
39169         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39170         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
39171         Likewise.
39172         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
39173         Likewise.
39174         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
39175         Likewise.
39176         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
39177         Likewise.
39178         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39179         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39180         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
39181         Likewise.
39182         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
39183         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
39184         * sysdeps/posix/opendir.c (__opendirat): Likewise.
39185         * sysdeps/posix/sleep.c: Likewise.
39186         * sysdeps/posix/tempname.c: Likewise.
39187         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
39188         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39189         Likewise.
39190         * sysdeps/powerpc/powerpc32/dl-machine.h
39191         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
39192         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39193         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39194         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
39195         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
39196         Likewise.
39197         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
39198         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
39199         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39200         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
39201         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39202         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
39203         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
39204         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
39205         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39206         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
39207         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
39208         (elf_machine_lazy_rel): Likewise.
39209         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39210         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
39211         (elf_machine_lazy_rel): Likewise.
39212         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
39213         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
39214         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
39215         * sysdeps/unix/grantpt.c (grantpt): Likewise.
39216         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
39217         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
39218         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
39219         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39220         Likewise.
39221         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
39222         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
39223         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
39224         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
39225         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39226         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39227         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
39228         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
39229         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
39230         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39231         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39232         Likewise.
39233         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
39234         (__posix_fallocate64_l64): Likewise.
39235         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
39236         (posix_fallocate): Likewise.
39237         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
39238         Likewise.
39239         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39240         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
39241         (getifaddrs_internal): Likewise.
39242         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
39243         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
39244         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
39245         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39246         * sysdeps/unix/sysv/linux/posix_fallocate64.c
39247         (__posix_fallocate64_l64): Likewise.
39248         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
39249         Likewise.
39250         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
39251         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
39252         (__get_clockfreq): Likewise.
39253         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
39254         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
39255         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
39256         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39257         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39258         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
39259         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
39260         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
39261         Likewise.
39262         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
39263         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
39264         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
39265         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
39266         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39267         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
39268         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
39269         Likewise.
39270         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39271         (posix_fallocate): Likewise.
39272         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39273         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
39274         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
39275         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
39276         (elf_machine_rela, elf_machine_rela_relative)
39277         (elf_machine_lazy_rel): Likewise.
39278         * time/asctime.c (asctime_internal): Likewise.
39279         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
39280         * time/tzset.c (__tzset_parse_tz): Likewise.
39281         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39282         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39283         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
39284         * wcsmbs/wcsmbsload.h: Likewise.
39286         [BZ #15894]
39287         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
39289         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
39290         (arena_get2): Remove THREAD_STATS conditionals.
39291         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
39292         (__malloc_stats, int): Likewise.
39294 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
39296         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
39297         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
39299         * manual/setjmp.texi: Fix typos/grammar errors.
39301         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
39302         Only return early when n is <= 0.  Delete unused return statement.
39304         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
39305         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
39306         * debug/tst-longjmp_chk3.c: New file.
39308         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
39309         (test_main): Replace code with set_fortify_handler call.
39310         * debug/test-strcpy_chk.c: Likewise.
39311         * debug/tst-chk1.c: Likewise.
39312         * debug/tst-longjmp_chk.c: Likewise.
39313         * test-skeleton.c: Include fcntl.h & paths.h
39314         (set_fortify_handler): Define.
39316         * debug/tst-longjmp_chk.c: Add header comment and include
39317         ../test-skeleton.c.
39318         (do_test): Mark static.
39319         (TEST_FUNCTION): Define.
39321         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
39322         (IP_PMTUDISC_INTERFACE): Likewise.
39323         (IP_MULTICAST_IF): Likewise.
39324         (IP_MULTICAST_TTL): Likewise.
39325         (IP_MULTICAST_LOOP): Likewise.
39326         (IP_ADD_MEMBERSHIP): Likewise.
39327         (IP_DROP_MEMBERSHIP): Likewise.
39328         (IP_UNBLOCK_SOURCE): Likewise.
39329         (IP_BLOCK_SOURCE): Likewise.
39330         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
39331         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
39332         (IP_MSFILTER): Likewise.
39333         (MCAST_JOIN_GROUP): Likewise.
39334         (MCAST_BLOCK_SOURCE): Likewise.
39335         (MCAST_UNBLOCK_SOURCE): Likewise.
39336         (MCAST_LEAVE_GROUP): Likewise.
39337         (MCAST_JOIN_SOURCE_GROUP): Likewise.
39338         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
39339         (MCAST_MSFILTER): Likewise.
39340         (IP_MULTICAST_ALL): Likewise.
39341         (IP_UNICAST_IF): Likewise.
39343         * timezone/Makefile: Delete $(have-ksh) check.
39344         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
39345         * timezone/tzselect.ksh: Add +x mode bits.
39347         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
39348         (ANON_INODE_FS_MAGIC): Likewise.
39349         (BDEVFS_MAGIC): Likewise.
39350         (BINFMTFS_MAGIC): Likewise.
39351         (BTRFS_TEST_MAGIC): Likewise.
39352         (CRAMFS_MAGIC_WEND): Likewise.
39353         (DEBUGFS_MAGIC): Likewise.
39354         (ECRYPTFS_SUPER_MAGIC): Likewise.
39355         (EXT3_SUPER_MAGIC): Likewise.
39356         (EXT4_SUPER_MAGIC): Likewise.
39357         (FUTEXFS_SUPER_MAGIC): Likewise.
39358         (HOSTFS_SUPER_MAGIC): Likewise.
39359         (HUGETLBFS_MAGIC): Likewise.
39360         (MINIX3_SUPER_MAGIC): Likewise.
39361         (MTD_INODE_FS_MAGIC): Likewise.
39362         (NILFS_SUPER_MAGIC): Likewise.
39363         (OPENPROM_SUPER_MAGIC): Likewise.
39364         (PIPEFS_MAGIC): Likewise.
39365         (PSTOREFS_MAGIC): Likewise.
39366         (QNX6_SUPER_MAGIC): Likewise.
39367         (RAMFS_MAGIC): Likewise.
39368         (REISERFS_SUPER_MAGIC_STRING): Likewise.
39369         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
39370         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
39371         (SECURITYFS_MAGIC): Likewise.
39372         (SELINUX_MAGIC): Likewise.
39373         (SMACK_MAGIC): Likewise.
39374         (SOCKFS_MAGIC): Likewise.
39375         (SQUASHFS_MAGIC): Likewise.
39376         (STACK_END_MAGIC): Likewise.
39377         (TMPFS_MAGIC): Likewise.
39378         (USBDEVICE_SUPER_MAGIC): Likewise.
39379         (V9FS_MAGIC): Likewise.
39380         (XENFS_SUPER_MAGIC): Likewise.
39381         (CRAMFS_MAGIC): Fix typo in comment.
39382         (EXT2_SUPER_MAGIC): Update comment.
39383         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
39385 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
39387         * sysdeps/arm: Move directory from ports/sysdeps/arm.
39388         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
39389         * sysdeps/unix/sysv/linux/arm: Move directory from
39390         ports/sysdeps/unix/sysv/linux/arm.
39391         * README: Update listing for arm-*-linux-gnueabi.
39393         * README: Remove mention of am33.
39395 2014-02-07  Roland McGrath  <roland@hack.frob.com>
39397         * bits/sigset.h (__sigemptyset): Use a statement expression rather
39398         than the comma operator, to avoid "rhs of comma has no effect"
39399         compiler warnings.
39400         (__sigfillset, __sigandset, __sigorset): Likewise.
39401         * include/signal.h (__sigemptyset): Likewise.
39402         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
39404 2014-02-07  Allan McRae  <allan@archlinux.org>
39406         * version.h (RELEASE): Set to "development".
39407         (VERSION): Set to "2.19.90"
39408         * NEWS: Add 2.20 section.
39410 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
39412         [BZ #16529]
39413         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
39415 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39417         * manual/contrib.texi: Update entry for Carlos O'Donell,
39418         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
39420 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
39422         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
39424         * sysdeps/unix/sysv/linux/kernel-features.h
39425         [__LINUX_KERNEL_VERSION >= 0x020621]
39426         (__ASSUME_PROC_PID_TASK_COMM): Define.
39428 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39430         [BZ #16398]
39431         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
39432         conversion when destination buffer does not have enough space.
39433         * libio/tst-ftell-partial-wide.c: New test case.
39434         * libio/Makefile (tests): Add tst-ftell-partial-wide.
39436         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
39437         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
39438         Leonard and Allan McRae.
39440 2014-02-04  David S. Miller  <davem@davemloft.net>
39442         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
39443         32-bit.
39445 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39448         New file
39449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39450         New file
39451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39452         New file.
39453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39454         New file.
39455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39456         New file.
39457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39458         New file.
39459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39460         New file.
39461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39462         New file.
39463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39464         New file.
39465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39466         New file.
39467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39468         New file.
39469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39470         New file.
39471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39472         New file.
39474 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39476         * nptl/shlib-versions: Change powerpc*le start to 2.17.
39477         * shlib-versions: Likewise.
39479 2014-02-04  Roland McGrath  <roland@hack.frob.com>
39480             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39482         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
39483         (abilist-pattern): New variable, set to %-le.abilist.
39485         * Makerules (abilist-pattern): New variable.
39486         (vpath): Use $(abilist-pattern) in place of %.abilist.
39487         (check-abi-% pattern rule): Likewise.
39488         (check-abi, update-abi): Likewise.
39490 2014-02-04  Eric Wong  <normalperson@yhbt.net>
39492         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39494 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
39496         * manual/startup.texi: Add next, previous, and top entries for
39497         the `Program Arguments' and `Environment Variables' nodes.
39499 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
39501         * manual/macros.texi: Add comments before MTASC-safety macros.
39503         * manual/users.texi: Document MTASC-safety properties.
39505         * manual/threads.texi (pthread_key_create, pthread_key_delete)
39506         (pthread_getspecific, pthread_setspecific): Format with
39507         @deftypefun, and add @safety note.
39508         * manual/signal.texi: Move comments that analyze the above
39509         functions to their home place.
39511 2014-02-03  Allan McRae  <allan@archlinux.org>
39513         * po/sl.po: Update Slovenian translation from translation project.
39515 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
39517         * manual/time.texi (timegm): Add missing blank after @c.
39518         Reported by Joseph Myers <joseph@codesourcery.com>.
39520 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
39522         * manual/check-safety.sh: New.
39523         * manual/Makefile ($(objpfx)stamp-summary): Run it.
39525         * manual/terminal.texi: Document MTASC-safety properties.
39527         * manual/filesys.texi: Document MTASC-safety properties.
39529         * manual/errno.texi: Document MTASC-safety properties.
39531         * manual/intro.texi: Document safety identifiers and
39532         conditionals.
39534         * manual/string.texi (wcstok): Fix prototype.
39535         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
39537         * manual/time.texi: Document MTASC-safety properties.
39539         * manual/string.texi: Document MTASC-safety properties.
39541         * manual/threads.texi: Document MTASC-safety properties.
39543         * manual/stdio.texi: Document MTASC-safety properties.
39545         * manual/syslog.texi: Document MTASC-safety properties.
39547         * manual/sysinfo.texi: Document MTASC-safety properties.
39549         * manual/startup.texi: Document MTASC-safety properties.
39551         * manual/socket.texi: Document MTASC-safety properties.
39553         * manual/signal.texi: Document MTASC-safety properties.
39555 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
39557         * manual/setjmp.texi: Document MTASC-safety properties.
39559         * manual/search.texi: Document MTASC-safety properties.
39561         * manual/resource.texi: Document MTASC-safety properties.
39563         * manual/process.texi: Document MTASC-safety properties.
39565         * manual/platform.texi: Document MTASC-safety properties.
39567         * manual/pipe.texi: Document MTASC-safety properties.
39569         * manual/pattern.texi: Document MTASC-safety properties.
39571         * manual/message.texi: Document MTASC-safety properties.
39573         [BZ #12751]
39574         * manual/memory.texi: Document MTASC-safety properties.
39576         * manual/math.texi: Document MTASC-safety properties.
39578         * manual/locale.texi: Document MTASC-safety properties.
39580         * manual/llio.texi: Document MTASC-safety properties.
39582         * manual/libdl.texi: New.
39584         * manual/lang.texi: Document MTASC-safety properties.
39586         * manual/job.texi: Document MTASC-safety properties.
39588         * manual/getopt.texi: Document MTASC-safety properties.
39590         * manual/ctype.texi: Document MTASC-safety properties.
39592 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
39594         [BZ #16046]
39595         * csu/libc-tls.c (static_map): Remove variable.
39596         (__libc_setup_tls): Use main executable's link map for TLS data.
39597         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
39598         casing for LM_ID_BASE and GL(dl_nns).
39599         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
39600         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
39601         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
39602         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
39603         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
39604         member.
39605         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
39606         l_phnum members.
39608 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
39610         * manual/debug.texi: Document MTASC-safety properties.
39612 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
39614         [BZ #16510]
39615         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
39616         of __x86_64__ when disabling x87 inline functions.
39618 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
39620         * manual/charset.texi: Document MTASC-safety properties.
39622         * manual/crypt.texi: Document MTASC-safety properties.
39624         * manual/conf.texi: Document MTASC-safety properties.
39626         * manual/arith.texi: Document MTASC-safety properties.
39628         * manual/argp.texi: Document MTASC-safety properties.
39630         * manual/macros.texi: Introduce macros to document multi
39631         thread, asynchronous signal and asynchronous cancellation
39632         safety properties.
39633         * manual/intro.texi: Introduce the properties themselves.
39635 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39637         * sysdeps/sh/sh4/Makefile: New file.
39639 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
39641         * math/gen-libm-test.pl ($srcdir): New variable.
39642         ($auto_input): Use it.
39644 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39646         [BZ #16506]
39647         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
39648         access beyond array bounds when parsing netgroups file.
39650         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
39651         the old buffer before realloc.
39653 2014-01-27  Allan McRae  <allan@archlinux.org>
39655         * po/fr.po: Update French translation from translation project.
39657 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39659         * sysdeps/sh/libm-test-ulps: Regenerate.
39661 2014-01-24  David S. Miller  <davem@davemloft.net>
39663         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
39665 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39667         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
39668         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
39670 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39672         [BZ #16474]
39673         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39674         string pointers after reallocation.
39676 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39678         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39679         __SH4A__ instead of __SH_FPU_ANY__.
39681 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39683         * sysdeps/sh/fpu_control.h: New file.
39684         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39685         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39686         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39687         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39688         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39689         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39690         * sysdeps/sh/sys/ucontext.h: Remove.
39691         * sysdeps/sh/sys: Remove directory.
39693 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39695         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39696         s390/sys/ucontext.h.
39697         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39698         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39700 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
39702         [BZ #15605]
39703         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39705 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39707         [BZ#16431]
39708         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39709         Adjust the vDSO correctly for internal calls.
39710         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39712 2014-01-20  Allan McRae  <allan@archlinux.org>
39714         * po/ca.po: Update Catalan translation from translation project.
39716 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
39718         * sysdeps/s390/sotruss-lib.c: New file.
39720 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39722         [BZ#16430]
39723         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39724         (__GI___gettimeofday): Alias for a different internal symbol to avoid
39725         local calls issues by not having a PLT stub required for IFUNC calls.
39726         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39728 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
39730         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39731         * math/test-fpucw-static.c: Likewise.
39733 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39735         [BZ #16453]
39736         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39738 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39740         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39741         implementation for powerpc.
39743 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
39745         [BZ #14782]
39746         * sysdeps/posix/system.c (__libc_system): Do not enable
39747         asynchronous cancellation.
39749 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39751         [BZ #16427]
39752         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39753         handling only for numbers special also in the IEEE case.
39755 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39757         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39759 2014-01-11  Allan McRae  <allan@archlinux.org>
39761         * po/bg.po: Update Bulgarian translation from translation project.
39763         * po/de.po: Update German translation from translation project.
39765 2014-01-10  Roland McGrath  <roland@hack.frob.com>
39767         * sysdeps/generic/gcc-compat.h: New file.
39769 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39771         * benchtests/asin-inputs: Correct slow inputs.
39772         * benchtests/acos-inputs: Likewise.
39774 2014-01-10  Allan McRae  <allan@archlinux.org>
39776         * po:sv.po: Update Swedish translation from translation project.
39778         * po/vi.po: Update Vietnamese translation from translation project.
39780         * po/eo.po: Update Esperanto translation from translation project.
39782         * po/cs.po: Update Czech translation from translation project.
39784         * po/nl.po: Update Dutch translation from translation project.
39786         * po/pl.po: Update Polish translation from translation project.
39788         * po/ru.po: Update Russian translation from translation project.
39790         * po/uk.po: Update Ukrainian translation from translation project.
39792 2014-01-08  Brooks Moses  <bmoses@google.com>
39794         * elf/dl-load.c: Fix comment typo.
39796 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
39798         * po/header.pot: Rename to...
39799         * po/pot.header: ... this.
39800         * po/Makefile: Use pot.header.
39802 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
39803             Maxim Kuvyrkov  <maxim@kugelworks.com>
39805         [BZ #16394]
39806         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39807         SRC and DEST against LEN.
39809 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39811         [BZ #16414]
39812         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39813         implementation.
39814         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39816 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39820 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
39822         [BZ #16408]
39823         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39824         for large positive arguments.
39826 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
39828         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39830         * math/auto-libm-test-in: Mark various tests with
39831         xfail-rounding:ldbl-128ibm.
39832         * math/auto-libm-test-out: Regenerated.
39834         [BZ #16407]
39835         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39836         Increase overflow threshold.
39838 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
39840         [BZ #14286]
39841         * stdio-common/vfprintf.c: Check for integer overflow.
39843 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39845         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39846         the first argument and return value of __tls_get_addr_internal.
39848 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39850         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39851         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39853 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39855         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39856         * sysdeps/s390/rtld-global-offsets.sym: New file.
39857         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39858         GLIBC_2.19 symbol.
39859         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39860         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39861         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39862         ... this.
39863         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39864         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39865         ... this.
39866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39867         Regenerate.
39868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39869         Regenerate.
39870         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39871         halfs of GPRs for high_gprs contexts.
39872         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39873         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
39874         field.
39875         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39876         uc_flags field.
39877         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39878         64 bit versions:
39879         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39880         for high GPRs (uc_high_gprs) and for future extensions
39881         (__reserved).
39882         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39883         for future extensions (__reserved).
39884         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39885         64 bit versions:
39886         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39887         SC_HIGHGPRS offset definition.
39888         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39889         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39891         * Versions.def: Add GLIBC_2.19 for libpthread.
39892         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39893         siglongjmp for libpthread with GLIBC_2.19 symver.
39894         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39895         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39896         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39897         * sysdeps/s390/__longjmp.c: New file.
39898         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39899         * sysdeps/s390/longjmp.c: New file.
39900         * sysdeps/s390/setjmp.S: New file.
39901         * sysdeps/s390/sigjmp.S: New file.
39902         * sysdeps/s390/v1-longjmp.c: New file.
39903         * sysdeps/s390/v1-setjmp.h: New file.
39904         * sysdeps/s390/v1-sigjmp.c: New file.
39905         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39906         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39907         GLIBC_2.19 version.
39908         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39909         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39910         versioned symbols for ____longjmp_chk.
39911         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39912         Likewise.
39913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39914         Regenerate.
39915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39916         Regenerate.
39917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39918         Regenerate.
39919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39920         Regenerate.
39921         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39922         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39923         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39924         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39925         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39926         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39927         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39928         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39929         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39930         * sysdeps/s390/rtld-__longjmp.c: New file.
39931         * sysdeps/s390/rtld-setjmp.S: New file.
39933 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
39935         [BZ #16400]
39936         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39937         Return -__logl (x) for small positive arguments without evaluating
39938         a polynomial.
39940 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
39942         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39943         Rename to ...
39944         (__ptrace_peeksiginfo_args): ... this.
39945         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39946         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39947         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39949 2014-01-06  Allan McRae  <allan@archlinux.org>
39951         * inet/netinet/in.h: Fix typo in comment.
39953 2014-01-05  Andreas Jaeger  <aj@suse.de>
39955         * sysdeps/i386/fpu/libm-test-ulps: Update.
39957 2014-01-05  Allan McRae  <allan@archlinux.org>
39959         * po/libc.pot: Regenerated.
39961         * malloc/memusagestat.c: Fix gettext call formatting.
39963 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
39965         * nscd/nscd.c: Improve usage() output.
39967 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
39969         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39970         * sysdeps/unix/sysv/linux/configure: Regenerated.
39971         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39972         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39974 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39976         [BZ #16390]
39977         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39978         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39980 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39982         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39983         extra tokens at end of #undef directive.
39984         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39985         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39986         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39988 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39990         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39992         * math/auto-libm-test-in: Mark various tests with
39993         xfail-rounding:ldbl-128ibm.
39994         * math/auto-libm-test-out: Regenerated.
39996 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
39998         [BZ #16386]
39999         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
40000         numbers with subnormal high part when calculating exponent.
40002         [BZ #16385]
40003         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
40004         fabs.
40006         [BZ #16384]
40007         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
40008         M_LN2l.
40009         (__ieee754_acoshl): Use __log1pl not __log1p.
40011 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
40013         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
40014         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
40015         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
40016         (grow_heap, heap_trim, _int_new_arena, get_free_list)
40017         (reused_arena, arena_get2): Convert to GNU style.
40018         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
40019         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
40020         (memalign_check, __malloc_set_state): Likewise.
40021         * malloc/mallocbug.c (main): Likewise.
40022         * malloc/malloc.c (__malloc_assert, malloc_init_state)
40023         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
40024         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
40025         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
40026         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
40027         (__posix_memalign, malloc_info): Likewise.
40028         * malloc/malloc.h: Likewise.
40029         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
40030         (mallochook, memalignhook, reallochook, mabort): Likewise.
40031         * malloc/mcheck.h: Likewise.
40032         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
40033         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
40034         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
40035         * malloc/morecore.c (__default_morecore): Likewise.
40036         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
40037         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
40038         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
40039         (print_and_abort): Likewise.
40040         * malloc/obstack.h: Likewise.
40041         * malloc/set-freeres.c (__libc_freeres): Likewise.
40042         * malloc/tst-mallocstate.c (main): Likewise.
40043         * malloc/tst-mtrace.c (main): Likewise.
40044         * malloc/tst-realloc.c (do_test): Likewise.
40046 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40048         [BZ #16366]
40049         * nscd/netgroupcache.c (do_notfound): New function.
40050         (addgetnetgrentX): Use it.
40052         [BZ # 16365]
40053         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
40054         NSS_STATUS_NOTFOUND.
40056 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
40058         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40061 2014-01-01  Allan McRae  <allan@archlinux.org>
40063         * scripts/update-copyrights: Update configure input file suffix.
40065         * NEWS: Update copyright year.
40066         * catgets/gencat.c: Likewise.
40067         * csu/version.c: Likewise.
40068         * debug/catchsegv.sh: Likewise.
40069         * debug/pcprofiledump.c: Likewise.
40070         * debug/xtrace.sh: Likewise.
40071         * elf/ldconfig.c: Likewise.
40072         * elf/ldd.bash.in: Likewise.
40073         * elf/pldd.c: Likewise.
40074         * elf/sotruss.ksh: Likewise.
40075         * elf/sprof.c: Likewise.
40076         * iconv/iconv_prog.c: Likewise.
40077         * iconv/iconvconfig.c: Likewise.
40078         * locale/programs/locale.c: Likewise.
40079         * locale/programs/localedef.c: Likewise.
40080         * login/programs/pt_chown.c: Likewise.
40081         * malloc/memusage.sh: Likewise.
40082         * malloc/memusagestat.c: Likewise.
40083         * malloc/mtrace.pl: Likewise.
40084         * manual/libc.texinfo: Likewise.
40085         * nscd/nscd.c: Likewise.
40086         * nss/getent.c: Likewise.
40087         * nss/makedb.c: Likewise.
40088         * posix/getconf.c: Likewise.
40089         * scripts/test-installation.pl: Likewise.
40091         * All files with FSF copyright notices: Update copyright dates
40092         using scripts/update-copyrights.
40093         * intl/plural.c: Regenerated.
40094         * locale/programs/charmap-kw.h: Likewise.
40095         * locale/programs/locfile-kw.h: Likewise.
40097 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
40099         * sysdeps/unix/sysv/linux/configure: Regenerated.
40100         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
40101         the linux/fanotify.h header.
40102         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
40103         HAVE_LINUX_FANOTIFY_H is defined.
40105 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40107         * benchtests/cos-inputs: New inputs.
40108         * benchtests/sin-inputs: Likewise.
40110         * benchtests/atan-inputs: New inputs. Fix name of multiple
40111         precision fallback inputs.
40113         * benchtests/atanh-inputs: New inputs.
40114         * benchtests/tanh-inputs: Likewise.
40116         * benchtests/acosh-inputs: New inputs.
40117         * benchtests/asinh-inputs: Likewise.
40119         * benchtests/cosh-inputs: New inputs.
40120         * benchtests/sinh-inputs: Likewise.
40122         * benchtests/acos-inputs: Add more inputs.
40123         * benchtests/asin-inputs: Likewise.
40125 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
40127         [BZ #16375]
40128         * manual/arith.texi: Fix spelling.
40129         * manual/charset.texi: Likewise.
40130         * manual/errno.texi: Likewise.
40131         * manual/filesys.texi: Likewise.
40132         * manual/lang.texi: Likewise.
40133         * manual/llio.texi: Likewise.
40134         * manual/locale.texi: Likewise.
40135         * manual/message.texi: Likewise.
40136         * manual/resource.texi: Likewise.
40137         * manual/search.texi: Likewise.
40138         * manual/setjmp.texi: Likewise.
40139         * manual/stdio.texi: Likewise.
40140         * manual/string.texi: Likewise.
40141         * manual/sysinfo.texi: Likewise.
40142         * manual/time.texi: Likewise.
40144 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
40146         * po/sl.po: New file.
40148 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
40150         * .gitignore: Add core/.gdbinit/.gdb_history.
40152 2013-12-27  Allan McRae  <allan@archlinux.org>
40154         [BZ #16369]
40155         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
40156         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
40158 2013-12-24  Brooks Moses  <bmoses@google.com>
40160         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
40161         all compilers that claim C++98 compliance, not just GCC.
40162         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
40163         Likewise.
40165 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40167         * NEWS: Restore accidentally deleted bug-fix entries.
40169 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40170             Ondřej Bílka  <neleai@seznam.cz>
40172         [BZ #15073]
40173         * malloc/malloc.c (_int_free): Perform sanity check only if we
40174         have_lock.
40176 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
40178         [BZ #12986]
40179         * manual/stdio.texi (String Input Conversions): Clarify that character
40180         classes are not supported.
40182 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40186 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
40188         [BZ #16337]
40189         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40190         Calculate results for small negative arguments directly rather
40191         than using reflection formula with special underflow handling.
40193         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
40194         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
40195         sysdeps/unix/bsd/bsd4.4/syscalls.list.
40196         (fchflags): Likewise.
40197         (revoke): Likewise.
40198         (setlogin): Likewise.
40199         (sigaltstack): Likewise.
40200         (wait4): Likewise.
40201         (sigblock): Remove.
40202         (sigsetmask): Likewise.
40203         (wait3): Likewise.
40204         (waitpid): Likewise.
40205         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
40206         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
40207         file.
40208         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
40209         * sysdeps/unix/bsd/Makefile: ... here.
40210         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
40211         * sysdeps/unix/bsd/Versions: ... here.
40212         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
40213         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
40214         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
40215         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
40216         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
40217         * sysdeps/unix/bsd/sigblock.c: ... here.
40218         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
40219         * sysdeps/unix/bsd/sigsetmask.c: ... here.
40220         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
40221         * sysdeps/unix/bsd/sigvec.c: ... here.
40222         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
40223         * sysdeps/unix/bsd/tcdrain.c: ... here.
40224         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
40225         * sysdeps/unix/bsd/tcgetattr.c: ... here.
40226         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
40227         * sysdeps/unix/bsd/tcsetattr.c: ... here.
40228         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
40229         * sysdeps/unix/bsd/wait.c: ... here.
40230         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
40231         * sysdeps/unix/bsd/wait3.c: ... here.
40232         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
40233         * sysdeps/unix/bsd/waitpid.c: ... here.
40235 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
40237         [BZ #16356]
40238         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
40239         round-to-nearest for [!USE_AS_EXPM1L].
40240         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
40241         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
40242         more tests of exp and exp10.  Expect some exp10 tests to miss
40243         exceptions or fail in directed rounding modes.
40244         * math/auto-libm-test-out: Regenerated.
40245         * math/libm-test.inc (exp10_tonearest_test_data): New array.
40246         (exp10_test_tonearest): New function.
40247         (exp10_towardzero_test_data): New array.
40248         (exp10_test_towardzero): New function.
40249         (exp10_downward_test_data): New array.
40250         (exp10_test_downward): New function.
40251         (exp10_upward_test_data): New array.
40252         (exp10_test_upward): New function.
40253         (main): Call the new functions.
40254         * sysdeps/i386/fpu/libm-test-ulps: Update.
40255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40257 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
40259         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
40260         asinh, atan, atan2, atanh, cbrt, cos and cosh.
40261         * math/auto-libm-test-out: Regenerated.
40262         * math/libm-test.inc (acosh_test_data): Add more tests.
40263         (atanh_test_data): Likewise.
40264         (ceil_test_data): Likewise.
40265         (copysign_test_data): Likewise.
40266         * sysdeps/i386/fpu/libm-test-ulps: Update.
40267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40269         * timezone/checktab.awk: Update from tzcode 2013i.
40270         * timezone/private.h: Likewise.
40271         * timezone/scheck.c: Likewise.
40272         * timezone/tzfile.h: Likewise.
40273         * timezone/tzselect.ksh: Likewise.
40274         * timezone/zdump.c: Likewise.
40275         * timezone/zic.c: Likewise.
40277         * math/auto-libm-test-in: Add tests of cpow.
40278         * math/auto-libm-test-out: Regenerated.
40279         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
40280         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40281         mpc_cc_c.
40282         (func_calc_desc): Add mpc_cc_c union field.
40283         (test_functions): Add cpow.
40284         (special_fill_2pi): New function.
40285         (special_real_inputs): Add 2pi.
40286         (calc_generic_results): Handle mpc_cc_c.
40287         * sysdeps/i386/fpu/libm-test-ulps: Update.
40288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40290         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
40291         csqrt, ctan and ctanh.
40292         * math/auto-libm-test-out: Regenerated.
40293         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40294         (TEST_COND_x86): Likewise.
40295         (ccos_test_data): Use AUTO_TESTS_c_c.
40296         (ccosh_test_data): Likewise.
40297         (cexp_test_data): Likewise.
40298         (clog_test_data): Likewise.
40299         (csqrt_test_data): Likewise.
40300         (ctan_test_data): Likewise.
40301         (ctan_tonearest_test_data): Likewise.
40302         (ctan_towardzero_test_data): Likewise.
40303         (ctan_downward_test_data): Likewise.
40304         (ctan_upward_test_data): Likewise.
40305         (ctanh_test_data): Likewise.
40306         (ctanh_tonearest_test_data): Likewise.
40307         (ctanh_towardzero_test_data): Likewise.
40308         (ctanh_downward_test_data): Likewise.
40309         (ctanh_upward_test_data): Likewise.
40310         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40311         mpc_c_c.
40312         (func_calc_desc): Add mpc_c_c union field.
40313         (FUNC_mpc_c_c): New macro.
40314         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
40315         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
40316         ctanh.
40317         (special_fill_min_subnorm_p120): New function.
40318         (special_real_inputs): Add min_subnorm_p120.
40319         (calc_generic_results): Handle mpc_c_c.
40320         * sysdeps/i386/fpu/libm-test-ulps: Update.
40321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40323 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40325         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
40326         (do_sin_slow): New functions.
40327         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
40328         (cslow2, csloww1, csloww2): Use the new functions.
40330         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
40331         Use M to change sign of result instead of X.  Assume X is
40332         positive.
40333         (csloww1): Likewise.
40334         (__sin): Adjust.
40335         (__cos): Adjust.
40337         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
40338         arguments A and DA.
40339         (__sin): Adjust.
40340         (__cos): Likewise.
40342         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
40343         (__cos): Likewise.
40344         (sloww1): Don't adjust sign of DX.
40345         (csloww1): Likewise.
40346         (sloww2): Use X directly and don't adjust sign of DX.
40347         (csloww2): Likewise.
40349 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40351         * math/auto-libm-test-in: Add tests of cabs and carg.
40352         * math/auto-libm-test-out: Regenerated.
40353         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
40354         (carg_test_data): Likewise.
40355         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40356         mpc_c_f.
40357         (func_calc_desc): Add mpc_c_f union field.
40358         (test_functions): Add cabs and carg.
40359         (calc_generic_results): Handle mpc_c_f.
40361         * sysdeps/powerpc/powerpc32/libgcc-compat.S
40362         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
40363         as a macro and a compat symbol.
40364         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40365         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40366         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40367         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40368         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
40369         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
40370         not use .hidden.
40371         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
40372         Likewise.
40373         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
40374         Likewise.
40375         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
40376         Likewise.
40377         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
40378         Likewise.
40379         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
40380         Likewise.
40381         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
40382         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
40383         from GLIBC_2.3.2.
40385 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40389 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40391         * manual/texinfo.tex: Update to version 2013-11-26.10 with
40392         trailing whitespace removed.
40393         * scripts/config.guess: Update to version 2013-11-29.
40394         * scripts/config.sub: Update to version 2013-10-01.
40396         * math/auto-libm-test-in: Add tests of sincos.
40397         * math/auto-libm-test-out: Regenerated.
40398         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
40399         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40400         mpfr_f_11.
40401         (func_calc_desc): Add mpfr_f_11 union field.
40402         (test_functions): Add sincos.
40403         (calc_generic_results): Handle mpfr_f_11.
40404         * sysdeps/i386/fpu/libm-test-ulps: Update.
40405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40407 2013-12-19  Andreas Schwab  <schwab@suse.de>
40409         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
40410         CALL_MCOUNT.
40411         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40412         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
40413         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
40415 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40417         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
40418         * sysdeps/i386/fpu/libm-test-ulps: Update.
40419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40421         [BZ #16293]
40422         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
40423         round-to-nearest mode when using frndint.
40424         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
40425         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40426         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40427         Likewise.
40428         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
40429         sinh test to fail.
40430         * math/auto-libm-test-out: Regenerated.
40431         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
40432         (TEST_COND_x86): Likewise.
40433         (expm1_tonearest_test_data): New array.
40434         (expm1_test_tonearest): New function.
40435         (expm1_towardzero_test_data): New array.
40436         (expm1_test_towardzero): New function.
40437         (expm1_downward_test_data): New array.
40438         (expm1_test_downward): New function.
40439         (expm1_upward_test_data): New array.
40440         (expm1_test_upward): New function.
40441         (main): Run the new test functions.
40442         * sysdeps/i386/fpu/libm-test-ulps: Update.
40443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40445         * include/features.h: Update comment documenting feature test
40446         macros.  Mention _DEFAULT_SOURCE in comment.
40447         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
40448         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
40449         _BSD_SOURCE and _SVID_SOURCE.
40450         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
40451         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
40452         !_SVID_SOURCE]: Likewise.
40453         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40454         (__USE_POSIX_IMPLICITLY): Define.
40455         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40456         (_POSIX_SOURCE): Undefine and redefine.
40457         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40458         (_POSIX_C_SOURCE): Likewise.
40459         * manual/creature.texi (_DEFAULT_SOURCE): Document.
40460         (Feature Test Macros): Update documentation of default features.
40462 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40464         * benchtests/Makefile: Add bench-strtok.
40465         * benchtests/bench-strtok.c: New file: strtok benchtest.
40467 2013-12-19  Allan McRae  <allan@archlinux.org>
40469         * manual/install.texi: Suppress menu for plain text output.
40470         * INSTALL: Regenerated.
40472 2013-12-18  Brooks Moses  <bmoses@google.com>
40474         [BZ #15846]
40475         * misc/getauxval.c: Include errno.h.
40476         (__getauxval): Set errno to ENOENT if the requested type is not
40477         found.
40478         * misc/sys/auxv.h (getauxval): Document that it may set errno;
40479         don't declare with __attribute_const__.
40480         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
40481         * manual/startup.texi: Document that getauxval sets errno.
40483 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40485         * math/auto-libm-test-in: Add tests of jn and yn.
40486         * math/auto-libm-test-out: Regenerated.
40487         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
40488         (yn_test_data): Likewise.
40489         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40490         mpfr_if_f.
40491         (func_calc_desc): Add mpfr_if_f union field.
40492         (FUNC_mpfr_if_f): New macro.
40493         (test_functions): Add jn and yn.
40494         (calc_generic_results): Assert type of second input for
40495         mpfr_ff_f.  Handle mpfr_if_f.
40496         (output_for_one_input_case): Disable all checking for arguments
40497         fitting floating-point types in case of an integer argument.
40498         * sysdeps/i386/fpu/libm-test-ulps: Update.
40499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40502         Don't expect fegetround reference in libm.so.
40504 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40506         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
40507         $(config-cflags-nofma).
40509 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40511         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
40512         * math/auto-libm-test-out: Regenerated.
40514         [BZ #16338]
40515         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
40516         to determine exponent and adjust argument to have exponent of -1.
40517         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
40518         log2.
40519         * math/auto-libm-test-out: Regenerated.
40520         * sysdeps/i386/fpu/libm-test-ulps: Update.
40521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40523 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
40525         * manual/probes.texi: Remove cases when per-thread arenas are
40526         disabled.
40528 2013-12-18  Andreas Schwab  <schwab@suse.de>
40530         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
40531         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
40532         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
40533         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
40534         * sysdeps/i386/i686/multiarch/Makefile: Update.
40535         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
40537 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40539         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
40540         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
40542 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
40544         [BZ #15968]
40545         Support TZ transition times < 00:00:00.
40546         This is needed for version-3 tz-format files; it supports time
40547         stamps past 2037 for America/Godthab (the only entry in the tz
40548         database for which this change is relevant).
40549         * manual/time.texi (TZ Variable): Document transition times
40550         from -167:59:59 through -00:00:01.
40551         * time/tzset.c (tz_rule): Time of day is now signed.
40552         (__tzset_parse_tz): Parse negative time of day.
40554         Document TZ transition times >= 25:00:00.
40555         * manual/time.texi (TZ Variable): Document transition times from
40556         25:00:00 through 167:59:59.  These are already supported, and this
40557         support will help with version-3 tz-format files.
40559         * manual/time.texi (TZ Variable): Modernize North America example
40560         to reflect current (i.e., 2007-and-later) daylight saving rules.
40562         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
40564 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40566         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
40567         * sysdeps/unix/bsd/bits/stat.h: Likewise.
40568         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
40569         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40570         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
40571         * sysdeps/unix/bsd/bsdstat.h: Likewise.
40572         * sysdeps/unix/bsd/clock.c: Likewise.
40573         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
40574         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
40575         * sysdeps/unix/bsd/init-posix.c: Likewise.
40576         * sysdeps/unix/bsd/poll.c: Likewise.
40577         * sysdeps/unix/bsd/ptsname.c: Likewise.
40578         * sysdeps/unix/bsd/seekdir.c: Likewise.
40579         * sysdeps/unix/bsd/setegid.c: Likewise.
40580         * sysdeps/unix/bsd/seteuid.c: Likewise.
40581         * sysdeps/unix/bsd/setgid.c: Likewise.
40582         * sysdeps/unix/bsd/setrgid.c: Likewise.
40583         * sysdeps/unix/bsd/setruid.c: Likewise.
40584         * sysdeps/unix/bsd/setsid.c: Likewise.
40585         * sysdeps/unix/bsd/setuid.c: Likewise.
40586         * sysdeps/unix/bsd/sigaction.c: Likewise.
40587         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
40588         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
40589         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
40590         * sysdeps/unix/bsd/telldir.c: Likewise.
40591         * sysdeps/unix/bsd/times.c: Likewise.
40592         * sysdeps/unix/bsd/usleep.c: Likewise.
40594         * misc/Makefile (install-lib): Remove libbsd-compat.a.
40595         ($(objpfx)libbsd-compat.a): Remove rule.
40597         * include/features.h (__FAVOR_BSD): Do not define.
40598         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
40599         features conflicting with POSIX.
40600         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
40601         (_BSD_SOURCE): Remove description of not being a subset of other
40602         feature test macros.
40603         * manual/job.texi (getpgrp): Do not document BSD version.
40604         (getpgid): Do not document by reference to BSD getpgrp.
40605         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
40606         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
40607         * signal/signal.h [__FAVOR_BSD]: Likewise.
40608         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
40609         instead of making contents conditional on [__FAVOR_BSD].
40610         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
40612 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40616 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40618         [BZ #16314]
40619         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
40620         values below 2**-450, not 2**-500.
40621         * math/auto-libm-test-in: Don't allow spurious underflow from
40622         hypot.
40623         * math/auto-libm-test-out: Regenerated.
40625         [BZ #16316]
40626         [BZ #16330]
40627         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
40628         values of ha and hb and sort them after adjusting subnormal
40629         arguments.
40630         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
40631         Likewise.
40632         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
40633         values of ea and eb and sort them after adjusting subnormal
40634         arguments.
40635         * math/auto-libm-test-in: Do not expect some hypot tests of
40636         subnormals to fail.  Add more hypot tests.
40637         * math/auto-libm-test-out: Regenerated.
40639 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40641         [BZ #13304]
40642         * sysdeps/sh/s_fma.c: New file.
40643         * sysdeps/sh/s_fmaf.c: New file.
40644         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
40645         version.
40646         * sysdeps/sh/Implies: Add sh/soft-fp.
40648 2013-12-16  Roland McGrath  <roland@hack.frob.com>
40650         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
40651         level of indirection to members `objname', `errstring', `malloced'.
40652         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
40653         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
40654         it as the __longjmp argument (just pass 1 instead).
40655         (_dl_catch_error): Initialize C with argument pointers and address of
40656         volatile local ERRCODE rather than copying values out of C at return.
40658 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
40660         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
40661         * math/auto-libm-test-out: Regenerated.
40662         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
40663         (hypot_test_data): Likewise.
40664         (pow_test_data): Likewise.
40665         (pow_tonearest_test_data): Likewise.
40666         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40667         mpfr_ff_f.
40668         (func_calc_desc): Add mpfr_ff_f union field.
40669         (FUNC_mpfr_ff_f): New macro.
40670         (test_functions): Add atan2, hypot and pow.
40671         (special_fill_min): New function.
40672         (special_fill_minus_min): Likewise.
40673         (special_fill_min_subnorm): Likewise.
40674         (special_fill_minus_min_subnorm): Likewise.
40675         (special_real_inputs): Add min, -min, min_subnorm and
40676         -min_subnorm.
40677         (calc_generic_results): Handle mpfr_ff_f.
40678         * sysdeps/i386/fpu/libm-test-ulps: Update.
40679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40681 2013-12-16  Will Newton  <will.newton@linaro.org>
40683         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40684         (Aligned Memory Blocks): Add documentation for aligned_alloc
40685         and suggest it as an alternative to posix_memalign.
40686         (Hooks for Malloc): Document __memalign_hook is also called
40687         for aligned_alloc.  (Summary of Malloc): Add summary for
40688         aligned alloc.  Document __memalign_hook is also called
40689         for aligned_alloc.
40691 2013-12-16  Will Newton  <will.newton@linaro.org>
40693         * manual/memory.texi (Malloc Examples): Clarify default
40694         alignment documentation.  Suggest posix_memalign rather
40695         than memalign or valloc.
40696         (Aligned Memory Blocks): Remove suggestion to use memalign
40697         or valloc.  Remove obsolete comment about BSD.
40698         Document memalign errno values and mark the function obsolete.
40699         Document posix_memalign returned error codes.  Mark valloc
40700         as obsolete.  (Hooks for Malloc): __memalign_hook is also
40701         called for posix_memalign and valloc.
40702         (Summary of Malloc): Add posix_memalign to function summary.
40703         __memalign_hook is also called for posix_memalign and valloc.
40705 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40707         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40708         TAYLOR_SIN.
40709         (__sin): Adjust.
40710         (__cos): Likewise.
40711         (sloww): Use mynumber union.  Expand ternary operator into
40712         if-else statements.
40713         (cslow): use mynumber union.
40715 2013-12-16  Allan McRae  <allan@archlinux.org>
40717         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40718         * configure: Regenerated.
40720         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40722         [BZ #14120]
40723         * configure.ac: Added --enable-maintainer-mode. Check for
40724         autoconf when enabled.
40725         * configure: Regenerated.
40727         * nscd/nscd.service: New file.
40728         * nscd/nscd.tmpfiles: New file.
40730 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
40732         [BZ #12100]
40733         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40734         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40735         * sysdeps/x86_64/multiarch/strstr.c: ... here.
40736         (strstr): Add __strstr_sse2_unaligned ifunc.
40737         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40738         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40739         (strcasestr): Remove __strcasestr_sse42 ifunc.
40740         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40741         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40742         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40744 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40746         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40747         * sysdeps/sh/bits/fenv.h: ... here.
40748         * sysdeps/sh/sh4/fpu/bits: Remove directory.
40750 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40752         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40754         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40755         hypotf multiarch implementations.
40756         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40757         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40758         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40759         multiarch hypot for PPC64.
40760         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40761         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40762         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40763         multiarch hypotf for PPC64.
40765         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40766         modff multiarch implementations.
40767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40770         multiarch modf for PPC64.
40771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40774         multiarch modff for PPC64.
40776         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40777         and logl multiarch implementations.
40778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40781         multiarch logb for PPC64.
40782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40785         multiarch logb for PPC64.
40786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40789         multiarch logb for PPC64.
40791         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40792         isinff multiarch implementation.
40793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40794         file.
40795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40797         multiarch isinf for PPC64.
40798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40799         file.
40800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40801         multiarch isinff for PPC64.
40803         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40804         finitef multiarch implementation.
40805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40806         file.
40807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40809         multiarch finite for PPC64.
40810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40811         file.
40812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40813         multiarch finitef for PPC64.
40815         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40816         lrint multiarch implementation.
40817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40818         file.
40819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40821         multiarch llrint for PPC64.
40822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40823         multiarch lrint for PPC64.
40825         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40826         copysignf multiarch implementation.
40827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40828         file.
40829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40830         file.
40831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40832         multiarch copysign for PPC64.
40833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40834         multiarch copysignf for PPC64.
40836         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40837         multiarch implementation.
40838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40839         file.
40840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40841         file.
40842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40843         file.
40844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40845         file.
40846         multiarch llround for PPC64.
40847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40848         multiarch trunc for PPC64.
40849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40850         multiarch truncf for PPC64.
40852         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40853         multiarch implementation.
40854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40855         file.
40856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40857         file.
40858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40859         file.
40860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40861         file.
40862         multiarch llround for PPC64.
40863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40864         multiarch round for PPC64.
40865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40866         multiarch roundf for PPC64.
40868         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40869         multiarch implementation.
40870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40871         file.
40872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40873         file.
40874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40875         file.
40876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40877         file.
40878         multiarch llround for PPC64.
40879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40880         multiarch floor for PPC64.
40881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40882         multiarch floorf for PPC64.
40884         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40885         multiarch implementation.
40886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40887         file.
40888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40889         file.
40890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40891         file.
40892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40893         file.
40894         multiarch llround for PPC64.
40895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40896         multiarch ceil for PPC64.
40897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40898         multiarch ceilf for PPC64.
40900         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40901         multiarch implementation.
40902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40903         file.
40904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40905         file.
40906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40907         file.
40908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40909         multiarch llround for PPC64.
40910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40911         multiarch lround for PPC64.
40913         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40914         multiarch implementation.
40915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40918         file.
40919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40922         multiarch isnan for PPC64.
40923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40924         multiarch isnanf for PPC64.
40926         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40927         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40928         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40929         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40930         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40933         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40934         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40935         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40936         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40939         multiarch implementations.
40940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40941         (__libc_ifunc_impl_list): Likewise.
40942         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40943         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40944         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40945         multiarch stpcpy for PPC64.
40947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40948         multiarch implementations.
40949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40950         (__libc_ifunc_impl_list): Likewise.
40951         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40952         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40953         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40954         multiarch strcpy for PPC64.
40956         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40957         redefine function name.
40958         (_wordcopy_fwd_dest_aligned): Likewise.
40959         (_wordcopy_bwd_aligned): Likewise.
40960         (_wordcopy_bwd_dest_aligned): Likewise.
40961         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40962         multiarch implementations.
40963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40964         (__libc_ifunc_impl_list): Likewise.
40965         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40966         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40967         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40968         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40969         multiarch wcscpy for PPC64.
40971         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40972         multiarch implementations.
40973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40974         (__libc_ifunc_impl_list): Likewise.
40975         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40976         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40977         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40978         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40979         multiarch wcscpy for PPC64.
40981         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40982         multiarch implementations.
40983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40984         (__libc_ifunc_impl_list): Likewise.
40985         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40986         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40987         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40988         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40989         multiarch wcsrchr for PPC64.
40991         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40992         multiarch implementations.
40993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40994         (__libc_ifunc_impl_list): Likewise.
40995         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40996         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40997         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40998         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40999         multiarch wcschr for PPC64.
41001         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
41002         multiarch implementations.
41003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41004         (__libc_ifunc_impl_list): Likewise.
41005         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
41006         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
41007         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
41008         multiarch strchrnul for PPC64.
41010         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
41011         implementations.
41012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41013         (__libc_ifunc_impl_list): Likewise.
41014         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
41015         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
41016         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
41017         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
41018         strchr for PPC64.
41020         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
41021         implementations.
41022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41023         (__libc_ifunc_impl_list): Likewise.
41024         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
41025         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
41026         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
41027         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
41028         strncmp for PPC64.
41030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
41031         multiarch implementations.
41032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41033         (__libc_ifunc_impl_list): Likewise.
41034         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
41035         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
41036         strncasecmp for PPC64.
41037         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
41038         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
41039         multiarch strncasecmp_l for PPC64.
41041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
41042         multiarch implementations.
41043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41044         (__libc_ifunc_impl_list): Likewise.
41045         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
41046         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
41047         multiarch strcasecmp for PPC64.
41048         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
41049         file.
41050         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
41051         multiarch strcasecmp_l for PPC64.
41053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
41054         implementations.
41055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41056         (__libc_ifunc_impl_list): Likewise.
41057         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
41058         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
41059         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
41060         strnlen for PPC64.
41062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
41063         implementations.
41064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41065         (__libc_ifunc_impl_list): Likewise.
41066         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
41067         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
41068         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
41069         strlen for PPC64.
41071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
41072         implementations.
41073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41074         (__libc_ifunc_impl_list): Likewise.
41075         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
41076         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
41077         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
41078         rawmemrchr for PPC64.
41080         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
41081         implementation.
41082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41083         (__libc_ifunc_impl_list): Likewise.
41084         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
41085         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
41086         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
41087         memrchr for PPC64.
41089         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
41090         implementation.
41091         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41092         (__libc_ifunc_impl_list): Likewise.
41093         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
41094         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
41095         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
41096         memchr for PPC64.
41098         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
41099         implementation.
41100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41101         (__libc_ifunc_impl_list): Likewise.
41102         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
41103         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
41104         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
41105         mempcpy for PPC64.
41107         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
41108         avoid cretion of __bzero symbol.
41109         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
41110         Likewise.
41111         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
41112         Likewise.
41113         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
41114         Likewise.
41115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
41116         multiarch implementations.
41117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41118         (__libc_ifunc_impl_list): Likewise.
41119         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
41120         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
41121         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
41122         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
41123         bzero for PPC32.
41124         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
41125         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
41126         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
41127         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
41128         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
41129         memset for PPC64.
41130         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
41132         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
41133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
41134         implementations.
41135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41136         (__libc_ifunc_impl_list): Likewise.
41137         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
41138         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
41139         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
41140         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
41141         memcmp for PPC64.
41143         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
41144         multiarch for POWER/PPC64.
41145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
41146         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
41147         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
41148         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
41149         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
41150         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
41151         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
41152         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
41153         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
41154         memcpy for PPC64.
41156         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
41157         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
41158         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
41159         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
41160         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
41161         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
41162         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
41163         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
41164         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
41165         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
41166         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
41167         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
41168         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
41169         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
41170         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
41171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
41172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
41173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
41174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
41175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
41176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
41177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
41179 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41181         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
41183 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41185         * benchtests/Makefile (bench): Add exp2 and log2.
41186         (LDLIBS-bench-exp2): Add -lm.
41187         (LDLIBS-bench-log2): Likewise.
41188         * benchtests/exp2-inputs: New inputs file.
41189         * benchtests/log2-inputs: New inputs file.
41190         * benchtests/log-inputs: Add new inputs.
41191         * benchtests/tan-inputs: Likewise.
41193 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41195         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
41196         definition...
41197         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
41198         (csloww2): ... from here.
41200         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
41201         instead of structures.
41202         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
41203         (POLYNOMIAL): Likewise.
41204         (TAYLOR_SLOW): Likewise.
41205         (__sin): Likewise.
41206         (__cos): Likewise.
41207         (slow1): Likewise.
41208         (slow2): Likewise.
41209         (sloww): Likewise.
41210         (sloww1); Likewise.
41211         (sloww2): Likewise.
41212         (bsloww1): Likewise.
41213         (bsloww2): Likewise.
41214         (cslow2): Likewise.
41215         (csloww): Likewise.
41216         (csloww1): Likewise.
41217         (csloww2): Likewise.
41219 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
41221         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
41222         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
41223         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
41224         * malloc/hooks.c (realloc_check): Likewise.
41226         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
41227         * malloc/arena.c: Remove PER_THREAD conditional.
41228         [!PER_THREAD]: Remove code.
41229         (ptmalloc_unlock_all2): Likewise.
41230         (ptmalloc_init): Likewise.
41231         (_int_new_arena): Likewise.
41232         (arena_get2): Likewise.
41233         * malloc/hooks.c (__malloc_get_state): Likewise.
41234         (__malloc_set_state): Likewise.
41235         * malloc/malloc.c: Likewise.
41236         (struct malloc_state): Likewise.
41237         (struct malloc_par): Likewise.
41238         (__libc_realloc): Likewise.
41239         (__libc_mallopt): Likewise.
41241 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41243         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
41245 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
41247         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
41248         macro to a function.  Check for zero perturb_byte.
41249         (_int_malloc, _int_free): Remove zero perturb_byte checks.
41251         * malloc/malloc.c: (force_reg): Remove.
41252         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
41253         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
41254         force_reg by atomic_forced_read.
41255         * malloc/arena.c (ptmalloc_init): Likewise.
41256         * malloc/hooks.c (top_check): Likewise.
41258 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41262 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
41264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41266 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
41268         * math/auto-libm-test-in: Add tests of lgamma.
41269         * math/auto-libm-test-out: Regenerated.
41270         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
41271         (M_LOG_2_SQRT_PIl): Likewise.
41272         (lgamma_test_data): Use AUTO_TESTS_f_f1.
41273         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41274         mpfr_f_f1.
41275         (func_calc_desc): Add mpfr_f_f1 union field.
41276         (ARGS1): New macro.
41277         (ARGS2): Likewise.
41278         (ARGS3): Likewise.
41279         (ARGS4): Likewise.
41280         (RET1): Likewise.
41281         (RET2): Likewise.
41282         (CALC): Likewise.
41283         (FUNC): Likewise.
41284         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
41285         (test_functions): Add lgamma.
41286         (calc_generic_results): Handle mpfr_f_f1.
41287         * sysdeps/i386/fpu/libm-test-ulps: Update.
41288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41290 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41292         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
41293         __mpn_add_n for PowerPC64/POWER7.
41294         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
41295         __mpn_sub_n for PowerPC64/POWER7.
41297         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
41298         __mpn_addmul_1 for PowerPC64.
41299         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
41300         __mpn_submul_1 for PowerPC64.
41301         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
41302         for PowerPC64.
41303         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
41304         for PowerPC64.
41306 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
41308         [BZ #15089]
41309         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
41311 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41313         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
41315         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
41316         add multiarch folders.
41317         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
41318         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
41319         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
41320         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
41321         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
41322         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
41323         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
41324         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
41325         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
41326         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
41327         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
41328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
41329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
41330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
41331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
41332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
41333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
41335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41336         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
41337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
41338         New file.
41339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
41340         New file.
41341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
41342         multiarch __ieee754_hypot for PowerPC32.
41343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
41344         New file.
41345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
41346         New file.
41347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
41348         multiarch __ieee754_hypotf for PowerPC32.
41350         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
41351         long_double_symbol only if __logbl is defined.
41352         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
41353         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
41354         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
41355         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
41356         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
41357         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
41358         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
41359         path for implementation.
41360         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
41361         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
41362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
41363         logb, and logbl multiarch implementations for PowerPC32.
41364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
41365         file.
41366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
41367         file.
41368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
41369         multiarch logb for PowerPC32.
41370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
41371         file.
41372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
41373         file.
41374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
41375         multiarch logbf for PowerPC32.
41376         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
41377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
41378         file.
41379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
41380         multiarch logbl implementation for PowerPC32.
41382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
41383         and modff multiarch implementations.
41384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
41385         New file.
41386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
41387         New file.
41388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
41389         multiarch modf for PowerPC32.
41390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
41391         New file.
41392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
41393         New file.
41394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
41395         multiarch modff for PowerPC32.
41397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
41398         and lrintf multiarch implementations.
41399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
41400         New file.
41401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
41402         New file.
41403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
41404         multiarch lrint for PowerPC32.
41405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
41406         file: multiarch lrintf for PowerPC32.
41408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
41409         and lroundf multiarch implementations.
41410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
41411         New file.
41412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
41413         New file.
41414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
41415         New file.
41416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
41417         multiarch lround for PowerPC32.
41418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
41419         file: multiarch lroundf for PowerPC32.
41421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41422         copysign and copysignf multiarch implementations.
41423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
41424         New file.
41425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
41426         New file.
41427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
41428         file: multiarch copysign for PowerPC32.
41429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
41430         file: multiarch copysignf for PowerPC32.
41432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
41433         and truncf multiarch implementations.
41434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
41435         New file.
41436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
41437         file.
41438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
41439         multiarch trunc for PowerPC32.
41440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
41441         New file.
41442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
41443         New file.
41444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
41445         multiarch truncf for PowerPC32.
41447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
41448         and roundf multiarch implementations.
41449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
41450         New file.
41451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
41452         file.
41453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
41454         multiarch round for PowerPC32.
41455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
41456         New file.
41457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
41458         New file.
41459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
41460         multiarch roundf for PowerPC32.
41462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
41463         and floorf multiarch implementations.
41464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
41465         New file.
41466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
41467         file.
41468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
41469         multiarch floor for PowerPC32.
41470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
41471         New file.
41472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
41473         New file.
41474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
41475         multiarch floorf for PowerPC32.
41477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
41478         and ceilf multiarch implementations.
41479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
41480         New file.
41481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
41482         file.
41483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
41484         multiarch ceil for PowerPC32.
41485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
41486         New file.
41487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
41488         file.
41489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
41490         multiarch ceilf for PowerPC32.
41492         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
41493         is defined.
41494         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
41495         FINITEF is defined.
41496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
41497         and finitef multiarch implementations.
41498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
41499         New file.
41500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
41501         file.
41502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
41503         multiarch finite for PowerPC32.
41504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
41505         New file.
41506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
41507         file: multiarch finitef for PowerPC32.
41509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
41510         and isinff multiarch implementations.
41511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
41512         file.
41513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
41514         file.
41515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
41516         multiarch isinf for PowerPC32.
41517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
41518         New file.
41519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
41520         multiarch isinff for PowerPC32.
41522         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
41523         alias when __isnan is defined.
41524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
41525         and isnanf multiarch implementations.
41526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
41527         file.
41528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
41529         file.
41530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
41531         file.
41532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
41533         file.
41534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
41535         multiarch isnan for PowerPC32.
41536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
41537         New file.
41538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
41539         New file.
41540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
41541         multiarch isnanf for PowerPC32.
41543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
41544         and sqrtf multiarch implementations.
41545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
41546         file.
41547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
41548         file.
41549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
41550         multiarch sqrt for PowerPC32.
41551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
41552         file.
41553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
41554         file.
41555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
41556         multiarch sqrtf for PowerPC32.
41558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
41559         and llroundf multiarch implementations.
41560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
41561         New file.
41562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
41563         New file.
41564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
41565         New file.
41566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
41567         file: multiarch llround for PowerPC32.
41568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
41569         file: multiarch llroundf for PowerPC32.
41571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
41572         multiarch PowerPC32 fpu implementations.
41573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
41574         New file.
41575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
41576         New file.
41577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
41578         multiarch llrint for PowerPC32.
41579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
41580         New file.
41581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
41582         New file.
41583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
41584         file.
41586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
41588         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
41589         file.
41590         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
41591         file.
41592         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
41593         file.
41594         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
41595         multiarch wordcopy for PPC32.
41596         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41597         wordcopy objects.
41598         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41599         (__libc_ifunc_impl_list): Likewise.
41600         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
41601         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
41602         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
41603         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
41604         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
41605         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
41607         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
41608         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
41609         file.
41610         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
41611         file.
41612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
41613         file.
41614         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
41615         multiarch wcscpy for PPC32.
41616         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41617         multiarch objects.
41618         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41619         (__libc_ifunc_impl_list): Likewise.
41620         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41621         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41622         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
41623         sysdeps/powerpc/power6/wcscpy.c.
41625         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
41626         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
41627         file.
41628         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
41629         file.
41630         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
41631         file.
41632         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
41633         multiarch wcsrchr for PPC32.
41634         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41635         multiarch objects.
41636         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41637         (__libc_ifunc_impl_list): Likewise.
41638         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41639         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41640         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
41641         sysdeps/powerpc/power6/wcsrchr.c.
41643         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
41644         file.
41645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
41646         file.
41647         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
41648         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
41649         multiarch wcschr for PPc32.
41650         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41651         multiarch objects.
41652         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41653         (__libc_ifunc_impl_list): Likewise.
41654         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
41655         * sysdeps/powerpc/power6/wcschr.c: ... to here.
41656         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
41657         sysdeps/powerpc/power6/wcschr.c.
41659         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
41660         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
41661         file.
41662         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
41663         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
41664         file: multiarch strchr for PPC32.
41665         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
41666         multiarch objects.
41667         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41668         (__libc_ifunc_impl_list): Likewise.
41670         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
41671         name.
41672         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
41673         file.
41674         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41675         file.
41676         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41677         multiarch strchrnul for PPC32.
41678         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41679         multiarch objects.
41680         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41681         (__libc_ifunc_impl_list): Likewise.
41683         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41684         file.
41685         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41686         multiarch strncasecmp for PPC32.
41687         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41688         file.
41689         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41690         multiarch strncasecmp_l for PPC32.
41691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41692         strncasecmp multiarch objects.
41693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41694         (__libc_ifunc_impl_list): Likewise.
41696         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41697         file.
41698         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41699         multiarch strncasecmp for PPC32.
41700         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41701         New file.
41702         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41703         multiarch strcasecmp_l for PPC32.
41704         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41705         multiarch objects.
41706         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41707         (__libc_ifunc_impl_list): Likewise.
41709         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41710         file.
41711         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41712         file.
41713         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41714         multiarch strncmp for PPC32.
41715         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41716         multiarch objects.
41717         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41718         (__libc_ifunc_impl_list): Likewise.
41720         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41721         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41722         file.
41723         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41724         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41725         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41726         multiarch objects.
41727         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41728         (__libc_ifunc_impl_list): Likewise.
41730         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41731         file.
41732         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41733         file.
41734         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41735         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41736         multiarch objects.
41737         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41738         (__libc_ifunc_impl_list): Likewise.
41740         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41741         file.
41742         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41743         file.
41744         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41745         multiarch rawmemchr for PPC32.
41746         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41747         multiarch objects.
41748         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41749         (__libc_ifunc_impl_list): Likewise.
41751         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41752         file.
41753         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41754         file.
41755         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41756         file: memrchr multiarch for PPC32.
41757         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41758         multiarch objects.
41759         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41760         (__libc_ifunc_impl_list): Likewise.
41762         * string/memchr.c (__memchr): Using macro to redefine symbol name.
41763         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41764         file.
41765         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41766         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41767         multiarch memchr for PPC32.
41768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41769         multiarch objects.
41770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41771         (__libc_ifunc_impl_list): Likewise.
41773         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41774         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41775         file.
41776         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41777         file.
41778         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41779         file: multiarch mempcpy for PPC32.
41780         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41781         multiarch objects.
41782         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41783         (__libc_ifunc_impl_list): Likewise.
41785         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41786         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41787         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41788         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41789         multiarch bzero for PPC32.
41790         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41791         file.
41792         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41793         file.
41794         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41795         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41796         file: multiarch memset for PPC32.
41797         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41798         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41799         memset multiarch objects.
41800         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41801         (__libc_ifunc_impl_list): Likewise.
41803         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41804         file.
41805         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41806         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41807         memcmp for PPC32.
41808         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41810         multiarch objects.
41811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41812         (__libc_ifunc_impl_list): Likewise.
41814         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41815         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41816         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41817         file.
41818         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41819         file.
41820         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41821         file.
41822         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41823         multiarch memcpy for PPC32.
41824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41825         multiarch objects.
41826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41827         (__libc_ifunc_impl_list): Likewise.
41829         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41830         support multiarch for POWER/PPC32.
41831         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41832         Likewise.
41833         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41835         Implies file to make multiarch folder appers before the fpu and
41836         default folder for power4 configuration.
41838 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41840         * scripts/bench.pl: Append volatile keyword to type.
41842 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41844         * sysdeps/sh/sotruss-lib.c: New file.
41845         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41847 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41851 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
41853         [BZ #6810]
41854         * math/w_tgamma.c: Include <errno.h>.
41855         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
41856         * math/w_tgammaf.c: Include <errno.h>.
41857         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
41858         * math/w_tgammal.c: Include <errno.h>.
41859         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
41860         * math/auto-libm-test-in: Do not allow missing errno on tgamma
41861         underflow.  Add more tgamma tests.
41862         * math/auto-libm-test-out: Regenerated.
41863         * sysdeps/i386/fpu/libm-test-ulps: Update.
41864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41866         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41867         sin, sinh, tan, tanh, tgamma, y0 and y1.
41868         * math/auto-libm-test-out: Regenerated.
41869         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41870         (TEST_COND_x86): Likewise.
41871         (M_E2l): Remove macro.
41872         (M_E3l): Likewise.
41873         (M_2_SQRT_PIl): Likewise.
41874         (M_SQRT_PIl): Likewise.
41875         (M_1_DIV_El): Likewise.
41876         (log_test_data): Use AUTO_TESTS_f_f.
41877         (log10_test_data): Likewise.
41878         (log1p_test_data): Likewise.
41879         (log2_test_data): Likewise.
41880         (sin_test_data): Likewise.
41881         (sin_tonearest_test_data): Likewise.
41882         (sin_towardzero_test_data): Likewise.
41883         (sin_downward_test_data): Likewise.
41884         (sin_upward_test_data): Likewise.
41885         (sinh_test_data): Likewise.
41886         (sinh_tonearest_test_data): Likewise.
41887         (sinh_towardzero_test_data): Likewise.
41888         (sinh_downward_test_data): Likewise.
41889         (sinh_upward_test_data): Likewise.
41890         (tan_test_data): Likewise.
41891         (tan_tonearest_test_data): Likewise.
41892         (tan_towardzero_test_data): Likewise.
41893         (tan_downward_test_data): Likewise.
41894         (tan_upward_test_data): Likewise.
41895         (tanh_test_data): Likewise.
41896         (tgamma_test_data): Likewise.
41897         (y0_test_data): Likewise.
41898         (y1_test_data): Likewise.
41899         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41900         (special_real_inputs): Add pi/4.
41901         * sysdeps/i386/fpu/libm-test-ulps: Update.
41902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41904 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41906         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41907         "longjmp_target" static probes.
41908         (__longjmp): Rename to __longjmp_symbol.
41909         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41910         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41911         on which longjmp to generate.
41912         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41913         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41914         probe.
41915         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41916         (__sigjmp_save): Rename to __sigjmp_save_symbol.
41917         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41918         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41919         and __sigjmp_save_symbol based on which sigsetjmp to generated.
41920         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41922         __longjmp_symbol based on which __longjmp to generate.
41923         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41924         probe.
41925         (setjmp): Rename to setjmp_symbol.
41926         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41927         (_setjmp): Rename to _setjmp_symbol.
41928         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41929         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41930         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41931         which setjmp to generate.
41932         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41933         "longjmp_target" static probes.
41935 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41937         * benchtests/README: Add note about output arguments.
41938         * benchtests/bench-sincos.c: Remove file.
41939         * benchtests/sincos-inputs: New file.
41940         * scripts/bench.pl: Identify output arguments and define
41941         static variables for them.
41943         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41945         [BZ #15941]
41946         * Makefile (INSTALL): Add install-plain.texi as the primary
41947         dependency.
41948         * manual/install-plain.texi: New file.
41949         * manual/install.texi: Include node directive only for
41950         non-plaintext output.
41952 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
41954         * stdlib/longlong.h: Update from GCC.
41956         [BZ #6807]
41957         [BZ #15901]
41958         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41959         * math/w_j0f.c (y0f): Likewise.
41960         * math/w_j0l.c (__y0l): Likewise.
41961         * math/w_j1.c (y1): Likewise.
41962         * math/w_j1f.c (y1f): Likewise.
41963         * math/w_j1l.c (__y1l): Likewise.
41964         * math/w_jn.c (yn): Likewise.
41965         * math/w_jnf.c (ynf): Likewise.
41966         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41967         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
41968         value for Bessel function domain errors outside _SVID_ mode.
41969         Adjust sign of return value for yn (negative integer, 0).
41970         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41971         by zero in return for negative x and set sign appropriately for
41972         negative n.
41973         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41974         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41975         * math/libm-test.inc (y0_test_data): Add more tests and adjust
41976         expectations in error cases.
41977         (y1_test_data): Likewise.
41978         (yn_test_data): Likewise.
41979         * sysdeps/i386/fpu/libm-test-ulps: Update.
41980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41982 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41984         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41985         "64" to "64-v1".  Add "64-v2".
41986         (abi-64-options): Rename to ...
41987         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
41988         (abi-64-condition): Rename to ...
41989         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
41990         (abi-64-ld-soname): Rename to ...
41991         (abi-64-v1-ld-soname): ... this.
41992         (abi-64-v2-options): Define.
41993         (abi-64-v2-condition): Likewise.
41994         (abi-64-v2-ld-soname): Likewise.
41995         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41996         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
42001 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42002             Alan Modra  <amodra@gmail.com>
42004         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
42005         New versions for use with the ELFv2 ABI.
42006         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
42007         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
42008         declaration.
42009         (struct La_ppc64v2_retval): Likewise.
42010         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
42011         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
42012         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
42013         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
42014         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
42015         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42016         Do not save or restore CR.
42017         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
42018         (_dl_profile_resolve): Do no save or restore CR.  Support extended
42019         return values for ELFv2 ABI.  Fix location of FPR return registers.
42020         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
42021         updated values for _CALL_ELF == 2.
42022         (La_regs, La_retval, int_retval): Likewise.
42024 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42026         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
42027         (FRAME_MIN_SIZE_PARM): Likewise.
42028         (FRAME_BACKCHAIN): Likewise.
42029         (FRAME_CR_SAVE): Likewise.
42030         (FRAME_LR_SAVE): Likewise.
42031         (FRAME_TOC_SAVE): Likewise.
42032         (FRAME_PARM_SAVE): Likewise.
42033         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
42034         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
42035         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42036         (call_mcount_parm_offset): New macro.
42037         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
42038         (PROF): Use symbolic stack frame offsets.
42039         (TAIL_CALL_SYSCALL_ERROR): Likewise.
42040         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
42041         Redefine in terms of FRAME_MIN_SIZE.
42042         (_dl_runtime_resolve): Use symbolic stack frame offsets.
42043         (_dl_profile_resolve): Likewise.  Update comment.
42044         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
42045         symbols stack frame offsets.
42046         (__sigsetjmp): Likewise.
42047         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
42048         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
42049         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
42050         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
42052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
42053         (FRAME_BACKCHAIN): Remove.
42054         (FRAME_CR_SAVE): Likewise.
42055         (FRAME_LR_SAVE): Likewise.
42056         (FRAME_COMPILER_DW): Likewise.
42057         (FRAME_LINKER_DW): Likewise.
42058         (FRAME_TOC_SAVE): Likewise.
42059         (FRAME_PARM_SAVE): Likewise.
42060         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
42061         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
42062         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
42064         (CHECK_SP): Use symbolic stack frame offsets.
42065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
42066         zone" instead of caller's parameter save area for temp storage.
42067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42068         Likewise.  Also, use symbolic stack frame offsets.
42069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
42070         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
42071         our own stack frame instead of the caller's.
42072         (__socket): Use symbolic stack frame offsets.
42074 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42075             Alan Modra  <amodra@gmail.com>
42077         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
42078         Define.
42079         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
42080         (PPC64_LOCAL_ENTRY_OFFSET): Define.
42081         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
42082         New function.
42083         (elf_machine_fixup_plt): Call it.
42084         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
42085         reloc arguments.
42086         (elf_machine_rela): Update call to elf_machine_plt_conflict.
42087         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42088         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
42089         r2 before calling target.
42091 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42092             Alan Modra  <amodra@gmail.com>
42094         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
42095         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
42096         versions of macros to support ELFv2 ABI.
42097         (LOCALENTRY): New macro.
42098         (ENTRY, EALIGN): Use it.
42099         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
42100         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
42101         fall through into ENTRY entry point.
42102         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
42103         Only define if _CALL_ELF != 2.
42105         (elf_machine_matches_host): Verify ABI version matches.
42106         (RTLD_START): Use LOCALENTRY.
42107         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
42108         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
42109         (PLT_ENTRY_WORDS): New macro.
42110         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
42111         (elf_machine_runtime_setup): Support ELFv2 ABI.
42112         (elf_machine_fixup_plt): Likewise.
42113         (elf_machine_plt_conflict): Likewise.
42114         (resolve_ifunc): Likewise.
42115         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42116         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42117         Likewise.
42118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
42119         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
42120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42121         (makecontext): Support ELFv2 ABI.
42122         * elf/elf.h (EF_PPC64_ABI): Define.
42124 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42126         * sysdeps/powerpc/powerpc64/sysdep.h
42127         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
42128         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
42129         (ENTRY) [ASSEMBLER]: ... but instead here ...
42130         (EALIGN) [ASSEMBLER]: ... and here.
42131         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
42132         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
42133         (ENTRY_2) [!ASSEMBLER]: Use it.
42134         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
42135         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
42136         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42137         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
42138         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
42139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
42140         Use PPC64_LOAD_FUNCPTR.
42142         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
42144 2013-12-04  Alan Modra  <amodra@gmail.com>
42146         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
42147         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
42148         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
42149         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
42151         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
42152         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
42153         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
42154         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
42155         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
42156         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
42158 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42161         (__makecontext): Fix incorrect CFI when backtracing out of
42162         context created via makecontext.
42163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
42164         (__setcontext): Fix incorrect CFI during switch to new context.
42165         (__novec_setcontext): Likewise.
42167 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42169         [BZ #4772]
42170         * time/strptime_l.c (__strptime_internal): Allow modifiers
42171         in strptime.
42172         * time/tst-strptime.c (day_tests): Add testcase.
42174 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42176         * scripts/bench.pl: Skip over blank lines.
42178 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
42180         [BZ #926]
42181         * manual/time.texi (Calendar Time): Clarify what timezone functions
42182         use.
42184 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42188 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42190         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
42191         implementation.
42192         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
42193         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
42194         * debug/memset_chk.c (__memset_chk): Likewise.
42195         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
42196         * debug/strncpy_chk.c: Likewise.
42198 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42200         [BZ #15268]
42201         [BZ #15425]
42202         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
42203         (__ieee754_exp): For possibly underflowing results, check size of
42204         result and force underflow exception if required.
42205         * math/auto-libm-test-in: Add more tests of exp.
42206         * math/auto-libm-test-out: Regenerated.
42207         * sysdeps/i386/fpu/libm-test-ulps: Update.
42208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42210         [BZ #16283]
42211         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
42212         * math/w_exp2f.c (__exp2f): Likewise.
42213         * math/w_exp2l.c (__exp2l): Likewise.
42214         * math/auto-libm-test-in: Do not allow missing errno on exp2
42215         underflow.
42216         * math/auto-libm-test-out: Regenerated.
42218 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
42220         [BZ #16274]
42221         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
42222         handle filename validation.
42223         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
42224         (do_open): Delete.
42226 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42228         [BZ #6786]
42229         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
42230         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
42231         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
42232         <float.h>.
42233         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
42234         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
42235         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42236         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
42237         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42238         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
42239         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42240         * math/auto-libm-test-in: Don't allow missing errno from erfc.
42241         Add more erfc tests.
42242         * math/auto-libm-test-out: Regenerated.
42243         * sysdeps/i386/fpu/libm-test-ulps: Update.
42244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42246         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
42247         exp2, expm1, j0 and j1.
42248         * math/auto-libm-test-out: Regenerated.
42249         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
42250         (erfc_test_data): Likewise.
42251         (exp_test_data): Likewise.
42252         (exp_tonearest_test_data): Likewise.
42253         (exp_towardzero_test_data): Likewise.
42254         (exp_downward_test_data): Likewise.
42255         (exp_upward_test_data): Likewise.
42256         (exp10_test_data): Likewise.
42257         (exp2_test_data): Likewise.
42258         (expm1_test_data): Likewise.
42259         (j0_test_data): Likewise.
42260         (j1_test_data): Likewise.
42261         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
42262         (input_flag_type): Add flag_xfail_rounding.
42263         (input_flags): Add xfail-rounding.
42264         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
42265         (output_for_one_input_case): Handle flag_xfail_rounding.
42266         * sysdeps/i386/fpu/libm-test-ulps: Update.
42267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42269 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
42271         [BZ #16289]
42272         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
42273         division by 0.
42275 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42277         [BZ #16195]
42278         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
42279         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
42280         (STAP_PROBE0): New macro.
42281         (STAP_PROBE1): Likewise.
42282         (STAP_PROBE2): Likewise.
42283         (STAP_PROBE3): Likewise.
42284         (STAP_PROBE4): Likewise.
42286 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
42288         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
42290 2013-12-02  Steve Ellcey  <sellcey@mips.com>
42292         * benchtests/Makefile (bench): Add sqrt.
42293         (LDLIBS-bench-sqrt): New.
42294         * benchtests/sqrt-input: New.
42296 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
42298         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
42299         (GAIH_EAI): Likewise.
42300         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
42301         (gaih_inet): Likewise.
42302         (getaddrinfo): Don't use GAIH_EAI.
42304         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
42305         (struct gaih): Remove definition.
42307 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42309         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
42310         Use HERRNOP directly.
42312 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42316 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
42318         * math/gen-auto-libm-tests.c (test_functions): Add more
42319         single-argument functions.
42320         (special_fill_pi_2): New function.
42321         (special_fill_minus_pi_2): Likewise.
42322         (special_fill_pi_6): Likewise.
42323         (special_fill_minus_pi_6): Likewise.
42324         (special_fill_pi_3): Likewise.
42325         (special_fill_2pi_3): Likewise.
42326         (special_fill_e): Likewise.
42327         (special_fill_1_e): Likewise.
42328         (special_fill_e_minus_1): Likewise.
42329         (special_real_inputs): Add more special inputs.
42330         (output_for_one_input_case): Do not require ERANGE on underflow to
42331         zero if round-to-nearest result does not underflow to zero, unless
42332         exact results required.
42333         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
42334         atan, atanh, cbrt, cos and cosh.
42335         * math/auto-libm-test-out: Regenerated.
42336         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
42337         (acos_tonearest_test_data): Likewise.
42338         (acos_towardzero_test_data): Likewise.
42339         (acos_downward_test_data): Likewise.
42340         (acos_upward_test_data): Likewise.
42341         (acosh_test_data): Likewise.
42342         (asin_test_data): Likewise.
42343         (asin_tonearest_test_data): Likewise.
42344         (asin_towardzero_test_data): Likewise.
42345         (asin_upward_test_data): Likewise.
42346         (asinh_test_data): Likewise.
42347         (atan_test_data): Likewise.
42348         (atanh_test_data): Likewise.
42349         (cbrt_test_data): Likewise.
42350         (cos_test_data): Likewise.
42351         (cos_tonearest_test_data): Likewise.
42352         (cos_towardzero_test_data): Likewise.
42353         (cos_downward_test_data): Likewise.
42354         (cos_upward_test_data): Likewise.
42355         (cosh_test_data): Likewise.
42356         (cosh_tonearest_test_data): Likewise.
42357         (cosh_towardzero_test_data): Likewise.
42358         (cosh_downward_test_data): Likewise.
42359         (cosh_upward_test_data): Likewise.
42360         * sysdeps/i386/fpu/libm-test-ulps: Update.
42361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42363 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
42365         [BZ #6787]
42366         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
42367         * math/w_exp10f.c (__exp10f): Likewise.
42368         * math/w_exp10l.c (__exp10l): Likewise.
42369         * math/libm-test.inc (exp10_test_data): Add more tests and expect
42370         errno settings in existing tests.
42372         [BZ #14032]
42373         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
42374         precision control set to double precision.
42375         * sysdeps/i386/fpu/w_sqrt.c: New file.
42376         * math/auto-libm-test-in: Add more tests.
42377         * math/auto-libm-test-out: Update.
42379         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
42380         (sqrt_test_tonearest): New function.
42381         (sqrt_towardzero_test_data): New variable.
42382         (sqrt_test_towardzero): New function.
42383         (sqrt_downward_test_data): New variable.
42384         (sqrt_test_downward): New function.
42385         (sqrt_upward_test_data): New variable.
42386         (sqrt_test_upward): New function.
42387         (main): Call the new functions.
42389         * math/gen-auto-libm-tests.c: New file.
42390         * math/auto-libm-test-in: Likewise.
42391         * math/auto-libm-test-out: New generated file.
42392         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
42393         variables.
42394         (%beautify): Add generated representations of zero.
42395         (top level): Set $auto_input and call parse_auto_input.
42396         (beautify): Remove trailing "f" from hex float constants.
42397         (parse_args): Handle XFAIL_TEST.
42398         (convert_condition): New function.
42399         (or_value): Likewise.
42400         (or_cond_value): Likewise.
42401         (generate_testfile): Handle AUTO_TESTS_* lines.
42402         (parse_auto_input): New function.
42403         * math/libm-test.inc (XFAIL_TEST): New macro.
42404         (ERRNO_UNCHANGED): Update value.
42405         (ERRNO_EDOM): Likewise.
42406         (ERRNO_ERANGE): Likewise.
42407         (IGNORE_RESULT): Likewise.
42408         (TEST_COND_flt_32): New macro.
42409         (TEST_COND_dbl_64): Likewise.
42410         (TEST_COND_ldbl_96_intel): Likewise.
42411         (TEST_COND_ldbl_96_m68k): Likewise.
42412         (TEST_COND_ldbl_128): Likewise.
42413         (TEST_COND_ldbl_128ibm): Likewise.
42414         (TEST_COND_long32): Likewise.
42415         (TEST_COND_long64): Likewise.
42416         (TEST_COND_before_rounding): Likewise.
42417         (TEST_COND_after_rounding): Likewise.
42418         (enable_test): Handle XFAIL_TEST flag.
42419         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
42420         with finite results.
42421         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
42422         auto-libm-test-out.
42424 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42425             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42427         [BZ #16214]
42428         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
42429         __tls_get_addr_internal instead of __tls_get_offset in order to
42430         avoid GOT pointer dependency.  Make rtld export
42431         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
42432         __tls_get_addr since we are a __tls_get_offset platform.
42433         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
42434         GOT pointer being set up before.
42435         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
42437 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
42439         * manual/math.texi (Errors in Math Functions): Document accuracy
42440         goals.
42442         [BZ #15004]
42443         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
42444         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
42445         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42446         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42447         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42448         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42449         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42450         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42451         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42452         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42453         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42454         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42455         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42456         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42457         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42458         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42460         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
42461         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
42462         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
42463         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
42464         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
42465         Likewise.
42466         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
42467         Likewise.
42468         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
42469         Likewise.
42470         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
42471         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
42472         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
42473         atomic-feupdateenv and flt-rounds.
42474         * sysdeps/powerpc/nofpu/Versions (libc): Add
42475         __atomic_feholdexcept, __atomic_feclearexcept,
42476         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
42477         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
42478         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
42479         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
42480         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
42481         here.
42482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42483         Update.
42485         * manual/arith.texi (FP Exceptions): Document that exceptions may
42486         not be raised when matherr is used.
42487         (Math Error Reporting): Document overflow in directed rounding
42488         modes.  Document that errno may not be set when finite values are
42489         returned on overflow.  Document intent to set errno on underflow
42490         only for underflow to zero.
42492         [BZ #16271]
42493         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
42494         round-to-nearest then adjust result for other rounding modes.
42495         * include/fenv.h (fegetround): Use libm_hidden_proto.
42496         * math/fegetround.c (fegetround): Use libm_hidden_def.
42497         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
42498         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
42499         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42500         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
42501         Likewise.
42502         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
42503         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42504         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
42505         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
42507 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42509         [BZ #16077]
42510         * nss/Versions (libnss_files): Add
42511         _nss_files_gethostbyname3_r.
42512         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
42513         New function.
42514         (HOST_DB_LOOKUP): Remove macro.
42515         (_nss_files_gethostbyname_r): Implement function without the
42516         HOST_DB_LOOKUP macro.
42517         (_nss_files_gethostbyname2_r): Likewise.
42519 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
42521         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
42523 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
42525         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
42526         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
42527         warning.
42529 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42531         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
42532         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
42533         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42534         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42535         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
42536         __fe_nomask_env_priv and attribute_hidden.
42537         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
42538         (libc_feupdateenv_test_ppc): Likewise.
42539         (libc_feresetround_ppc): Likewise.
42540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42541         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
42542         compat_symbol macro.
42543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42544         (__fe_nomask_env): Likewise.
42545         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
42547 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42549         * string/Makefile: Remove ifunc tests.
42550         * string/test-string.h: Define TEST_IFUNC.
42551         * string/test-bcopy-ifunc.c: Remove.
42552         * string/test-bzero-ifunc.c: Likewise.
42553         * string/test-memccpy-ifunc.c: Likewise.
42554         * string/test-memchr-ifunc.c: Likewise.
42555         * string/test-memcmp-ifunc.c: Likewise.
42556         * string/test-memcpy-ifunc.c: Likewise.
42557         * string/test-memmem-ifunc.c: Likewise.
42558         * string/test-memmove-ifunc.c: Likewise.
42559         * string/test-mempcpy-ifunc.c: Likewise.
42560         * string/test-memrchr-ifunc.c: Likewise.
42561         * string/test-memset-ifunc.c: Likewise.
42562         * string/test-rawmemchr-ifunc.c: Likewise.
42563         * string/test-stpcpy-ifunc.c: Likewise.
42564         * string/test-stpncpy-ifunc.c: Likewise.
42565         * string/test-strcasecmp-ifunc.c: Likewise.
42566         * string/test-strcasestr-ifunc.c: Likewise.
42567         * string/test-strcat-ifunc.c: Likewise.
42568         * string/test-strchr-ifunc.c: Likewise.
42569         * string/test-strchrnul-ifunc.c: Likewise.
42570         * string/test-strcmp-ifunc.c: Likewise.
42571         * string/test-strcpy-ifunc.c: Likewise.
42572         * string/test-strcspn-ifunc.c: Likewise.
42573         * string/test-strlen-ifunc.c: Likewise.
42574         * string/test-strncasecmp-ifunc.c: Likewise.
42575         * string/test-strncat-ifunc.c: Likewise.
42576         * string/test-strncmp-ifunc.c: Likewise.
42577         * string/test-strncpy-ifunc.c: Likewise.
42578         * string/test-strnlen-ifunc.c: Likewise.
42579         * string/test-strpbrk-ifunc.c: Likewise.
42580         * string/test-strrchr-ifunc.c: Likewise.
42581         * string/test-strspn-ifunc.c: Likewise.
42582         * string/test-strstr-ifunc.c: Likewise.
42584 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42586         * benchtests/Makefile: Remove ifunc tests.
42587         * benchtests/bench-string.h: Define TEST_IFUNC.
42588         * benchtests/bench-bcopy-ifunc.c: Remove.
42589         * benchtests/bench-bzero-ifunc.c: Likewise.
42590         * benchtests/bench-memccpy-ifunc.c: Likewise.
42591         * benchtests/bench-memchr-ifunc.c: Likewise.
42592         * benchtests/bench-memcmp-ifunc.c: Likewise.
42593         * benchtests/bench-memcpy-ifunc.c: Likewise.
42594         * benchtests/bench-memmem-ifunc.c: Likewise.
42595         * benchtests/bench-memmove-ifunc.c: Likewise.
42596         * benchtests/bench-mempcpy-ifunc.c: Likewise.
42597         * benchtests/bench-memrchr-ifunc.c: Likewise.
42598         * benchtests/bench-memset-ifunc.c: Likewise.
42599         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
42600         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
42601         * benchtests/bench-stpcpy-ifunc.c: Likewise.
42602         * benchtests/bench-stpncpy-ifunc.c: Likewise.
42603         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
42604         * benchtests/bench-strcasestr-ifunc.c: Likewise.
42605         * benchtests/bench-strcat-ifunc.c: Likewise.
42606         * benchtests/bench-strchr-ifunc.c: Likewise.
42607         * benchtests/bench-strchrnul-ifunc.c: Likewise.
42608         * benchtests/bench-strcmp-ifunc.c: Likewise.
42609         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
42610         * benchtests/bench-strcpy-ifunc.c: Likewise.
42611         * benchtests/bench-strcspn-ifunc.c: Likewise.
42612         * benchtests/bench-strlen-ifunc.c: Likewise.
42613         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
42614         * benchtests/bench-strncat-ifunc.c: Likewise.
42615         * benchtests/bench-strncmp-ifunc.c: Likewise.
42616         * benchtests/bench-strncpy-ifunc.c: Likewise.
42617         * benchtests/bench-strnlen-ifunc.c: Likewise.
42618         * benchtests/bench-strpbrk-ifunc.c: Likewise.
42619         * benchtests/bench-strrchr-ifunc.c: Likewise.
42620         * benchtests/bench-strsep-ifunc.c: Likewise.
42621         * benchtests/bench-strspn-ifunc.c: Likewise.
42622         * benchtests/bench-strstr-ifunc.c: Likewise.
42624 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42626         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
42628 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42630         * resolv/netdb.h: Use __glibc_reserved instead __unused.
42631         * rt/aio.h: Likewise.
42632         * sysdeps/gnu/bits/utmp.h: Likewise.
42633         * sysdeps/gnu/bits/utmpx.h: Likewise.
42634         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42635         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
42636         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
42637         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
42638         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
42639         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
42640         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
42641         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
42642         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
42643         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
42644         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
42645         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
42646         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
42647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
42648         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42649         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
42650         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
42651         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
42652         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
42653         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
42654         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
42655         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
42656         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
42657         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42658         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
42659         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42660         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
42661         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
42662         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
42663         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
42664         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
42665         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
42666         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42667         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42668         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
42669         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42670         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
42671         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
42672         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
42673         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42674         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42675         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42677 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
42679         [BZ #16245]
42680         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42681         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42683 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
42685         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42686         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42687         Likewise.
42689 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42691         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42692         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42693         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42694         (__fesetround): Remove define.
42695         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42696         rounding and exceptions handling.
42697         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42698         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42699         (__fe_nomask_env): Likewise.
42700         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42701         __fegetround instead of fegetround.
42702         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42703         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42705 2013-11-21  Roland McGrath  <roland@hack.frob.com>
42707         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42708         it's there.
42710         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42712 2013-11-21  Meador Inge  <meadori@codesourcery.com>
42714         [BZ #11157]
42715         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42716         (encrypt_r): Likewise.
42717         * malloc/obstack.h (obstack_free): Likewise.
42718         * posix/unistd.h (encrypt): Likewise.
42720 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
42722         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42723         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42724         DL_CALL_DT_FINI() that call the functions directly.
42725         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42726         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42727         * elf/dl-fini.c: Likewise.
42729 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
42731         * malloc/hooks.c (memalign_check): Add alignment rounding.
42732         * malloc/malloc.c (_mid_memalign): New function.
42733         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42734         Implement by calling _mid_memalign.
42735         * manual/probes.texi (Memory Allocation Probes): Remove
42736         memory_valloc_retry and memory_pvalloc_retry.
42738 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42740         * locale/programs/locarchive.c (open_archive): Add const
42741         qualifier to ARCHIVEFNAME and copy default fname to
42742         DEFAULT_FNAME.
42744         [BZ #15601]
42745         * libio/tst-widetext.input: Rename Oriya to Odia.
42746         * locale/iso-639.def: Likewise.
42748         * manual/probes.texi (Mathematical Function Probes): Add
42749         documentation for sin, cos, asin and acos probes.
42750         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42751         (__sin32): Add slowasin probe.
42752         (__cos32): Add slowacos probe.
42753         (__mpsin): Add slowsin probe.
42754         (__mpcos): Add slowcos probe.
42756 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
42758         [BZ #15483]
42759         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42760         thread-local __sim_exceptions_thread and global
42761         __sim_exceptions_global.
42762         (__sim_disabled_exceptions): Change to thread-local
42763         __sim_disabled_exceptions_thread and global
42764         __sim_disabled_exceptions_global.
42765         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42766         and global __sim_round_mode_global.
42767         (__simulate_exceptions): Use thread-local floating-point state and
42768         set global state from it as needed.
42769         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42770         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42771         __sim_round_mode_thread.
42772         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42773         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42774         and global __sim_exceptions_global.
42775         (__sim_disabled_exceptions): Change to thread-local
42776         __sim_disabled_exceptions_thread and global
42777         __sim_disabled_exceptions_global.
42778         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42779         and global __sim_round_mode_global.
42780         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42781         (SIM_SET_GLOBAL): Likewise.
42782         * sysdeps/powerpc/soft-fp/sfp-machine.h
42783         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42784         __sim_round_mode_thread.
42785         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42786         __sim_disabled_exceptions_thread.
42787         (__sim_exceptions): Change to __sim_exceptions_thread.
42788         (__sim_disabled_exceptions): Change to
42789         __sim_disabled_exceptions_thread.
42790         (__sim_round_mode): Change to __sim_round_mode_thread.
42791         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42792         thread-local floating-point state and set global state from it as
42793         needed.
42794         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42795         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42796         (__sim_disabled_exceptions): Remove extern declaration.
42797         (feenableexcept): Use thread-local floating-point state and set
42798         global state from it as needed.
42799         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42800         extern declaration.
42801         (__sim_disabled_exceptions): Likewise.
42802         (__sim_round_mode): Likewise.
42803         (__fegetenv): Use thread-local floating-point state.
42804         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42805         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42806         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42807         floating-point state and set global state from it as needed.
42808         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42809         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42810         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42811         Likewise.
42812         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42813         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42814         Likewise.
42815         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42816         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42817         Use __sim_round_mode_thread.
42818         * math/test-fenv-tls.c: New file.
42819         * math/Makefile (tests): Add test-fenv-tls.
42820         ($(objpfx)test-fenv-tls): Depend on
42821         $(common-objpfx)nptl/libpthread.so.
42823 2013-11-19  Andreas Schwab  <schwab@suse.de>
42825         * locale/programs/locale.c (show_info): Decode wordarray elements.
42826         * locale/categories.def (LC_MONETARY): Add element for
42827         _NL_MONETARY_CRNCYSTR.
42828         * locale/C-monetary.c (conversion_rate): New variable.
42829         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42830         element.
42832 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
42834         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42835         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42837 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42839         * elf/Makefile (tst-auxv): New test.
42840         * elf/tst-auxv.c: New
42841         * elf/rtld.c (dl_main): Adjust AT_EXECFN
42843 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
42845         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42846         (hidden_proto): Caller changed.
42847         (hidden_tls_proto): New macro.
42848         (libc_hidden_tls_proto): Likewise.
42849         (rtld_hidden_tls_proto): Likewise.
42850         (libm_hidden_tls_proto): Likewise.
42851         (libresolv_hidden_tls_proto): Likewise.
42852         (librt_hidden_tls_proto): Likewise.
42853         (libdl_hidden_tls_proto): Likewise.
42854         (libnss_files_hidden_tls_proto): Likewise.
42855         (libnsl_hidden_tls_proto): Likewise.
42856         (libnss_nisplus_hidden_tls_proto): Likewise.
42857         (libutil_hidden_tls_proto): Likewise.
42859 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
42861         [BZ #10253]
42862         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42863         (decompose_rpath): Defer expansion to fillin_rpath.
42864         (_dl_init_paths): Pass linkmap to fillin_rpath.
42866 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42868         * benchtests/Makefile: Add strsep.
42869         * benchtests/bench-strsep.c: New file: strsep benchtest.
42870         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42872 2013-11-18  Andreas Schwab  <schwab@suse.de>
42874         * locale/programs/locale.c (show_info) [case byte]: Check for
42875         '\377' instead of '\177'.
42876         * locale/C-monetary.c (not_available): Always use "\377".
42877         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42878         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
42879         detect unavailable sign_posn locale elements.
42880         * locale/localeconv.c (__localeconv): For grouping and
42881         mon_grouping handle "\177" and "\377" like no grouping.
42882         (INT_ELEM): New macro.  Use it to set all numeric members.
42883         * locale/programs/ld-monetary.c (monetary_read)
42884         <tok_mon_grouping>: Normalize single -1 to the empty string.
42885         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42886         Likewise.
42888 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42890         [BZ #16055]
42891         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42892         when we match (nil).
42893         * stdio-common/tst-sscanf.c (struct test): Add testcase.
42895 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
42897         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42898         (NO_TEST_INLINE): Update value.
42899         (ERRNO_UNCHANGED): Likewise.
42900         (ERRNO_EDOM): Likewise.
42901         (ERRNO_ERANGE): Likewise.
42902         (IGNORE_RESULT): Likewise.
42903         (check_float_internal): Check signs of NaN results if
42904         TEST_NAN_SIGN used.
42905         (check_complex): Pass TEST_NAN_SIGN flag through to second
42906         check_float_internal call.
42907         (copysign_test_data): Add tests with quiet NaNs as second
42908         argument.  Use TEST_NAN_SIGN.
42909         (fabs_test_data): Add test of negative quiet NaN argument.  Use
42910         TEST_NAN_SIGN.
42911         (signbit_test_data): Add tests of quiet NaN argument.
42912         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42914         * math/gen-libm-test.pl (show_exceptions): Take extra argument
42915         $ignore_result.
42916         (parse_args): Handle function results specified as IGNORE.
42917         * math/libm-test.inc (IGNORE_RESULT): New macro.
42918         (check_float_internal): Do not check numerical result if flag
42919         IGNORE_RESULT set.
42920         (check_complex): Pass through IGNORE_RESULT to second
42921         check_float_internal call.
42922         (check_int): Do not check numerical result if flag IGNORE_RESULT
42923         set.
42924         (check_long): Likewise.
42925         (check_bool): Likewise.
42926         (check_longlong): Likewise.
42927         (lrint_test_data): Add tests of infinite and NaN arguments.
42928         (lrint_tonearest_test_data): Likewise.
42929         (lrint_towardzero_test_data): Likewise.
42930         (lrint_downward_test_data): Likewise.
42931         (lrint_upward_test_data): Likewise.
42932         (llrint_test_data): Likewise.
42933         (llrint_tonearest_test_data): Likewise.
42934         (llrint_towardzero_test_data): Likewise.
42935         (llrint_downward_test_data): Likewise.
42936         (llrint_upward_test_data): Likewise.
42937         (lround_test_data): Likewise.
42938         (llround_test_data): Likewise.
42940         * math/libm-test.inc (NO_TEST_INLINE): New macro.
42941         (ERRNO_UNCHANGED): Update value.
42942         (ERRNO_EDOM): Likewise.
42943         (ERRNO_ERANGE): Likewise.
42944         (NO_TEST_INLINE_FLOAT): New macro.
42945         (NO_TEST_INLINE_DOUBLE): Likewise.
42946         (enable_test): New function.
42947         (RUN_TEST_f_f): Check enable_test before running test.
42948         (RUN_TEST_2_f): Likewise.
42949         (RUN_TEST_fff_f): Likewise.
42950         (RUN_TEST_c_f): Likewise.
42951         (RUN_TEST_f_f1): Likewise.
42952         (RUN_TEST_fF_f1): Likewise.
42953         (RUN_TEST_fI_f1): Likewise.
42954         (RUN_TEST_ffI_f1): Likewise.
42955         (RUN_TEST_c_c): Likewise.
42956         (RUN_TEST_cc_c): Likewise.
42957         (RUN_TEST_f_i): Likewise.
42958         (RUN_TEST_f_i_tg): Likewise.
42959         (RUN_TEST_ff_i_tg): Likewise.
42960         (RUN_TEST_f_b): Likewise.
42961         (RUN_TEST_f_b_tg): Likewise.
42962         (RUN_TEST_f_l): Likewise.
42963         (RUN_TEST_f_L): Likewise.
42964         (RUN_TEST_fFF_11): Likewise.
42965         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42966         conditionals.
42967         (cosh_test_data): Likewise.
42968         (exp_test_data): Likewise.
42969         (expm1_test_data): Likewise.
42970         (hypot_test_data): Likewise.
42971         (pow_test_data): Likewise.
42972         (sinh_test_data): Likewise.
42973         (tanh_test_data): Likewise.
42974         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42975         flags argument.
42977         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42978         tests with quiet NaN input and output.
42979         (acosh_test_data): Likewise.
42980         (asin_test_data): Likewise.
42981         (asinh_test_data): Likewise.
42982         (atan_test_data): Likewise.
42983         (atanh_test_data): Likewise.
42984         (atan2_test_data): Likewise.
42985         (cbrt_test_data): Likewise.
42986         (cos_test_data): Likewise.
42987         (cosh_test_data): Likewise.
42988         (erf_test_data): Likewise.
42989         (erfc_test_data): Likewise.
42990         (exp_test_data): Likewise.
42991         (exp10_test_data): Likewise.
42992         (exp2_test_data): Likewise.
42993         (expm1_test_data): Likewise.
42994         (hypot_test_data): Likewise.
42995         (j0_test_data): Likewise.
42996         (j1_test_data): Likewise.
42997         (jn_test_data): Likewise.
42998         (lgamma_test_data): Likewise.
42999         (log_test_data): Likewise.
43000         (log10_test_data): Likewise.
43001         (log1p_test_data): Likewise.
43002         (log2_test_data): Likewise.
43003         (pow_test_data): Likewise.
43004         (scalb_test_data): Likewise.
43005         (sin_test_data): Likewise.
43006         (sincos_test_data): Likewise.
43007         (sinh_test_data): Likewise.
43008         (tan_test_data): Likewise.
43009         (tanh_test_data): Likewise.
43010         (tgamma_test_data): Likewise.
43011         (y0_test_data): Likewise.
43012         (y1_test_data): Likewise.
43013         (yn_test_data): Likewise.
43015         [BZ #16167]
43016         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
43017         argument being NaN and avoid computations with second argument in
43018         that case.
43019         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43020         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43021         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43023 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
43025         * locale/iso-639.def: Add Chitwani Tharu (the).
43027 2013-11-14  Andreas Schwab  <schwab@suse.de>
43029         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
43030         word instead of empty string.
43032 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43035         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
43036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43037         (__fe_nomask_env): Likewise.
43039 2013-11-13  Steve Ellcey  <sellcey@mips.com>
43041         * benchtests/bench-timing.h: Include time.h.
43043 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
43045         [BZ #15997]
43046         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
43047         to 3.4.0 for x32.
43048         * sysdeps/unix/sysv/linux/configure: Regenerated.
43050 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
43052         [BZ #16151]
43053         * stdlib/strtod_l.c (round_and_return): Do not consider
43054         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
43055         exponent one less than half the least subnormal exponent.
43056         * stdlib/test-strtod-round-data: Add more tests.
43057         * stdlib/tst-strtod-round.c (tests): Regenerated.
43059 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43061         [BZ #14143]
43062         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
43063         (__fe_mask_env): Likewise.
43064         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
43065         libm_hidden_proto and add function prototype.
43066         (__fe_mask_env): Add function prototype.
43067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43068         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
43069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43070         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
43071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43072         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
43074 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43076         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
43077         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
43079 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43081         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
43082         of htab_find_slot().
43084 2013-11-11  David S. Miller  <davem@davemloft.net>
43086         [BZ #16150]
43087         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
43088         symbol in the non-vis3 case in static builds.
43089         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
43090         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
43091         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
43092         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
43094 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
43096         [BZ #387]
43097         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
43098         it is empty.
43100 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43102         * benchtests/Makefile: Add bench-strtod.
43103         * benchtests/bench-strtod.c: New file: strtod benchtest
43105 2013-11-11  Andreas Schwab  <schwab@suse.de>
43107         [BZ #16153]
43108         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
43109         terminating NUL in key length.
43111 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43113         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43114         Add artificial ODP entry for vDSO symbol for PPC64.
43115         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
43116         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
43118 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43120         [BZ #15374]
43121         * nss/getent.c (services_keys): Recognize services starting with digit.
43123 2013-11-06  David S. Miller  <davem@davemloft.net>
43125         [BZ #15985]
43126         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
43127         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
43129 2013-11-06  Will Newton  <will.newton@linaro.org>
43131         * manual/memory.texi (Malloc Examples): Remove register
43132         keyword from examples.
43134 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
43136         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
43138 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
43140         [BZ #6981]
43141         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
43142         depending on [__GCC_IEC_559 > 0].
43143         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
43144         depending on [__GCC_IEC_559_COMPLEX > 0].
43146 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
43148         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
43149         to iso-639.def.
43151 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
43153         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
43155 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
43157         [BZ #16112]
43158         * malloc/malloc (malloc_info): Do not handle first bin as
43159         special case.
43161 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
43163         * locale/iso-639.def: Add Central Nahuatl (nhn).
43165 2013-11-01  Bruno Haible  <bruno@clisp.org>
43167         [BZ #7003]
43168         * manual/math.texi (BSD Random): Specify range upper bound as
43169         in POSIX.
43171 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
43173         * locale/iso-639.def: Add Meadow Mari (mhr).
43175 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
43177         [BZ #14752], [BZ #15763]
43178         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
43179         Validate name.
43180         * rt/tst_shm.c: Add test for escaping directory.
43182 2013-10-31  Andreas Schwab  <schwab@suse.de>
43184         [BZ #15917]
43185         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
43186         followed by 'x' as part of digit sequence.
43187         * stdio-common/tst-sscanf.c (double_tests2): New tests.
43189 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
43191         [BZ #16037]
43192         * configure.ac: allow GNU Make 4.0 and greater.
43193         * configure: Regenerated.
43195 2013-10-30  Will Newton  <will.newton@linaro.org>
43197         [BZ #16038]
43198         * malloc/hooks.c (memalign_check): Limit alignment to the
43199         maximum representable power of two.
43200         * malloc/malloc.c (__libc_memalign): Likewise.
43201         * malloc/tst-memalign.c (do_test): Add test for very
43202         large alignment values.
43203         * malloc/tst-posix_memalign.c (do_test): Likewise.
43205 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43207         [BZ #11087]
43208         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
43209         (munmap_chunk): Likewise.
43210         (mremap_chunk): Likewise.
43212 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43214         [BZ #15799]
43215         * stdlib/div.c (div): Remove obsolete code.
43216         * stdlib/ldiv.c (ldiv): Likewise.
43217         * stdlib/lldiv.c (lldiv): Likewise.
43219 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43221         [BZ #16071]
43222         * nss/nss_files/files-XXX.c (get_contents_ret): New
43223         enumerator.
43224         (get_contents): New function.
43225         (internal_getent): Use it.  Expand size of LINEBUFLEN.
43227 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
43229         * configure.in: Moved to ...
43230         * configure.ac: ... here. Change reference to configure.in
43231         to configure.ac.
43232         * sysdeps/arm/preconfigure.ac: ... here.
43233         configure.in to configure.ac.
43234         * sysdeps/gnu/configure.in: Moved to ...
43235         * sysdeps/gnu/configure.ac: ... here.
43236         * sysdeps/i386/configure.in: Moved to ...
43237         * sysdeps/i386/configure.ac: ... here.
43238         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
43239         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
43240         * sysdeps/mach/configure.in: Moved to ...
43241         * sysdeps/mach/configure.ac: ... here.
43242         * sysdeps/mach/hurd/configure.in: Moved to ...
43243         * sysdeps/mach/hurd/configure.ac: ... here.
43244         * sysdeps/powerpc/configure.in: Moved to ...
43245         * sysdeps/powerpc/configure.ac: ... here.
43246         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
43247         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
43248         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
43249         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
43250         * sysdeps/s390/s390-32/configure.in: Moved to ...
43251         * sysdeps/s390/s390-32/configure.ac: ... here.
43252         * sysdeps/s390/s390-64/configure.in: Moved to ...
43253         * sysdeps/s390/s390-64/configure.ac: ... here.
43254         * sysdeps/sh/configure.in: Moved to ...
43255         * sysdeps/sh/configure.ac: ... here.
43256         * sysdeps/sparc/configure.in: Moved to ...
43257         * sysdeps/sparc/configure.ac: ... here.
43258         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
43259         * sysdeps/unix/sysv/linux/configure.ac: ... here.
43260         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
43261         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
43262         * sysdeps/x86_64/configure.in: Moved to ...
43263         * sysdeps/x86_64/configure.ac: ... here.
43264         * sysdeps/x86_64/preconfigure.in: Moved to ...
43265         * sysdeps/x86_64/preconfigure.ac: ... here.
43266         * aclocal.m4: Change reference to configure.in to configure.ac.
43267         * config.h.in: Likewise.
43268         * manual/install.texi: Likewise.
43269         * manual/maint.texi: Likewise.
43270         * Makefile: Likewise.
43271         * malloc/Makefile: Likewise.
43272         * nscd/Makefile: Likewise.
43273         * Makeconfig: Change reference to configure.in and
43274         preconfigure.in to configure.ac and preconfigure.ac
43275         respectively.
43276         * INSTALL: Regenerated.
43277         * configure: Likewise.
43278         * sysdeps/gnu/configure: Likewise.
43279         * sysdeps/i386/configure: Likewise.
43280         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
43281         * sysdeps/mach/configure: Likewise.
43282         * sysdeps/mach/hurd/configure: Likewise.
43283         * sysdeps/powerpc/configure: Likewise.
43284         * sysdeps/powerpc/powerpc32/configure: Likewise.
43285         * sysdeps/powerpc/powerpc64/configure: Likewise.
43286         * sysdeps/s390/s390-32/configure: Likewise.
43287         * sysdeps/s390/s390-64/configure: Likewise.
43288         * sysdeps/sh/configure: Likewise.
43289         * sysdeps/sparc/configure: Likewise.
43290         * sysdeps/unix/sysv/linux/configure: Likewise.
43291         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
43292         * sysdeps/x86_64/configure: Likewise.
43293         * sysdeps/x86_64/preconfigure: Likewise.
43295 2013-10-29  Andreas Schwab  <schwab@suse.de>
43297         * stdio-common/Makefile (tst-swscanf-ENV): Define.
43299 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43301         * benchtests/pow-inputs: Add new inputs.
43303         * benchtests/exp-inputs: Add new inputs.
43305         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
43306         conditional check for return value.
43307         (__cos32): Likewise.
43309 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43311         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
43312         to provide a boost for large inputs with word alignment.
43313         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
43314         implementation based on optimized PPC64 strcpy.
43315         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
43316         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
43317         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
43318         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
43320 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43322         [BZ #2801]
43323         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
43325 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43327         [BZ #14876]
43328         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
43329         * time/tst-strptime.c (day_tests): Add testcase.
43331 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43333         [BZ #14029]
43334         * manual/pattern.texi: Acknowledge that fnmatch can fail.
43336 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
43338         [BZ #16074]
43339         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
43340         MAP_FAILED on error.
43342 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43344         [BZ #16072]
43345         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
43346         heap for large requests.
43348 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
43350         [BZ #9954]
43351         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
43352         result if the result has no associated interface.
43353         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
43354         interface for all 127.X.Y.Z addresses.
43356 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
43358         * locale/iso-639.def: Add Ligurian (lij)
43360 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
43362         [BZ #15825]
43363         * sunrpc/rpc_main.c: Document rpcgen -5.
43365 2013-10-19  Michael Stahl  <mstahl@redhat.com>
43367         * elf/rtld.c (do_preload): Print the reason why preloading failed.
43369 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43371         [BZ #10278]
43372         * posix/glob.c: Match only directories when trailing slash is present.
43373         * posix/tst-gnuglob.c (my_opendir): Do not open files.
43374         (main): Add testcase.
43376 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43378         [BZ #15670]
43379         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
43381 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
43383         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
43384         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
43385         AUTH_DES and cindex for FIPS 140-2.
43386         (DES Encryption): Add cindex FIPS 46-3.
43388         * locale/locarchive.h (struct locarhandle): Add fname.
43389         * locale/programs/localedef.c (main): Pass ARGV[remaining]
43390         if an optional argument was specified to --list-archive,
43391         otherwise NULL.
43392         * locale/programs/locarchive.c (show_archive_content): Take new
43393         argument fname and pass it via ah.fname to open_archive.
43394         * locale/programs/localedef.h: Update decl.
43395         (open_archive): If AH->fname is non-null, open that file
43396         rather than the default file name, and don't ignore ENOENT.
43397         (create_archive): Set AH.fname to NULL.
43398         (delete_locales_from_archive): Likewise.
43399         (add_locales_to_archive): Likewise.
43400         * locale/programs/locfile.c (write_all_categories): Likewise.
43402 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
43403             Aldy Hernandez  <aldyh@redhat.com>
43405         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
43406         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
43407         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
43408         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
43409         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
43410         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
43411         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
43412         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
43413         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
43414         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
43415         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
43416         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
43417         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
43418         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
43419         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
43420         Likewise.
43421         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
43422         Likewise.
43423         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
43424         Likewise.
43425         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
43426         Likewise.
43427         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
43428         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
43429         Likewise.
43430         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
43431         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
43432         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
43433         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
43434         Likewise.
43435         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
43436         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
43437         * sysdeps/powerpc/preconfigure: Likewise.
43438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
43439         Likewise.
43440         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
43441         Replace contents of file by #include of <fenv_libc.h>.
43442         * sysdeps/powerpc/soft-fp/sfp-machine.h
43443         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
43444         and <sys/prctl.h>.
43445         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
43446         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
43447         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
43448         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
43449         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
43450         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
43451         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
43452         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
43453         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
43454         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
43455         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
43456         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
43457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43458         Allow copysignl PLT reference to be missing.
43460 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
43461             Joseph Myers  <joseph@codesourcery.com
43463         [BZ #15948]
43464         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
43465         single character.
43466         (add_to_tablewc): Assert sequence of wide characters is nonempty.
43468 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43470         * elf/tst-tls-dlinfo.c: Don't include tls.h.
43471         * elf/tst-tls1.c: Likewise.
43472         * elf/tst-tls10.h: Likewise.
43473         * elf/tst-tls14.c: Likewise.
43474         * elf/tst-tls2.c: Likewise.
43475         * elf/tst-tls3.c: Likewise.
43476         * elf/tst-tls4.c: Likewise.
43477         * elf/tst-tls5.c: Likewise.
43478         * elf/tst-tls6.c: Likewise.
43479         * elf/tst-tls7.c: Likewise.
43480         * elf/tst-tls8.c: Likewise.
43481         * elf/tst-tls9.c: Likewise.
43482         * elf/tst-tlsmod1.c: Likewise.
43483         * elf/tst-tlsmod13.c: Likewise.
43484         * elf/tst-tlsmod13a.c: Likewise.
43485         * elf/tst-tlsmod14a.c: Likewise.
43486         * elf/tst-tlsmod16a.c: Likewise.
43487         * elf/tst-tlsmod16b.c: Likewise.
43488         * elf/tst-tlsmod2.c: Likewise.
43489         * elf/tst-tlsmod3.c: Likewise.
43490         * elf/tst-tlsmod4.c: Likewise.
43491         * elf/tst-tlsmod5.c: Likewise.
43492         * elf/tst-tlsmod6.c: Likewise.
43494 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
43496         [BZ #12486]
43497         * malloc/malloc.c: remove checks for statistics.
43499 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43501         [BZ #15277]
43502         * inet/inet_net.c (inet_network): Detect additional invalid strings.
43503         * inet/tst-network.c: Add testcase.
43505 2013-10-17  Andreas Schwab  <schwab@suse.de>
43507         [BZ #15218]
43508         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
43509         to determine canonical name.
43511 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43513         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
43514         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
43515         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43516         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43517         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43518         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43519         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43520         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43521         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43522         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43523         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43524         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43525         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43526         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43527         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43528         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43529         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43530         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43531         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43532         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43533         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43534         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43535         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43536         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
43537         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
43538         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43539         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43540         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
43541         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43542         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
43543         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43544         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43545         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43546         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43547         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43548         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43549         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43550         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43551         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43552         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43553         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43554         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43555         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43556         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43557         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43558         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43559         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43560         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43561         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43562         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43563         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43564         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43565         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43566         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43567         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43568         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43569         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43570         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43572 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
43574         [BZ #16041]
43575         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
43576         make result into a quiet NaN.
43578 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
43580         * soft-fp/adddf3.c: Fix horizontal whitespace.
43581         * soft-fp/addsf3.c: Likewise.
43582         * soft-fp/addtf3.c: Likewise.
43583         * soft-fp/divdf3.c: Likewise.
43584         * soft-fp/divsf3.c: Likewise.
43585         * soft-fp/divtf3.c: Likewise.
43586         * soft-fp/double.h: Likewise.
43587         * soft-fp/eqdf2.c: Likewise.
43588         * soft-fp/eqsf2.c: Likewise.
43589         * soft-fp/eqtf2.c: Likewise.
43590         * soft-fp/extenddftf2.c: Likewise.
43591         * soft-fp/extended.h: Likewise.
43592         * soft-fp/extendsfdf2.c: Likewise.
43593         * soft-fp/extendsftf2.c: Likewise.
43594         * soft-fp/extendxftf2.c: Likewise.
43595         * soft-fp/fixdfdi.c: Likewise.
43596         * soft-fp/fixdfsi.c: Likewise.
43597         * soft-fp/fixdfti.c: Likewise.
43598         * soft-fp/fixsfdi.c: Likewise.
43599         * soft-fp/fixsfsi.c: Likewise.
43600         * soft-fp/fixsfti.c: Likewise.
43601         * soft-fp/fixtfdi.c: Likewise.
43602         * soft-fp/fixtfsi.c: Likewise.
43603         * soft-fp/fixtfti.c: Likewise.
43604         * soft-fp/fixunsdfdi.c: Likewise.
43605         * soft-fp/fixunsdfsi.c: Likewise.
43606         * soft-fp/fixunsdfti.c: Likewise.
43607         * soft-fp/fixunssfdi.c: Likewise.
43608         * soft-fp/fixunssfsi.c: Likewise.
43609         * soft-fp/fixunssfti.c: Likewise.
43610         * soft-fp/fixunstfdi.c: Likewise.
43611         * soft-fp/fixunstfsi.c: Likewise.
43612         * soft-fp/fixunstfti.c: Likewise.
43613         * soft-fp/floatdidf.c: Likewise.
43614         * soft-fp/floatdisf.c: Likewise.
43615         * soft-fp/floatditf.c: Likewise.
43616         * soft-fp/floatsidf.c: Likewise.
43617         * soft-fp/floatsisf.c: Likewise.
43618         * soft-fp/floatsitf.c: Likewise.
43619         * soft-fp/floattidf.c: Likewise.
43620         * soft-fp/floattisf.c: Likewise.
43621         * soft-fp/floattitf.c: Likewise.
43622         * soft-fp/floatundidf.c: Likewise.
43623         * soft-fp/floatundisf.c: Likewise.
43624         * soft-fp/floatunditf.c: Likewise.
43625         * soft-fp/floatunsidf.c: Likewise.
43626         * soft-fp/floatunsisf.c: Likewise.
43627         * soft-fp/floatunsitf.c: Likewise.
43628         * soft-fp/floatuntidf.c: Likewise.
43629         * soft-fp/floatuntisf.c: Likewise.
43630         * soft-fp/floatuntitf.c: Likewise.
43631         * soft-fp/fmadf4.c: Likewise.
43632         * soft-fp/fmasf4.c: Likewise.
43633         * soft-fp/fmatf4.c: Likewise.
43634         * soft-fp/gedf2.c: Likewise.
43635         * soft-fp/gesf2.c: Likewise.
43636         * soft-fp/getf2.c: Likewise.
43637         * soft-fp/ledf2.c: Likewise.
43638         * soft-fp/lesf2.c: Likewise.
43639         * soft-fp/letf2.c: Likewise.
43640         * soft-fp/muldf3.c: Likewise.
43641         * soft-fp/mulsf3.c: Likewise.
43642         * soft-fp/multf3.c: Likewise.
43643         * soft-fp/negdf2.c: Likewise.
43644         * soft-fp/negsf2.c: Likewise.
43645         * soft-fp/negtf2.c: Likewise.
43646         * soft-fp/op-1.h: Likewise.
43647         * soft-fp/op-2.h: Likewise.
43648         * soft-fp/op-4.h: Likewise.
43649         * soft-fp/op-8.h: Likewise.
43650         * soft-fp/op-common.h: Likewise.
43651         * soft-fp/quad.h: Likewise.
43652         * soft-fp/single.h: Likewise.
43653         * soft-fp/soft-fp.h: Likewise.
43654         * soft-fp/sqrtdf2.c: Likewise.
43655         * soft-fp/sqrtsf2.c: Likewise.
43656         * soft-fp/sqrttf2.c: Likewise.
43657         * soft-fp/subdf3.c: Likewise.
43658         * soft-fp/subsf3.c: Likewise.
43659         * soft-fp/subtf3.c: Likewise.
43660         * soft-fp/truncdfsf2.c: Likewise.
43661         * soft-fp/trunctfdf2.c: Likewise.
43662         * soft-fp/trunctfsf2.c: Likewise.
43663         * soft-fp/trunctfxf2.c: Likewise.
43664         * soft-fp/unorddf2.c: Likewise.
43665         * soft-fp/unordsf2.c: Likewise.
43666         * soft-fp/unordtf2.c: Likewise.
43668 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
43670         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
43671         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
43673 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
43675         * elf/dl-libc.c: Clear initfini list after freeing.
43677 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
43679         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43680         * soft-fp/addsf3.c: Likewise.
43681         * soft-fp/addtf3.c: Likewise.
43682         * soft-fp/divdf3.c: Likewise.
43683         * soft-fp/divsf3.c: Likewise.
43684         * soft-fp/divtf3.c: Likewise.
43685         * soft-fp/double.h: Likewise.
43686         * soft-fp/eqdf2.c: Likewise.
43687         * soft-fp/eqsf2.c: Likewise.
43688         * soft-fp/eqtf2.c: Likewise.
43689         * soft-fp/extenddftf2.c: Likewise.
43690         * soft-fp/extended.h: Likewise.
43691         * soft-fp/extendsfdf2.c: Likewise.
43692         * soft-fp/extendsftf2.c: Likewise.
43693         * soft-fp/extendxftf2.c: Likewise.
43694         * soft-fp/fixdfdi.c: Likewise.
43695         * soft-fp/fixdfsi.c: Likewise.
43696         * soft-fp/fixdfti.c: Likewise.
43697         * soft-fp/fixsfdi.c: Likewise.
43698         * soft-fp/fixsfsi.c: Likewise.
43699         * soft-fp/fixsfti.c: Likewise.
43700         * soft-fp/fixtfdi.c: Likewise.
43701         * soft-fp/fixtfsi.c: Likewise.
43702         * soft-fp/fixtfti.c: Likewise.
43703         * soft-fp/fixunsdfdi.c: Likewise.
43704         * soft-fp/fixunsdfsi.c: Likewise.
43705         * soft-fp/fixunsdfti.c: Likewise.
43706         * soft-fp/fixunssfdi.c: Likewise.
43707         * soft-fp/fixunssfsi.c: Likewise.
43708         * soft-fp/fixunssfti.c: Likewise.
43709         * soft-fp/fixunstfdi.c: Likewise.
43710         * soft-fp/fixunstfsi.c: Likewise.
43711         * soft-fp/fixunstfti.c: Likewise.
43712         * soft-fp/floatdidf.c: Likewise.
43713         * soft-fp/floatdisf.c: Likewise.
43714         * soft-fp/floatditf.c: Likewise.
43715         * soft-fp/floatsidf.c: Likewise.
43716         * soft-fp/floatsisf.c: Likewise.
43717         * soft-fp/floatsitf.c: Likewise.
43718         * soft-fp/floattidf.c: Likewise.
43719         * soft-fp/floattisf.c: Likewise.
43720         * soft-fp/floattitf.c: Likewise.
43721         * soft-fp/floatundidf.c: Likewise.
43722         * soft-fp/floatundisf.c: Likewise.
43723         * soft-fp/floatunsidf.c: Likewise.
43724         * soft-fp/floatunsisf.c: Likewise.
43725         * soft-fp/floatuntidf.c: Likewise.
43726         * soft-fp/floatuntisf.c: Likewise.
43727         * soft-fp/floatuntitf.c: Likewise.
43728         * soft-fp/fmadf4.c: Likewise.
43729         * soft-fp/fmasf4.c: Likewise.
43730         * soft-fp/fmatf4.c: Likewise.
43731         * soft-fp/gedf2.c: Likewise.
43732         * soft-fp/gesf2.c: Likewise.
43733         * soft-fp/getf2.c: Likewise.
43734         * soft-fp/ledf2.c: Likewise.
43735         * soft-fp/lesf2.c: Likewise.
43736         * soft-fp/letf2.c: Likewise.
43737         * soft-fp/muldf3.c: Likewise.
43738         * soft-fp/mulsf3.c: Likewise.
43739         * soft-fp/multf3.c: Likewise.
43740         * soft-fp/negdf2.c: Likewise.
43741         * soft-fp/negsf2.c: Likewise.
43742         * soft-fp/negtf2.c: Likewise.
43743         * soft-fp/op-1.h: Likewise.
43744         * soft-fp/op-2.h: Likewise.
43745         * soft-fp/op-4.h: Likewise.
43746         * soft-fp/op-8.h: Likewise.
43747         * soft-fp/op-common.h: Likewise.
43748         * soft-fp/quad.h: Likewise.
43749         * soft-fp/single.h: Likewise.
43750         * soft-fp/soft-fp.h: Likewise.
43751         * soft-fp/sqrtdf2.c: Likewise.
43752         * soft-fp/sqrtsf2.c: Likewise.
43753         * soft-fp/sqrttf2.c: Likewise.
43754         * soft-fp/subdf3.c: Likewise.
43755         * soft-fp/subsf3.c: Likewise.
43756         * soft-fp/subtf3.c: Likewise.
43757         * soft-fp/truncdfsf2.c: Likewise.
43758         * soft-fp/trunctfdf2.c: Likewise.
43759         * soft-fp/trunctfsf2.c: Likewise.
43760         * soft-fp/trunctfxf2.c: Likewise.
43761         * soft-fp/unorddf2.c: Likewise.
43762         * soft-fp/unordsf2.c: Likewise.
43763         * soft-fp/unordtf2.c: Likewise.
43765 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
43767         [BZ #15672]
43768         * misc/error.c (error_tail): Fix possible buffer overflow.
43770 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
43772         [BZ #13028]
43773         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43774         address.
43776 2013-10-14  P. J. McDermott  <pj@pehjota.net>
43778         [BZ #832]
43779         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
43780         testing pipefail option.
43782 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43784         * soft-fp/double.h: Indent preprocessor directives inside #if.
43785         * soft-fp/extended.h: Likewise.
43786         * soft-fp/op-2.h: Likewise.
43787         * soft-fp/op-4.h: Likewise.
43788         * soft-fp/op-common.h: Likewise.
43789         * soft-fp/quad.h: Likewise.
43790         * soft-fp/single.h: Likewise.
43791         * soft-fp/soft-fp.h: Likewise.
43793 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
43795         * iconv/iconv_prog.c: Fix typos.
43796         * stdio-common/psiginfo-data.h: Likewise.
43798 2013-10-12   Reuben Thomas <rrt@sc3d.org>
43800         [BZ #15764]
43801         * locale/setlocale.c: Fix typo.
43803 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43805         [BZ #16036]
43806         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43807         signaling NaN arguments.
43808         * soft-fp/unordsf2.c (__unordsf2): Likewise.
43809         * soft-fp/unordtf2.c (__unordtf2): Likewise.
43811         [BZ #14910]
43812         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43813         unordered operands.
43814         * soft-fp/gesf2.c (__gesf2): Likewise.
43815         * soft-fp/getf2.c (__getf2): Likewise.
43816         * soft-fp/ledf2.c (__ledf2): Likewise.
43817         * soft-fp/lesf2.c (__lesf2): Likewise.
43818         * soft-fp/letf2.c (__letf2): Likewise.
43820         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43821         * soft-fp/eqsf2.c (__eqsf2): Likewise.
43822         * soft-fp/eqtf2.c (__eqtf2): Likewise.
43823         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43824         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43825         * soft-fp/fixdfti.c (__fixdfti): Likewise.
43826         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43827         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43828         * soft-fp/fixsfti.c (__fixsfti): Likewise.
43829         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43830         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43831         * soft-fp/fixtfti.c (__fixtfti): Likewise.
43832         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43833         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43834         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43835         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43836         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43837         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43838         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43839         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43840         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43841         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43842         * soft-fp/floatdisf.c (__floatdisf): Likewise.
43843         * soft-fp/floatsisf.c (__floatsisf): Likewise.
43844         * soft-fp/floattidf.c (__floattidf): Likewise.
43845         * soft-fp/floattisf.c (__floattisf): Likewise.
43846         * soft-fp/floattitf.c (__floattitf): Likewise.
43847         * soft-fp/floatundidf.c (__floatundidf): Likewise.
43848         * soft-fp/floatundisf.c (__floatundisf): Likewise.
43849         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43850         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43851         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43852         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43853         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43854         * soft-fp/gesf2.c (__gesf2): Likewise.
43855         * soft-fp/getf2.c (__getf2): Likewise.
43856         * soft-fp/ledf2.c (__ledf2): Likewise.
43857         * soft-fp/lesf2.c (__lesf2): Likewise.
43858         * soft-fp/letf2.c (__letf2): Likewise.
43860         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43861         Undefine and redefine.
43862         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43863         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43864         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43865         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43866         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43867         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43868         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43869         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43870         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43871         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43872         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43873         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43874         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43875         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43876         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43878         [BZ #16032]
43879         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43880         without decrementing exponent if mantissa >= that for the
43881         denominator, not >.
43882         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43883         denominator, not >.  Decrement exponent in < case instead of
43884         incrementing in >= case.
43885         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43886         without decrementing exponent if mantissa >= that for the
43887         denominator, not >.
43889         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43890         computing saturated result for unsigned overflow.
43892 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43893             Jeff Law  <law@redhat.com>
43895         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43896         (atan2Mp): Add systemtap probe marker.
43897         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43898         (__ieee754_log): Add systemtap probe marker.
43899         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43900         (atanMp): Add systemtap probe marker.
43901         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43902         (tanMp): Add systemtap probe marker.
43903         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43904         (__slowexp): Add systemtap probe marker.
43905         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43906         (__slowpow): Add systemtap probe marker.
43907         * manual/probes.texi: Document probes.
43909 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
43911         [BZ #15362]
43912         * libio/fileops.c (_IO_new_file_write): Return count of bytes
43913         written.
43914         (_IO_new_file_xsputn): Don't return EOF if nothing has been
43915         written.
43916         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43917         written to buffer but not flushed.
43918         * libio/iofwrite_u.c:  Likewise.
43919         * libio/iopadn.c:  Return bytes returned even if EOF was
43920         encountered.
43921         * libio/iowpadn.c:  Likewise.
43922         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43923         if _IO_padn does not write the whole buffer.
43924         [!COMPILE_WPRINTF] (PAD): Likewise.
43926 2013-10-10  David S. Miller  <davem@davemloft.net>
43928         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43929         directory block.
43931 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43933         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
43934         instead of FSF address.
43935         * soft-fp/fixdfti.c: Likewise.
43936         * soft-fp/fixsfti.c: Likewise.
43937         * soft-fp/fixtfti.c: Likewise.
43938         * soft-fp/fixunsdfti.c: Likewise.
43939         * soft-fp/fixunssfti.c: Likewise.
43940         * soft-fp/fixunstfti.c: Likewise.
43941         * soft-fp/floattidf.c: Likewise.
43942         * soft-fp/floattisf.c: Likewise.
43943         * soft-fp/floattitf.c: Likewise.
43944         * soft-fp/floatuntidf.c: Likewise.
43945         * soft-fp/floatuntisf.c: Likewise.
43946         * soft-fp/floatuntitf.c: Likewise.
43947         * soft-fp/trunctfxf2.c: Likewise.
43949         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
43950         * soft-fp/fixdfti.c: Likewise.
43951         * soft-fp/fixsfti.c: Likewise.
43952         * soft-fp/fixtfti.c: Likewise.
43953         * soft-fp/fixunsdfti.c: Likewise.
43954         * soft-fp/fixunssfti.c: Likewise.
43955         * soft-fp/fixunstfti.c: Likewise.
43956         * soft-fp/floattidf.c: Likewise.
43957         * soft-fp/floattisf.c: Likewise.
43958         * soft-fp/floattitf.c: Likewise.
43959         * soft-fp/floatuntidf.c: Likewise.
43960         * soft-fp/floatuntisf.c: Likewise.
43961         * soft-fp/floatuntitf.c: Likewise.
43962         * soft-fp/trunctfxf2.c: Likewise.
43964 2013-10-10  David S. Miller  <davem@davemloft.net>
43966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43968 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
43970         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43971         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43972         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43973         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43974         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43975         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43976         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43978         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43979         for NaNs before doing comparisons on argument.
43980         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43981         Likewise.
43983 2013-10-10  Will Newton  <will.newton@linaro.org>
43985         * malloc/hooks.c (memalign_check): Ensure the value of bytes
43986         passed to _int_memalign does not overflow.
43988 2013-10-10  Torvald Riegel  <triegel@redhat.com>
43990         * scripts/bench.pl: Add include-sources directive.
43991         * benchtests/README: Update documentation.
43993 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43995         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43996         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43997         instead of FP_INIT_ROUNDMODE.
43998         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43999         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
44001         [BZ #16034]
44002         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
44003         copy class of input value.
44004         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
44005         not handle exceptions.
44006         * soft-fp/negsf2.c (__negsf2): Likewise.
44007         * soft-fp/negtf2.c (__negtf2): Likewise.
44008         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
44010 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
44012         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
44013         semicolon.  From Linux kernel.
44015 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
44017         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
44019 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
44021         [BZ #156]
44022         * manual/socket.texi: Added statement about buffer
44023         for gethostbyname2_r.
44025 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
44027         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
44028         Use .p2align directive instead, throughout.
44029         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
44030         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
44031         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
44032         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44033         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44034         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
44035         * sysdeps/x86_64/strchr.S: Likewise.
44036         * sysdeps/x86_64/strrchr.S: Likewise.
44038 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44040         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
44042         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
44044         * sysdeps/generic/math_private.h (__mpsin1): Remove
44045         declaration.
44046         (__mpcos1): Likewise.
44047         (__mpsin): New argument __range_reduce.
44048         (__mpcos): Likewise.
44049         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44050         (slow): Use __mpsin and __mpcos.
44051         (slow1): Likewise.
44052         (slow2): Likewise.
44053         (sloww): Likewise.
44054         (sloww1): Likewise.
44055         (sloww2): Likewise.
44056         (bsloww): Likewise.
44057         (bsloww1): Likewise.
44058         (bsloww2): Likewise.
44059         (cslow2): Likewise.
44060         (csloww): Likewise.
44061         (csloww1): Likewise.
44062         (csloww2): Likewise.
44063         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
44064         range_reduce.  Merge in __mpsin1.
44065         (__mpcos): Likewise.
44066         (__mpsin1): Remove.
44067         (__mpcos1): Likewise.
44069 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
44071         * locale/loadlocale.c (_nl_intern_locale_data): Use
44072         LOCFILE_ALIGNED_P.
44073         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
44074         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
44075         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
44076         obstack data is appropriately aligned.
44077         (obstack_int32_grow_fast): Likewise.
44078         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
44079         * locale/programs/locfile.c (add_locale_uint32): Likewise.
44080         (add_locale_uint32_array): Likewise.
44082 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44084         * benchtests/Makefile: Remove ARGLIST and RET variables.
44085         ($(objpfx)bench-%.c): Pass only function name to the script.
44086         * benchtests/README: Update documentation.
44087         * benchtests/acos-inputs: Add new directives.
44088         * benchtests/acosh-inputs: Likewise.
44089         * benchtests/asin-inputs: Likewise.
44090         * benchtests/asinh-inputs: Likewise.
44091         * benchtests/atan-inputs: Likewise.
44092         * benchtests/atanh-inputs: Likewise.
44093         * benchtests/cos-inputs: Likewise.
44094         * benchtests/cosh-inputs: Likewise.
44095         * benchtests/exp-inputs: Likewise.
44096         * benchtests/log-inputs: Likewise.
44097         * benchtests/pow-inputs: Likewise.
44098         * benchtests/rint-inputs: Likewise.
44099         * benchtests/sin-inputs: Likewise.
44100         * benchtests/sinh-inputs: Likewise.
44101         * benchtests/tan-inputs: Likewise.
44102         * benchtests/tanh-inputs: Likewise.
44103         * scripts/bench.pl: Add support for new directives.
44105 2013-10-07  Alan Modra  <amodra@gmail.com>
44107         * README: Fix careless merge.
44109 2013-10-05  Alan Modra  <amodra@gmail.com>
44111         * NEWS: Mention powerpc64le support and bugs fixed.
44112         * README: Both big-endian and little-endian powerpc64 supported.
44114 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44116         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
44117         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
44118         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
44119         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
44121 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
44123         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
44124         match prototype.
44126 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
44128         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
44129         Move -mhard-float appending from
44130         ports/sysdeps/powerpc/powerpc32/Makefile.
44131         [$(with-fp) = yes] (ASFLAGS): Likewise.
44132         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
44133         * sysdeps/powerpc/nofpu: Move directory from
44134         ports/sysdeps/powerpc/nofpu.
44135         * sysdeps/powerpc/soft-fp: Move directory from
44136         ports/sysdeps/powerpc/soft-fp.
44137         * sysdeps/powerpc/powerpc32/405: Move directory from
44138         ports/sysdeps/powerpc/powerpc32/405.
44139         * sysdeps/powerpc/powerpc32/440: Move directory from
44140         ports/sysdeps/powerpc/powerpc32/440.
44141         * sysdeps/powerpc/powerpc32/464: Move directory from
44142         ports/sysdeps/powerpc/powerpc32/464.
44143         * sysdeps/powerpc/powerpc32/476: Move directory from
44144         ports/sysdeps/powerpc/powerpc32/476.
44145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
44146         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
44147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
44148         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
44149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
44150         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
44151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
44152         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
44153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
44154         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
44155         * README: Update for powerpc-*-linux-gnu software floating point
44156         support in libc.
44158         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
44159         case to powerpc/powerpc32*.
44160         * sysdeps/unix/sysv/linux/configure: Regenerated.
44162         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
44163         (_FPU_MASK_OM): Define as 0x04.
44164         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
44165         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
44166         0x00c10080.
44167         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
44168         0x0000003c.
44169         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
44171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
44172         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44173         getcontext_e500.
44174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
44175         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44176         setcontext_e500.
44177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
44178         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
44179         and setcontext_e500.
44181 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
44183         * locale/iso-3166.def: Update iso-1366.def and related occurrences
44185 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44187         * manual/threads.texi (Default Thread Attributes): Fix typo.
44189 2013-10-04  Will Newton  <will.newton@linaro.org>
44191         * malloc/Makefile: Add tst-memalign.
44192         * malloc/tst-memalign.c: New file.
44194         * malloc/tst-posix_memalign.c: Add comments.
44195         (do_test): Add comments and call free on all potentially
44196         allocated pointers. Add space after cast.
44198         * malloc/tst-pvalloc.c: Add comments.
44199         (do_test): Add comments and call free on all potentially
44200         allocated pointers. Remove duplicate check for NULL pointer.
44201         Add space after cast.
44203         * malloc/tst-valloc.c: Add comments.
44204         (do_test): Add comments and call free on all potentially
44205         allocated pointers. Remove duplicate check for NULL pointer.
44206         Add space after cast.
44208 2013-10-04  Alan Modra  <amodra@gmail.com>
44210         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44211         Use stdint types in rather than __attribute__((mode())).
44212         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44214 2013-10-04  Alan Modra  <amodra@gmail.com>
44216         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44217         Correct handling of unaligned relocs for little-endian.
44218         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44220 2013-10-04  Alan Modra  <amodra@gmail.com>
44222         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
44223         * configure: Regenerate.
44224         * nptl/shlib-versions: Powerpc*le starts at 2.18.
44225         * shlib-versions: Likewise.
44227 2013-10-04  Alan Modra  <amodra@gmail.com>
44229         * string/tester.c (test_memrchr): Increment reported test cycle.
44231 2013-10-04  Alan Modra  <amodra@gmail.com>
44233         * string/test-memcpy.c (do_one_test): When reporting errors, print
44234         string address and don't overrun end of string.
44236 2013-10-04  Alan Modra  <amodra@gmail.com>
44238         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
44239         insrdi.  Make better use of reg selection to speed exit slightly.
44240         Schedule entry path a little better.  Remove useless "are we done"
44241         checks on entry to main loop.  Handle wrapping around zero address.
44242         Correct main loop count.  Handle single left-over word from main
44243         loop inline rather than by using loop_small.  Remove extra word
44244         case in loop_small caused by wrong loop count.  Add little-endian
44245         support.
44246         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44247         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
44248         cache hint.
44249         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44250         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
44251         support.  Avoid rlwimi.
44252         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
44254 2013-10-04  Alan Modra  <amodra@gmail.com>
44256         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
44257         insrdi.  Formatting.
44258         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
44259         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44260         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44261         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44262         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44263         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
44265 2013-10-04  Alan Modra  <amodra@gmail.com>
44267         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
44268         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44269         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44270         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
44271         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44272         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44273         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44274         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44275         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
44276         use of regs.  Use power7 mtocrf.  Tidy function tails.
44278 2013-10-04  Alan Modra  <amodra@gmail.com>
44280         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
44281         Formatting.  Consistently use rXXX register defines or rN defines.
44282         Use early exit labels that avoid restoring unused non-volatile regs.
44283         Make cr field use more consistent with rWORDn compares.  Rename
44284         regs used as shift registers for unaligned loop, using rN defines
44285         for short lifetime/multiple use regs.
44286         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44287         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
44288         addi 1,1,64 to pop stack frame.  Simplify return value code.
44289         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44291 2013-10-04  Alan Modra  <amodra@gmail.com>
44293         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
44294         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
44295         rather than rlwimi.
44296         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
44297         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
44298         little-endian support.  Correct typos.
44299         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
44300         rather than rlwimi.
44301         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
44302         in loop and entry code to keep "and." results.
44303         (strchr): Add little-endian support.  Comment.  Move cntlzd
44304         earlier in tail.
44305         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
44307 2013-10-04  Alan Modra  <amodra@gmail.com>
44309         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
44310         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
44311         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
44312         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
44314 2013-10-04  Alan Modra  <amodra@gmail.com>
44316         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
44317         (rTMP): Define as r11.
44318         (strcmp): Add little-endian support.  Optimise tail.
44319         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
44320         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44321         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44322         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44323         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44324         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44325         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44327 2013-10-04  Alan Modra  <amodra@gmail.com>
44329         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
44330         little-endian support.  Remove unnecessary "are we done" tests.
44331         Handle "s" wrapping around zero and extremely large "size".
44332         Correct main loop count.  Handle single left-over word from main
44333         loop inline rather than by using small_loop.  Correct comments.
44334         Delete "zero" tail, use "end_max" instead.
44335         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
44337 2013-10-04  Alan Modra  <amodra@gmail.com>
44339         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
44340         support.  Don't branch over align.
44341         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
44342         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
44343         support.  Rearrange tmp reg use to suit.  Comment.
44344         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
44346 2013-10-04  Alan Modra  <amodra@gmail.com>
44348         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
44350 2013-10-04  Alan Modra  <amodra@gmail.com>
44352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
44353         conditional form of branch and link when obtaining pc.
44354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44356 2013-10-04  Alan Modra  <amodra@gmail.com>
44358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
44359         HIWORD/LOWORD.
44360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
44361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
44363 2013-10-04  Alan Modra  <amodra@gmail.com>
44365         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
44366         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
44367         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
44368         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
44369         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44370         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44371         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
44372         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44373         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
44374         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
44376 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44377             Alistair Popple <alistair@ozlabs.au.ibm.com>
44378             Alan Modra <amodra@gmail.com>
44380         [BZ #15723]
44381         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
44382         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
44383         _dl_hwcap access for little-endian.
44384         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
44385         destroy vmx regs when saving unaligned.
44386         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
44387         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
44388         destroy vmx regs when saving unaligned.
44390 2013-10-04  Alan Modra  <amodra@gmail.com>
44392         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
44393         Don't use a union to pack hi/low value.
44395 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44397         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
44398         for little-endian.
44399         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44400         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
44401         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44402         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44403         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44405 2013-10-04  Alan Modra  <amodra@gmail.com>
44407         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
44408         constants to usual value for .cst8 section, and remove redundant
44409         high address load.
44410         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
44411         constant for 0x1p52.  Load little-endian words of double from
44412         correct stack offsets.
44414 2013-10-04  Alan Modra  <amodra@gmail.com>
44416         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
44417         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
44418         words of double from correct stack offsets.
44419         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
44420         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
44421         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44422         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44423         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44424         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44425         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44426         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
44427         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
44428         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44429         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44430         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44431         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44432         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44433         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44434         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
44435         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
44437 2013-10-04  Alan Modra  <amodra@gmail.com>
44439         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
44440         64-bit int/double union.
44441         (_FPU_SETCW): Likewise.
44442         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
44443         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
44445 2013-10-04  Alan Modra  <amodra@gmail.com>
44447         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
44448         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
44450 2013-10-04  Alan Modra  <amodra@gmail.com>
44452         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
44453         use vector int constants.
44454         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
44456 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44458         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
44459         array with long long.
44460         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
44461         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
44462         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
44463         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
44464         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
44465         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
44466         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
44467         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
44468         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
44469         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
44470         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
44471         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
44472         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
44474 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44476         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
44477         (__signbit): Likewise.  Correct for little-endian.
44478         (__signbitl): Call __signbit.
44479         (lrint): Correct for little-endian.
44480         (lrintf): Call lrint.
44482 2013-10-04  Alan Modra  <amodra@gmail.com>
44484         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
44485         union 32-bit int array member with 64-bit int array.
44486         (t515, tm256): Double rather than long double.
44487         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
44489 2013-10-04  Alan Modra  <amodra@gmail.com>
44491         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
44492         Delete.
44493         (IEEE854_LONG_DOUBLE_BIAS): Delete.
44494         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
44495         version of math_ldbl.h.
44497 2013-10-04  Alan Modra  <amodra@gmail.com>
44499         [BZ #15734], [BZ #15735]
44500         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
44501         all uses of ieee875 long double macros and unions.  Simplify test
44502         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
44503         ldbl_extract_mantissa value for ix,iy exponents.  Properly
44504         normalize after ldbl_extract_mantissa, and don't add hidden bit
44505         already handled.  Don't treat low word of ieee854 mantissa like
44506         low word of IBM long double and mask off bit when testing for
44507         zero.
44508         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
44509         all uses of ieee875 long double macros and unions.  Simplify tests
44510         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
44511         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
44512         two1022, instead use their values.  Recognise that tests for large
44513         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
44514         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
44515         Rewrite all uses of ieee875 long double macros and unions.  Simplify
44516         test for 0.0L and nan.  Correct negation.
44517         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
44518         ieee875 long double macros and unions.  Correct output for large
44519         magnitude x.  Correct absolute value calculation.
44520         (__erfcl): Likewise.
44521         * math/libm-test.inc: Add tests for errors discovered in IBM long
44522         double versions of fmodl, remainderl, erfl and erfcl.
44524 2013-10-04  Alan Modra  <amodra@gmail.com>
44526         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
44527         all uses of ieee854 long double macros and unions.  Simplify tests
44528         for long doubles that are fully specified by the high double.
44529         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
44530         Likewise.
44531         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
44532         Remove dead code too.
44533         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
44534         (__ieee754_ynl): Likewise.
44535         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
44536         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
44537         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
44538         Remove dead code too.
44539         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
44540         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
44541         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
44542         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
44543         Simplify.
44544         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
44545         Simplify.
44546         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
44547         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
44548         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
44549         Comment on variable precision.
44550         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
44551         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44552         Likewise.
44553         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
44554         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44555         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44556         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
44557         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
44559 2013-10-04  Alan Modra  <amodra@gmail.com>
44561         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
44562         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
44563         all uses of ieee854 long double macros and unions.
44564         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
44565         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44566         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
44567         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
44568         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
44569         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44570         Likewise.
44571         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
44572         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44573         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
44574         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44575         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
44576         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
44577         Simplify sign and nan test too.
44578         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
44579         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
44580         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
44581         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
44582         Likewise.
44583         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44584         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
44585         Likewise.
44586         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44587         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
44588         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
44589         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
44590         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
44591         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
44593 2013-10-04  Alan Modra  <amodra@gmail.com>
44595         * stdio-common/printf_size.c (__printf_size): Don't use
44596         union ieee854_long_double in fpnum union.
44597         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
44598         signbit macro to retrieve sign from long double.
44599         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
44600         retrieve sign from long double.
44601         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
44602         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
44603         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
44604         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44605         * math/test-misc.c (main): Don't use union ieee854_long_double.
44607 2013-10-04  Alan Modra  <amodra@gmail.com>
44609         [BZ #15680]
44610         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
44611         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
44612         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
44613         calculation.  Remove unnecessary test for denormal exponent.
44614         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
44615         Correct handling of denormals.  Avoid undefined shift behaviour.
44616         Correct normalisation of low mantissa when low double is denormal.
44617         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
44618         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
44619         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
44620         Correct normalisation of low mantissa.  Test for overflow of high
44621         mantissa and normalise.
44622         (ldbl_nearbyint): Use more readable constant for two52.
44623         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
44624         (__mpn_construct_long_double): Fix test for overflow of high
44625         mantissa and correct normalisation.  Avoid undefined shift.
44627 2013-10-04  Alan Modra  <amodra@gmail.com>
44629         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44630         (union ibm_extended_long_double): Define as an array of ieee754_double.
44631         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
44632         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
44633         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
44634         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44635         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44636         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
44637         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44638         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
44639         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44640         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
44641         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44643 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
44645         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
44646         page size instead of calling getpagesize.
44648         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
44649         (LOCFILE_ALIGN_MASK): Likewise.
44650         (LOCFILE_ALIGN_UP): Likewise.
44651         (LOCFILE_ALIGNED_P): Likewise.
44652         * locale/programs/ld-collate.c (collate_output): Use the new
44653         macros instead of __alignof__ (int32_t).
44654         * locale/weight.h (findidx): Likewise.
44656 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
44658         [BZ #431]
44659         * manual/string.texi: Fix strncat and wcsncat.
44661 2013-10-03  Brooks Moses  <bmoses@google.com>
44663         [BZ #15915]
44664         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
44665         * Makerules: ...here, and adjust associated comments.
44667 2013-10-02  Will Newton  <will.newton@linaro.org>
44669         * malloc/Makefile: Add tst-pvalloc.
44670         * malloc/tst-pvalloc.c: New file.
44672 2013-10-02  Will Newton  <will.newton@linaro.org>
44674         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44675         improve test coverage.
44677 2013-10-02  Will Newton  <will.newton@linaro.org>
44679         * malloc/Makefile: Add tst-posix_memalign.
44680         * malloc/tst-posix_memalign.c: New file.
44682 2013-10-01  Eric Blake  <eblake@redhat.com>
44684         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44685         Use __THROWNL rather than __THROW on static functions.
44687 2013-09-30  Petr Machata  <pmachata@redhat.com>
44689         * elf/elf.h (R_AARCH64_ABS16): New macro.
44690         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44691         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44692         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44693         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44694         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44695         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44696         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44697         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44698         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44699         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44700         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44701         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44702         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44703         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44704         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44705         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44706         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44707         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44708         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44709         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44710         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44711         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44712         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44713         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44714         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44715         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44716         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44717         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44718         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44719         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44720         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44721         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44722         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44723         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44724         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44725         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44726         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44727         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44728         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44729         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44730         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44731         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44732         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44733         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44734         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44735         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44736         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44737         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44738         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44739         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44740         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44741         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44742         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44743         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44744         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44745         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44746         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44747         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44748         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44749         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44750         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44751         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44752         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44753         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44754         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44755         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44756         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44757         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44758         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44759         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44760         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44761         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44762         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44763         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44764         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44765         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44766         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44767         (R_AARCH64_TLSDESC_LDR): Likewise.
44768         (R_AARCH64_TLSDESC_ADD): Likewise.
44769         (R_AARCH64_TLSDESC_CALL): Likewise.
44771 2013-09-30  Andreas Schwab  <schwab@suse.de>
44773         [BZ #15048]
44774         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44775         the nss database lookup.
44776         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44777         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44779 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
44781         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44783 2013-09-28  P. J. McDermott  <pj@pehjota.net>
44785         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44786         ${Bash-specific parameter/pattern/string} parameter expansion.
44787         * sysdeps/unix/make-syscalls.sh: Likewise.
44789 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44791         * sysdeps/sh/stackguard-macros.h: New file.
44793 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
44795         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44796         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44797         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44798         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44799         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44800         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44802 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44804         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44805         Fix thread ID register.
44807 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
44809         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44810         [POSIX || UNIX98]: Require rather than permitting all symbols from
44811         <time.h>.
44812         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44813         element of struct sched_param.
44814         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44815         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44816         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44817         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44818         constant.
44820 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
44822         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44823         argument calculation.
44825 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44827         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44828         Expect macro.
44829         [POSIX] (pthread_attr_t): Do not require type.
44830         [POSIX] (pthread_cond_t): Likewise.
44831         [POSIX] (pthread_condattr_t): Likewise.
44832         [POSIX] (pthread_key_t): Likewise.
44833         [POSIX] (pthread_mutex_t): Likewise.
44834         [POSIX] (pthread_mutexattr_t): Likewise.
44835         [POSIX] (pthread_once_t): Likewise.
44836         [POSIX] (pthread_t): Likewise.
44837         [POSIX-based standards] (pthread_atfork): Expect function.
44839 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44840             Richard Sandiford  <richard@codesourcery.com>
44842         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44843         (swap_endianness_p): New extern variable.
44844         (set_big_endian): New inline function.
44845         (maybe_swap_uint32): Likewise.
44846         (maybe_swap_uint32_array): Likewise.
44847         (maybe_swap_uint32_obstack): Likewise.
44848         * locale/programs/locfile.c: Include <stdbool.h>.
44849         (swap_endianness_p): New variable.
44850         (add_locale_uint32): Call maybe_swap_uint32.
44851         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44852         (write_locale_data): Call maybe_swap_uint32_array.
44853         * locale/programs/ld-collate.c (obstack_int32_grow): Call
44854         maybe_swap_uint32.
44855         (obstack_int32_grow_fast): Likewise.
44856         (output_weightwc): Call maybe_swap_uint32_obstack.
44857         (collate_output): Likewise.
44858         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44859         (OPT_LITTLE_ENDIAN): Likewise.
44860         (options): Add --little-endian and --big-endian options.
44861         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44862         * locale/programs/locarchive.c: Include "locfile.h".
44863         (GET): New macro.
44864         (SET): Likewise.
44865         (INC): Likewise.
44866         (create_archive): Use the new macros to access fields of
44867         structures directly mapped from or written to locale archives.
44868         (oldlocrecentcmp): Likewise.
44869         (enlarge_archive): Likewise.
44870         (insert_name): Likewise.
44871         (add_alias): Likewise.
44872         (add_locale): Likewise.
44873         (delete_locales_from_archive): Likewise.
44874         (show_archive_content): Likewise.
44875         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
44876         locale data.
44878 2013-09-24  Roland McGrath  <roland@hack.frob.com>
44880         * manual/freemanuals.texi: Updated from (newly) canonical copy at
44881         http://www.gnu.org/doc/freemanuals.texi.
44882         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44884 2013-09-24  Will Newton  <will.newton@linaro.org>
44886         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44887         macro.
44889 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
44891         * locale/hashval.h (compute_hashval): Interpret bytes of key as
44892         unsigned char.
44894 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
44896         * manual/threads.texi (POSIX Threads): Fix a typo.
44898 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44900         [BZ #14547]
44901         * string/tst-strcoll-overflow.c: New test case.
44902         * string/Makefile (xtests): Add tst-strcoll-overflow.
44903         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44904         cache if string sizes may cause integer overflow.
44906         [BZ #14547]
44907         * string/strcoll_l.c (coll_seq): New members rule, idx,
44908         save_idx and back_us.
44909         (get_next_seq_nocache): New function.
44910         (do_compare_nocache): New function.
44911         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44912         when malloc fails.
44914 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
44916         [BZ #15754]
44917         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44918         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44919         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44921         [BZ #15754]
44922         * elf/Makefile (tests): Add tst-ptrguard1.
44923         (tests-static): Add tst-ptrguard1-static.
44924         (tst-ptrguard1-ARGS): Define.
44925         (tst-ptrguard1-static-ARGS): Define.
44926         * elf/tst-ptrguard1.c: New file.
44927         * elf/tst-ptrguard1-static.c: New file.
44928         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44929         * sysdeps/i386/stackguard-macros.h: Likewise.
44930         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44931         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44932         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44933         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44934         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44935         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44937 2013-09-23  Hector Marco  <hecmargi@upv.es>
44938             Ismael Ripoll  <iripoll@disca.upv.es>
44939             Carlos O'Donell  <carlos@redhat.com>
44941         [BZ #15754]
44942         * sysdeps/generic/stackguard-macros.h: Define
44943         __pointer_chk_guard_local and POINTER_CHK_GUARD.
44944         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44945         Define __pointer_chk_guard_local.
44946         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44947         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44949 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
44951         [BZ #15859]
44952         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44954 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
44956         * include/string.h (__ffs): Declare as hidden.
44957         * string/ffs.c (__ffs): Define as hidden.
44958         * sysdeps/i386/ffs.c (__ffs): Likewise.
44959         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44960         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44961         * sysdeps/s390/ffs.c (__ffs): Likewise.
44962         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44964 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
44966         * NEWS: Mention malloc probes.
44968         * malloc/arena.c (new_heap): New memory_heap_new probe.
44969         (grow_heap): New memory_heap_more probe.
44970         (shrink_heap): New memory_heap_less probe.
44971         (heap_trim): New memory_heap_free probe.
44972         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44973         (systrim): New memory_sbrk_less probe.
44974         * manual/probes.texi: Document them.
44976         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44977         * manual/probes.texi: Document it.
44979         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44980         (__libc_realloc): Add memory_realloc_retry probe.
44981         (__libc_memalign): Add memory_memalign_retry probe.
44982         (__libc_valloc): Add memory_valloc_retry probe.
44983         (__libc_pvalloc): Add memory_pvalloc_retry probe.
44984         (__libc_calloc): Add memory_calloc_retry probe.
44985         * manual/probes.texi: Document them.
44987         * malloc/arena.c (get_free_list): Add probe
44988         memory_arena_reuse_free_list.
44989         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44990         and memory_arena_reuse.
44991         (arena_get2) [!PER_THREAD]: Likewise.
44992         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44993         memory_arena_reuse_realloc.
44994         * manual/probes.texi: Document them.
44996         * malloc/malloc.c (__libc_free): Add
44997         memory_mallopt_free_dyn_thresholds probe.
44998         (__libc_mallopt): Add multiple memory_mallopt probes.
44999         * manual/probes.texi: Document them.
45001         * malloc/malloc.c: Include stap-probe.h.
45002         (__libc_mallopt): Add memory_mallopt probe.
45003         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
45004         * manual/probes.texi: New.
45005         * manual/Makefile (chapters): Add probes.
45006         * manual/threads.texi: Set next node.
45008 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
45010         [BZ #15963, #13985]
45011         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
45012         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
45013         Add `Chinese' to `nan' entry name.
45015 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45017         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
45018         (POLYNOMIAL): Likewise.
45019         (TAYLOR_SINCOS): Likewise.
45020         (TAYLOR_SLOW): Likewise.
45021         (__sin): Use TAYLOR_SINCOS.
45022         (__cos): Likewise.
45023         (slow): Use TAYLOR_SLOW.
45024         (sloww): Likewise.
45025         (bsloww): Likewise.
45026         (csloww): Likewise.
45028 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45030         * stdlib/strtod_l.c: Fix buffer overrun.
45032 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45034         * benchtests/Makefile (bench): Add sincos.
45035         * benchtests/bench-sincos.c: New file.
45037         * math/libm-test.inc (cos_test_data): New test inputs.
45038         (sin_test_data): Likewise.
45040         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
45041         macro.
45042         (__sin): Use it.
45043         (__cos): Likewise.
45044         (slow1): Likewise.
45045         (slow2): Likewise.
45046         (sloww1): Likewise.
45047         (sloww2): Likewise.
45048         (bsloww1): Likewise.
45049         (bsloww2): Likewise.
45050         (cslow2): Likewise.
45051         (csloww1): Likewise.
45052         (csloww2): Likewise.
45054         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
45055         function.
45056         (__sin): Use it.
45057         (__cos): Likewise.
45059         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
45060         gotos.
45061         (__cos): Likewise.
45063 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
45065         * config.h.in (HAVE_MIPS_NAN2008): New macro.
45066         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
45067         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
45068         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
45069         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
45070         * elf/cache.c (print_entry): Handle the new cache flags.
45072 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45073             Aldy Hernandez  <aldyh@redhat.com>
45075         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
45076         Change condition to [_SOFT_FLOAT].
45077         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
45078         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
45079         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
45080         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
45081         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
45082         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
45083         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
45084         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
45085         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
45086         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
45087         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
45088         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
45089         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
45090         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
45091         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
45092         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
45093         declaration.
45095 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45097         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
45098         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45099         (__longjmp): Use LOAD_GP to load saved GPRs.
45100         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
45101         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45102         (__sigsetjmp): Use SAVE_GP to save GPRs.
45104         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
45105         Do not append -msoft-float.
45106         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
45108 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45110         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
45112 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
45114         [BZ #15966]
45115         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
45116         (_FPU_GETCW): Use initial "__" on variable and field names but not
45117         on macro parameter name.
45118         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
45119         parentheses around reference to macro parameter.
45121 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
45123         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
45124         prototype.
45125         (ctype_startup): Use uint32_t in cast and sizeof for
45126         ctype->charnames.
45128 2013-09-11  Jia Liu  <proljc@gmail.com>
45130         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
45131         __daddr_t_defined.
45132         [__FreeBSD__]: Likewise.
45134 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
45136         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
45137         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
45138         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
45139         (strchr): Remove __strchr_sse42 ifunc selection.
45140         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
45141         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
45143 2013-09-11  Will Newton  <will.newton@linaro.org>
45145         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
45146         parameter to RES. Remove hardcoded 1000 value.
45147         * benchtests/bench-skeleton.c (main): Pass RES parameter
45148         to TIMING_INIT and multiply result by 1000.
45150 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45154 2013-09-11  Andreas Schwab  <schwab@suse.de>
45156         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
45157         if not defined.
45158         (O_TMPFILE) [__USE_GNU]: Define.
45159         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
45160         Define.
45162 2013-09-11  Will Newton  <will.newton@linaro.org>
45164         [BZ #15857]
45165         * malloc/malloc.c (__libc_memalign): Check the value of bytes
45166         does not overflow.
45168 2013-09-11  Will Newton  <will.newton@linaro.org>
45170         [BZ #15856]
45171         * malloc/malloc.c (__libc_valloc): Check the value of bytes
45172         does not overflow.
45174 2013-09-11  Will Newton  <will.newton@linaro.org>
45176         [BZ #15855]
45177         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
45178         does not overflow.
45180 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
45182         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
45183         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45184         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45185         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45186         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45188 2013-09-10  Allan McRae  <allan@archlinux.org>
45190         [BZ #15748]
45191         * manual/arith.texi (Parsing of Floats): Clarify
45192         cross-reference.
45194         [BZ #15849]
45195         * manual/install.texi (Running make install): Mention
45196         --enable-pt-chown.
45197         * INSTALL: Regenerated.
45199 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
45201         * csu/init-first.c (_init): Remove the !SHARED condition around
45202         FPU control word initialization.
45203         * elf/dl-support.c (_dl_fpu_control): New variable.
45204         (_dl_aux_init) <AT_FPUCW>: Initialize it.
45205         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
45206         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
45207         * math/test-fpucw-static.c: New file.
45208         * math/test-fpucw-ieee.c: New file.
45209         * math/test-fpucw-ieee-static.c: New file.
45210         * math/Makefile (tests): Add `test-fpucw-ieee' and
45211         `$(tests-static)'.
45212         (tests-static): New variable.
45213         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
45214         dependency to...
45215         [($(build-shared),yes)]
45216         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45217         ... this.
45218         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
45219         New dependency.
45221 2013-09-09  Allan McRae  <allan@archlinux.org>
45223         [BZ #15939]
45224         * manual/string.texi (Collation Functions): Fix typo in
45225         strcoll example.
45226         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
45228         [BZ #15893]
45229         * stdlib/isomac.c (get_null_defines): Fix memory leak.
45231         [BZ #15892]
45232         * libio/memstream.c (open_memstream): Fix memory leak.
45233         * libio/wmemstream.c (open_wmemstream): Likewise.
45235         [BZ #15895]
45236         * nscd/netgroupcache.c: Fix nesting of ifdefs.
45238 2013-09-09  Will Newton  <will.newton@linaro.org>
45240         * malloc/Makefile: Add tst-realloc to tests.
45241         * malloc/tst-realloc.c: New file.
45243 2013-09-09  Allan McRae  <allan@archlinux.org>
45245         [BZ #15844]
45246         * COPYING: Update from GNU website to fix FSF address.
45247         * COPYING.LIB: Likewise.
45249 2013-09-06  David S. Miller  <davem@davemloft.net>
45251         * po/zh_TW.po: Update Chinese (traditional) translation from
45252         translation project.
45254 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
45255             Joseph Myers  <joseph@codesourcery.com>
45257         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
45258         "localeinfo.h".
45259         (obstack_chunk_alloc): New macro.
45260         (obstack_chunk_free): Likewise.
45261         (record_offset): New function.
45262         (init_locale_data): Likewise.
45263         (align_locale_data): Likewise.
45264         (add_locale_empty): Likewise.
45265         (add_locale_raw_data): Likewise.
45266         (add_locale_raw_obstack): Likewise.
45267         (add_locale_string): Likewise.
45268         (add_locale_wstring): Likewise.
45269         (add_locale_uint32): Likewise.
45270         (add_locale_uint32_array): Likewise.
45271         (add_locale_char): Likewise.
45272         (start_locale_structure): Likewise.
45273         (end_locale_structure): Likewise.
45274         (start_locale_prelude): Likewise.
45275         (end_locale_prelude): Likewise.
45276         (write_locale_data): Take locale_file structure rather than an
45277         iovec.
45278         * locale/programs/locfile.h: Include "obstack.h".
45279         (struct locale_file): Change to store locale file contents instead
45280         of header.
45281         (init_locale_data): New prototype.
45282         (align_locale_data): Likewise.
45283         (add_locale_empty): Likewise.
45284         (add_locale_raw_data): Likewise.
45285         (add_locale_raw_obstack): Likewise.
45286         (add_locale_string): Likewise.
45287         (add_locale_wstring): Likewise.
45288         (add_locale_uint32): Likewise.
45289         (add_locale_uint32_array): Likewise.
45290         (add_locale_char): Likewise.
45291         (start_locale_structure): Likewise.
45292         (end_locale_structure): Likewise.
45293         (start_locale_prelude): Likewise.
45294         (end_locale_prelude): Likewise.
45295         (write_locale_data): Update prototype.
45296         * locale/programs/3level.h (struct TABLE): Remove result field.
45297         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
45298         Use new locale_file interface.
45299         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
45300         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
45301         * locale/programs/ld-address.c (address_output): Use new
45302         locale_file interface.
45303         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
45304         NO_ADD_LOCALE.
45305         (collate_finish): Don't call collseq_table_finalize.
45306         (collate_output): Use new locale_file interface.
45307         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
45308         in file.
45309         (NO_FINALIZE): Change to NO_ADD_LOCALE.
45310         (TABLE): Move defines earlier in file.
45311         (ELEMENT): Likewise.
45312         (DEFAULT): Likewise.
45313         (wctrans_table_add): Move macro and inline function earlier in
45314         file.
45315         (struct wctype_table): Move type earlier in file.
45316         (add_locale_wctype_table): New static prototype.
45317         (struct locale_ctype_t): Use logical types instead of struct iovec
45318         pointers for members.
45319         (ctype_output): Use new locale_file interface.
45320         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
45321         new locale_file interface.
45322         (allocate_arrays): Update for use of new locale_file interface.
45323         * locale/programs/ld-identification.c (identification_output): Use
45324         new locale_file interface.
45325         * locale/programs/ld-measurement.c (measurement_output): Likewise.
45326         * locale/programs/ld-messages.c (messages_output): Likewise.
45327         * locale/programs/ld-monetary.c (monetary_output): Likewise.
45328         * locale/programs/ld-name.c (name_output): Likewise.
45329         * locale/programs/ld-numeric.c (numeric_output): Likewise.
45330         * locale/programs/ld-paper.c (paper_output): Likewise.
45331         * locale/programs/ld-telephone.c (telephone_output): Likewise.
45332         * locale/programs/ld-time.c (time_output): Likewise.
45334 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45336         * benchtests/Makefile: Add memrchr benchmark.
45337         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
45338         benchmark as memrchr.
45339         * benchtests/bench-memrchr-ifunc.c: New file.
45340         * benchtests/bench-memrchr.c: New file.
45342 2013-09-06   Will Newton  <will.newton@linaro.org>
45344         * benchtests/Makefile (string-bench): Add memcpy.
45346 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
45347             Cong Wang  <amwang@redhat.com>
45349         [BZ #15850]
45350         * sysdeps/unix/sysv/linux/bits/in.h
45351         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
45352         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
45353         before __USE_KERNEL_IPV6_DEFS uses.
45354         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
45355         IPPROTO_BEETPH.
45356         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
45357         sockaddr_in6, or ipv6_mreq.
45359 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45361         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
45362         memory access for final bytes in some large inputs.
45363         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
45365 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45367         * string/test-memrchr.c: New file.
45368         * string/test-memrchr-ifunc.c: New file.
45369         * string/Makefile: Add new memrchr testcase.
45371 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
45373         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
45374         fanotify_init returns EPERM.
45376 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45378         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
45379         errors.
45380         (top level): Treat second token from macro or constant entries for
45381         allowed headers as allowed.
45382         * include/complex.h: Condition internal declarations on
45383         [!_ISOMAC].
45384         * include/fenv.h: Condition include of <stdbool.h> and internal
45385         declarations on [!_ISOMAC].
45387 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
45389         [BZ #15923]
45390         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
45392 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45394         * configure.in (--enable-versioning): Remove configure option.
45395         (libc_cv_asm_symver_directive): Remove configure test.
45396         (libc_cv_ld_version_script_option): Likewise.
45397         (VERSIONING): Remove variable and AC_SUBST.
45398         (DO_VERSIONING): Remove AC_DEFINE.
45399         * configure: Regenerated.
45400         * config.h.in (DO_VERSIONING): Remove macro.
45401         * Makerules [$(versioning) = yes]: Change conditionals to
45402         [$(build-shared) = yes].
45403         * config.make.in (versioning): Remove variable.
45404         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
45405         [$(build-shared) = yes].
45406         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
45407         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
45408         * elf/Makefile [$(versioning) = yes]: Change conditionals to
45409         [$(build-shared) = yes].
45410         * extra-lib.mk [$(versioning) = yes]: Likewise.
45411         * hurd/Makefile [$(versioning) = yes]: Likewise.
45412         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
45413         [SHARED].
45414         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
45415         [SHARED].
45416         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45417         [SHARED && !NO_HIDDEN].
45418         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
45419         [SHARED].
45420         [SHARED && DO_VERSIONING]: Likewise..
45421         * libio/Makefile [$(versioning) = yes]: Change conditionals to
45422         [$(build-shared) = yes].
45423         * manual/install.texi (--disable-versioning): Remove
45424         documentation.
45425         * INSTALL: Regenerated.
45426         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
45427         to [SHARED].
45428         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
45429         [$(build-shared) = yes].
45430         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
45431         * sysdeps/i386/i686/multiarch/strstr-c.c
45432         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45433         [SHARED && !NO_HIDDEN].
45434         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
45435         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
45436         * sysdeps/powerpc/powerpc32/dl-machine.c
45437         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
45438         * sysdeps/powerpc/powerpc32/sysdep.h
45439         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
45440         to [SHARED && PIC && !NO_HIDDEN].
45441         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
45442         conditional to [SHARED].
45444 2013-09-04   Will Newton  <will.newton@linaro.org>
45446         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
45447         * benchtests/bench-string.h: Include bench-timing.h instead
45448         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
45449         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
45450         call to HP_TIMING_DIFF_INIT.
45451         * benchtests/bench-memccpy.c: Use bench-timing.h macros
45452         instead of hp-timing.h macros.
45453         * benchtests/bench-memchr.c: Likewise.
45454         * benchtests/bench-memcmp.c: Likewise.
45455         * benchtests/bench-memcpy.c: Likewise.
45456         * benchtests/bench-memmem.c: Likewise.
45457         * benchtests/bench-memmove.c: Likewise.
45458         * benchtests/bench-memset.c: Likewise.
45459         * benchtests/bench-rawmemchr.c: Likewise.
45460         * benchtests/bench-strcasecmp.c: Likewise.
45461         * benchtests/bench-strcasestr.c: Likewise.
45462         * benchtests/bench-strcat.c: Likewise.
45463         * benchtests/bench-strchr.c: Likewise.
45464         * benchtests/bench-strcmp.c: Likewise.
45465         * benchtests/bench-strcpy.c: Likewise.
45466         * benchtests/bench-strcpy_chk.c: Likewise.
45467         * benchtests/bench-strlen.c: Likewise.
45468         * benchtests/bench-strncasecmp.c: Likewise.
45469         * benchtests/bench-strncat.c: Likewise.
45470         * benchtests/bench-strncmp.c: Likewise.
45471         * benchtests/bench-strncpy.c: Likewise.
45472         * benchtests/bench-strnlen.c: Likewise.
45473         * benchtests/bench-strpbrk.c: Likewise.
45474         * benchtests/bench-strrchr.c: Likewise.
45475         * benchtests/bench-strspn.c: Likewise.
45476         * benchtests/bench-strstr.c: Likewise.
45478 2013-09-04  Will Newton  <will.newton@linaro.org>
45480         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
45482 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
45484         [BZ #15427]
45485         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
45486         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
45487         * math/libm-test.inc (lgamma_test_data): Add more tests.
45488         * sysdeps/i386/fpu/libm-test-ulps: Update.
45489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45491 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
45493         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
45494         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45495         Add ifunc.
45496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45497         Add strcmp-sse2-unaligned
45498         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
45500 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45502         * Versions.def (libc): Add GLIBC_2.19.
45504 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45506         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
45507         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
45509 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
45511         [BZ #14155]
45512         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
45513         intermediate calculations in recurrence.
45514         (__ieee754_ynf): Likewise.
45515         * math/libm-test.inc (jn_test_data): Do not allow spurious
45516         underflow exception.  Add more tests.
45517         (yn_test_data): Add more tests.
45518         * sysdeps/i386/fpu/libm-test-ulps: Update.
45519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45521 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
45523         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
45525 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45527         * csu/init-first.c: Fix then/than typos.
45528         * locale/programs/ld-collate.c: Likewise.
45529         * locale/programs/linereader.h: Likewise.
45530         * manual/charset.texi: Likewise.
45531         * manual/filesys.texi: Likewise.
45532         * manual/stdio.texi: Likewise.
45533         * manual/string.texi: Likewise.
45534         * stdlib/fmtmsg.c: Likewise.
45535         * sysdeps/i386/stpncpy.S: Likewise.
45536         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45537         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45538         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45539         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45541 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45543         * elf/dl-open.c: Fix typos.
45544         * iconvdata/gbbig5.c: Likewise.
45545         * iconvdata/iso-2022-jp.c: Likewise.
45546         * iconv/gconv_int.h: Likewise.
45547         * iconv/loop.c: Likewise.
45548         * nis/rpcsvc/nis.h: Likewise.
45549         * resolv/ns_name.c: Likewise.
45550         * stdio-common/vfscanf.c: Likewise.
45551         * streams/stropts.h: Likewise.
45552         * sunrpc/rpc_thread.c: Likewise.
45553         * sysdeps/i386/strpbrk.S: Likewise.
45554         * sysdeps/ieee754/k_standard.c: Likewise.
45555         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45556         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45557         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
45558         * sysdeps/mach/hurd/profil.c: Likewise.
45559         * sysdeps/s390/dl-procinfo.h: Likewise.
45560         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
45561         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45562         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
45563         * sysdeps/x86_64/dl-trampoline.S: Likewise.
45564         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45566 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
45568         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
45569         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
45571 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
45573         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
45574         aix specific files.
45575         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
45576         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
45577         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
45578         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
45579         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
45580         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
45581         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
45582         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
45584 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45585             Roland McGrath  <roland@hack.frob.com>
45587         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
45588         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
45590 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45592         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
45593         __executable_start symbol instead of _start.
45595 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45597         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
45598         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
45599         Move macros to...
45600         * sysdeps/gnu/ldsodefs.h: ... this new file.
45602         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
45603         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
45604         instead of ELFOSABI_LINUX.
45606         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
45607         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
45608         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
45609         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
45610         Likewise.
45611         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
45612         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
45613         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
45614         Likewise.
45615         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45616         (ibm_extended_long_double): Add ieee_nan member.
45617         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
45618         (do_test): New function.
45620         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
45621         TEST_TRUNC.
45622         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
45623         functions, renamed from truncdfsf_test, trunctfsf_test,
45624         trunctfdf_test.
45625         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
45626         functions.
45627         (do_test): Run all these.
45629 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
45631         * argp/argp-help.c: Fix typos.
45632         * argp/argp-parse.c: Likewise.
45633         * debug/backtracesyms.c: Likewise.
45634         * elf/elf.h: Likewise.
45635         * malloc/malloc.c: Likewise.
45636         * nis/nis_print.c: Likewise.
45637         * resolv/res_comp.c: Likewise.
45638         * stdlib/stdlib.h: Likewise.
45639         * sunrpc/clnt_tcp.c: Likewise.
45640         * sunrpc/clnt_udp.c: Likewise.
45641         * sunrpc/clnt_unix.c: Likewise.
45642         * sysdeps/unix/bsd/ptsname.c: Likewise.
45643         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45644         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
45645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
45646         Likewise.
45647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
45648         Likewise.
45649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
45650         Likewise.
45651         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45653 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45655         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
45656         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45658 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
45660         [BZ #15897]
45661         * dlfcn/Makefile (tests): Add bug-dl-leaf.
45662         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
45663         ($(objpfx)bug-dl-leaf): New rule.
45664         ($(objpfx)bug-dl-leaf.so): Likewise.
45665         ($(objpfx)bug-dl-leaf.out): Likewise.
45666         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
45667         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
45668         * dlfcn/bug-dl-leaf.c: New test.
45669         * dlfcn/bug-dl-leaf-lib.c: Likewise.
45670         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
45671         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
45672         (dlclose): Likewise.
45673         (dlmopen): Likewise.
45675 2013-08-27  Roland McGrath  <roland@hack.frob.com>
45677         * include/netdb.h [!_ISOMAC]:
45678         Don't include <tls.h>.
45679         (h_errno, __libc_h_errno): Move declaration and macros out of
45680         [_LIBC_REENTRANT].
45682         * include/resolv.h [_RESOLV_H_]:
45683         Don't include <tls.h>.
45684         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45685         * resolv/res_libc.c: Don't include <tls.h>.
45686         (_res): Use __attribute__ ((nocommon)) in place of
45687         __attribute__ ((section (".bss"))).
45689         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45690         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45692         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45694         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45695         only under [SIOCGIFCONF && SIOCGIFNETMASK].
45697         * resolv/res_mkquery.c: Include <sys/time.h>.
45699         * inet/ifreq.c: Moved to ...
45700         * sysdeps/unix/ifreq.c: ... here.
45701         * inet/ifreq.c: New file, true stub version.
45703         * socket/sa_len.c: New file.
45704         * socket/Makefile (aux): Add it.
45705         * sysdeps/unix/sysv/linux/Makefile
45706         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45707         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45708         and #include <socket/sa_len.c>.
45709         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45710         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45712         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45713         * bits/socket.h: ... here.
45715         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45716         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45717         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45719 2013-08-27  Andreas Schwab  <schwab@suse.de>
45721         [BZ #15736]
45722         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45723         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45724         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45725         * string/test-strcasecmp.c (test_main): Run tests in several
45726         locales.
45727         * string/test-strncasecmp.c (test_main): Likewise.
45729         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45730         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45731         to __strcasecmp_nonascii and __strncasecmp_nonascii.
45732         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45733         (__strncasecmp_ssse3) [PIC]: Likewise.
45735 2013-08-26  Roland McGrath  <roland@hack.frob.com>
45737         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45739         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45740         instead of explicitly declaring xdecrypt.
45741         * nis/nss_nis/nis-publickey.c: Likewise.
45743 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45745         [BZ #15890]
45746         * nscd/aicache.c: Include res_hconf.h.
45747         (addhstaiX): Initialize res_hconf.
45749 2013-08-26  Andreas Schwab  <schwab@suse.de>
45751         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45752         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45754 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45756         * nscd/aicache.c (addhstaiX): Fix indentation.
45758 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
45760         * configure.ac: Quote $build_pt_chown test.
45761         * configure: Regenerated.
45763 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
45765         [BZ #15532]
45766         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45767         * math/s_cexpf.c (__cexpf): Likewise.
45768         * math/s_cexpl.c (__cexpl): Likewise.
45769         * math/libm-test.inc (cexp_test_data): Correct expected return
45770         value for NaN + i0.  Add another test.
45772 2013-08-22  David S. Miller  <davem@davemloft.net>
45774         * po/ca.po: Update Catalan translation from translation project.
45775         * po/uk.po: Add Ukrainian translations from translation project.
45777 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
45779         [BZ #15797]
45780         * math/s_fdim.c (__fdim): Check for infinite arguments if result
45781         is infinite, not alongside NaN test.
45782         * math/s_fdimf.c (__fdimf): Likewise.
45783         * math/s_fdiml.c (__fdiml): Likewise.
45784         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
45785         errno is unchanged.
45787 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
45789         * argp/argp-help.c: Fix typos.
45790         * crypt/speeds.c: Likewise.
45791         * csu/check_fds.c: Likewise.
45792         * elf/dl-load.c: Likewise.
45793         * elf/dl-open.c: Likewise.
45794         * elf/reldep3.c: Likewise.
45795         * elf/reldep.c: Likewise.
45796         * elf/sprof.c: Likewise.
45797         * iconv/iconv_charmap.c: Likewise.
45798         * iconv/skeleton.c: Likewise.
45799         * iconv/strtab.c: Likewise.
45800         * io/lockf64.c: Likewise.
45801         * libio/libioP.h: Likewise.
45802         * resolv/gai_notify.c: Likewise.
45803         * resolv/ns_name.c: Likewise.
45804         * resolv/ns_samedomain.c: Likewise.
45805         * resolv/res_send.c: Likewise.
45806         * stdlib/random.c: Likewise.
45807         * sunrpc/rpc/xdr.h: Likewise.
45808         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45809         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45810         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45811         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45812         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45813         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45814         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45815         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45816         * sysdeps/mach/hurd/check_fds.c: Likewise.
45817         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45818         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45819         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45820         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45821         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45822         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45823         * sysdeps/pthread/aio_notify.c: Likewise.
45824         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45825         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45826         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45827         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45828         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45830 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45832         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45833         version if bit_Slow_SSE4_2 is set.
45834         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45835         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45837 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45839         [BZ #15867]
45840         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45841         trampoline stack frame information.
45842         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45843         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45844         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45845         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45846         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45847         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45848         (_libc_vdso_platform_setup): Initialize the signal trampolines.
45849         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45850         sa_flags value.
45851         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45852         interrupting a syscall and set with option SA_SIGINFO.
45854 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45856         [BZ #15531]
45857         * math/s_cproj.c (__cproj): Only return an infinity if one part of
45858         argument is infinite.
45859         * math/s_cprojf.c (__cprojf): Likewise.
45860         * math/s_cprojl.c (__cprojl): Likewise.
45861         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45862         * math/libm-test.inc (cproj_test_data): Add more tests.
45864         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45866         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45867         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45868         size.  Use __ffs to determine corresponding shift.
45870 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45871             Roland McGrath  <roland@hack.frob.com>
45873         * Makefile (INSTALL): Remove trailing blank lines from output of
45874         makeinfo.
45876 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45878         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45879         Align 32 bit compat elf_greg to 8 bytes.
45881 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
45883         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45885 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45887         * string/strcoll_l.c (coll_seq): New structure.
45888         (get_next_seq_cached): New function.
45889         (get_next_seq): New function.
45890         (do_compare): New function.
45891         (STRCOLL): Use GNU style definition.  Simplify implementation
45892         by using get_next_seq, get_next_seq_cached and do_compare.
45894 2013-08-16  Florian Weimer  <fweimer@redhat.com>
45896         [BZ #14699]
45897         CVE-2013-4237
45898         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45899         member.
45900         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45901         member.
45902         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45903         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45904         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
45905         conditional.
45906         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45907         GETDENTS_64BIT_ALIGNED.
45908         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45909         * manual/filesys.texi (Reading/Closing Directory): Document
45910         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
45911         strongly.
45912         * manual/conf.texi (Limits for Files): Add portability note to
45913         NAME_MAX, PATH_MAX.
45914         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45916 2013-08-13  Andreas Schwab  <schwab@suse.de>
45918         [BZ #15749]
45919         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45920         of fabs.
45921         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45922         LDBL_MAX_EXP >= 16384]: Add tests for it.
45924 2013-08-12  David S. Miller  <davem@davemloft.net>
45926         * version.h (RELEASE): Set to "development".
45927         (VERSION): Set to "2.18.90".
45928         * NEWS: Add 2.19 section.
45930 2013-08-03  David S. Miller  <davem@davemloft.net>
45932         * po/ko.po: Update Korean translation from translation project.
45934 2013-08-01  David S. Miller  <davem@davemloft.net>
45936         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
45937         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45938         Bilka.
45940 2013-07-30  David S. Miller  <davem@davemloft.net>
45942         * po/fr.po: Update French translation from translation project.
45944 2013-07-28  David S. Miller  <davem@davemloft.net>
45946         * po/cs.po: Update Czech translation from translation project.
45948         * po/sv.po: Update Swedish translation from translation project.
45950 2013-07-27  David S. Miller  <davem@davemloft.net>
45952         * po/eo.po: Update Esperanto translation from translation project.
45954         * po/vi.po: Update Vietnamese translation from translation project.
45956         * po/de.po: Update German translation from translation project.
45958 2013-07-26  David S. Miller  <davem@davemloft.net>
45960         * po/bg.po: Update Bulgarian translation from translation project.
45962         * po/nl.po: Update Dutch translation from translation project.
45963         * po/pl.po: Update Polish translation from translation project.
45964         * po/ru.po: Update Russian translation from translation project.
45966 2013-07-24  David S. Miller  <davem@davemloft.net>
45968         * po/libc.pot: Update.
45970 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45972         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45973         variable page size.
45974         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45975         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45976         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45978 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45980         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45982 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45983             Andreas Schwab  <schwab@suse.de>
45984             Roland McGrath  <roland@hack.frob.com>
45985             Joseph Myers  <joseph@codesourcery.com>
45986             Carlos O'Donell  <carlos@redhat.com>
45988         [BZ #15755]
45989         * config.h.in: Define HAVE_PT_CHOWN.
45990         * config.make.in (build-pt-chown): New variable.
45991         * configure.in (--enable-pt_chown): New configure option.
45992         * configure: Regenerate.
45993         * login/Makefile: Include Makeconfig.  Build pt_chown only if
45994         build-pt-chown is enabled.
45995         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45996         pt_chown to fix pty ownership.
45997         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45998         CLOSE_ALL_FDS.
45999         * manual/install.texi (Configuring and compiling): Mention
46000         --enable-pt_chown. Add @findex for grantpt.
46001         * INSTALL: Regenerate.
46003 2013-07-20  David S. Miller  <davem@davemloft.net>
46005         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
46006         difference between 32-bit and 64-bit.
46008 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
46010         [BZ #15711]
46011         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
46012         Avoid system header dependency with -ffreestanding.
46013         ($(objpfx)bits/syscall%d): Likewise.
46015 2013-07-13  David S. Miller  <davem@davemloft.net>
46017         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
46018         underflows from atanl/atan2l due to bug 15319.
46019         (casinh_test_data): Likewise.
46021 2013-07-07  David S. Miller  <davem@davemloft.net>
46023         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
46025 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
46027         * sysdeps/i386/fpu/libm-test-ulps: Update.
46028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46030 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46032         * configure.in (--enable-lock-elision): Fix message text.
46033         * INSTALL: Regenerate.
46034         * configure: Regenerate.
46036 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46040 2013-07-03  Andreas Jaeger  <aj@suse.de>
46042         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
46043         define.
46044         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
46045         (ptrace_peeksiginfo_args): Add.
46046         (__ptrace_peeksiginfo_flags): Add.
46047         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46048         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46049         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46051 2013-07-03  Allan McRae  <allan@archlinux.org>
46053         * sysdeps/i386/fpu/libm-test-ulps: Update.
46055 2013-07-02  David S. Miller  <davem@davemloft.net>
46057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46059 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
46061         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46063 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46065         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46068 2013-07-02  Andi Kleen <ak@linux.intel.com>
46070         * config.h.in (ENABLE_LOCK_ELISION): Add.
46071         * configure.in (--enable-lock-elision): Add option.
46072         * manual/install.texi: Document --enable lock elision.
46073         * configure: Regenerate
46074         * INSTALL: Regenerate.
46076 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
46078         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
46079         SSE4.2 strcasecmp for libc.a.
46080         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
46082 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46084         [BZ #13304]
46085         * soft-fp/op-common.h (_FP_FMA): New macro.
46086         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
46087         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
46088         (_FP_MUL_MEAT_1_imm): ... here.
46089         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
46090         (_FP_MUL_MEAT_1_wide): ... here.
46091         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
46092         (_FP_MUL_MEAT_1_hard): ... here.
46093         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
46094         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
46095         (_FP_MUL_MEAT_2_wide): ... here.
46096         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
46097         (_FP_MUL_MEAT_2_wide_3mul): ... here.
46098         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
46099         (_FP_MUL_MEAT_2_gmp): ... here.
46100         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
46101         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
46102         (_FP_MUL_MEAT_4_wide): ... here.
46103         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
46104         (_FP_MUL_MEAT_4_gmp): ... here.
46105         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
46106         (_FP_WFRACBITS_DW_S): Likewise.
46107         (_FP_WFRACXBITS_DW_S): Likewise.
46108         (_FP_HIGHBIT_DW_S): Likewise.
46109         (FP_FMA_S): Likewise.
46110         (_FP_FRAC_HIGH_DW_S): Likewise.
46111         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
46112         (_FP_WFRACBITS_DW_D): Likewise.
46113         (_FP_WFRACXBITS_DW_D): Likewise.
46114         (_FP_HIGHBIT_DW_D): Likewise.
46115         (FP_FMA_D): Likewise.
46116         (_FP_FRAC_HIGH_DW_D): Likewise.
46117         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
46118         (_FP_WFRACBITS_DW_E): Likewise.
46119         (_FP_WFRACXBITS_DW_E): Likewise.
46120         (_FP_HIGHBIT_DW_E): Likewise.
46121         (FP_FMA_E): Likewise.
46122         (_FP_FRAC_HIGH_DW_E): Likewise.
46123         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
46124         (_FP_WFRACBITS_DW_Q): Likewise.
46125         (_FP_WFRACXBITS_DW_Q): Likewise.
46126         (_FP_HIGHBIT_DW_Q): Likewise.
46127         (FP_FMA_Q): Likewise.
46128         (_FP_FRAC_HIGH_DW_Q): Likewise.
46129         * soft-fp/fmasf4.c: New file.
46130         * soft-fp/fmadf4.c: Likewise.
46131         * soft-fp/fmatf4.c: Likewise.
46133 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46135         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46136         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
46137         Silvermont.
46138         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
46139         macro.
46140         (index_Slow_SSE4_2): Likewise.
46141         (index_Prefer_PMINUB_for_stringop): Likewise.
46142         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
46143         bit_Slow_SSE4_2 is set.
46144         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46145         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46147 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46149         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
46150         rtld_global._dl_hwcap2.
46151         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
46152         POWER8.
46153         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
46154         POWER8 feature descriptions defined in _dl_hwcap2.
46155         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
46156         string handling for POWER8 feature bits.
46157         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
46158         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
46159         _dl_powerpc_cap_flags.
46160         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
46161         * sysdeps/powerpc/rtld-global-offsets.sym
46162         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
46163         _dl_hwcap2 in the rtld_global_ro structure.
46165 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46167         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
46168         hardware capabilities in support of AT_HWCAP2.
46169         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
46170         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
46171         GLRO(dl_hwcap2).
46172         (_dl_show_auxv): Add support for calling _dl_procinfo to display
46173         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
46174         explicitly the unknown a_type display mechanism is used.
46175         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
46176         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
46177         struct member.
46178         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
46179         to macro prototype for AT_HWCAP2 support.
46180         * sysdeps/i386/dl-procinfo.h: Likewise.
46181         * sysdeps/s390/dl-procinfo.h: Likewise.
46182         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
46183         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
46184         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
46185         return -1 for unknown a_type display fallback.
46186         * sysdeps/sparc/dl-procinfo.h: Likewise.
46187         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
46188         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
46190 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
46192         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
46193         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
46195 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
46197         [BZ #12492]
46198         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
46199         mprotect making __stack_prot writable.
46201 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
46202             Joseph Myers  <joseph@codesourcery.com>
46204         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
46205         as being properly aligned.
46207 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
46209         * dlfcn/modstatic5.c: New file.
46210         * dlfcn/tststatic5.c: New file.
46211         * dlfcn/Makefile (tests): Add tststatic5.
46212         (tests-static): Likewise.
46213         (modules-names): Add modstatic5.
46214         (tststatic5-ENV): New variable.
46215         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
46217         [BZ #15022]
46218         * elf/dl-support.c (_dl_main_map): New variable.
46219         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
46220         (_dl_nns, _dl_load_adds): Set to 1.
46221         (_dl_initial_searchlist): Refer to _dl_main_map.
46222         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
46223         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
46224         call to _dl_get_origin.
46225         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
46226         around call_map.
46227         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
46228         * dlfcn/modstatic3.c: New file.
46229         * dlfcn/tststatic3.c: New file.
46230         * dlfcn/tststatic4.c: New file.
46231         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
46232         (tests-static): Likewise.
46233         (modules-names): Add modstatic3.
46234         (tststatic3-ENV, tststatic4-ENV): New variables.
46235         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
46236         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
46238 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
46240         * configure.in (CC): Require GCC version 4.4 or later.
46241         * configure: Regenerated.
46242         * manual/install.texi (Tools for Compilation): Update GCC version
46243         requirement.
46244         * INSTALL: Regenerated.
46246 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46248         [BZ #15674]
46249         * string/test-memcmp.c (check2): New.
46250         (main): Call check2.
46252         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
46254 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
46256         [BZ #15022]
46257         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
46258         over to...
46259         (dl_open_worker) [!SHARED]: ... here.
46261 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46263         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
46265 2013-06-25  Richard Henderson  <rth@redhat.com>
46267         * locale/programs/locarchive.c: Include <libc-internal.h>
46269 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
46271         * manual/texinfo.tex: Update to version 2013-06-21.17, with
46272         trailing whitespace removed.
46274 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46276         [BZ #10283]
46277         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
46278         * locale/programs/locarchive.c: Include libc-mmap.h.
46279         (prepare_address_space): Take two new outputs (the mmap base and len).
46280         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
46281         values.
46282         (create_archive): Declare new mmap base and len values for
46283         prepare_address_space, and store the result in ah.
46284         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
46285         (enlarge_archive): If ah->mmap_base is not NULL, use that and
46286         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46287         Declare new mmap base and len values for
46288         prepare_address_space, and store the result in new_ah.
46289         (open_archive): Declare new mmap base and len values for
46290         prepare_address_space, and store the result in ah.
46291         (close_archive): If ah->mmap_base is not NULL, use that and
46292         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46293         * sysdeps/generic/libc-mmap.h: New file.
46295 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46297         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
46298         (ALIGN_UP): Likewise.
46299         (PTR_ALIGN_DOWN): Likewise.
46300         (PTR_ALIGN_UP): Likewise.
46302 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46304         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
46305         entry mapped to PPC_PLATFORM_POWER8.
46306         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
46307         POWER8.
46308         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
46309         (_dl_string_platform): Add case for exporting platform position for
46310         POWER8.
46311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
46312         search path to sysdeps/powerpc/powerpc32/power8 directory.
46313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
46314         search path to sysdeps/powerpc/powerpc64/power8 directory.
46315         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
46316         power7 directories.
46317         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
46318         power7 directories.
46320 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46322         * INSTALL: Regenerate.
46324         * nscd/connections.c (nscd_init): Fix comment.
46326 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
46328         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
46330         [BZ #15667]
46331         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
46332         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
46334 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46336         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
46337         DL_DST_REQ_STATIC.
46338         (DL_DST_REQ_STATIC): Remove macro.
46340 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
46342         [BZ #7006]
46343         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
46344         with a shift of 0 bits.
46346 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46348         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
46349         $(tststatic-ENV).
46351 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46353         [BZ #15655]
46354         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
46356 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46358         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
46359         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
46360         accepts -fno-tree-loop-distribute-patterns.
46361         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
46362         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
46363         recursive call.
46364         * string/memset.c (memset): Likewise.
46365         * string/test-memmove.c (simple_memmove): Disable loop transformation
46366         to library calls.
46367         * string/test-memset.c (simple_memset): Likewise.
46368         * benchtests/bench-memmove.c (simple_memmove): Likewise.
46369         * benchtests/bench-memset.c (simple_memset): Likewise.
46370         * configure: Regenerated.
46372 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
46374         * math/test-misc.c (main): Ignore fesetround failure when failures
46375         of subsequent rounding tests would be ignored.
46377         [BZ #15654]
46378         * math/fedisblxcpt.c (fedisableexcept): Return 0.
46379         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
46380         * math/fegetenv.c (__fegetenv): Return 0.
46381         * math/fegetexcept.c (fegetexcept): Return 0.
46382         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
46383         FE_TONEAREST.
46384         * math/feholdexcpt.c (feholdexcept): Return 0.
46385         * math/fesetenv.c (__fesetenv): Return 0.
46386         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
46387         argument FE_TONEAREST.
46388         * math/feupdateenv.c (__feupdateenv): Return 0.
46389         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
46391 2013-06-18  Roland McGrath  <roland@hack.frob.com>
46393         * elf/rtld-Rules (rtld-compile-command.S): New variable.
46394         (rtld-compile-command.s, rtld-compile-command.c): New variables.
46395         ($(objpfx)rtld-%.os rules): Use them.
46397 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46399         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
46400         fields.
46402 2013-06-17  Roland McGrath  <roland@hack.frob.com>
46404         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
46405         length of target pattern, then descending length of dependency pattern.
46406         * configure.in (AWK): Require gawk 3.1.2 or newer.
46407         * manual/install.texi (Tools for Compilation): Say that we do.
46408         * configure: Regenerated.
46410         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
46411         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
46412         * scripts/sysd-rules.awk: ... this new script.
46413         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
46414         than a glob-style pattern.
46416 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
46418         * math/test-misc.c (main): Do not treat incorrectly rounded
46419         conversions as failure unless ROUNDING_TESTS passes.
46421 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
46423         [BZ #15631]
46424         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
46425         restore exception state around main square root computation, then
46426         check for inexactness explicitly.
46428         * math/libm-test.inc (fma_test_data): Add another test.
46430 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46432         * manual/threads.texi (Non-POSIX Extensions): New document
46433         node.  Document pthread_getattr_default_np and
46434         pthread_setattr_default_np.
46436         * Versions.def (libpthread): Add GLIBC_2.18.
46437         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
46438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46439         Likewise.
46440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46441         Likewise.
46442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46443         Likewise.
46444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46445         Likewise.
46446         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
46447         Likewise.
46448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46449         Likewise.
46450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46451         Likewise.
46452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46453         Likewise.
46454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46455         Likewise.
46457 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46459         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46460         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
46462 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46463             H.J. Lu  <hjl.tools@gmail.com>
46465         [BZ #15627]
46466         * sysdeps/x86_64/rtld-memset.c: Remove file.
46467         * sysdeps/x86_64/rtld-memset.S: New file.
46469 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
46471         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
46472         (test_in_one_mode): Take arguments for whether the rounding mode
46473         is supported for each floating-point type.
46474         (do_test): Pass new arguments to test_in_one_mode using
46475         ROUNDING_TESTS.
46477 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46479         * posix/tst-waitid.c (do_test): Distinguish different instances of
46480         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
46481         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
46482         before entering the kernel for waitpid.
46484 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46486         * NEWS: Fix note on clock function precision.  Text by Roland
46487         McGrath.
46489 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46491         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
46492         it into place only when and if the sanity check passes.
46494 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
46496         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
46497         output for whether conversion result is exact.  Take argument
46498         indicating whether type is IBM long double.
46499         (round_for_all): Change need_exact field to ibm_ld.
46500         * stdlib/tst-strtod-round.c (struct exactness): New type.
46501         (struct test): Change bool ld_ok field to struct exactness exact.
46502         (TEST): Update all definitions for change to field.
46503         (tests): Regenerate array contents.
46504         (test_in_one_mode): Take pointer to new field instead of old ld_ok
46505         field value.  Check for IBM long double here.
46506         (do_test): Update calls to test_in_one_mode.
46508 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46510         [BZ #12515]
46511         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
46512         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
46514 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46516         [BZ #15605]
46517         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
46518         generated by the compiler on loop optimizations.
46519         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
46520         general definitions.
46522 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
46524         * math/bug-nextafter.c: Include <math-tests.h>.
46525         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46526         the relevant type.
46527         * math/bug-nexttoward.c: Include <math-tests.h>.
46528         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46529         the relevant type.
46530         * math/test-misc.c: Include <math-tests.h>.
46531         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46532         the relevant type.
46534 2013-06-12  Andreas Jaeger  <aj@suse.de>
46536         * po/ia.po: Update Interlingua translation from translation
46537         project.
46539 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46541         * include/fenv.h: Include stdbool.h.
46542         (struct rm_ctx): New structure.
46543         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
46544         Define macro.
46545         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
46546         (SET_RESTORE_ROUNDF): Likewise.
46547         (SET_RESTORE_ROUNDL): Likewise.
46548         (SET_RESTORE_ROUND_NOEX): Likewise.
46549         (SET_RESTORE_ROUND_NOEXF): Likewise.
46550         (SET_RESTORE_ROUND_NOEXL): Likewise.
46551         (SET_RESTORE_ROUND_53BIT): Likewise.
46552         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46553         (libc_feresetround_noexf_ctx): Likewise.
46554         (libc_feresetround_noexl_ctx): Likewise.
46555         (libc_feholdsetround_53bit_ctx): Likewise.
46556         (libc_feresetround_53bit_ctx): Likewise.
46557         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
46558         (libc_feholdexcept_setround_sse_ctx): New function.
46559         (libc_fesetenv_sse_ctx): Likewise.
46560         (libc_feupdateenv_sse_ctx): Likewise.
46561         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
46562         (libc_feholdexcept_setround_387_ctx): Likewise.
46563         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
46564         (libc_feholdsetround_387_prec_ctx): Likewise.
46565         (libc_feholdsetround_387_ctx): Likewise.
46566         (libc_feholdsetround_387_53bit_ctx): Likewise.
46567         (libc_feholdsetround_sse_ctx): Likewise.
46568         (libc_feresetround_sse_ctx): Likewise.
46569         (libc_feresetround_387_ctx): Likewise.
46570         (libc_feupdateenv_387_ctx): Likewise.
46571         (libc_feholdexcept_setroundf_ctx): Define macro.
46572         (libc_fesetenvf_ctx): Likewise.
46573         (libc_feupdateenvf_ctx): Likewise.
46574         (libc_feholdsetroundf_ctx): Likewise.
46575         (libc_feresetroundf_ctx): Likewise.
46576         (libc_feholdexcept_setround_ctx): Likewise.
46577         (libc_fesetenv_ctx): Likewise.
46578         (libc_feupdateenv_ctx): Likewise.
46579         (libc_feholdsetround_ctx): Likewise.
46580         (libc_feresetround_ctx): Likewise.
46581         (libc_feholdexcept_setroundl_ctx): Likewise.
46582         (libc_feupdateenvl_ctx): Likewise.
46583         (libc_feholdsetroundl_ctx): Likewise.
46584         (libc_feresetroundl_ctx): Likewise.
46585         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
46586         (libc_feresetround_53bit_ctx): Likewise.
46588 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46590         * locale/iso-639.def: Convert to UTF-8.
46592 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
46594         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
46595         (EXCEPTION_TESTS_double): Likewise.
46596         (EXCEPTION_TESTS_long_double): Likewise.
46597         (EXCEPTION_TESTS): Likewise.
46598         * math/libm-test.inc (test_exceptions): Only test exceptions if
46599         EXCEPTION_TESTS (FLOAT).
46601 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46603         * benchtests/Makefile (string-bench): Add strcpy_chk and
46604         stpcpy_chk.
46605         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
46606         * benchtests/bench-stpcpy_chk.c: New file.
46607         * benchtests/bench-strcpy_chk-ifunc.c: New file.
46608         * benchtests/bench-strcpy_chk.c: New file.
46609         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
46610         code.
46611         (do_test): Likewise.
46613 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46615         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
46616         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
46617         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
46618         with tabs where appropriate.
46619         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
46620         dl-procinfo.h.
46621         [PPC_PLATFORM_PPC440]: Likewise.
46622         [PPC_PLATFORM_PPC464]: Likewise.
46623         [PPC_PLATFORM_PPC476]: Likewise.
46624         (_dl_string_platform): Add support for detecting ppc405, ppc440,
46625         ppc464, and ppc476 platform strings merging from ports/
46626         dl-procinfo.h.
46628 2013-06-11  Andreas Schwab  <schwab@suse.de>
46630         [BZ #14991]
46631         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
46632         (from_ucs4_idx): Regenerate.
46633         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
46634         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
46635         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
46636         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
46637         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
46638         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
46639         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
46640         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
46641         from FROM_LOOP and TO_LOOP specific macros.
46642         (BODY): Handle combining characters.
46643         * iconvdata/BIG5HKSCS.irreversible: Update.
46644         * iconvdata/BIG5HKSCS.precomposed: New file.
46645         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
46646         characters.
46647         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
46649 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46651         * include/sys/time.h: Fix indentation and add copyright header.
46653         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
46654         (do_test): Likewise.
46655         * string/test-memchr.c (do_one_test): Likewise.
46656         (do_test): Likewise.
46657         * string/test-memcmp.c (do_one_test): Likewise.
46658         (do_test): Likewise.
46659         * string/test-memcpy.c (do_one_test): Likewise.
46660         (do_test): Likewise.
46661         * string/test-memmem.c (do_one_test): Likewise.
46662         (do_test): Likewise.
46663         (do_random_tests): Likewise.
46664         * string/test-memmove.c (do_one_test): Likewise.
46665         (do_test): Likewise.
46666         * string/test-memset.c (do_one_test): Likewise.
46667         (do_test): Likewise.
46668         * string/test-rawmemchr.c (do_one_test): Likewise.
46669         (do_test): Likewise.
46670         * string/test-strcasecmp.c (do_one_test): Likewise.
46671         (do_test): Likewise.
46672         * string/test-strcasestr.c (do_one_test): Likewise.
46673         (do_test): Likewise.
46674         * string/test-strcat.c (do_one_test): Likewise.
46675         (do_test): Likewise.
46676         * string/test-strchr.c (do_one_test): Likewise.
46677         (do_test): Likewise.
46678         * string/test-strcmp.c (do_one_test): Likewise.
46679         (do_test): Likewise.
46680         * string/test-strcpy.c (do_one_test): Likewise.
46681         (do_test): Likewise.
46682         * string/test-string.h: Likewise.
46683         (test_init): Likewise.
46684         * string/test-strlen.c (do_one_test): Likewise.
46685         (do_test): Likewise.
46686         * string/test-strncasecmp.c (do_one_test): Likewise.
46687         (do_test): Likewise.
46688         * string/test-strncat.c (do_one_test): Likewise.
46689         (do_test): Likewise.
46690         * string/test-strncmp.c (do_one_test): Likewise.
46691         (do_test_limit): Likewise.
46692         (do_test): Likewise.
46693         * string/test-strncpy.c (do_one_test): Likewise.
46694         (do_test): Likewise.
46695         * string/test-strnlen.c (do_one_test): Likewise.
46696         (do_test): Likewise.
46697         * string/test-strpbrk.c (do_one_test): Likewise.
46698         (do_test): Likewise.
46699         * string/test-strrchr.c (do_one_test): Likewise.
46700         (do_test): Likewise.
46701         * string/test-strspn.c (do_one_test): Likewise.
46702         (do_test): Likewise.
46703         * string/test-strstr.c (do_one_test): Likewise.
46704         (do_test): Likewise.
46706         * benchtests/Makefile (string-bench): Add string benchmarks.
46707         * benchtests/bench-bcopy-ifunc.c: New file.
46708         * benchtests/bench-bcopy.c: New file.
46709         * benchtests/bench-bzero-ifunc.c: New file.
46710         * benchtests/bench-bzero.c: New file.
46711         * benchtests/bench-memccpy-ifunc.c: New file.
46712         * benchtests/bench-memccpy.c: New file.
46713         * benchtests/bench-memchr-ifunc.c: New file.
46714         * benchtests/bench-memchr.c: New file.
46715         * benchtests/bench-memcmp-ifunc.c: New file.
46716         * benchtests/bench-memcmp.c: New file.
46717         * benchtests/bench-memmem-ifunc.c: New file.
46718         * benchtests/bench-memmem.c: New file.
46719         * benchtests/bench-memmove-ifunc.c: New file.
46720         * benchtests/bench-memmove.c: New file.
46721         * benchtests/bench-mempcpy-ifunc.c: New file.
46722         * benchtests/bench-mempcpy.c: New file.
46723         * benchtests/bench-memset-ifunc.c: New file.
46724         * benchtests/bench-memset.c: New file.
46725         * benchtests/bench-rawmemchr-ifunc.c: New file.
46726         * benchtests/bench-rawmemchr.c: New file.
46727         * benchtests/bench-stpcpy-ifunc.c: New file.
46728         * benchtests/bench-stpcpy.c: New file.
46729         * benchtests/bench-stpncpy-ifunc.c: New file.
46730         * benchtests/bench-stpncpy.c: New file.
46731         * benchtests/bench-strcasecmp-ifunc.c: New file.
46732         * benchtests/bench-strcasecmp.c: New file.
46733         * benchtests/bench-strcasestr-ifunc.c: New file.
46734         * benchtests/bench-strcasestr.c: New file.
46735         * benchtests/bench-strcat-ifunc.c: New file.
46736         * benchtests/bench-strcat.c: New file.
46737         * benchtests/bench-strchr-ifunc.c: New file.
46738         * benchtests/bench-strchr.c: New file.
46739         * benchtests/bench-strchrnul-ifunc.c: New file.
46740         * benchtests/bench-strchrnul.c: New file.
46741         * benchtests/bench-strcmp-ifunc.c: New file.
46742         * benchtests/bench-strcmp.c: New file.
46743         * benchtests/bench-strcpy-ifunc.c: New file.
46744         * benchtests/bench-strcpy.c: New file.
46745         * benchtests/bench-strcspn-ifunc.c: New file.
46746         * benchtests/bench-strcspn.c: New file.
46747         * benchtests/bench-strlen-ifunc.c: New file.
46748         * benchtests/bench-strlen.c: New file.
46749         * benchtests/bench-strncasecmp-ifunc.c: New file.
46750         * benchtests/bench-strncasecmp.c: New file.
46751         * benchtests/bench-strncat-ifunc.c: New file.
46752         * benchtests/bench-strncat.c: New file.
46753         * benchtests/bench-strncmp-ifunc.c: New file.
46754         * benchtests/bench-strncmp.c: New file.
46755         * benchtests/bench-strncpy-ifunc.c: New file.
46756         * benchtests/bench-strncpy.c: New file.
46757         * benchtests/bench-strnlen-ifunc.c: New file.
46758         * benchtests/bench-strnlen.c: New file.
46759         * benchtests/bench-strpbrk-ifunc.c: New file.
46760         * benchtests/bench-strpbrk.c: New file.
46761         * benchtests/bench-strrchr-ifunc.c: New file.
46762         * benchtests/bench-strrchr.c: New file.
46763         * benchtests/bench-strspn-ifunc.c: New file.
46764         * benchtests/bench-strspn.c: New file.
46765         * benchtests/bench-strstr-ifunc.c: New file.
46766         * benchtests/bench-strstr.c: New file.
46768         * benchtests/Makefile: Disable parallel execution of targets.
46769         (string-bench): Add memcpy.
46770         (benchset): New variable to store a list of benchmark sets.
46771         (bench-func): Renamed from bench.
46772         (bench-set): New target.
46773         (bench): Depend on bench-func and bench-set.
46774         * benchtests/README: Add section on benchmark sets.
46775         * benchtests/bench-memcpy-ifunc.c: New file.
46776         * benchtests/bench-memcpy.c: New file.
46777         * benchtests/bench-string.h: New file.
46779 2013-06-11  Andreas Schwab  <schwab@suse.de>
46781         [BZ #15577]
46782         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46783         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46784         values in the triple.
46785         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46786         terminator in the group key.
46788 2013-06-11  Andreas Jaeger  <aj@suse.de>
46790         * po/zh_TW.po: Update Chinese (traditional) translation from
46791         translation project.
46793 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46795         * include/time.h (__clock_gettime): Add libc_hidden_proto.
46796         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46797         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
46798         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46799         (clock_getcpuclockid): Likewise.
46800         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46801         Add weak_alias and libc_hidden_def.
46802         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46803         * rt/clock_gettime.c (clock_gettime): Rename to
46804         __clock_gettime.  Add weak_alias and libc_hidden_def.
46805         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46806         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46807         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
46808         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46809         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46810         Likewise.
46811         * rt/clock_settime.c (clock_settime): Rename to
46812         __clock_settime.  Add weak_alias and libc_hidden_def.
46813         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46815 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
46817         * mach/err_boot.sub: Remove trailing whitespace.
46818         * mach/err_ipc.sub: Likewise.
46819         * mach/err_mach.sub: Likewise.
46821         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46822         (ROUNDING_TESTS_double): Likewise.
46823         (ROUNDING_TESTS_long_double): Likewise.
46824         (ROUNDING_TESTS): Likewise.
46825         * math/libm-test.inc: Include <math-tests.h>.
46826         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46827         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46828         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46829         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46831 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46833         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46834         of assigning.
46836 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
46838         * sysdeps/gnu/errlist.awk: Do not generate space at end of
46839         otherwise empty TRANS lines.
46840         * sysdeps/gnu/errlist.c: Regenerated.
46842         * catgets/gencat.c (error_print): Use (void) in function
46843         definition.
46844         * crypt/crypt_util.c (__init_des): Likewise.
46845         * crypt/speeds.c (Stop): Likewise.
46846         (main): Likewise.
46847         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46848         * inet/ruserpass.c (token): Likewise.
46849         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46850         * intl/localealias.c (extend_alias_table): Likewise.
46851         * intl/plural-exp.c (init_germanic_plural): Likewise.
46852         * libio/fcloseall.c (__fcloseall): Likewise.
46853         * libio/genops.c (_IO_flush_all): Likewise.
46854         (_IO_flush_all_linebuffered): Likewise.
46855         (_IO_cleanup): Likewise.
46856         (_IO_iter_begin): Likewise.
46857         (_IO_iter_end): Likewise.
46858         (_IO_list_lock): Likewise.
46859         (_IO_list_unlock): Likewise.
46860         (_IO_list_resetlock): Likewise.
46861         * libio/getchar.c (getchar): Likewise.
46862         * libio/getchar_u.c (getchar_unlocked): Likewise.
46863         * libio/getwchar.c (getwchar): Likewise.
46864         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46865         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46866         * login/getpt.c (__getpt): Likewise.
46867         * login/tst-utmp.c (main): Likewise.
46868         * malloc/hooks.c (__malloc_check_init): Likewise.
46869         * malloc/malloc.c (__malloc_stats): Likewise.
46870         * malloc/mtrace.c (tr_break): Likewise.
46871         (mtrace): Likewise.
46872         (muntrace): Likewise.
46873         * misc/fstab.c (endfsent): Likewise.
46874         * misc/getclktck.c (__getclktck): Likewise.
46875         * misc/getdtsz.c (__getdtablesize): Likewise.
46876         * misc/gethostid.c (gethostid): Likewise.
46877         * misc/getpagesize.c (__getpagesize): Likewise.
46878         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46879         (__get_nprocs): Likewise.
46880         (__get_phys_pages): Likewise.
46881         (__get_avphys_pages): Likewise.
46882         * misc/getttyent.c (getttyent): Likewise.
46883         (setttyent): Likewise.
46884         (endttyent): Likewise.
46885         * misc/getusershell.c (getusershell): Likewise.
46886         (endusershell): Likewise.
46887         (setusershell): Likewise.
46888         (initshells): Likewise.
46889         * misc/hsearch.c (__hdestroy): Likewise.
46890         * misc/sync.c (sync): Likewise.
46891         * misc/syslog.c (closelog_internal): Likewise.
46892         (closelog): Likewise.
46893         * misc/ttyslot.c (ttyslot): Likewise.
46894         * misc/vhangup.c (vhangup): Likewise.
46895         * posix/fork.c (__fork): Likewise.
46896         * posix/getegid.c (__getegid): Likewise.
46897         * posix/geteuid.c (__geteuid): Likewise.
46898         * posix/getgid.c (__getgid): Likewise.
46899         * posix/getpid.c (__getpid): Likewise.
46900         * posix/getppid.c (__getppid): Likewise.
46901         * posix/getuid.c (__getuid): Likewise.
46902         * posix/pause.c (pause): Likewise.
46903         * posix/setpgrp.c (setpgrp): Likewise.
46904         * posix/setsid.c (__setsid): Likewise.
46905         * posix/test-vfork.c (noop): Likewise.
46906         * resolv/gethnamaddr.c (_endhtent): Likewise.
46907         (_gethtent): Likewise.
46908         (ht_endhostent): Likewise.
46909         (gethostent): Likewise.
46910         (dns_service): Likewise.
46911         * stdlib/drand48.c (drand48): Likewise.
46912         * stdlib/lrand48.c (lrand48): Likewise.
46913         * stdlib/mrand48.c (mrand48): Likewise.
46914         * stdlib/rand.c (rand): Likewise.
46915         * stdlib/random.c (__random): Likewise.
46916         * stdlib/setenv.c (clearenv): Likewise.
46917         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46918         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46919         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46920         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46921         (__get_nprocs): Likewise.
46922         (__get_phys_pages): Likewise.
46923         (__get_avphys_pages): Likewise.
46924         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46925         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46926         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46927         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46928         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46929         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46930         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46931         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46932         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46933         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46934         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46935         * sysdeps/mach/hurd/sync.c (sync): Likewise.
46936         * sysdeps/posix/clock.c (clock): Likewise.
46937         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46938         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46939         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46940         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46941         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46942         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46943         (__get_nprocs_conf): Likewise.
46944         (__get_phys_pages): Likewise.
46945         (__get_avphys_pages): Likewise.
46946         * time/clock.c (clock): Likewise.
46947         * time/tzset.c (__tzname_max): Likewise.
46949 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
46951         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46952         (__bswap_32): Do not use "register".
46953         * crypt/crypt.c (_ufc_doit_r): Likewise.
46954         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46955         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46956         * gmon/gmon.c (__monstartup): Likewise.
46957         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46958         * hurd/hurdmalloc.c (more_memory): Likewise.
46959         (malloc): Likewise.
46960         (free): Likewise.
46961         (realloc): Likewise.
46962         (malloc_fork_prepare): Likewise.
46963         (malloc_fork_parent): Likewise.
46964         (malloc_fork_child): Likewise.
46965         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46966         (_svcauth_des): Likewise.
46967         * inet/inet_lnaof.c (inet_lnaof): Likewise.
46968         * inet/inet_net.c (inet_network): Likewise.
46969         * inet/inet_netof.c (inet_netof): Likewise.
46970         * inet/rcmd.c (__validuser2_sa): Likewise.
46971         * io/fts.c (fts_open): Likewise.
46972         (fts_load): Likewise.
46973         (fts_close): Likewise.
46974         (fts_read): Likewise.
46975         (fts_children): Likewise.
46976         (fts_build): Likewise.
46977         (fts_stat): Likewise.
46978         (fts_sort): Likewise.
46979         (fts_alloc): Likewise.
46980         (fts_lfree): Likewise.
46981         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46982         (_IO_file_xsgetn): Likewise.
46983         (_IO_file_xsgetn_mmap): Likewise.
46984         * libio/iofopncook.c (_IO_cookie_read): Likewise.
46985         (_IO_cookie_write): Likewise.
46986         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46987         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46988         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46989         * malloc/obstack.c (_obstack_begin): Likewise.
46990         (_obstack_begin_1): Likewise.
46991         (_obstack_newchunk): Likewise.
46992         (_obstack_allocated_p): Likewise.
46993         (obstack_free): Likewise.
46994         (_obstack_memory_used): Likewise.
46995         * misc/getttyent.c (getttynam): Likewise.
46996         (getttyent): Likewise.
46997         (skip): Likewise.
46998         (value): Likewise.
46999         * misc/getusershell.c (initshells): Likewise.
47000         * misc/syslog.c (__vsyslog_chk): Likewise.
47001         * misc/ttyslot.c (ttyslot): Likewise.
47002         * nis/nis_hash.c (__nis_hash): Likewise.
47003         * posix/fnmatch_loop.c (FCT): Likewise.
47004         * posix/getconf.c (print_all): Likewise.
47005         (main): Likewise.
47006         * posix/getopt.c (exchange): Likewise.
47007         * posix/glob.c (globfree): Likewise.
47008         (prefix_array): Likewise.
47009         (__glob_pattern_type): Likewise.
47010         * resolv/arpa/nameser.h (NS_GET16): Likewise.
47011         (NS_GET32): Likewise.
47012         (NS_PUT16): Likewise.
47013         (NS_PUT32): Likewise.
47014         * resolv/gethnamaddr.c (getanswer): Likewise.
47015         (gethostbyname2): Likewise.
47016         (gethostbyaddr): Likewise.
47017         (_gethtent): Likewise.
47018         (_gethtbyname2): Likewise.
47019         (_gethtbyaddr): Likewise.
47020         * resolv/ns_print.c (dst_s_get_int16): Likewise.
47021         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
47022         * resolv/res_init.c (__res_vinit): Likewise.
47023         (net_mask): Likewise.
47024         * resolv/res_mkquery.c (outchar): Likewise.
47025         (PRINT): Likewise.
47026         * stdio-common/printf_fp.c (outchar): Likewise.
47027         (PRINT): Likewise.
47028         * stdio-common/printf_fphex.c (outchar): Likewise.
47029         (PRINT): Likewise.
47030         * stdio-common/printf_size.c (outchar): Likewise.
47031         (PRINT): Likewise.
47032         * stdio-common/test_rdwr.c (main): Likewise.
47033         * stdio-common/tfformat.c (matches): Likewise.
47034         * stdio-common/vfprintf.c (outchar): Likewise.
47035         (printf_unknown): Likewise.
47036         (buffered_vfprintf): Likewise.
47037         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47038         * stdio-common/xbug.c (AppendToBuffer): Likewise.
47039         (ReadFile): Likewise.
47040         * stdlib/qsort.c (SWAP): Likewise.
47041         (_quicksort): Likewise.
47042         * stdlib/setenv.c (__add_to_environ): Likewise.
47043         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47044         * stdlib/strtol_l.c (__strtol_l): Likewise.
47045         * stdlib/tst-strtod.c (main): Likewise.
47046         * stdlib/tst-strtol.c (main): Likewise.
47047         * stdlib/tst-strtoll.c (main): Likewise.
47048         * string/bits/string2.h (__strcmp_cc): Likewise.
47049         (__strcmp_cg): Likewise.
47050         (__strcspn_c1): Likewise.
47051         (__strcspn_c2): Likewise.
47052         (__strcspn_c3): Likewise.
47053         (__strspn_c1): Likewise.
47054         (__strspn_c2): Likewise.
47055         (__strspn_c3): Likewise.
47056         (__strsep_1c): Likewise.
47057         (__strsep_2c): Likewise.
47058         (__strsep_3c): Likewise.
47059         * string/memccpy.c (__memccpy): Likewise.
47060         * string/stpcpy.c (__stpcpy): Likewise.
47061         * string/strcmp.c (strcmp): Likewise.
47062         * string/strrchr.c (strrchr): Likewise.
47063         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
47064         Likewise.
47065         * sysdeps/mach/hurd/getcwd.c
47066         (_hurd_canonicalize_directory_name_internal): Likewise.
47067         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
47068         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
47069         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
47070         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
47071         Likewise, in both definitions.
47072         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
47073         definitions.
47074         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
47075         64] (__bswap_64): Likewise.
47076         * time/test_time.c (main): Likewise.
47077         * time/tzfile.c (__tzfile_read): Likewise.
47078         (__tzfile_compute): Likewise.
47079         * time/tzset.c (__tzset_parse_tz): Likewise.
47080         (tzset_internal): Likewise.
47081         (compute_change): Likewise.
47082         * wcsmbs/wcscat.c (__wcscat): Likewise.
47083         * wcsmbs/wcschr.c (wcschr): Likewise.
47084         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
47085         * wcsmbs/wcscspn.c (wcscspn): Likewise.
47086         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
47087         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
47088         * wcsmbs/wcsspn.c (wcsspn): Likewise.
47089         * wcsmbs/wcsstr.c (wcsstr): Likewise.
47090         * wcsmbs/wmemchr.c (wmemchr): Likewise.
47091         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47092         * wcsmbs/wmemset.c (wmemset): Likewise.
47094 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
47096         * scripts/config.guess: Update to version 2013-05-16.
47097         * scripts/config.sub: Update to version 2013-04-24.
47098         * scripts/install-sh: Update to version 2011-11-20.07.
47099         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
47100         * scripts/move-if-change: Update to version 2012-01-06 07:23.
47102 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
47104         * debug/fgetws_u_chk.c: Fix leading whitespaces.
47105         * elf/sln.c: Likewise.
47106         * hurd/hurd/ioctl.h: Likewise.
47107         * hurd/hurdmalloc.c: Likewise.
47108         * hurd/xattr.c: Likewise.
47109         * include/shlib-compat.h: Likewise.
47110         * inet/ruserpass.c: Likewise.
47111         * libio/iofgets_u.c: Likewise.
47112         * libio/iofgetws_u.c: Likewise.
47113         * locale/programs/ld-identification.c: Likewise.
47114         * locale/programs/ld-time.c: Likewise.
47115         * mach/msg-destroy.c: Likewise.
47116         * nss/nss_files/files-netgrp.c: Likewise.
47117         * resolv/res_data.c: Likewise.
47118         * soft-fp/op-1.h: Likewise.
47119         * soft-fp/op-2.h: Likewise.
47120         * soft-fp/op-4.h: Likewise.
47121         * soft-fp/op-common.h: Likewise.
47122         * stdio-common/printf_fphex.c: Likewise.
47123         * stdlib/strtod_l.c: Likewise.
47124         * sunrpc/rpc/clnt.h: Likewise.
47125         * sysdeps/generic/framestate.c: Likewise.
47126         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47127         * sysdeps/i386/bsd-setjmp.S: Likewise.
47128         * sysdeps/i386/__longjmp.S: Likewise.
47129         * sysdeps/i386/setjmp.S: Likewise.
47130         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47131         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47132         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47133         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47134         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47135         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47136         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47137         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47138         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47139         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47140         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47141         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47142         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47143         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47144         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47145         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47146         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47147         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
47148         * sysdeps/ieee754/support.c: Likewise.
47149         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47150         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
47151         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
47152         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
47153         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
47154         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
47155         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
47156         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
47157         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
47158         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
47159         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
47160         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
47161         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
47162         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
47163         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
47164         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
47165         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47168 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
47170         * posix/transbug.c: Remove executable mode.
47172 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
47174         * crypt/speeds.c: Remove trailing whitespace.
47175         * dlfcn/default.c: Likewise.
47176         * elf/ifuncdep2.c: Likewise.
47177         * elf/ifuncmain1.c: Likewise.
47178         * elf/ifuncmain1vis.c: Likewise.
47179         * elf/testobj.h: Likewise.
47180         * elf/tst-stackguard1.c: Likewise.
47181         * gmon/sys/gmon.h: Likewise.
47182         * hurd/hurdmsg.c: Likewise.
47183         * hurd/new-fd.c: Likewise.
47184         * hurd/ports-get.c: Likewise.
47185         * iconvdata/ibm1008_420.c: Likewise.
47186         * inet/tst-getni1.c: Likewise.
47187         * inet/tst-getni2.c: Likewise.
47188         * libio/ioungetc.c: Likewise.
47189         * libio/wfiledoalloc.c: Likewise.
47190         * manual/libm-err-tab.pl: Likewise.
47191         * math/w_dremf.c: Likewise.
47192         * misc/ftruncate.c: Likewise.
47193         * posix/bug-glob2.c: Likewise.
47194         * posix/tst-pcre.c: Likewise.
47195         * posix/wait4.c: Likewise.
47196         * resolv/README: Likewise.
47197         * resolv/res_debug.h: Likewise.
47198         * resolv/tst-inet_ntop.c: Likewise.
47199         * setjmp/bug269-setjmp.c: Likewise.
47200         * soft-fp/extended.h: Likewise.
47201         * soft-fp/op-1.h: Likewise.
47202         * soft-fp/op-2.h: Likewise.
47203         * soft-fp/op-4.h: Likewise.
47204         * soft-fp/op-8.h: Likewise.
47205         * soft-fp/testit.c: Likewise.
47206         * stdio-common/bug16.c: Likewise.
47207         * stdlib/random.c: Likewise.
47208         * sunrpc/rpcsvc/rquota.x: Likewise.
47209         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
47210         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47211         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47212         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47213         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47214         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47215         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47216         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47217         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47218         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47219         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47220         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47221         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47222         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47223         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47224         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47225         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47226         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47227         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47228         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47229         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47230         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47231         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
47232         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47233         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47234         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47235         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47236         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47237         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47238         * sysdeps/ieee754/s_lib_version.c: Likewise.
47239         * sysdeps/mach/hurd/check_fds.c: Likewise.
47240         * sysdeps/mach/hurd/getsockname.c: Likewise.
47241         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
47242         * sysdeps/mach/hurd/recvfrom.c: Likewise.
47243         * sysdeps/powerpc/bits/link.h: Likewise.
47244         * sysdeps/powerpc/dl-procinfo.c: Likewise.
47245         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
47246         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
47247         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
47248         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47249         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47250         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
47251         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47252         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
47253         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47254         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
47255         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47256         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
47257         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47258         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47259         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47260         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47261         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47262         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47263         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47264         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47265         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
47266         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47267         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47268         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
47269         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47270         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47271         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47272         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47273         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47274         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47275         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47276         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47277         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47278         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
47279         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47280         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
47281         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47282         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
47283         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
47284         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
47285         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
47286         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
47287         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
47288         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47289         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
47290         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
47291         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47292         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
47293         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
47294         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47295         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47296         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47297         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47298         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
47299         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
47300         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
47301         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47302         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
47303         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
47304         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
47305         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
47306         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
47307         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47308         * sysdeps/powerpc/sysdep.h: Likewise.
47309         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47310         * sysdeps/s390/s390-64/sub_n.S: Likewise.
47311         * sysdeps/sh/dl-trampoline.S: Likewise.
47312         * sysdeps/sh/memset.S: Likewise.
47313         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
47314         * sysdeps/sh/strlen.S: Likewise.
47315         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
47316         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
47317         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
47318         * sysdeps/sparc/sparc32/rem.S: Likewise.
47319         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
47320         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
47321         * sysdeps/sparc/sparc32/strchr.S: Likewise.
47322         * sysdeps/sparc/sparc32/udiv.S: Likewise.
47323         * sysdeps/sparc/sparc32/urem.S: Likewise.
47324         * sysdeps/sparc/sparc64/add_n.S: Likewise.
47325         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47326         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
47327         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
47328         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
47329         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
47330         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
47331         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
47332         * sysdeps/unix/bsd/times.c: Likewise.
47333         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
47334         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
47335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47338         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
47339         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47340         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
47341         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
47342         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
47343         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
47344         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47345         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
47346         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47347         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47348         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
47349         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47350         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
47351         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
47352         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
47353         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
47354         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
47355         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47356         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
47357         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
47358         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
47359         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
47360         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47361         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
47362         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
47363         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
47364         * sysdeps/x86_64/strcspn.S: Likewise.
47366 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47368         * locale/C-translit.h: Revert #include <stdint.h> because this is a
47369         generated file.  Regenerate properly from gen-translit.pl.
47370         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
47371         locale/C-translit.h.
47373 2013-06-05  Andreas Schwab  <schwab@suse.de>
47375         [BZ #15100]
47376         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
47377         week as 6 instead of -1.
47378         * time/tst-strptime.c (day_tests): Add test case.
47380 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47382         * sysdeps/generic/math_private.h
47383         (libc_feholdexcept_setround_53bit): Replace with
47384         libc_feholdsetround_53bit.
47385         (libc_feupdateenv_53bit): Replace with
47386         libc_feresetround_53bit.
47387         (SET_RESTORE_ROUND_53BIT): Adjust.
47389 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47391         * string/test-strchrnul.c: Add copyright header.
47393         * posix/tst-getaddrinfo4.c: Increase test timeout.
47395 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
47397         [BZ #15536]
47398         * math/libm-test.inc (MAX_EXP): Remove
47399         (MIN_EXP): Define.
47400         (ulp): Use MIN_EXP - MANT_DIG.
47401         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
47403 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
47405         * po/be.po: Revert last change.
47406         * po/zh_CN.po: Likewise.
47407         * po/header.pot: Likewise.
47409 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
47411         * Makefile ($(common-objpfx)linkobj/libc.so): Define
47412         link-libc-deps to empty as target-specific variable.
47413         * Makerules (link-libc-args): New variable.
47414         (libc-for-link): Likewise.
47415         (link-libc-deps): Likewise.
47416         (lib%.so): Depend on $(link-libc-deps).  Link with
47417         $(link-libc-args).
47418         (build-module): Link with $(link-libc-args).
47419         (build-module-asneeded): Likewise.
47420         (build-module-helper-objlist): Filter out $(link-libc-deps) from
47421         list of objects.
47422         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
47423         target-specific variable.
47424         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
47425         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
47426         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
47427         libc.
47428         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
47429         libc and ld.so.
47430         ($(objpfx)libpcprofile.so): Likewise.
47431         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
47432         libc_nonshared.a.
47433         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
47434         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
47435         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
47436         $(link-libc-deps).
47437         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
47438         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
47439         * login/Makefile ($(objpfx)libutil.so): Likewise.
47440         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
47441         * math/Makefile ($(objpfx)libm.so): Likewise.
47442         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
47443         $(objpfx)libnsl.so): Define libc-for-link as target-specific
47444         variable instead of depending directly on libc.
47445         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
47446         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
47447         $(link-libc-deps).
47448         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
47449         libc.
47450         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
47451         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
47452         ($(objpfx)libanl.so): Likewise.
47453         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
47454         ld.so.
47455         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
47456         $(link-libc-deps).
47457         * sysdeps/i386/fpu/Makefile: Remove file.
47458         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
47459         ($(objpfx)libm.so): Remove dependency on ld.so.
47461 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
47463         [BZ # 15553]
47464         * nis/yp_xdr.c (XDRMAXNAME): Define.
47465         (XDRMAXRECORD): Define.
47466         (xdr_domainname): Use XDRMAXNAME.
47467         (xdr_mapname): Likewise.
47468         (xdr_peername): Likewise.
47469         (xdr_keydat): Use XDRMAXRECORD.
47470         (xdr_valdat): Likewise.
47472 2013-05-30  Jeff Law  <law@redhat.com>
47474         [BZ #14256]
47475         * manual/errno.texi (ESTALE): Update to account for more than
47476         just NFS file systems.
47477         * sysdeps/gnu/errlist.c: Regenerated.
47479 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47481         [BZ #15465]
47482         * elf/Makefile (tests): Add tst-null-argv.
47483         (modules-names):  Add tst-null-argv-lib.
47484         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
47485         (tst-null-argv-ENV): Set environment for tst-null-argv.
47486         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
47487         (RTLD_PROGNAME): New macro.
47488         * elf/tst-null-argv.c: New test case.
47489         * elf/tst-null-argv-lib.c: Library for test case.
47490         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
47491         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
47492         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
47493         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
47494         * elf/dl-init.c (call_init): Likewise.
47495         (_dl_init): Likewise.
47496         * elf/dl-load.c (print_search_path): Likewise.
47497         (_dl_map_object): Likewise.
47498         * elf/dl-lookup.c (do_lookup_x): Likewise.
47499         (add_dependency): Likewise.
47500         (_dl_lookup_symbol_x): Likewise.
47501         (_dl_debug_bindings): Likewise.
47502         * elf/dl-open.c (_dl_show_scope): Likewise.
47503         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47504         * elf/dl-version.c (match_symbol): Likewise.
47505         (_dl_check_map_versions): Likewise.
47506         * elf/rtld.c (dl_main): Likewise.
47507         (print_unresolved): Use RTLD_PROGNAME.
47508         (print_missing_version): Likewise.
47509         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
47510         (elf_machine_rela): Likewise.
47511         * sysdeps/powerpc/powerpc32/dl-machine.c
47512         (__process_machine_rela): Likewise.
47513         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47514         Likewise.
47515         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47516         Likewise.
47517         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
47518         Likewise.
47519         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47520         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
47521         Likewise.
47522         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
47523         Likewise.
47524         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47526 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
47528         * po/be.po: Add descriptive title.
47529         * po/zh_CN.po: Likewise.
47530         * po/header.pot: Likewise.
47532 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
47534         * locale/programs/locarchive.c (create_archive): Inlucde fname in
47535         error message.
47536         (enlarge_archive): Likewise.
47538 2013-05-28  Ben North  <ben@redfrontdoor.org>
47540         * manual/arith.texi (frexp): It is the magnitude of the return
47541         value which lies in [0.5, 1), not the return value itself.
47543 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47547 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
47549         * stdio-common/bug26.c (main): Correct fscanf template.
47551         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
47552         declare _dl_skip_args.
47554         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
47555         Don't declare.
47557         * manual/platform.texi: Add missing @end deftypefun.
47559 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47561         [BZ #15529]
47562         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
47563         bit of mantissa of 2^16382.
47564         * math/libm-test.inc (hypot_test_data): Add more tests.
47566         * math/libm-test.inc: Add drem and pow10 to list of tested
47567         functions.
47568         (pow10_test): New function.
47569         (drem_test): Likewise.
47570         (drem_test_tonearest): Likewise.
47571         (drem_test_towardzero): Likewise.
47572         (drem_test_downward): Likewise.
47573         (drem_test_upward): Likewise.
47574         (main): Call the new functions.
47576         * math/libm-test.inc (finite_test_data): Remove.
47577         (finite_test): Run tests from isfinite_test_data.
47578         (gamma_test_data): Remove.
47579         (gamma_test): Run tests from lgamma_test_data.
47580         * sysdeps/i386/fpu/libm-test-ulps: Update.
47581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47583 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47585         * manual/platform.texi: Add PowerPC PPR function set documentation.
47586         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
47587         implementation.
47589 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
47591         * math/libm-test.inc (MAX_EXP): Define.
47592         (ULPDIFF): Define.
47593         (ulp): New function.
47594         (check_float_internal): Use ULPDIFF.
47595         (cpow_test): Disable failing test.
47596         (check_ulp): Test ulp() implemetnation.
47597         (main): Call check_ulp before starting tests.
47599 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47601         * math/gen-libm-test.pl (generate_testfile): Do not handle
47602         START_DATA and END_DATA.
47603         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
47604         END_DATA.
47605         (acos_tonearest_test_data): Likewise.
47606         (acos_towardzero_test_data): Likewise.
47607         (acos_downward_test_data): Likewise.
47608         (acos_upward_test_data): Likewise.
47609         (acosh_test_data): Likewise.
47610         (asin_test_data): Likewise.
47611         (asin_tonearest_test_data): Likewise.
47612         (asin_towardzero_test_data): Likewise.
47613         (asin_downward_test_data): Likewise.
47614         (asin_upward_test_data): Likewise.
47615         (asinh_test_data): Likewise.
47616         (atan_test_data): Likewise.
47617         (atanh_test_data): Likewise.
47618         (atan2_test_data): Likewise.
47619         (cabs_test_data): Likewise.
47620         (cacos_test_data): Likewise.
47621         (cacosh_test_data): Likewise.
47622         (carg_test_data): Likewise.
47623         (casin_test_data): Likewise.
47624         (casinh_test_data): Likewise.
47625         (catan_test_data): Likewise.
47626         (catanh_test_data): Likewise.
47627         (cbrt_test_data): Likewise.
47628         (ccos_test_data): Likewise.
47629         (ccosh_test_data): Likewise.
47630         (ceil_test_data): Likewise.
47631         (cexp_test_data): Likewise.
47632         (cimag_test_data): Likewise.
47633         (clog_test_data): Likewise.
47634         (clog10_test_data): Likewise.
47635         (conj_test_data): Likewise.
47636         (copysign_test_data): Likewise.
47637         (cos_test_data): Likewise.
47638         (cos_tonearest_test_data): Likewise.
47639         (cos_towardzero_test_data): Likewise.
47640         (cos_downward_test_data): Likewise.
47641         (cos_upward_test_data): Likewise.
47642         (cosh_test_data): Likewise.
47643         (cosh_tonearest_test_data): Likewise.
47644         (cosh_towardzero_test_data): Likewise.
47645         (cosh_downward_test_data): Likewise.
47646         (cosh_upward_test_data): Likewise.
47647         (cpow_test_data): Likewise.
47648         (cproj_test_data): Likewise.
47649         (creal_test_data): Likewise.
47650         (csin_test_data): Likewise.
47651         (csinh_test_data): Likewise.
47652         (csqrt_test_data): Likewise.
47653         (ctan_test_data): Likewise.
47654         (ctan_tonearest_test_data): Likewise.
47655         (ctan_towardzero_test_data): Likewise.
47656         (ctan_downward_test_data): Likewise.
47657         (ctan_upward_test_data): Likewise.
47658         (ctanh_test_data): Likewise.
47659         (ctanh_tonearest_test_data): Likewise.
47660         (ctanh_towardzero_test_data): Likewise.
47661         (ctanh_downward_test_data): Likewise.
47662         (ctanh_upward_test_data): Likewise.
47663         (erf_test_data): Likewise.
47664         (erfc_test_data): Likewise.
47665         (exp_test_data): Likewise.
47666         (exp_tonearest_test_data): Likewise.
47667         (exp_towardzero_test_data): Likewise.
47668         (exp_downward_test_data): Likewise.
47669         (exp_upward_test_data): Likewise.
47670         (exp10_test_data): Likewise.
47671         (exp2_test_data): Likewise.
47672         (expm1_test_data): Likewise.
47673         (fabs_test_data): Likewise.
47674         (fdim_test_data): Likewise.
47675         (finite_test_data): Likewise.
47676         (floor_test_data): Likewise.
47677         (fma_test_data): Likewise.
47678         (fma_towardzero_test_data): Likewise.
47679         (fma_downward_test_data): Likewise.
47680         (fma_upward_test_data): Likewise.
47681         (fmax_test_data): Likewise.
47682         (fmin_test_data): Likewise.
47683         (fmod_test_data): Likewise.
47684         (fpclassify_test_data): Likewise.
47685         (frexp_test_data): Likewise.
47686         (gamma_test_data): Likewise.
47687         (hypot_test_data): Likewise.
47688         (ilogb_test_data): Likewise.
47689         (isfinite_test_data): Likewise.
47690         (isgreater_test_data): Likewise.
47691         (isgreaterequal_test_data): Likewise.
47692         (isinf_test_data): Likewise.
47693         (isless_test_data): Likewise.
47694         (islessequal_test_data): Likewise.
47695         (islessgreater_test_data): Likewise.
47696         (isnan_test_data): Likewise.
47697         (isnormal_test_data): Likewise.
47698         (issignaling_test_data): Likewise.
47699         (isunordered_test_data): Likewise.
47700         (j0_test_data): Likewise.
47701         (j1_test_data): Likewise.
47702         (jn_test_data): Likewise.
47703         (ldexp_test_data): Likewise.
47704         (lgamma_test_data): Likewise.
47705         (lrint_test_data): Likewise.
47706         (lrint_tonearest_test_data): Likewise.
47707         (lrint_towardzero_test_data): Likewise.
47708         (lrint_downward_test_data): Likewise.
47709         (lrint_upward_test_data): Likewise.
47710         (llrint_test_data): Likewise.
47711         (llrint_tonearest_test_data): Likewise.
47712         (llrint_towardzero_test_data): Likewise.
47713         (llrint_downward_test_data): Likewise.
47714         (llrint_upward_test_data): Likewise.
47715         (log_test_data): Likewise.
47716         (log10_test_data): Likewise.
47717         (log1p_test_data): Likewise.
47718         (log2_test_data): Likewise.
47719         (logb_test_data): Likewise.
47720         (logb_downward_test_data): Likewise.
47721         (lround_test_data): Likewise.
47722         (llround_test_data): Likewise.
47723         (modf_test_data): Likewise.
47724         (nearbyint_test_data): Likewise.
47725         (nextafter_test_data): Likewise.
47726         (nexttoward_test_data): Likewise.
47727         (pow_test_data): Likewise.
47728         (pow_tonearest_test_data): Likewise.
47729         (pow_towardzero_test_data): Likewise.
47730         (pow_downward_test_data): Likewise.
47731         (pow_upward_test_data): Likewise.
47732         (remainder_test_data): Likewise.
47733         (remainder_tonearest_test_data): Likewise.
47734         (remainder_towardzero_test_data): Likewise.
47735         (remainder_downward_test_data): Likewise.
47736         (remainder_upward_test_data): Likewise.
47737         (remquo_test_data): Likewise.
47738         (rint_test_data): Likewise.
47739         (rint_tonearest_test_data): Likewise.
47740         (rint_towardzero_test_data): Likewise.
47741         (rint_downward_test_data): Likewise.
47742         (rint_upward_test_data): Likewise.
47743         (round_test_data): Likewise.
47744         (scalb_test_data): Likewise.
47745         (scalbn_test_data): Likewise.
47746         (scalbln_test_data): Likewise.
47747         (signbit_test_data): Likewise.
47748         (sin_test_data): Likewise.
47749         (sin_tonearest_test_data): Likewise.
47750         (sin_towardzero_test_data): Likewise.
47751         (sin_downward_test_data): Likewise.
47752         (sin_upward_test_data): Likewise.
47753         (sincos_test_data): Likewise.
47754         (sinh_test_data): Likewise.
47755         (sinh_tonearest_test_data): Likewise.
47756         (sinh_towardzero_test_data): Likewise.
47757         (sinh_downward_test_data): Likewise.
47758         (sinh_upward_test_data): Likewise.
47759         (sqrt_test_data): Likewise.
47760         (tan_test_data): Likewise.
47761         (tan_tonearest_test_data): Likewise.
47762         (tan_towardzero_test_data): Likewise.
47763         (tan_downward_test_data): Likewise.
47764         (tan_upward_test_data): Likewise.
47765         (tanh_test_data): Likewise.
47766         (tgamma_test_data): Likewise.
47767         (trunc_test_data): Likewise.
47768         (y0_test_data): Likewise.
47769         (y1_test_data): Likewise.
47770         (yn_test_data): Likewise.
47771         (significand_test_data): Likewise.
47773         * math/gen-libm-test.pl (@functions): Remove variable.
47774         (generate_testfile): Don't handle START and END lines.
47775         * math/libm-test.inc (START): New macro.
47776         (END): Likewise.
47777         (END_COMPLEX): Likewise.
47778         (acos_test): Use END macro without arguments.
47779         (acos_test_tonearest): Likewise.
47780         (acos_test_towardzero): Likewise.
47781         (acos_test_downward): Likewise.
47782         (acos_test_upward): Likewise.
47783         (acosh_test): Likewise.
47784         (asin_test): Likewise.
47785         (asin_test_tonearest): Likewise.
47786         (asin_test_towardzero): Likewise.
47787         (asin_test_downward): Likewise.
47788         (asin_test_upward): Likewise.
47789         (asinh_test): Likewise.
47790         (atan_test): Likewise.
47791         (atanh_test): Likewise.
47792         (atan2_test): Likewise.
47793         (cabs_test): Likewise.
47794         (cacos_test): Use END_COMPLEX macro without arguments.
47795         (cacosh_test): Likewise.
47796         (carg_test): Use END macro without arguments.
47797         (casin_test): Use END_COMPLEX macro without arguments.
47798         (casinh_test): Likewise.
47799         (catan_test): Likewise.
47800         (catanh_test): Likewise.
47801         (cbrt_test): Use END macro without arguments.
47802         (ccos_test): Use END_COMPLEX macro without arguments.
47803         (ccosh_test): Likewise.
47804         (ceil_test): Use END macro without arguments.
47805         (cexp_test): Use END_COMPLEX macro without arguments.
47806         (cimag_test): Use END macro without arguments.
47807         (clog_test): Use END_COMPLEX macro without arguments.
47808         (clog10_test): Likewise.
47809         (conj_test): Likewise.
47810         (copysign_test): Use END macro without arguments.
47811         (cos_test): Likewise.
47812         (cos_test_tonearest): Likewise.
47813         (cos_test_towardzero): Likewise.
47814         (cos_test_downward): Likewise.
47815         (cos_test_upward): Likewise.
47816         (cosh_test): Likewise.
47817         (cosh_test_tonearest): Likewise.
47818         (cosh_test_towardzero): Likewise.
47819         (cosh_test_downward): Likewise.
47820         (cosh_test_upward): Likewise.
47821         (cpow_test): Use END_COMPLEX macro without arguments.
47822         (cproj_test): Likewise.
47823         (creal_test): Use END macro without arguments.
47824         (csin_test): Use END_COMPLEX macro without arguments.
47825         (csinh_test): Likewise.
47826         (csqrt_test): Likewise.
47827         (ctan_test): Likewise.
47828         (ctan_test_tonearest): Likewise.
47829         (ctan_test_towardzero): Likewise.
47830         (ctan_test_downward): Likewise.
47831         (ctan_test_upward): Likewise.
47832         (ctanh_test): Likewise.
47833         (ctanh_test_tonearest): Likewise.
47834         (ctanh_test_towardzero): Likewise.
47835         (ctanh_test_downward): Likewise.
47836         (ctanh_test_upward): Likewise.
47837         (erf_test): Use END macro without arguments.
47838         (erfc_test): Likewise.
47839         (exp_test): Likewise.
47840         (exp_test_tonearest): Likewise.
47841         (exp_test_towardzero): Likewise.
47842         (exp_test_downward): Likewise.
47843         (exp_test_upward): Likewise.
47844         (exp10_test): Likewise.
47845         (exp2_test): Likewise.
47846         (expm1_test): Likewise.
47847         (fabs_test): Likewise.
47848         (fdim_test): Likewise.
47849         (finite_test): Likewise.
47850         (floor_test): Likewise.
47851         (fma_test): Likewise.
47852         (fma_test_towardzero): Likewise.
47853         (fma_test_downward): Likewise.
47854         (fma_test_upward): Likewise.
47855         (fmax_test): Likewise.
47856         (fmin_test): Likewise.
47857         (fmod_test): Likewise.
47858         (fpclassify_test): Likewise.
47859         (frexp_test): Likewise.
47860         (gamma_test): Likewise.
47861         (hypot_test): Likewise.
47862         (ilogb_test): Likewise.
47863         (isfinite_test): Likewise.
47864         (isgreater_test): Likewise.
47865         (isgreaterequal_test): Likewise.
47866         (isinf_test): Likewise.
47867         (isless_test): Likewise.
47868         (islessequal_test): Likewise.
47869         (islessgreater_test): Likewise.
47870         (isnan_test): Likewise.
47871         (isnormal_test): Likewise.
47872         (issignaling_test): Likewise.
47873         (isunordered_test): Likewise.
47874         (j0_test): Likewise.
47875         (j1_test): Likewise.
47876         (jn_test): Likewise.
47877         (ldexp_test): Likewise.
47878         (lgamma_test): Likewise.
47879         (lrint_test): Likewise.
47880         (lrint_test_tonearest): Likewise.
47881         (lrint_test_towardzero): Likewise.
47882         (lrint_test_downward): Likewise.
47883         (lrint_test_upward): Likewise.
47884         (llrint_test): Likewise.
47885         (llrint_test_tonearest): Likewise.
47886         (llrint_test_towardzero): Likewise.
47887         (llrint_test_downward): Likewise.
47888         (llrint_test_upward): Likewise.
47889         (log_test): Likewise.
47890         (log10_test): Likewise.
47891         (log1p_test): Likewise.
47892         (log2_test): Likewise.
47893         (logb_test): Likewise.
47894         (logb_test_downward): Likewise.
47895         (lround_test): Likewise.
47896         (llround_test): Likewise.
47897         (modf_test): Likewise.
47898         (nearbyint_test): Likewise.
47899         (nextafter_test): Likewise.
47900         (nexttoward_test): Likewise.
47901         (pow_test): Likewise.
47902         (pow_test_tonearest): Likewise.
47903         (pow_test_towardzero): Likewise.
47904         (pow_test_downward): Likewise.
47905         (pow_test_upward): Likewise.
47906         (remainder_test): Likewise.
47907         (remainder_test_tonearest): Likewise.
47908         (remainder_test_towardzero): Likewise.
47909         (remainder_test_downward): Likewise.
47910         (remainder_test_upward): Likewise.
47911         (remquo_test): Likewise.
47912         (rint_test): Likewise.
47913         (rint_test_tonearest): Likewise.
47914         (rint_test_towardzero): Likewise.
47915         (rint_test_downward): Likewise.
47916         (rint_test_upward): Likewise.
47917         (round_test): Likewise.
47918         (scalb_test): Likewise.
47919         (scalbn_test): Likewise.
47920         (scalbln_test): Likewise.
47921         (signbit_test): Likewise.
47922         (sin_test): Likewise.
47923         (sin_test_tonearest): Likewise.
47924         (sin_test_towardzero): Likewise.
47925         (sin_test_downward): Likewise.
47926         (sin_test_upward): Likewise.
47927         (sincos_test): Likewise.
47928         (sinh_test): Likewise.
47929         (sinh_test_tonearest): Likewise.
47930         (sinh_test_towardzero): Likewise.
47931         (sinh_test_downward): Likewise.
47932         (sinh_test_upward): Likewise.
47933         (sqrt_test): Likewise.
47934         (tan_test): Likewise.
47935         (tan_test_tonearest): Likewise.
47936         (tan_test_towardzero): Likewise.
47937         (tan_test_downward): Likewise.
47938         (tan_test_upward): Likewise.
47939         (tanh_test): Likewise.
47940         (tgamma_test): Likewise.
47941         (trunc_test): Likewise.
47942         (y0_test): Likewise.
47943         (y1_test): Likewise.
47944         (yn_test): Likewise.
47945         (significand_test): Likewise.
47947 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
47949         [BZ #15381]
47950         * libio/genops.c (_IO_no_init): Initialize wide struct info.
47952 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47954         [BZ #14894]
47955         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47956         __ppc_mdoio and __ppc_mdoom.
47957         * manual/platform.texi: Document new functions __ppc_yield,
47958         __ppc_mdoio and __ppc_mdoom.
47960 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
47962         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47963         (main): Mention "tls" pseudo-hwcap is legacy.
47964         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47966 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47968         * math/gen-libm-test.pl (parse_args): Output only string of
47969         arguments as text for test name, not full call or descriptions of
47970         tests for extra outputs.
47971         (generate_testfile): Do not pass function name to parse_args.
47972         Generate this_func variable from START.
47973         * math/libm-test.inc (struct test_f_f_data): Rename test_name
47974         field to arg_str.
47975         (struct test_ff_f_data): Likewise.
47976         (test_ff_f_data_nexttoward): Likewise.
47977         (struct test_fi_f_data): Likewise.
47978         (struct test_fl_f_data): Likewise.
47979         (struct test_if_f_data): Likewise.
47980         (struct test_fff_f_data): Likewise.
47981         (struct test_c_f_data): Likewise.
47982         (struct test_f_f1_data): Likewise.  Remove field extra_name.
47983         (struct test_fF_f1_data): Likewise.
47984         (struct test_ffI_f1_data): Likewise.
47985         (struct test_c_c_data): Rename test_name field to arg_str.
47986         (struct test_cc_c_data): Likewise.
47987         (struct test_f_i_data): Likewise.
47988         (struct test_ff_i_data): Likewise.
47989         (struct test_f_l_data): Likewise.
47990         (struct test_f_L_data): Likewise.
47991         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
47992         and extra2_name.
47993         (COMMON_TEST_SETUP): New macro.
47994         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47995         (COMMON_TEST_CLEANUP): Likewise.
47996         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47997         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47998         macros.
47999         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
48000         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
48001         macros.
48002         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
48003         (RUN_TEST_fff_f): Take argument string.  Call new setup and
48004         cleanup macros.
48005         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
48006         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
48007         macros.
48008         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
48009         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
48010         macros.
48011         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48012         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
48013         cleanup macros.
48014         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48015         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
48016         cleanup macros.
48017         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48018         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
48019         cleanup macros.
48020         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48021         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
48022         macros.
48023         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
48024         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
48025         macros.
48026         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
48027         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
48028         macros.
48029         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
48030         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
48031         cleanup macros.
48032         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
48033         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
48034         cleanup macros.
48035         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
48036         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
48037         macros.
48038         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
48039         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
48040         cleanup macros.
48041         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
48042         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
48043         macros.
48044         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
48045         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
48046         macros.
48047         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
48048         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
48049         cleanup macros.
48050         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
48052 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
48054         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
48055         to _sifields.sigfault.
48056         (si_addr_lsb): Define new macro.
48057         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48058         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48059         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
48061 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
48063         [BZ #15441]
48064         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
48065         returns -1.
48066         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
48067         null return -1.
48068         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
48069         loading the domain.
48071 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48073         * math/gen-libm-test.pl (parse_args): Do not include expected
48074         result in test name.
48075         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
48076         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48077         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48078         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48079         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48082 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48084         * benchtests/Makefile: Sort function entries.
48086         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
48087         tanh, asinh, acosh, atanh.
48088         * benchtests/acos-inputs: New file.
48089         * benchtests/acosh-inputs: New file.
48090         * benchtests/asin-inputs: New file.
48091         * benchtests/asinh-inputs: New file.
48092         * benchtests/atanh-inputs: New file.
48093         * benchtests/cosh-inputs: New file.
48094         * benchtests/log-inputs: New file.
48095         * benchtests/sinh-inputs: New file.
48096         * benchtests/tanh-inputs: New file.
48098 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
48100         [BZ #15339]
48101         * posix/tst-getaddrinfo4.c: New test.
48102         * posix/Makefile (tests): Add it.
48104 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48106         [BZ #15339]
48107         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
48108         when no services were used.
48109         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
48110         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
48112 2013-05-21  Andreas Schwab  <schwab@suse.de>
48114         [BZ #15014]
48115         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
48116         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
48117         successful.
48118         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
48119         redundant variable declarations and reallocation of buffer when
48120         parsing as IPv6 address.  Always set NSS status when called from
48121         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
48122         buffer too small.  Correct computation of needed size.
48123         * nss/Makefile (tests): Add test-digits-dots.
48124         * nss/test-digits-dots.c: New test.
48126 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48128         * benchtests/Makefile: Remove instructions for adding
48129         benchmark tests.
48130         * benchtests/README: New file to explain how to execute and
48131         enhance the benchmark tests.
48133 2013-05-21  Andreas Schwab  <schwab@suse.de>
48135         [BZ #15493]
48136         * setjmp/Makefile (tests): Add tst-sigsetjmp.
48137         * setjmp/tst-sigsetjmp.c: New test.
48139 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48141         * sysdeps/x86_64/memset.S (memset): New implementation.
48142         (__bzero): Likewise.
48143         (__memset_tail): New function.
48145 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48147         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
48148         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
48149         __memcpy_sse2_unaligned ifunc selection.
48150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48151         Add memcpy-sse2-unaligned.S.
48152         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48153         Add: __memcpy_sse2_unaligned.
48155 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
48157         [BZ #15490]
48158         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48159         math_force_eval before restoring floating-point envrionment.
48160         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
48161         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
48162         Likewise.
48163         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
48164         <math_private.h>.
48165         (__nearbyintl): Use math_force_eval before restoring
48166         floating-point environment.
48167         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
48169         * math/gen-libm-test.pl (special_functions): Remove.
48170         (parse_args): Don't handle TEST_extra.  Handle functions with no
48171         return value.
48172         * math/libm-test.inc (struct test_sincos_data): Replace with
48173         struct test_fFF_11_data.
48174         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
48175         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
48176         (sincos_test_data): Change element type to struct
48177         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
48178         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
48179         RUN_TEST_LOOP_sincos.
48180         * math/README.libm-test: Don't mention special handling of
48181         individual functions.
48182         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
48183         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48184         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48185         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48186         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48189         * math/gen-libm-test.pl (get_variable): Remove function.
48190         (parse_args): Don't show pointer parameters to call in test
48191         names.  Use "extra output N" in test names for extra outputs
48192         rather than naming variables.
48194 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
48196         [BZ #15488]
48197         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
48198         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
48199         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
48200         double tests.
48201         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
48202         disable.
48203         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
48204         check_long_double.
48206         * math/gen-libm-test.pl (@tests): Remove variable.
48207         ($count): Likewise.
48208         (new_test): Remove function.
48209         (show_exceptions): New function.
48210         (special_functions): Use show_exceptions instead of new_test.
48211         (parse_args): Likewise.
48212         (generate_testfile): Pass only function name in generated call to
48213         print_max_error or print_complex_max_error.
48214         (get_ulps): Do not handle complex tests specially.
48215         (output_test): Rename to ...
48216         (get_all_ulps_for_test): ... this.  Return a string rather than
48217         printing to a file.  Require ulps to be present.
48218         (output_ulps): Generate arrays rather than #defines.
48219         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
48220         (struct ulp_data): New type.
48221         (BUILD_COMPLEX_ULP): Remove macro.
48222         (compare_ulp_data): New function.
48223         (find_ulps): Likewise.
48224         (find_test_ulps): Likewise.
48225         (find_function_ulps): Likewise.
48226         (find_complex_function_ulps): Likewise.
48227         (print_max_error): Determine allowed ulps using
48228         find_function_ulps.
48229         (print_complex_max_error): Determine allowed ulps using
48230         find_complex_function_ulps.
48231         (check_float_internal): Determine max ulps using find_test_ulps.
48232         (check_float): Do not take max_ulp parameter.  Update call to
48233         check_float_internal.
48234         (check_complex): Likewise.
48235         (check_int): Do not take max_ulp parameter.
48236         (check_long): Likewise.
48237         (check_bool): Likewise.
48238         (check_longlong): Likewise.
48239         (struct test_f_f_data): Remove max_ulp field.
48240         (struct test_ff_f_data): Likewise.
48241         (struct test_ff_f_data_nexttoward): Likewise.
48242         (struct test_fi_f_data): Likewise.
48243         (struct test_fl_f_data): Likewise.
48244         (struct test_if_f_data): Likewise.
48245         (struct test_fff_f_data): Likewise.
48246         (struct test_c_f_data): Likewise.
48247         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
48248         (struct test_fF_f1_data): Likewise.
48249         (struct test_ffI_f1_data): Likewise.
48250         (struct test_c_c_data): Remove max_ulp field.
48251         (struct test_cc_c_data): Likewise.
48252         (struct test_f_i_data): Likewise.
48253         (struct test_ff_i_data): Likewise.
48254         (struct test_f_l_data): Likewise.
48255         (struct test_f_L_data): Likewise.
48256         (struct test_sincos_data): Likewise.
48257         (RUN_TEST_f_f): Do not handle ulps.
48258         (RUN_TEST_LOOP_f_f): Likewise.
48259         (RUN_TEST_2_f): Likewise.
48260         (RUN_TEST_LOOP_2_f): Likewise.
48261         (RUN_TEST_fff_f): Likewise.
48262         (RUN_TEST_LOOP_fff_f): Likewise.
48263         (RUN_TEST_c_f): Likewise.
48264         (RUN_TEST_LOOP_c_f): Likewise.
48265         (RUN_TEST_f_f1): Likewise.
48266         (RUN_TEST_LOOP_f_f1): Likewise.
48267         (RUN_TEST_fF_f1): Likewise.
48268         (RUN_TEST_LOOP_fF_f1): Likewise.
48269         (RUN_TEST_fI_f1): Likewise.
48270         (RUN_TEST_LOOP_fI_f1): Likewise.
48271         (RUN_TEST_ffI_f1): Likewise.
48272         (RUN_TEST_LOOP_ffI_f1): Likewise.
48273         (RUN_TEST_c_c): Likewise.
48274         (RUN_TEST_LOOP_c_c): Likewise.
48275         (RUN_TEST_cc_c): Likewise.
48276         (RUN_TEST_LOOP_cc_c): Likewise.
48277         (RUN_TEST_f_i): Likewise.
48278         (RUN_TEST_LOOP_f_i): Likewise.
48279         (RUN_TEST_f_i_tg): Likewise.
48280         (RUN_TEST_LOOP_f_i_tg): Likewise.
48281         (RUN_TEST_ff_i_tg): Likewise.
48282         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48283         (RUN_TEST_f_b): Likewise.
48284         (RUN_TEST_LOOP_f_b): Likewise.
48285         (RUN_TEST_f_b_tg): Likewise.
48286         (RUN_TEST_LOOP_f_b_tg): Likewise.
48287         (RUN_TEST_f_l): Likewise.
48288         (RUN_TEST_LOOP_f_l): Likewise.
48289         (RUN_TEST_f_L): Likewise.
48290         (RUN_TEST_LOOP_f_L): Likewise.
48291         (RUN_TEST_sincos): Likewise.
48292         (RUN_TEST_LOOP_sincos): Likewise.
48294 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
48296         [BZ #15480]
48297         [BZ #15485]
48298         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
48299         main case of finite arguments, set rounding mode to FE_TONEAREST
48300         and discard exceptions.
48301         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
48302         exceptions.
48303         (remainder_tonearest_test_data): New variable.
48304         (remainder_test_tonearest): New function.
48305         (remainder_towardzero_test_data): New variable.
48306         (remainder_test_towardzero): New function.
48307         (remainder_downward_test_data): New variable.
48308         (remainder_test_downward): New function.
48309         (remainder_upward_test_data): New variable.
48310         (remainder_test_upward): New function.
48311         (main): Call the new test functions.
48313         * math/libm-test.inc (struct test_f_f1_data): Remove field
48314         extra_init.
48315         (struct test_fF_f1_data): Likewise.
48316         (struct test_ffI_f1_data): Likewise.
48317         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
48318         based on value of EXTRA_EXPECTED.
48319         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48320         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
48321         EXTRA_VAR based on value of EXTRA_EXPECTED.
48322         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48323         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
48324         EXTRA_VAR based on value of EXTRA_EXPECTED.
48325         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48326         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
48327         EXTRA_VAR based on value of EXTRA_EXPECTED.
48328         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48329         * math/gen-libm-test.pl (parse_args): Don't output initializers
48330         for extra output values.
48332         * math/libm-test.inc (check_int): Expect result to be exactly
48333         equal to expected value and do not handle ulps.
48334         (check_long): Likewise.
48335         (check_longlong): Likewise.
48337         * math/libm-test.inc (ceil_test_data): Test for "inexact"
48338         exceptions.
48339         (cimag_test_data): Likewise.
48340         (conj_test_data): Likewise.
48341         (copysign_test_data): Likewise.
48342         (cproj_test_data): Likewise.
48343         (creal_test_data): Likewise.
48344         (fabs_test_data): Likewise.
48345         (fdim_test_data): Likewise.
48346         (finite_test_data): Likewise.
48347         (floor_test_data): Likewise.
48348         (fmax_test_data): Likewise.
48349         (fmin_test_data): Likewise.
48350         (fmod_test_data): Likewise.
48351         (fpclassify_test_data): Likewise.
48352         (frexp_test_data): Likewise.
48353         (ilogb_test_data): Likewise.
48354         (isfinite_test_data): Likewise.
48355         (isgreater_test_data): Likewise.
48356         (isgreaterequal_test_data): Likewise.
48357         (isinf_test_data): Likewise.
48358         (isless_test_data): Likewise.
48359         (islessequal_test_data): Likewise.
48360         (islessgreater_test_data): Likewise.
48361         (isnan_test_data): Likewise.
48362         (isnormal_test_data): Likewise.
48363         (issignaling_test_data): Likewise.
48364         (isunordered_test_data): Likewise.
48365         (ldexp_test_data): Likewise.
48366         (lrint_test_data): Likewise.
48367         (lrint_test_data) [TEST_FLOAT]: Disable one test.
48368         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
48369         (lrint_tonearest_test_data): Test for "inexact" exceptions.
48370         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48371         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
48372         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48373         test input.
48374         (lrint_towardzero_test_data): Test for "inexact" exceptions.
48375         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48376         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
48377         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
48378         that test input.
48379         (lrint_downward_test_data): Test for "inexact" exceptions.
48380         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48381         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
48382         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48383         test input.
48384         (lrint_upward_test_data): Test for "inexact" exceptions.
48385         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
48386         test input.
48387         (llrint_test_data): Test for "inexact" exceptions.
48388         (llrint_test_data) [TEST_FLOAT]: Disable one test.
48389         (llrint_tonearest_test_data): Test for "inexact" exceptions.
48390         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48391         (llrint_towardzero_test_data): Test for "inexact" exceptions.
48392         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48393         (llrint_downward_test_data): Test for "inexact" exceptions.
48394         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48395         (llrint_upward_test_data): Test for "inexact" exceptions.
48396         (logb_test_data): Likewise.
48397         (logb_downward_test_data): Likewise.
48398         (nextafter_test_data): Likewise.
48399         (nexttoward_test_data): Likewise.
48400         (remainder_test_data): Likewise.
48401         (remquo_test_data): Likewise.
48402         (scalbn_test_data): Likewise.
48403         (scalbln_test_data): Likewise.
48404         (signbit_test_data): Likewise.
48405         (sqrt_test_data): Likewise.
48406         (significand_test_data): Likewise.
48408 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48410         [BZ #15424]
48411         * benchtests/bench-modf.c (struct args): Mark arg0 as
48412         volatile.
48413         * scripts/bench.pl: Mark members of struct args as volatile.
48415 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48417         [BZ # 15497]
48418         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
48419         negative infinity on POWER6 or lower.
48420         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
48422 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48424         [BZ #15442]
48425         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
48426         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
48427         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
48428         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
48429         (_FP_SETQNAN): New macro.
48430         (_FP_SETQNAN_SEMIRAW): Likewise.
48431         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
48432         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
48433         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
48434         (FP_EXTEND): Use _FP_FRAC_SNANP.
48435         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
48436         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
48437         into account.
48438         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48439         New macro.
48440         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48441         Likewise.
48443 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48445         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
48446         with DIVIDE_BY_ZERO_EXCEPTION.
48447         (gamma_test_data): Likewise.
48448         (lgamma_test_data): Likewise.
48449         (log_test_data): Likewise.
48450         (log10_test_data): Likewise.
48451         (log2_test_data): Likewise.
48452         (tgamma_test_data): Likewise.
48454         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
48455         (acos_test_tonearest): Likewise.
48456         (acos_test_towardzero): Likewise.
48457         (acos_test_downward): Likewise.
48458         (acos_test_upward): Likewise.
48459         (acosh_test): Likewise.
48460         (asin_test): Likewise.
48461         (asin_test_tonearest): Likewise.
48462         (asin_test_towardzero): Likewise.
48463         (asin_test_downward): Likewise.
48464         (asin_test_upward): Likewise.
48465         (asinh_test): Likewise.
48466         (atan_test): Likewise.
48467         (atanh_test): Likewise.
48468         (atan2_test): Likewise.
48469         (cabs_test): Likewise.
48470         (cacos_test): Likewise.
48471         (cacosh_test): Likewise.
48472         (casin_test): Likewise.
48473         (casinh_test): Likewise.
48474         (catan_test): Likewise.
48475         (catanh_test): Likewise.
48476         (cbrt_test): Likewise.
48477         (ccos_test): Likewise.
48478         (ccosh_test): Likewise.
48479         (cexp_test): Likewise.
48480         (clog_test): Likewise.
48481         (clog10_test): Likewise.
48482         (cos_test): Likewise.
48483         (cos_test_tonearest): Likewise.
48484         (cos_test_towardzero): Likewise.
48485         (cos_test_downward): Likewise.
48486         (cos_test_upward): Likewise.
48487         (cosh_test): Likewise.
48488         (cosh_test_tonearest): Likewise.
48489         (cosh_test_towardzero): Likewise.
48490         (cosh_test_downward): Likewise.
48491         (cosh_test_upward): Likewise.
48492         (cpow_test): Likewise.
48493         (csin_test): Likewise.
48494         (csinh_test): Likewise.
48495         (csqrt_test): Likewise.
48496         (ctan_test): Likewise.
48497         (ctan_test_tonearest): Likewise.
48498         (ctan_test_towardzero): Likewise.
48499         (ctan_test_downward): Likewise.
48500         (ctan_test_upward): Likewise.
48501         (ctanh_test): Likewise.
48502         (ctanh_test_tonearest): Likewise.
48503         (ctanh_test_towardzero): Likewise.
48504         (ctanh_test_downward): Likewise.
48505         (ctanh_test_upward): Likewise.
48506         (erf_test): Likewise.
48507         (erfc_test): Likewise.
48508         (exp_test): Likewise.
48509         (exp_test_tonearest): Likewise.
48510         (exp_test_towardzero): Likewise.
48511         (exp_test_downward): Likewise.
48512         (exp_test_upward): Likewise.
48513         (exp10_test): Likewise.
48514         (exp2_test): Likewise.
48515         (expm1_test): Likewise.
48516         (fmod_test): Likewise.
48517         (gamma_test): Likewise.
48518         (hypot_test): Likewise.
48519         (j0_test): Likewise.
48520         (j1_test): Likewise.
48521         (jn_test): Likewise.
48522         (lgamma_test): Likewise.
48523         (log_test): Likewise.
48524         (log10_test): Likewise.
48525         (log1p_test): Likewise.
48526         (log2_test): Likewise.
48527         (logb_test_downward): Likewise.
48528         (pow_test): Likewise.
48529         (pow_test_tonearest): Likewise.
48530         (pow_test_towardzero): Likewise.
48531         (pow_test_downward): Likewise.
48532         (pow_test_upward): Likewise.
48533         (remainder_test): Likewise.
48534         (remquo_test): Likewise.
48535         (sin_test): Likewise.
48536         (sin_test_tonearest): Likewise.
48537         (sin_test_towardzero): Likewise.
48538         (sin_test_downward): Likewise.
48539         (sin_test_upward): Likewise.
48540         (sincos_test): Likewise.
48541         (sinh_test): Likewise.
48542         (sinh_test_tonearest): Likewise.
48543         (sinh_test_towardzero): Likewise.
48544         (sinh_test_downward): Likewise.
48545         (sinh_test_upward): Likewise.
48546         (sqrt_test): Likewise.
48547         (tan_test): Likewise.
48548         (tan_test_tonearest): Likewise.
48549         (tan_test_towardzero): Likewise.
48550         (tan_test_downward): Likewise.
48551         (tan_test_upward): Likewise.
48552         (tanh_test): Likewise.
48553         (tgamma_test): Likewise.
48554         (y0_test): Likewise.
48555         (y1_test): Likewise.
48556         (yn_test): Likewise.
48558         * math/gen-libm-test.pl (adjust_arg): Remove function.
48559         (special_function): Remove argument $in_func.  Only handle
48560         generating output for tables of tests, not inside functions.
48561         (parse_args): Likewise.
48562         (generate_testfile): Remove variable $in_func.  Update call to
48563         parse_args.
48564         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
48565         (MINUS_ZERO_INIT): Rename macro to minus_zero.
48566         (PLUS_INFTY_INIT): Rename macro to plus_infty.
48567         (MINUS_INFTY_INIT): Rename macro to minus_infty.
48568         (QNAN_VALUE_INIT): Rename macro to qnan_value.
48569         (MAX_VALUE_INIT): Rename macro to max_value.
48570         (MIN_VALUE_INIT): Rename macro to min_value.
48571         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
48572         (plus_zero): Remove variable.
48573         (minus_zero): Likewise.
48574         (plus_infty): Likewise.
48575         (minus_infty): Likewise.
48576         (qnan_value): Likewise.
48577         (max_value): Likewise.
48578         (min_value): Likewise.
48579         (min_subnorm_value): Likewise.
48581 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48583         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
48584         uint64_t or uint32_t usage.
48585         * crypt/sha256-block.c: Likewise.
48586         * crypt/sha256-crypt.c: Likewise.
48587         * crypt/sha256.c: Likewise.
48588         * crypt/sha512-block.c: Likewise.
48589         * crypt/sha512-crypt.c: Likewise.
48590         * crypt/sha512.c: Likewise.
48591         * debug/backtrace-tst.c: Likewise.
48592         * debug/pcprofiledump.c: Likewise.
48593         * elf/cache.c: Likewise.
48594         * elf/dl-cache.c: Likewise.
48595         * elf/dl-misc.c: Likewise.
48596         * elf/dl-profile.c: Likewise.
48597         * elf/dl-support.c: Likewise.
48598         * elf/ldconfig.c: Likewise.
48599         * elf/sprof.c: Likewise.
48600         * iconv/dummy-repertoire.c: Likewise.
48601         * iconv/iconv_charmap.c: Likewise.
48602         * iconv/skeleton.c: Likewise.
48603         * iconvdata/8bit-generic.c: Likewise.
48604         * iconvdata/cp737.h: Likewise.
48605         * iconvdata/cp775.h: Likewise.
48606         * iconvdata/ibm1008.h: Likewise.
48607         * iconvdata/ibm1025.h: Likewise.
48608         * iconvdata/ibm1046.h: Likewise.
48609         * iconvdata/ibm1097.h: Likewise.
48610         * iconvdata/ibm1112.h: Likewise.
48611         * iconvdata/ibm1122.h: Likewise.
48612         * iconvdata/ibm1123.h: Likewise.
48613         * iconvdata/ibm1124.h: Likewise.
48614         * iconvdata/ibm1129.h: Likewise.
48615         * iconvdata/ibm1130.h: Likewise.
48616         * iconvdata/ibm1132.h: Likewise.
48617         * iconvdata/ibm1133.h: Likewise.
48618         * iconvdata/ibm1137.h: Likewise.
48619         * iconvdata/ibm1140.h: Likewise.
48620         * iconvdata/ibm1141.h: Likewise.
48621         * iconvdata/ibm1142.h: Likewise.
48622         * iconvdata/ibm1143.h: Likewise.
48623         * iconvdata/ibm1144.h: Likewise.
48624         * iconvdata/ibm1145.h: Likewise.
48625         * iconvdata/ibm1146.h: Likewise.
48626         * iconvdata/ibm1147.h: Likewise.
48627         * iconvdata/ibm1148.h: Likewise.
48628         * iconvdata/ibm1149.h: Likewise.
48629         * iconvdata/ibm1153.h: Likewise.
48630         * iconvdata/ibm1154.h: Likewise.
48631         * iconvdata/ibm1155.h: Likewise.
48632         * iconvdata/ibm1156.h: Likewise.
48633         * iconvdata/ibm1157.h: Likewise.
48634         * iconvdata/ibm1158.h: Likewise.
48635         * iconvdata/ibm1160.h: Likewise.
48636         * iconvdata/ibm1161.h: Likewise.
48637         * iconvdata/ibm1162.h: Likewise.
48638         * iconvdata/ibm1163.h: Likewise.
48639         * iconvdata/ibm1164.h: Likewise.
48640         * iconvdata/ibm1166.h: Likewise.
48641         * iconvdata/ibm1167.h: Likewise.
48642         * iconvdata/ibm12712.h: Likewise.
48643         * iconvdata/ibm1390.h: Likewise.
48644         * iconvdata/ibm1399.h: Likewise.
48645         * iconvdata/ibm16804.h: Likewise.
48646         * iconvdata/ibm4517.h: Likewise.
48647         * iconvdata/ibm4899.h: Likewise.
48648         * iconvdata/ibm4909.h: Likewise.
48649         * iconvdata/ibm4971.h: Likewise.
48650         * iconvdata/ibm5347.h: Likewise.
48651         * iconvdata/ibm803.h: Likewise.
48652         * iconvdata/ibm856.h: Likewise.
48653         * iconvdata/ibm901.h: Likewise.
48654         * iconvdata/ibm902.h: Likewise.
48655         * iconvdata/ibm9030.h: Likewise.
48656         * iconvdata/ibm9066.h: Likewise.
48657         * iconvdata/ibm921.h: Likewise.
48658         * iconvdata/ibm922.h: Likewise.
48659         * iconvdata/ibm9448.h: Likewise.
48660         * iconvdata/isiri-3342.h: Likewise.
48661         * iconvdata/jis0201.h: Likewise.
48662         * include/link.h: Likewise.
48663         * include/netdb.h: Likewise.
48664         * inet/check_native.c: Likewise.
48665         * inet/check_pf.c: Likewise.
48666         * inet/getipv4sourcefilter.c: Likewise.
48667         * inet/getnameinfo.c: Likewise.
48668         * inet/getsourcefilter.c: Likewise.
48669         * inet/htonl.c: Likewise.
48670         * inet/setipv4sourcefilter.c: Likewise.
48671         * inet/setsourcefilter.c: Likewise.
48672         * inet/test-inet6_opt.c: Likewise.
48673         * inet/tst-network.c: Likewise.
48674         * locale/C-collate.c: Likewise.
48675         * locale/C-ctype.c: Likewise.
48676         * locale/C-time.c: Likewise.
48677         * locale/C-translit.h: Likewise.
48678         * locale/loadarchive.c: Likewise.
48679         * locale/programs/3level.h: Likewise.
48680         * locale/programs/charmap.c: Likewise.
48681         * locale/programs/charmap.h: Likewise.
48682         * locale/programs/ld-address.c: Likewise.
48683         * locale/programs/ld-collate.c: Likewise.
48684         * locale/programs/ld-ctype.c: Likewise.
48685         * locale/programs/ld-identification.c: Likewise.
48686         * locale/programs/ld-measurement.c: Likewise.
48687         * locale/programs/ld-messages.c: Likewise.
48688         * locale/programs/ld-monetary.c: Likewise.
48689         * locale/programs/ld-name.c: Likewise.
48690         * locale/programs/ld-numeric.c: Likewise.
48691         * locale/programs/ld-paper.c: Likewise.
48692         * locale/programs/ld-telephone.c: Likewise.
48693         * locale/programs/ld-time.c: Likewise.
48694         * locale/programs/linereader.c: Likewise.
48695         * locale/programs/locale.c: Likewise.
48696         * locale/programs/locarchive.c: Likewise.
48697         * locale/programs/locfile.h: Likewise.
48698         * locale/programs/repertoire.c: Likewise.
48699         * locale/programs/simple-hash.c: Likewise.
48700         * locale/programs/simple-hash.h: Likewise.
48701         * malloc/memusage.c: Likewise.
48702         * malloc/memusagestat.c: Likewise.
48703         * nis/nis_defaults.c: Likewise.
48704         * nis/nis_hash.c: Likewise.
48705         * nis/nis_print.c: Likewise.
48706         * nis/nis_xdr.c: Likewise.
48707         * nscd/connections.c: Likewise.
48708         * nscd/hstcache.c: Likewise.
48709         * nscd/nscd_gethst_r.c: Likewise.
48710         * nscd/nscd_getserv_r.c: Likewise.
48711         * nscd/nscd_helper.c: Likewise.
48712         * nscd/servicescache.c: Likewise.
48713         * nss/makedb.c: Likewise.
48714         * nss/nss_db/db-XXX.c: Likewise.
48715         * nss/nss_db/db-initgroups.c: Likewise.
48716         * nss/nss_db/db-netgrp.c: Likewise.
48717         * nss/nss_files/files-network.c: Likewise.
48718         * nss/nss_files/files-parse.c: Likewise.
48719         * posix/bug-regex5.c: Likewise.
48720         * posix/fnmatch_loop.c: Likewise.
48721         * posix/regcomp.c: Likewise.
48722         * posix/regexec.c: Likewise.
48723         * posix/tst-rfc3484-2.c: Likewise.
48724         * posix/tst-rfc3484-3.c: Likewise.
48725         * posix/tst-rfc3484.c: Likewise.
48726         * resolv/nss_dns/dns-canon.c: Likewise.
48727         * resolv/nss_dns/dns-network.c: Likewise.
48728         * resolv/res_init.c: Likewise.
48729         * resolv/res_mkquery.c: Likewise.
48730         * resolv/tst-aton.c: Likewise.
48731         * stdlib/cxa_atexit.c: Likewise.
48732         * stdlib/cxa_finalize.c: Likewise.
48733         * stdlib/gen-fpioconst.c: Likewise.
48734         * stdlib/strtol_l.c: Likewise.
48735         * string/tst-endian.c: Likewise.
48736         * sunrpc/auth_des.c: Likewise.
48737         * sunrpc/clnt_udp.c: Likewise.
48738         * sunrpc/rtime.c: Likewise.
48739         * sunrpc/svcauth_des.c: Likewise.
48740         * sunrpc/xdr.c: Likewise.
48741         * sunrpc/xdr_intXX_t.c: Likewise.
48742         * sunrpc/xdr_rec.c: Likewise.
48743         * sysdeps/generic/ldconfig.h: Likewise.
48744         * sysdeps/generic/ldsodefs.h: Likewise.
48745         * sysdeps/generic/memusage.h: Likewise.
48746         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48747         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48748         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48749         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48750         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48751         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48752         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48753         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48754         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48755         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48756         * sysdeps/posix/getaddrinfo.c: Likewise.
48757         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48758         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48759         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48760         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48761         * sysdeps/powerpc/test-gettimebase.c: Likewise.
48762         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48763         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48764         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48765         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48766         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48767         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48768         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48769         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48770         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48771         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48772         * sysdeps/x86_64/dl-tls.h: Likewise.
48773         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48774         * time/alt_digit.c: Likewise.
48775         * time/era.c: Likewise.
48776         * wcsmbs/tst-c16c32-1.c: Likewise.
48778 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48780         * math/libm-test.inc (struct test_sincos_data): New type.
48781         (RUN_TEST_LOOP_sincos): New macro.
48782         (sincos_test_data): New variable.
48783         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48785 2013-05-16  Richard Henderson  <rth@redhat.com>
48787         * math/atest-exp2.c (LIMB64): New macro.
48788         (CONSTSZ): New macro.
48789         (mp_exp1, mp_exp_m1, mp_log2): New variables.
48790         (hexdig): Move ...
48791         (print_mpn_fp): ... to function scope.
48792         (read_mpn_hex): Remove.
48793         (get_log2): Remove.
48794         (exp2_mpn): Use mp_log2.
48795         (main): Use mp_exp1.
48797 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48799         * math/libm-test.inc: Remove comment about not testing "inexact"
48800         exceptions.
48801         (INEXACT_EXCEPTION): New macro.
48802         (NO_INEXACT_EXCEPTION): Likewise.
48803         (INVALID_EXCEPTION_OK): Update value.
48804         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48805         (OVERFLOW_EXCEPTION_OK): Likewise.
48806         (UNDERFLOW_EXCEPTION_OK): Likewise.
48807         (IGNORE_ZERO_INF_SIGN): Likewise.
48808         (ERRNO_UNCHANGED): Likewise.
48809         (ERRNO_EDOM): Likewise.
48810         (ERRNO_ERANGE): Likewise.
48811         (test_exceptions): Handle testing "inexact" exceptions.
48812         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48813         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48814         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48815         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48816         INEXACT_EXCEPTION.
48817         (rint_towardzero_test_data): Likewise.
48818         (rint_downward_test_data): Likewise.
48819         (rint_upward_test_data): Likewise.
48821         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48822         with OVERFLOW_EXCEPTION.
48823         (exp10_test_data): Likewise.
48824         (exp2_test_data): Likewise.
48825         (expm1_test_data): Likewise.
48826         (lgamma_test_data): Likewise.
48827         (pow_test_data): Likewise.
48828         (tgamma_test_data): Likewise.
48829         (yn_test_data): Remove duplicate test of overflow.
48831         * math/libm-test.inc (struct test_cc_c_data): New type.
48832         (RUN_TEST_LOOP_cc_c): New macro.
48833         (cpow_test_data): New variable.
48834         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48836         * math/libm-test.inc (struct test_f_L_data): New type.
48837         (RUN_TEST_LOOP_f_L): New macro.
48838         (llrint_test_data): New variable.
48839         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48840         (llrint_tonearest_test_data): New variable.
48841         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48842         (llrint_towardzero_test_data): New variable.
48843         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48844         (llrint_downward_test_data): New variable.
48845         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48846         (llrint_upward_test_data): New variable.
48847         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48848         (llround_test_data): New variable.
48849         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48851 2013-05-13  Peter Collingbourne  <pcc@google.com>
48853         * math/atest-exp2.c (get_log2): Remove const attribute.
48855 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48857         * math/libm-test.inc (struct test_f_l_data): New type.
48858         (RUN_TEST_LOOP_f_l): New macro.
48859         (lrint_test_data): New variable.
48860         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48861         (lrint_tonearest_test_data): New variable.
48862         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48863         (lrint_towardzero_test_data): New variable.
48864         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48865         (lrint_downward_test_data): New variable.
48866         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48867         (lrint_upward_test_data): New variable.
48868         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48869         (lround_test_data): New variable.
48870         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48872 2013-05-15  Peter Collingbourne  <pcc@google.com>
48874         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48875         (EXTRACT_WORDS64) Use where appropriate.
48876         (INSERT_WORDS64) Likewise.
48878         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48879         constraints with x constraints.
48880         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48882         * malloc/obstack.c (_obstack_compat): Add initializer.
48884 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48886         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48887         si_trapno and add si_addr_lsb to _sifields.sigfault.
48888         (si_trapno): Remove macro.
48889         (si_addr_lsb): Define new macro.
48890         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48892 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48894         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48895         instead of TEST_f_l.
48896         (llrint_test_tonearest): Likewise.
48897         (llrint_test_towardzero): Likewise.
48898         (llrint_test_downward): Likewise.
48899         (llrint_test_upward): Likewise.
48900         (llround_test): Likewise.
48902         * math/libm-test.inc (struct test_f_i_data): Add comment.
48903         (RUN_TEST_LOOP_f_b): New macro.
48904         (RUN_TEST_LOOP_f_b_tg): Likewise.
48905         (finite_test_data): New variable.
48906         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48907         (isfinite_test_data): New variable.
48908         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48909         (isinf_test_data): New variable.
48910         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48911         (isnan_test_data): New variable.
48912         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48913         (isnormal_test_data): New variable.
48914         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48915         (issignaling_test_data): New variable.
48916         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48917         (signbit_test_data): New variable.
48918         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48920         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48921         with INVALID_EXCEPTION.
48922         (acosh_test_data): Likewise.
48923         (asin_test_data): Likewise.
48924         (atanh_test_data): Likewise.
48925         (fmod_test_data): Likewise.
48926         (log_test_data): Likewise.
48927         (log10_test_data): Likewise.
48928         (log2_test_data): Likewise.
48929         (pow_test_data): Likewise.
48930         (sqrt_test_data): Likewise.
48931         (y0_test_data): Likewise.
48932         (y1_test_data): Likewise.
48933         (yn_test_data): Likewise.
48935         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48936         function contents.
48938         * math/libm-test.inc (struct test_ff_i_data): New type.
48939         (RUN_TEST_LOOP_ff_i_tg): New macro.
48940         (isgreater_test_data): New variable.
48941         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48942         (isgreaterequal_test_data): New variable.
48943         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48944         (isless_test_data): New variable.
48945         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48946         (islessequal_test_data): New variable.
48947         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48948         (islessgreater_test_data): New variable.
48949         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48950         (isunordered_test_data): New variable.
48951         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48953 2013-05-14  David S. Miller  <davem@davemloft.net>
48955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48957 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
48959         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48961         * math/libm-test.inc (struct test_fF_f1_data): Change type of
48962         extra_test to int.
48963         (struct test_f_i_data): Change type of max_ulp to int.
48965         * math/libm-test.inc (test_ffI_f1_data): New type.
48966         (RUN_TEST_LOOP_ffI_f1): New macro.
48967         (remquo_test_data): New variable.
48968         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48970         * setjmp/tst-setjmp-fp.c: New file.
48971         * setjmp/Makefile (tests): Add tst-setjmp-fp.
48972         (link-libm): New variable.
48973         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48975         * math/libm-test.inc (struct test_f_i_data): New type.
48976         (RUN_TEST_LOOP_f_i): New macro.
48977         (RUN_TEST_LOOP_f_i_tg): Likewise.
48978         (fpclassify_test_data): New variable.
48979         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48980         (ilogb_test_data): New variable.
48981         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48983         * math/libm-test.inc (scalbln_test): Correct function name in END
48984         call.
48986         * math/libm-test.inc (struct test_f_f1_data): Add comment.
48987         (RUN_TEST_LOOP_fI_f1): New macro.
48988         (frexp_test_data): New variable.
48989         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48991         * math/libm-test.inc (struct test_fF_f1_data): New type.
48992         (RUN_TEST_LOOP_fF_f1): New macro.
48993         (modf_test_data): New variable.
48994         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48996         * math/libm-test.inc (struct test_f_f1_data): New type.
48997         (RUN_TEST_LOOP_f_f1): New macro.
48998         (gamma_test_data): New variable.
48999         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49000         (lgamma_test_data): New variable.
49001         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49003 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
49005         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
49006         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
49007         (main): Comment "tls" pseudo-hwcap.
49009 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
49011         * math/libm-test.inc (struct test_fl_f_data): New type.
49012         (RUN_TEST_LOOP_fl_f): New variable.
49013         (scalbln_test_data): New variable.
49014         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
49016         * math/libm-test.inc (struct test_fi_f_data): New type.
49017         (RUN_TEST_LOOP_fi_f): New macro.
49018         (ldexp_test_data): New variable.
49019         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
49020         (scalbn_test_data): New variable.
49021         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
49023         * math/libm-test.inc (struct test_c_f_data): New type.
49024         (RUN_TEST_LOOP_c_f): New macro.
49025         (cabs_test_data): New variable.
49026         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
49027         (carg_test_data): New variable.
49028         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
49029         (cimag_test_data): New variable.
49030         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
49031         (creal_test_data): New variable.
49032         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
49034         * math/libm-test.inc (struct test_if_f_data): New type.
49035         (RUN_TEST_LOOP_if_f): New macro.
49036         (jn_test_data): New variable.
49037         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
49038         (yn_test_data): New variable.
49039         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
49041         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
49043 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49045         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
49046         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
49048 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49050         * benchtests/Makefile (CPPFLAGS-nonlib): Add
49051         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
49052         (bench-deps): Add bench-timing.h.
49053         * benchtests-bench-skeleton.c: Include bench-timing.h.
49054         (main): Use TIMING_* macros instead of clock_gettime.
49055         * benchtests/bench-timing.h: New file.
49057         [BZ #14582]
49058         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
49059         Renamed from _LIB_VERSION.
49060         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
49062 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
49064         * math/libm-test.inc (struct test_fff_f_data): New type.
49065         (RUN_TEST_LOOP_fff_f): New macro.
49066         (fma_test_data): New variable.
49067         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
49068         (fma_towardzero_test_data): New variable.
49069         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
49070         (fma_downward_test_data): New variable.
49071         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
49072         (fma_upward_test_data): New variable.
49073         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
49075         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
49076         (struct test_c_c_data): New type.
49077         (RUN_TEST_LOOP_c_c): New macro.
49078         (cacos_test_data): New variable.
49079         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
49080         (cacosh_test_data): New variable.
49081         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
49082         (casin_test_data): New variable.
49083         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
49084         (casinh_test_data): New variable.
49085         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
49086         (catan_test_data): New variable.
49087         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
49088         (catanh_test_data): New variable.
49089         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
49090         (ccos_test_data): New variable.
49091         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
49092         (ccosh_test_data): New variable.
49093         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
49094         (cexp_test_data): New variable.
49095         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
49096         (clog_test_data): New variable.
49097         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
49098         (clog10_test_data): New variable.
49099         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
49100         (conj_test_data): New variable.
49101         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
49102         (cproj_test_data): New variable.
49103         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
49104         (csin_test_data): New variable.
49105         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
49106         (csinh_test_data): New variable.
49107         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
49108         (csqrt_test_data): New variable.
49109         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
49110         (ctan_test_data): New variable.
49111         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
49112         (ctan_tonearest_test_data): New variable.
49113         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49114         (ctan_towardzero_test_data): New variable.
49115         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49116         (ctan_downward_test_data): New variable.
49117         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49118         (ctan_upward_test_data): New variable.
49119         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49120         (ctanh_test_data): New variable.
49121         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
49122         (ctanh_tonearest_test_data): New variable.
49123         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49124         (ctanh_towardzero_test_data): New variable.
49125         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49126         (ctanh_downward_test_data): New variable.
49127         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49128         (ctanh_upward_test_data): New variable.
49129         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49130         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
49131         of BUILD_COMPLEX.
49133         * math/libm-test.inc (struct test_ff_f_data): New type.
49134         (struct test_ff_f_data_nexttoward): Likewise.
49135         (RUN_TEST_LOOP_2_f): New macro.
49136         (RUN_TEST_LOOP_ff_f): Likewise.
49137         (atan2_test_data): New variable.
49138         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
49139         (copysign_test_data): New variable.
49140         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
49141         (fdim_test_data): New variable.
49142         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
49143         (fmax_test_data): New variable.
49144         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
49145         (fmin_test_data): New variable.
49146         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
49147         (fmod_test_data): New variable.
49148         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
49149         (hypot_test_data): New variable.
49150         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
49151         (nextafter_test_data): New variable.
49152         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
49153         (nexttoward_test_data): New variable.
49154         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
49155         (pow_test_data): New variable.
49156         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
49157         (pow_tonearest_test_data): New variable.
49158         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
49159         (pow_towardzero_test_data): New variable.
49160         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
49161         (pow_downward_test_data): New variable.
49162         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
49163         (pow_upward_test_data): New variable.
49164         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
49165         (remainder_test_data): New variable.
49166         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
49167         (scalb_test_data): New variable.
49168         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
49169         * sysdeps/i386/fpu/libm-test-ulps: Update.
49171 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
49173         * math/libm-test.inc (fma_test): Use max_value instead of local
49174         variable fltmax.
49175         (nextafter_test): Likewise.
49177         * math/libm-test.inc (acos_towardzero_test_data): New variable.
49178         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49179         (acos_downward_test_data): New variable.
49180         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49181         (acos_upward_test_data): New variable.
49182         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49183         (acosh_test_data): New variable.
49184         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
49185         (asin_test_data): New variable.
49186         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
49187         (asin_tonearest_test_data): New variable.
49188         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49189         (asin_towardzero_test_data): New variable.
49190         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49191         (asin_downward_test_data): New variable.
49192         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49193         (asin_upward_test_data): New variable.
49194         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49195         (asinh_test_data): New variable.
49196         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
49197         (atan_test_data): New variable.
49198         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
49199         (atanh_test_data): New variable.
49200         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
49201         (cbrt_test_data): New variable.
49202         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
49203         (ceil_test_data): New variable.
49204         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
49205         (cos_test_data): New variable.
49206         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
49207         (cos_tonearest_test_data): New variable.
49208         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49209         (cos_towardzero_test_data): New variable.
49210         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49211         (cos_downward_test_data): New variable.
49212         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49213         (cos_upward_test_data): New variable.
49214         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49215         (cosh_test_data): New variable.
49216         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
49217         (cosh_tonearest_test_data): New variable.
49218         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49219         (cosh_towardzero_test_data): New variable.
49220         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49221         (cosh_downward_test_data): New variable.
49222         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49223         (cosh_upward_test_data): New variable.
49224         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49225         (erf_test_data): New variable.
49226         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
49227         (erfc_test_data): New variable.
49228         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
49229         (exp_test_data): New variable.
49230         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
49231         (exp_tonearest_test_data): New variable.
49232         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49233         (exp_towardzero_test_data): New variable.
49234         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49235         (exp_downward_test_data): New variable.
49236         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49237         (exp_upward_test_data): New variable.
49238         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49239         (exp10_test_data): New variable.
49240         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
49241         (exp2_test_data): New variable.
49242         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
49243         (expm1_test_data): New variable.
49244         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
49245         (fabs_test_data): New variable.
49246         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
49247         (floor_test_data): New variable.
49248         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
49249         (j0_test_data): New variable.
49250         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
49251         (j1_test_data): New variable.
49252         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
49253         (log_test_data): New variable.
49254         (log_test): Run tests with RUN_TEST_LOOP_f_f.
49255         (log10_test_data): New variable.
49256         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
49257         (log1p_test_data): New variable.
49258         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
49259         (log2_test_data): New variable.
49260         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
49261         (logb_test_data): New variable.
49262         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
49263         (logb_downward_test_data): New variable.
49264         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49265         (nearbyint_test_data): New variable.
49266         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
49267         (rint_test_data): New variable.
49268         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
49269         (rint_tonearest_test_data): New variable.
49270         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49271         (rint_towardzero_test_data): New variable.
49272         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49273         (rint_downward_test_data): New variable.
49274         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49275         (rint_upward_test_data): New variable.
49276         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49277         (round_test_data): New variable.
49278         (round_test): Run tests with RUN_TEST_LOOP_f_f.
49279         (sin_test_data): New variable.
49280         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
49281         (sin_tonearest_test_data): New variable.
49282         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49283         (sin_towardzero_test_data): New variable.
49284         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49285         (sin_downward_test_data): New variable.
49286         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49287         (sin_upward_test_data): New variable.
49288         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49289         (sinh_test_data): New variable.
49290         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
49291         (sinh_tonearest_test_data): New variable.
49292         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49293         (sinh_towardzero_test_data): New variable.
49294         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49295         (sinh_downward_test_data): New variable.
49296         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49297         (sinh_upward_test_data): New variable.
49298         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49299         (sqrt_test_data): New variable.
49300         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
49301         (tan_test_data): New variable.
49302         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
49303         (tan_tonearest_test_data): New variable.
49304         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49305         (tan_towardzero_test_data): New variable.
49306         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49307         (tan_downward_test_data): New variable.
49308         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49309         (tan_upward_test_data): New variable.
49310         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49311         (tanh_test_data): New variable.
49312         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
49313         (tgamma_test_data): New variable.
49314         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
49315         (trunc_test_data): New variable.
49316         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
49317         (y0_test_data): New variable.
49318         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
49319         (y1_test_data): New variable.
49320         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
49321         (significand_test_data): New variable.
49322         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
49324 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
49326         [BZ #12387]
49327         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
49329 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49331         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
49333 2013-05-10  Andreas Jaeger  <aj@suse.de>
49335         [BZ #15448]
49336         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
49337         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
49339 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49341         * math/gen-libm-test.pl (adjust_arg): New function.
49342         (special_functions): Handle generating output in both functions
49343         and arrays.
49344         (parse_args): Likewise.
49345         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
49346         $in_func argument to parse_args.
49347         * math/libm-test.inc (struct test_f_f_data): New type.
49348         (IF_ROUND_INIT_): New macro.
49349         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
49350         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49351         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49352         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49353         (ROUND_RESTORE_): Likewise.
49354         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
49355         (ROUND_RESTORE_FE_TONEAREST): Likewise.
49356         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
49357         (ROUND_RESTORE_FE_UPWARD): Likewise.
49358         (RUN_TEST_LOOP_f_f): New macro.
49359         (acos_test_data): New variable.
49360         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
49361         (acos_tonearest_test_data): New variable.
49362         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49364 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49366         * benchtests/bench-skeleton.c (startup): Fix coding style.
49368 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49370         [BZ #6809]
49371         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
49372         negative infinity argument.
49373         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
49374         negative infinity argument.
49375         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
49376         negative infinity argument.
49377         * math/libm-test.inc (tgamma_test): Expect errno to be set for
49378         domain errors.
49380 2013-05-10  Florian Weimer  <fweimer@redhat.com>
49382         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
49383         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
49384         * iconv/iconv_prog.c (main): Likewise.
49385         * locale/programs/charmap-dir.c (charmap_readdir)
49386         (fopen_uncompressed): Likewise.
49387         * locale/programs/locfile.c (siblings_uncached)
49388         (write_locale_data): Use lstat64 instead of lstat.
49389         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
49390         stat.
49392 2013-05-10  Andreas Jaeger  <aj@suse.de>
49394         [BZ #15395]
49395         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
49396         localization.
49397         Include <locale.h>.
49399 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
49401         * elf/dl-close.c (_dl_close_worker): Add comments.
49403 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
49405         [BZ #15359]
49406         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
49407         high part of pi/2.
49408         (__ieee754_rem_pio2l): Update comments.
49410         [BZ #15429]
49411         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
49412         high part of pi/2.
49413         (__ieee754_rem_pio2l): Update comments.
49415         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
49416         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
49418         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
49419         M_PI_4l.
49421         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
49422         (M_PI_34_LOG10El): Likewise.
49423         (M_PI2_LOG10El): Likewise.
49424         (M_PI4_LOG10El): Likewise.
49425         (M_PI_LOG10El): Likewise.
49427 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49431 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
49433         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
49434         (MINUS_ZERO_INIT): Likewise.
49435         (PLUS_INFTY_INIT): Likewise.
49436         (MINUS_INFTY_INIT): Likewise.
49437         (QNAN_VALUE_INIT): Likewise.
49438         (MAX_VALUE_INIT): Likewise.
49439         (MIN_VALUE_INIT): Likewise.
49440         (MIN_SUBNORM_VALUE_INIT): Likewise.
49441         (plus_zero): Initialize with PLUS_ZERO_INIT.
49442         (minus_zero): Initialize with MINUS_ZERO_INIT.
49443         (plus_infty): Initialize with PLUS_INFTY_INIT.
49444         (minus_infty): Initialize with MINUS_INFTY_INIT.
49445         (qnan_value): Initialize with QNAN_VALUE_INIT.
49446         (max_value): Initialize with MAX_VALUE_INIT.
49447         (min_value): Initialize with MIN_VALUE_INIT.
49448         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
49450         * math/libm-test.inc (RUN_TEST_if_f): New macro.
49451         (jn_test): Use TEST_if_f instead of TEST_ff_f.
49452         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
49453         (yn_test): Use TEST_if_f instead of TEST_ff_f.
49455         * math/libm-test.inc (RUN_TEST_f_f): New macro.
49456         (RUN_TEST_2_f): Likewise.
49457         (RUN_TEST_ff_f): Likewise.
49458         (RUN_TEST_fi_f): Likewise.
49459         (RUN_TEST_fl_f): Likewise.
49460         (RUN_TEST_fff_f): Likewise.
49461         (RUN_TEST_c_f): Likewise.
49462         (RUN_TEST_f_f1): Likewise.
49463         (RUN_TEST_fF_f1): Likewise.
49464         (RUN_TEST_fI_f1): Likewise.
49465         (RUN_TEST_ffI_f1): Likewise.
49466         (RUN_TEST_c_c): Likewise.
49467         (RUN_TEST_cc_c): Likewise.
49468         (RUN_TEST_f_i): Likewise.
49469         (RUN_TEST_f_i_tg): Likewise.
49470         (RUN_TEST_ff_i_tg): Likewise.
49471         (RUN_TEST_f_b): Likewise.
49472         (RUN_TEST_f_b_tg): Likewise.
49473         (RUN_TEST_f_l): Likewise.
49474         (RUN_TEST_f_L): Likewise.
49475         (RUN_TEST_sincos): Likewise.
49476         * math/gen-libm-test.pl (new_test): Take new argument to indicate
49477         whether to show exceptions.  Do not include ");\n" in return
49478         value.
49479         (special_functions): Output call to RUN_TEST_sincos instead of
49480         check_float calls.  Update calls to new_test.
49481         (parse_args): Output call to single RUN_TEST_* macro instead of
49482         check_* calls and other assignments.  Update calls to new_test.
49484         [BZ #2546]
49485         [BZ #2560]
49486         [BZ #5159]
49487         [BZ #15426]
49488         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
49489         input to result for tgamma overflow.
49490         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
49491         (gamma_coeff): New variable.
49492         (NCOEFF): New macro.
49493         (gamma_positive): New function.
49494         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
49495         underflow here.  Use gamma_positive instead of exp (lgamma) for
49496         other arguments.
49497         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
49498         (gamma_coeff): New variable.
49499         (NCOEFF): New macro.
49500         (gammaf_positive): New function.
49501         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
49502         underflow here.  Use gamma_positive instead of exp (lgamma) for
49503         other arguments.
49504         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
49505         (gamma_coeff): New variable.
49506         (NCOEFF): New macro.
49507         (gammal_positive): New function.
49508         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
49509         underflow here.  Use gamma_positive instead of exp (lgamma) for
49510         other arguments.
49511         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
49512         (gamma_coeff): New variable.
49513         (NCOEFF): New macro.
49514         (gammal_positive): New function.
49515         (__ieee754_gammal_r): Handle positive infinity, overflow and
49516         underflow here.  Handle NaN the same as positive infinity.  Remove
49517         check x < 0xffffffff for negative integers.  Use gamma_positive
49518         instead of exp (lgamma) for other arguments.
49519         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
49520         (gamma_coeff): New variable.
49521         (NCOEFF): New macro.
49522         (gammal_positive): New function.
49523         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
49524         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
49525         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
49526         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
49527         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
49528         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
49529         * sysdeps/generic/math_private.h (__gamma_productf): New
49530         prototype.
49531         (__gamma_product): Likewise.
49532         (__gamma_productl): Likewise.
49533         * math/Makefile (libm-calls): Add gamma_product.
49534         * math/libm-test.inc (tgamma_test): Add more tests.
49535         * sysdeps/i386/fpu/libm-test-ulps: Update.
49536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49538 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
49540         * benchtests/bench-skeleton.c (main): Preheat CPU.
49542 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
49544         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
49546 2013-05-07  Roland McGrath  <roland@hack.frob.com>
49548         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
49549         and _dl_skip_args_internal.
49551 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
49553         * manual/message.texi (Message Translation): Talk about users.
49554         Message to key mapping impacts design.
49556 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49558         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
49560         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
49562         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
49563         * sysdeps/wordsize-64/glob64.c: ... here.
49565         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
49566         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
49567         New macros.
49569         * debug/getlogin_r_chk.c: Moved to ...
49570         * login/getlogin_r_chk.c: ... here.
49571         * debug/Makefile (routines): Move getlogin_r_chk to ...
49572         * login/Makefile (routines): ... here.
49573         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
49574         * login/Versions (libc: GLIBC_2.4): ... here.
49576         * io/poll.c (__poll): Renamed from poll.
49577         Add libc_hidden_def.
49578         (poll): Define as weak alias.
49580         * debug/ptsname_r_chk.c: Moved to ...
49581         * login/ptsname_r_chk.c: ... here.
49582         * debug/Makefile (routines): Move ptsname_r_chk to ...
49583         * login/Makefile (routines): ... here.
49584         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
49585         * login/Versions (libc: GLIBC_2.4): ... here.
49587         * posix/getlogin.c: Moved to ...
49588         * login/getlogin.c: ... here.
49589         * posix/getlogin_r.c: Moved to ...
49590         * login/getlogin_r.c: ... here.
49591         * posix/getlogin_r.c: Moved to ...
49592         * login/getlogin_r.c: ... here.
49593         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
49594         * login/Makefile (routines): ... here.
49595         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
49596         * login/Versions (libc: GLIBC_2.0): ... here.
49598         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
49599         (setrlimit): Define as weak alias.
49601         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
49602         Call __ names for open, ftruncate, and close.
49603         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
49604         (truncate): Define as weak alias.
49606 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
49608         * math/gen-libm-test.pl (parse_args): Initialize x before each
49609         test of frexp, modf and remquo.
49611         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
49612         test signgam value.
49614 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49616         [BZ #15418]
49617         [BZ #15419]
49618         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
49619         internal tests.
49620         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49622 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49624         * elf/dl-writev.h: New file.
49625         * elf/dl-misc.c: Include it.
49626         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
49627         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
49629 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
49631         * math/libm-test.inc (noXFails): Remove variable.
49632         (noXPasses): Likewise.
49633         (BUILD_COMPLEX_INT): Remove macro.
49634         (print_screen): Remove xfail argument.
49635         (print_screen_max_error): Likewise.
49636         (update_stats): Likewise.
49637         (print_max_error): Likewise.  Update calls to other affected
49638         functions.
49639         (print_complex_max_error): Likewise.
49640         (test_single_exception): Update calls to print_screen.
49641         (test_single_errno): Likewise.
49642         (check_float_internal): Remove xfail argument.  Update calls to
49643         other affected functions.
49644         (check_float): Likewise.
49645         (check_complex): Likewise.
49646         (check_int): Likewise.
49647         (check_long): Likewise.
49648         (check_bool): Likewise.
49649         (check_longlong): Likewise.
49650         (main): Don't print noXFails and noXPasses.
49651         * math/gen-libm-test.pl (top level): Don't mention expected
49652         failure handling in comment.
49653         (new_test): Don't handle expected failures.
49654         (parse_args): Don't mention expected failure handling in comment.
49655         (generate_testfile): Don't handle expected failures.
49656         (parse_ulps): Likewise.
49657         (print_ulps_file): Likewise.
49658         (get_failure): Remove function.
49659         (output_test): Don't handle expected failures.
49660         * make/README.libm-test: Don't mention expected failure handling.
49662         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
49663         (minus_zero): Likewise.
49664         (plus_infty): Likewise.
49665         (minus_infty): Likewise.
49666         (qnan_value): Likewise.
49667         (max_value): Likewise.
49668         (min_value): Likewise.
49669         (min_subnorm_value): Likewise.
49670         (initialize): Do not initialize those variables dynamically.
49672 2013-05-03  Roland McGrath  <roland@hack.frob.com>
49674         * io/open.c (__open_2): Moved to ...
49675         * io/open_2.c: ... this new file.
49676         * io/open64.c (__open64_2): Moved to ...
49677         * io/open64_2.c: ... this new file.
49678         * io/openat.c (__openat_2): Moved to ...
49679         * io/openat_2.c: ... this new file.
49680         * io/openat64.c (__openat64_2): Moved to ...
49681         * io/openat64_2.c: ... this new file.
49682         * io/Makefile (routines): Add them.
49683         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49684         * sysdeps/unix/sysv/linux/open_2.c: File removed.
49685         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49686         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49687         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49688         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49689         (__openat64): Add hidden_ver.
49690         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49691         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49693         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49694         Separately conditionalize setting of GLRO(dl_sysinfo) so
49695         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49696         as well, but the actual setting is only under [NEED_DL_SYSINFO].
49698 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49700         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49701         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49702         definition.
49703         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49704         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49705         (_libc_vdso_platform_setup): Add __vdso_time initialization.
49706         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49707         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49709 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
49711         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49712         test signgam value.
49714         * math/libm-test.inc (hypot_test): Do not use
49715         IGNORE_ZERO_INF_SIGN.
49717 2013-05-03  Andreas Jaeger  <aj@suse.de>
49719         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49720         Linux 3.9.
49721         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49722         (PF_MAX): Adjust for VSOCK change.
49724 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49728 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
49730         [BZ #15264]
49731         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49732         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49733         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49735 2013-05-02  David S. Miller  <davem@davemloft.net>
49737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49739 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
49741         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49743 2013-05-01  Roland McGrath  <roland@hack.frob.com>
49745         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49747 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
49749         [BZ #14952]
49750         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49751         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49752         Use __attribute__ ((__gnu_inline__)).
49753         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49754         Don't use __attribute__ ((__gnu_inline__)).
49756 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
49758         [BZ #15423]
49759         * math/s_catan.c (__catan): Handle small real or imaginary part of
49760         input specially to avoid spurious underflow.
49761         * math/s_catanf.c (__catanf): Likewise.
49762         * math/s_catanh.c (__catanh): Likewise.
49763         * math/s_catanhf.c (__catanhf): Likewise.
49764         * math/s_catanhl.c (__catanhl): Likewise.
49765         * math/s_catanl.c (__catanl): Likewise.
49766         * math/libm-test.inc (catan_test): Add more tests.
49767         (catanh_test): Likewise.
49768         * sysdeps/i386/fpu/libm-test-ulps: Update.
49769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49771 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49775 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
49777         [BZ #15416]
49778         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49779         accurately for denominator in atan2.
49780         * math/s_catanf.c (__catanf): Likewise.
49781         * math/s_catanh.c (__catanh): Likewise.
49782         * math/s_catanhf.c (__catanhf): Likewise.
49783         * math/s_catanhl.c (__catanhl): Likewise.
49784         * math/s_catanl.c (__catanl): Likewise.
49785         * math/libm-test.inc (catan_test): Add more tests.
49786         (catanh_test): Likewise.
49787         * sysdeps/i386/fpu/libm-test-ulps: Update.
49788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49790 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49792         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49794         * benchtests/Makefile (bench): Remove slow benchmarks.
49795         * benchtests/atan-inputs: Add slow benchmark inputs.
49796         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49797         (BENCH_FUNC): Accept variant offset.
49798         (VARIANT): Define.
49799         * benchtests/bench-skeleton.c (main): Run benchmark for each
49800         variant.
49801         * benchtests/cos-inputs: Add slow benchmark inputs.
49802         * benchtests/exp-inputs: Likewise.
49803         * benchtests/pow-inputs: Likewise.
49804         * benchtests/sin-inputs: Likewise.
49805         * benchtests/slowatan-inputs: Remove.
49806         * benchtests/slowatan.c: Remove.
49807         * benchtests/slowcos-inputs: Remove.
49808         * benchtests/slowcos.c: Remove.
49809         * benchtests/slowexp-inputs: Remove.
49810         * benchtests/slowexp.c: Remove.
49811         * benchtests/slowpow-inputs: Remove.
49812         * benchtests/slowpow.c: Remove.
49813         * benchtests/slowsin-inputs: Remove.
49814         * benchtests/slowsin.c: Remove.
49815         * benchtests/slowtan-inputs: Remove.
49816         * benchtests/slowtan.c: Remove.
49817         * benchtests/tan-inputs: Add slow benchmark inputs.
49818         * scripts/bench.pl: Parse comments and directives.
49820         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
49821         in CPPFLAGS.
49822         ($(objpfx)bench-%.c): Remove *-ITER.
49823         * benchtests/bench-modf.c: Remove definition of ITER.
49824         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49825         (main): Loop for DURATION seconds instead of fixed number of
49826         iterations.
49827         * scripts/bench.pl: Don't expect iterations in parameters.
49829 2013-04-29  Roland McGrath  <roland@hack.frob.com>
49831         * io/fchdir.c (__fchdir): Renamed from fchdir.
49832         (fchdir): Define as weak alias.
49834 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49836         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49837         (ERRNO_EDOM): Likewise.
49838         (ERRNO_ERANGE): Likewise.
49839         (noErrnoTests): New variable.
49840         (init_max_error): Set errno to 0.
49841         (test_single_errno): New function.
49842         (test_errno): Likewise.
49843         (check_float_internal): Call test_errno.  Set errno to 0.
49844         (check_complex): Refer to errno tests in comment.
49845         (check_int): Call test_errno.  Set errno to 0.
49846         (check_long): Likewise.
49847         (check_bool): Likewise.
49848         (check_longlong): Likewise.
49849         (cos_test): Use ERRNO_* flags for errno tests instead of
49850         check_int.
49851         (expm1_test): Likewise.
49852         (fmod_test): Likewise.
49853         (ilogb_test): Likewise.
49854         (lgamma_test): Likewise.
49855         (pow_test): Likewise.
49856         (remainder_test): Likewise.
49857         (sin_test): Likewise.
49858         (tan_test): Likewise.
49859         (yn_test): Likewise.
49860         (initialize): Set errno to 0.
49861         (main): Print number of errno tests.
49862         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49864 2013-04-29  Andreas Jaeger  <aj@suse.de>
49866         [BZ #15084]
49867         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49868         and RES_USEVC.
49870         [BZ #15085]
49871         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49872         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49873         unimplemented.
49875         [BZ #15380]
49876         * stdlib/random.c (__initstate): Return NULL if
49877         __initstate fails.
49879         [BZ #15086]
49880         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49881         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49882         RES_SNGLKUPREOP.
49884 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49888 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49890         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49891         of individual tests.
49892         (casin_test): Likewise.
49893         (casinh_test): Likewise.
49895 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
49897         [BZ #15409]
49898         * math/s_catan.c (__catan): Handle arguments with large real or
49899         imaginary part separately without squaring.
49900         * math/s_catanf.c (__catanf): Likewise.
49901         * math/s_catanh.c (__catanh): Likewise.
49902         * math/s_catanhf.c (__catanhf): Likewise.
49903         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49904         and redefine.
49905         (__catanhl): Handle arguments with large real or imaginary part
49906         separately without squaring.
49907         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49908         and redefine.
49909         (__catanl): Handle arguments with large real or imaginary part
49910         separately without squaring.
49911         * math/libm-test.inc (catan_test): Add more tests.
49912         (catanh_test): Likewise.
49913         * sysdeps/i386/fpu/libm-test-ulps: Update.
49914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49916 2013-04-27  Andreas Jaeger  <aj@suse.de>
49918         [BZ #15007]
49919         * stdlib/stdlib.h: Update guards for qecvt.
49920         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49921         <stdlib.h>.
49923 2013-04-27  Allan McRae  <allan@archlinux.org>
49925         * sysdeps/i386/fpu/libm-test-ulps: Update.
49927 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
49929         [BZ #15406]
49930         * math/s_catan.c: Include <float.h>.
49931         (__catan): Ensure underflow exception occurs for underflowed
49932         result.
49933         * math/s_catanf.c: Include <float.h>.
49934         (__catanf): Ensure underflow exception occurs for underflowed
49935         result.
49936         * math/s_catanh.c: Include <float.h>.
49937         (__catanh): Ensure underflow exception occurs for underflowed
49938         result.
49939         * math/s_catanhf.c: Include <float.h>.
49940         (__catanhf): Ensure underflow exception occurs for underflowed
49941         result.
49942         * math/s_catanhl.c: Include <float.h>.
49943         (__catanhl): Ensure underflow exception occurs for underflowed
49944         result.
49945         * math/s_catanl.c: Include <float.h>.
49946         (__catanl): Ensure underflow exception occurs for underflowed
49947         result.
49948         * math/libm-test.inc (catan_test): Add more tests.
49949         (catanh_test): Likewise.
49951         [BZ #15405]
49952         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49953         underflowed result.
49954         * math/s_ccoshf.c (__ccoshf): Likewise.
49955         * math/s_ccoshl.c (__ccoshl): Likewise.
49956         * math/s_csin.c (__csin): Likewise.
49957         * math/s_csinf.c (__csinf): Likewise.
49958         * math/s_csinh.c (__csinh): Likewise.
49959         * math/s_csinhf.c (__csinhf): Likewise.
49960         * math/s_csinhl.c (__csinhl): Likewise.
49961         * math/s_csinl.c (__csinl): Likewise.
49962         * math/libm-test.inc (ccos_test): Add more tests.
49963         (ccosh_test): Likewise.
49964         (csin_test): Likewise.
49965         (csinh_test): Likewise.
49967 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49969         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49970         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49971         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49972         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49973         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49974         powerpc/power5+/fpu folders.
49975         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49978 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49980         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49982 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
49984         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49985         additions to variable.
49986         [$(config-machine) = x86_64] (modules-names): Likewise.
49987         ($(objpfx)tst-audit3): Remove dependency.
49988         ($(objpfx)tst-audit3.out): Likewise.
49989         ($(objpfx)tst-audit4): Likewise.
49990         ($(objpfx)tst-audit4.out): Likewise.
49991         ($(objpfx)tst-audit5): Likewise.
49992         ($(objpfx)tst-audit5.out): Likewise.
49993         ($(objpfx)tst-audit6): Likewise.
49994         ($(objpfx)tst-audit6.out): Likewise.
49995         ($(objpfx)tst-audit7): Likewise.
49996         ($(objpfx)tst-audit7.out): Likewise.
49997         (tst-audit3-ENV): Remove variable.
49998         (tst-audit4-ENV): Likewise.
49999         (tst-audit5-ENV): Likewise.
50000         (tst-audit6-ENV): Likewise.
50001         (tst-audit7-ENV): Likewise.
50002         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
50003         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
50004         addition to variable.
50005         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
50006         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
50007         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
50008         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
50009         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
50010         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
50011         tst-audit3, tst-audit4 and tst-audit5.
50012         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
50013         tst-audit6 and tst-audit7.
50014         [$(subdir) = elf] (modules-names): Add audit modules for those
50015         tests.
50016         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
50017         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
50018         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
50019         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
50020         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
50021         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
50022         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
50023         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
50024         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
50025         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
50026         [$(subdir) = elf] (tst-audit3-ENV): New variable.
50027         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
50028         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
50029         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
50030         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
50031         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
50032         Likewise.
50033         [$(subdir) = elf && $(config-cflags-avx) = yes]
50034         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
50035         [$(subdir) = elf && $(config-cflags-avx) = yes]
50036         (CFLAGS-tst-auditmod4a.c): Likewise.
50037         [$(subdir) = elf && $(config-cflags-avx) = yes]
50038         (CFLAGS-tst-auditmod4b.c): Likewise.
50039         [$(subdir) = elf && $(config-cflags-avx) = yes]
50040         (CFLAGS-tst-auditmod6b.c): Likewise.
50041         [$(subdir) = elf && $(config-cflags-avx) = yes]
50042         (CFLAGS-tst-auditmod6c.c): Likewise.
50043         [$(subdir) = elf && $(config-cflags-avx) = yes]
50044         (CFLAGS-tst-auditmod7b.c): Likewise.
50045         * elf/tst-audit3.c: Move to ...
50046         * sysdeps/x86_64/tst-audit3.c: ... here.
50047         * elf/tst-audit4.c: Move to ...
50048         * sysdeps/x86_64/tst-audit4.c: ... here.
50049         * elf/tst-audit5.c: Move to ...
50050         * sysdeps/x86_64/tst-audit5.c: ... here.
50051         * elf/tst-audit6.c: Move to ...
50052         * sysdeps/x86_64/tst-audit6.c: ... here.
50053         * elf/tst-audit7.c: Move to ...
50054         * sysdeps/x86_64/tst-audit7.c: ... here.
50055         * elf/tst-auditmod3a.c: Move to ...
50056         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
50057         * elf/tst-auditmod3b.c: Move to ...
50058         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
50059         * elf/tst-auditmod4a.c: Move to ...
50060         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
50061         * elf/tst-auditmod4b.c: Move to ...
50062         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
50063         * elf/tst-auditmod5a.c: Move to ...
50064         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
50065         * elf/tst-auditmod5b.c: Move to ...
50066         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
50067         * elf/tst-auditmod6a.c: Move to ...
50068         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
50069         * elf/tst-auditmod6b.c: Move to ...
50070         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
50071         * elf/tst-auditmod6c.c: Move to ...
50072         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
50073         * elf/tst-auditmod7a.c: Move to ...
50074         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
50075         * elf/tst-auditmod7b.c: Move to ...
50076         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
50078 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
50080         [BZ #15366]
50081         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
50082         define unconditionally.
50083         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
50084         define unconditionally.
50085         (INT8_C, INT16_C, etc.): Likewise.
50087 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
50089         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
50090         __ehdr_start with hidden visibility.
50092         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
50094 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
50096         * math/libm-test.inc (cos_test): Use accurate hex constants.
50097         (sincost_test): Likewise.
50099 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
50101         * math/libm-test.inc (catan_test): Add more tests.
50102         (catanh_test): Likewise.
50104         * math/s_catanf.c (__catanf): Use suffixed floating-point
50105         constants.
50106         * math/s_catanhf.c (__catanhf): Likewise.
50107         * math/s_catanhl.c (__catanhl): Likewise.
50108         * math/s_catanl.c (__catanl): Likewise.
50110         [BZ #15394]
50111         * math/s_catan.c (__catan): Calculate imaginary part of result
50112         with log1p not log unless computing log of number close to 0.
50113         * math/s_catanf.c (__catanf): Likewise.
50114         * math/s_catanl.c (__catanl): Likewise.
50115         * math/s_catanh.c (__catanh): Calculate real part of result with
50116         log1p not log unless computing log of number close to 0.
50117         * math/s_catanhf.c (__catanhf): Likewise.
50118         * math/s_catanhl.c (__catanhl): Likewise.
50119         * math/libm-test.inc (catan_test): Add more tests.
50120         (catanh_test): Likewise.
50121         * sysdeps/i386/fpu/libm-test-ulps: Update.
50122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50124 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50126         * benchtests/Makefile: Mention files in which fast and slow
50127         paths of math functions are implemented.
50129 2013-04-23  Roland McGrath  <roland@hack.frob.com>
50131         * sysdeps/posix/timespec_get.c: New file.
50133 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50135         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
50136         POWER.
50137         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
50138         for POWER.
50139         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
50140         powerpc/power5/fpu folders.
50141         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
50142         * benchtests/Makefile: Add modf testcase.
50143         * benchtests/bench-modf.c: New file: Benchmark test for mo
50145 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50147         [BZ #14888]
50148         * time/Makefile (tests): Add tst-strptime-whitespace.
50149         * time/strptime_l.c (get_number): Use ISSPACE.
50150         (__strptime_internal): Likewise.
50151         * time/tst-strptime-whitespace.c: New test case.
50153 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
50155         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
50156         member.
50157         (_nss_files_init): Set it here.
50159 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
50161         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
50162         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
50163         unsigned.
50165 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
50167         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
50169 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50171         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
50172         size just once.
50174 2013-04-21  David S. Miller  <davem@davemloft.net>
50176         * po/ru.po: Update Russion translation from translation project.
50178 2013-04-17  Adam Conrad  <adconrad@0c3.net>
50180         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
50181         and setfsgid.
50183 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
50185         * configure.in: Remove i386 configure warning. Remove i386 case.
50186         * configure: Regenerate.
50187         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
50188         Add example to error message.
50189         * sysdeps/i386/configure: Regenerate.
50191 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50193         * benchtests/Makefile (bench): Add cos, tan, slowcos and
50194         slowtan.
50195         * benchtests/cos-inputs: New file.
50196         * benchtests/slowcos-inputs: New file.
50197         * benchtests/slowcos.c: New file.
50198         * benchtests/slowtan-inputs: New file.
50199         * benchtests/slowtan.c: New file.
50200         * benchtests/tan-inputs: New file.
50202 2013-04-16  Roland McGrath  <roland@hack.frob.com>
50204         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
50205         considered kosher.
50207 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50209         * benchtests/Makefile: Include cppflags-iterator.mk to add
50210         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
50212         * Makefile.in (bench-clean): New target.
50213         * benchtests/Makefile (bench-clean): Likewise.
50215 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
50217         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
50219 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
50221         * stdio-common/tstdiomisc.c: Fix coding-style violation.
50223 2013-04-15  Andreas Schwab  <schwab@suse.de>
50225         * nscd/grpcache.c (cache_addgr): Properly check for short write.
50226         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50227         * nscd/pwdcache.c (cache_addpw): Likewise.
50228         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
50229         more than recsize.
50231 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50233         * benchtests/Makefile (bench): Write all output to
50234         bench-out.tmp together.
50236 2013-04-15  Andreas Schwab  <schwab@suse.de>
50238         * nscd/nscd.c (main): Don't fork again after closing files.
50240 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50242         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
50244         * benchtests/Rules (bench-deps): Collect dependencies into a
50245         single variable.  Add Makefile to dependencies.
50246         ($(objpfx)bench-%.c): Depend on bench-deps.
50248 2013-04-12  Roland McGrath  <roland@hack.frob.com>
50249             Xavier Roche  <roche+kml2@exalead.com>
50251         [BZ #15361]
50252         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
50253         just that it's a file descriptor.
50254         * manual/llio.texi (Synchronizing AIO Operations): Update description
50255         for EBADF error from aio_fsync.
50257 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50259         * Rules (bench): Move target definition...
50260         * benchtests/Makefile: ... here.
50262 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
50264         * math/libm-test.inc (cos_test): Fix PI/2 test.
50265         (sincos_test): Likewise.
50266         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50267         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
50269 2013-04-11  Andreas Schwab  <schwab@suse.de>
50271         [BZ #13988]
50272         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
50273         accept exponent character only when digits were seen.
50274         * stdio-common/Makefile (tests): Add bug26.
50275         * stdio-common/bug26.c: New file.
50277         [BZ #14293]
50278         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
50279         non-freeable.
50281 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50283         * Makeconfig (rtld-prefix): Define built linker prefix.
50284         * Rules (run-bench): Use it.
50285         * math/Makefile (run-regen-ulps): Likewise.
50287         * Rules (bench): Remove eval.
50289 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50290             Roland McGrath  <roland@hack.frob.com>
50291             Ondrej Bilka  <neleai@seznam.cz>
50293         [BZ #15346]
50294         * time/getdate.c: Include ctype.h and alloca.h.
50295         (__getdate_r): Trim leading and trailing spaces of input.
50296         * time/tst-getdate.c (tests): Add tests with leading and
50297         trailing spaces.
50299 2013-04-08  Roland McGrath  <roland@hack.frob.com>
50301         [BZ #14280]
50302         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
50303         when computing value.
50305 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50307         * math/README.libm-test (How can I generate "libm-test-ulps"?):
50308         Use testrun.sh to run libm tests.
50310         [BZ #15309]
50311         * elf/dl-open.c (dl_open_worker): memset all of seen array.
50313 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
50315         [BZ #15264]
50316         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
50318 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50320         * Makefile.in (regen-ulps): New target.
50321         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
50322         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
50323         [ifneq (no,$(PERL)] (regen-ulps): New target.
50324         [ifeq (no,$(PERL)] (regen-ulps): New target.
50325         * math/libm-test.inc (ulps_file_name): Define.
50326         (output_dir): New variable.
50327         (options): Add "output-dir" option.
50328         (parse_opt): Handle 'o' case.
50329         (main): If output_dir is non-NULL use it as a prefix
50330         otherwise use "".
50331         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
50333 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50335         [BZ #10060, #10062]
50336         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
50337         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
50338         fail configure if __sync_val_compare_and_swap is not inlined.
50339         * sysdeps/i386/configure: Regenerate.
50340         * configure.in: Build for i686 when configured for i386.
50341         * configure: Regenerate.
50342         * README: Remove i386 reference.
50344 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50346         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
50347         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50349 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50351         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
50352         (lmsnanval): New variables.
50353         (F): Add conversion tests.
50354         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
50355         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
50357         * stdio-common/tstdiomisc.c (F): Properly collect individual
50358         tests' results.
50360         [BZ #14686, #15336]
50361         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
50362         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
50363         Instead, use input NaN values or generate a qNaN by arithmetic
50364         operation.  Also fix bugs to comply with the standard.
50365         * math/libm-test.inc (remainder_test): Add more tests.
50367         [BZ #15335, #15342]
50368         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
50369         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
50370         input NaN values or generate a qNaN by arithmetic operation.
50372         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
50373         unreachable code.
50375         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
50376         definitions.
50378 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
50380         [BZ #14478]
50381         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
50382         underflowed result.
50383         * math/s_cexpf.c (__cexpf): Likewise.
50384         * math/s_cexpl.c (__cexpl): Likewise.
50385         * math/libm-test.inc (cexp_test): Add more tests.
50387 2013-04-03  Andreas Schwab  <schwab@suse.de>
50389         [BZ #15330]
50390         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
50391         order arrays from heap if bigger than alloca cutoff.
50393 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
50395         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
50396         (SNAN_TESTS_double): Refer to GCC PR56831.
50397         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
50398         GCC PR56828.
50400 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50402         * Rules (bench): Move bench.out after the run is complete.
50404         * Rules (bench): Echo currently running benchmark.
50406         * benchtests/Makefile (bench): Add atan and slowatan.
50407         * benchtests/atan-inputs: New file.
50408         * benchtests/slowatan-inputs: New file.
50409         * benchtests/slowatan.c: New file.
50411         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
50412         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
50413         its value.
50415         [BZ #15305]
50416         * sysdeps/unix/sysv/linux/kernel-features.h
50417         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
50418         __ASSUME_XFS_RESTRICTED_CHOWN.
50419         * sysdeps/unix/sysv/linux/pathconf.c
50420         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
50421         Save and restore errno.
50423 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
50425         [BZ #15327]
50426         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
50427         arguments using __kernel_casinh.
50428         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
50429         arguments using __kernel_casinhf.
50430         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
50431         arguments using __kernel_casinhl.
50432         * math/libm-test.inc (cacosh_test): Add more tests.
50433         * sysdeps/i386/fpu/libm-test-ulps: Update.
50434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50436 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50438         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
50439         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
50441         * bench/Makefile (bench): Add sin and slowsin.
50442         * benchtests/sin-inputs: New file.
50443         * benchtests/slowsin-inputs: New file.
50444         * benchtests/slowsin.c: New file.
50446         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
50447         (bench): Add slowexp and slowpow.
50448         (exp-ITER): Increase iterations.
50449         (pow-ITER): Likewise.
50450         * benchtests/exp-inputs: Change input.
50451         * benchtests/pow-inputs: Likewise.
50452         * benchtests/slowexp-inputs: New file.
50453         * benchtests/slowexp.c: New file.
50454         * benchtests/slowpow-inputs: New file.
50455         * benchtests/slowpow.c: New file.
50457 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50459         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
50460         instructions.
50461         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50462         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
50463         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50464         * benchtests/Makefile: Add rint benchtest.
50465         * benchtests/rint-inputs: Input for rint benchtest.
50467 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50469         * Versions.def (libm): Add GLIBC_2.18.
50470         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
50471         hidden libm prototypes.
50472         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
50473         * math/Makefile (libm-calls): Add s_issignaling.
50474         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
50475         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
50476         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
50477         declaration.
50478         * math/math.h [__USE_GNU] (issignaling): New macro.
50479         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
50480         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
50481         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
50482         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
50483         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
50484         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
50485         * manual/arith.texi (issignaling): New section.
50486         * manual/libm-err-tab.pl (@all_functions): Update comment.
50487         * math/gen-libm-test.pl (parse_args): Apply special handling for
50488         issignaling.
50489         * math/libm-test.inc (print_float, issignaling_test): New
50490         functions.
50491         (check_float_internal): Add issignaling checks.
50492         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
50493         default definition.
50494         * sysdeps/powerpc/math-tests.h: New file.
50495         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
50496         tests.
50497         * math/test-snan.c (TEST_FUNC): Likewise.
50499 2013-03-30  David S. Miller  <davem@davemloft.net>
50501         * po/de.po: Update from translation team.
50503 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
50505         [BZ #10357]
50506         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50507         imaginary part less than 1.0 and real part less than 0.5
50508         specially.
50509         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50510         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50511         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
50512         (cacos_test): Add more tests.
50513         (casin_test): Likewise.
50514         (casinh_test): Likewise.
50515         * sysdeps/i386/fpu/libm-test-ulps: Update.
50516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50518 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50520         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
50521         ONE with its value.
50523         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
50524         (__pow_mp): Replace ONE and MONE with their values.
50525         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50526         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
50527         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50528         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
50529         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50530         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50532         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
50534         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
50535         (__pow_mp): Replace ZERO and MZERO with their values.
50536         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50537         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50538         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50539         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50540         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50541         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
50542         (__sqr): Likewise.
50544         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
50546         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
50548 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50550         * include/stdlib.h [!SHARED] (__call_tls_dtors):
50551         Declare with __attribute__ ((weak)).
50552         * stdlib/exit.c (__libc_atexit) [!SHARED]:
50553         Call __call_tls_dtors only if it's not NULL.
50555 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50557         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
50558         didn't do it already, then set _dl_phdr and _dl_phnum based on the
50559         magic __ehdr_start linker symbol if it's defined.
50560         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
50561         them up here if it was already done.
50563         * elf/dl-support.c (_dl_phdr): Make pointer to const.
50564         (_dl_aux_init): Use const in cast when setting it.
50565         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
50566         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
50567         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
50569         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
50570         Declare them here.
50571         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
50572         * csu/libc-tls.c: Nor here.
50573         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
50575         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
50576         (__libc_message): Never call vsyslog.
50578 2013-03-28  Alan Modra  <amodra@gmail.com>
50580         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
50581         Define as empty.
50582         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
50583         Likewise.
50585 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50587         [BZ #15214]
50588         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
50589         underflow.
50590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50592 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50594         [BZ #15304]
50595         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50596         Don't add gid passed as argument.
50598         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
50600 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
50602         [BZ #15307]
50603         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50604         imaginary part between 1.0 and 1.5 and real part less than 0.5
50605         specially.
50606         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50607         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50608         * math/libm-test.inc (cacos_test): Add more tests.
50609         (casin_test): Likewise.
50610         (casinh_test): Likewise.
50611         * sysdeps/i386/fpu/libm-test-ulps: Update.
50612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50614 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50616         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
50617         constants.
50618         (norm): Likewise.
50619         (denorm): Likewise.
50620         (__dbl_mp): Likewise.
50621         (add_magnitudes): Likewise.
50622         (sub_magnitudes): Likewise.
50623         (__add): Likewise.
50624         (__sub): Likewise.
50625         (__mul): Likewise.
50626         (__sqr): Likewise.
50627         (__inv): Likewise.
50628         (__dvd): Likewise.
50630         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
50631         commented code.
50632         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
50633         (__dubcos): Likewise.
50634         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
50635         (__ieee754_acos): Likewise.
50636         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50637         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
50638         (__exp1): Likewise.
50639         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50640         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50641         (log1): Likewise.
50642         (my_log2): Likewise.
50643         (checkint): Likewise.
50644         * sysdeps/ieee754/dbl-64/e_remainder.c
50645         (__ieee754_remainder): Likewise.
50646         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50647         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
50648         (bsloww): Likewise.
50649         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50651         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50652         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
50653         MANTISSA_STORE_T to store computations on mantissa.  Use
50654         macros for rounding and division.
50655         (denorm): Likewise.
50656         (__dbl_mp): Likewise.
50657         (add_magnitudes): Likewise.
50658         (sub_magnitudes): Likewise.
50659         (__mul): Likewise.
50660         (__sqr): Likewise.
50661         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50662         powers of two in terms of TWOPOW macro.
50663         (mp_no): Make type of mantissa as MANTISSA_T.
50664         [!RADIXI]: Define RADIXI.
50665         [!TWO52]: Define TWO52.
50666         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50668 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50670         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
50671         llroundl symbol when building for PPC32.
50673 2013-03-24  Mark H Weaver  <mhw@netris.org>
50675         * manual/arith.texi (Normalization Functions): Fix prototypes for
50676         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50678 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50680         [BZ #13889]
50681         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50682         high value to check if expl overflow.
50683         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50684         to check for underflow and overflow.
50685         * math/libm-test.inc: Add exp test.
50687 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
50689         [BZ #11120]
50690         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50691         with NOT_IN_libc.
50693 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50695         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50696         symbol.
50698 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50700         * math/gen-libm-test.pl (parse_args, special_functions): Properly
50701         wrap blocks consisting of several statements.
50703         * sysdeps/generic/math-tests.h: New file.
50704         * sysdeps/i386/fpu/math-tests.h: Likewise.
50705         * math/test-snan.c: Include it.
50706         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50708 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50710         [BZ #15285]
50711         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50712         (__ieee754_j0l): Do not improve calculations using cos of twice
50713         input for inputs above LDBL_MAX / 2.0L.
50714         (__ieee754_y0l): Likewise.
50715         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50716         (__ieee754_j1l): Do not improve calculations using cos of twice
50717         input for inputs above LDBL_MAX / 2.0L.
50718         (__ieee754_y1l): Likewise.
50719         * math/libm-test.inc (j0_test): Add another test.
50720         (j1_test): Likewise.
50721         (y0_test): Likewise.
50722         (y1_test): Likewise.
50723         * sysdeps/i386/fpu/libm-test-ulps: Update.
50725 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50727         * Rules ($(objpfx)bench-%.c): Include code from a C source
50728         file.
50730 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50732         [BZ #15287]
50733         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50734         imaginary part 1.0 and real part less than 0.5 specially.
50735         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50736         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50737         * math/libm-test.inc (cacos_test): Add more tests.
50738         (casin_test): Likewise.
50739         (casinh_test): Likewise.
50740         * sysdeps/i386/fpu/libm-test-ulps: Update.
50741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50743 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50745         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50746         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50748 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
50750         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50751         * config.make.in (config-cflags-sse4): Remove variable.
50752         (config-cflags-avx): Likewise.
50753         (config-cflags-sse2avx): Likewise.
50754         (config-cflags-novzeroupper): Likewise.
50755         (config-asflags-i686): Likewise.
50756         (have-mfma4): Likewise.
50757         (have-as-vis3): Likewise.
50758         (MIG): Likewise.
50759         * configure.in (MIG): Do not AC_SUBST.
50760         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50761         (libc_cv_cc_sse4): Do not AC_SUBST.
50762         (libc_cv_cc_avx): Likewise.
50763         (libc_cv_cc_sse2avx): Likewise.
50764         (libc_cv_cc_novzeroupper): Likewise.
50765         (libc_cv_cc_fma4): Likewise.
50766         (libc_cv_as_i686): Likewise.
50767         (libc_cv_sparc_as_vis3): Likewise.
50768         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50769         LIBC_CONFIG_VAR.
50770         (config-asflags-i686): Likewise.
50771         (config-cflags-avx): Likewise.
50772         (config-cflags-sse2avx): Likewise.
50773         (have-mfma4): Likewise.
50774         (config-cflags-novzeroupper): Likewise.
50775         * sysdeps/mach/configure.in (MIG): Likewise.
50776         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50777         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50778         LIBC_CONFIG_VAR.
50779         (config-cflags-avx): Likewise.
50780         (config-cflags-sse2avx): Likewise.
50781         (have-mfma4): Likewise.
50782         (config-cflags-novzeroupper): Likewise.
50783         * configure: Regenerated.
50784         * sysdeps/i386/configure: Likewise.
50785         * sysdeps/mach/configure: Likewise.
50786         * sysdeps/sparc/configure: Likewise.
50787         * sysdeps/x86_64/configure: Likewise.
50789 2013-03-20  Roland McGrath  <roland@hack.frob.com>
50791         [BZ #14812]
50792         * locale/programs/localedef.c (options): Put N_ translation marker
50793         on argument names, not just descriptions.
50795 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50797         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50799 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
50801         [BZ #14176]
50802         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50804 2013-03-19  Roland McGrath  <roland@hack.frob.com>
50806         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50807         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50808         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50809         [!BEFORE_ABORT] (before_abort): New function.
50810         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50811         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50812         (writev_for_fatal): New function.
50813         (WRITEV_FOR_FATAL): New macro; call that.
50814         (backtrace_and_maps): New function.
50815         (BEFORE_ABORT): New macro; call that.
50816         (struct str_list): Type removed.
50817         (__libc_message, __libc_fatal): Functions removed.
50818         Include <sysdeps/posix/libc_fatal.c> instead.
50820 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
50822         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50823         constants.
50824         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50825         double constants.
50827 2013-03-19  Andreas Schwab  <schwab@suse.de>
50829         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50830         * sysdeps/gnu/configure: Regenerate.
50832         * configure.in: Substitute libc_cv_rtlddir.
50833         * configure: Regenerate.
50834         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50835         * Makeconfig (rtlddir, inst_rtlddir): New variables.
50836         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50837         * elf/Makefile (install-others, CFLAGS-interp.c)
50838         (ldso_install, common-ldd-rewrite): Likewise.
50839         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50840         $(inst_slibdir)/$(rtld-installed-name).
50841         * scripts/rellns-sh: Add -p option.
50842         * Makerules (make-shlib-link): Use rellns-sh to get relative name
50843         for source.
50845 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50847         * manual/nptl.texi: Renamed to ...
50848         * manual/threads.texi: ... this.
50849         * manual/Makefile (chapters): Update.
50851 2013-03-18  Roland McGrath  <roland@hack.frob.com>
50853         [BZ #14812]
50854         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50855         on argument names, not just descriptions.
50856         * malloc/memusagestat.c (options): Likewise.
50857         * nss/getent.c (options): Likewise.
50859 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
50861         [BZ #14812]
50862         * iconv/iconv_prog.c (options): Put N_ translation marker
50863         on argument names, not just descriptions.
50864         * iconv/iconvconfig.c (options): Likewise.
50866 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
50868         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50869         implementation which is faster on all x86_64 architectures.
50870         Tested on AMD, Intel Nehalem, SNB, IVB.
50871         * sysdeps/x86_64/strnlen.S: Likewise.
50873         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50874         Remove all multiarch strlen and strnlen versions.
50875         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50876         Remove strlen and strnlen related parts.
50878         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50879         Inline strlen part.
50880         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50882         * sysdeps/x86_64/multiarch/strlen.S: Remove.
50883         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50884         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50885         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50886         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50887         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50889 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
50891         * manual/memory.texi (Malloc Tunable Parameters):
50892         Sort parameters alphabetically. Add comments for missing entries.
50894 2013-03-17  David S. Miller  <davem@davemloft.net>
50896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50898 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
50900         [BZ #15283]
50901         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50902         for arguments at most half maximum finite value.
50903         * math/libm-test.inc (j0_test): Add more tests.
50904         (j1_test): Likewise.
50905         (y0_test): Likewise.
50906         (y1_test): Likewise.
50907         * sysdeps/i386/fpu/libm-test-ulps: Update.
50908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50910         [BZ #14155]
50911         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50912         1 / x and functions P and Q for arguments above 0x1p256L.
50913         (__ieee754_y0l): Likewise.
50914         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50915         (__ieee754_y1l): Likewise.
50916         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50917         (j1_test): Likewise.
50918         (y0_test): Likewise.
50919         (y1_test): Likewise.
50921 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
50923         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50924         variable.
50926 2013-03-15  Roland McGrath  <roland@hack.frob.com>
50928         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50929         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50930         zero since it's initialized to EXEC_PAGESIZE.
50932         * sysdeps/unix/sysv/linux/ldsodefs.h
50933         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50934         * sysdeps/generic/ldsodefs.h: ... here.
50936 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
50938         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50940         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50941         math/test-snan.c.
50942         * math/test-snan.c: Renamed from
50943         sysdeps/powerpc/fpu/test-powerpc-snan.c.
50944         * math/Makefile (tests): Add test-snan.
50945         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50946         test-powerpc-snan.
50948         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50949         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
50950         functions.
50951         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
50952         __builtin_nan family of functions.
50953         * math/libm-test.inc (initialize): Initialize qnan_value with
50954         __builtin_nan family of functions.
50955         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50956         Remove variables.
50957         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50958         Remove functions.
50959         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
50960         storage class.  Initialize qNaN_var and sNaN_var with
50961         __builtin_nan and __builtin_nans families of functions,
50962         respectively.
50964         * math/libm-test.inc (acosh_test): Also test with qNaN input.
50965         (sqrt_test): Remove duplicate test with qNaN input.
50966         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50967         (round_test, signbit_test, significand_test): Note missing +/-Inf
50968         as well as qNaN tests.
50970         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50971         qNaN_var.  Fix a few strings, too.
50972         * math/libm-test.inc (nan_value): Rename to qnan_value.
50973         * math/gen-libm-test.pl (%beautify): Adjust to that.
50974         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50975         * math/test-misc.c (main): Likewise.
50976         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50977         to __qnan_bytes, and __qnan_union, respectively.
50978         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50979         Likewise.
50980         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50981         and lqnanval, respectively.
50982         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50983         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50984         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50985         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50987         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50988         * math/test-misc.c (main) [__x86_64__]: Enable test for long
50989         doubles.
50991         * math/test-misc.c (main): Fix copy'n'pastos.
50992         * misc/tst-efgcvt.c (special): Likewise.
50994         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50995         Remove declarations.
50997 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50999         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
51000         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
51001         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
51002         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
51004 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51006         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
51007         macro to return vdso values correctly in IFUNC implementations.
51008         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51009         Optimization by using IFUNC.
51011 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51012             Richard Henderson  <rth@redhat.com>
51013             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51015         * Makefile.in (bench): New target.
51016         * NEWS: Mention the benchmark framework.
51017         * Rules (bench): Likewise.
51018         (binaries-bench): Generate binaries for functions to
51019         benchmark.
51020         * benchtests/Makefile: New makefile for benchmark tests.
51021         * benchtests/bench-skeleton.c: New skeleton file for benchmark
51022         programs.
51023         * benchtests/exp-inputs: New input file for EXP function.
51024         * benchtests/pow-inputs: New input file for POW function.
51025         * scripts/bench.pl: New script to generate source files for
51026         benchmark programs.
51028 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51030         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51031         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
51032         computations on mantissa.  Use macros for rounding and
51033         division.
51034         (denorm): Likewise.
51035         (__dbl_mp): Likewise.
51036         (add_magnitudes): Likewise.
51037         (sub_magnitudes): Likewise.
51038         (__mul): Likewise.
51039         (__sqr): Likewise.
51040         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51041         powers of two in terms of TWOPOW macro.
51042         (mp_no): Make type of mantissa as MANTISSA_T.
51043         [!RADIXI]: Define RADIXI.
51044         [!TWO52]: Define TWO52.
51045         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51047         * manual/nptl.texi (cindex): Modify threads to pthreads.
51049 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
51051         * sysdeps/x86_64/preconfigure: Regenerated.
51053 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
51055         [BZ #14155]
51056         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
51057         0x1p28 and above.
51058         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
51059         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
51060         0x1p28 and above.
51061         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
51062         * math/libm-test.inc (j0_test): Do not allow one spurious
51063         underflow exception.
51064         (y1_test): Likewise.
51066 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51068         * manual/Makefile (chapters): Add nptl.
51069         * manual/debug.texi (Debugging Support): Add link to Threads
51070         chapter.
51071         * manual/nptl.texi: New file.
51073         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
51075 2013-03-14  Petr Baudis  <pasky@ucw.cz>
51077         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
51078         for non-NULL pointer before the memory validity test. Pointed
51079         out by Holger Brunck <holger.brunck@keymile.com>.
51081 2013-03-13  Andreas Schwab  <schwab@suse.de>
51083         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
51084         instead of .os.
51086 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
51088         * timezone/zic.c: Update from tzcode 2013b.
51090 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
51092         * manual/install.texi (Configuring and compiling):
51093         Mention i686 and i586.
51094         * INSTALL: Regenerate.
51096 2013-03-12  Roland McGrath  <roland@hack.frob.com>
51098         * sysdeps/init_array/elf-init.c: New file.
51099         * csu/elf-init.c
51100         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
51101         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
51103         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
51104         __gmon_start__ as global, but as static with a .preinit_array pointer.
51105         * sysdeps/init_array/gmon-start.c: New file.  Use that.
51106         * sysdeps/init_array/crti.S: New file, empty except for comments.
51107         * sysdeps/init_array/crtn.S: Likewise.
51109 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
51111         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
51112         definining bcopy.
51113         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51114         Remove Prefer_SSE_for_memop.
51115         * sysdeps/x86_64/multiarch/init-arch.h: Remove
51116         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
51117         HAS_PREFER_SSE_FOR_MEMOP.
51118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
51119         memset-x86-64.
51120         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51121         Remove bzero, memset ifunc support.
51122         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
51123         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
51124         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51125         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51127 2013-03-11  Andreas Schwab  <schwab@suse.de>
51129         [BZ #15234]
51130         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
51131         by SHLIB_COMPAT.
51132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
51133         (GLIBC_2.16): Remove pthread_atfork.
51135 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
51137         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
51138         (ptestcases.h): Likewise.
51140 2013-03-08  Roland McGrath  <roland@hack.frob.com>
51142         * Makeconfig ($(common-objpfx)config.status): Depend on
51143         sysdeps/*/preconfigure{,.in} too.
51145 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
51147         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
51148         (__free_hook): Use void * instead of __malloc_ptr_t.
51149         (__malloc_hook): Likewise.
51150         (__realloc_hook): Likewise.
51151         (__memalign_hook): Likewise.
51152         (__after_morecore_hook): Likewise.
51153         * malloc/arena.c (save_malloc_hook): Likewise.
51154         (save_free_hook): Likewise.
51155         * malloc/hooks.c (malloc_hook_ini): Likewise.
51156         (realloc_hook_ini): Likewise.
51157         (memalign_hook_ini): Likewise.
51158         * malloc/malloc.c (malloc_hook_ini): Likewise.
51159         (realloc_hook_ini): Likewise.
51160         (memalign_hook_ini): Likewise.
51161         (__free_hook): Likewise.
51162         (__malloc_hook): Likewise.
51163         (__realloc_hook): Likewise.
51164         (__memalign_hook): Likewise.
51165         (__libc_malloc): Likewise.
51166         (__libc_free): Likewise.
51167         (__libc_realloc): Likewise.
51168         (__libc_memalign): Likewise.
51169         (__libc_valloc): Likewise.
51170         (__libc_pvalloc): Likewise.
51171         (__libc_calloc): Likewise.
51172         (__posix_memalign): Likewise.
51173         * malloc/morecore.c (__sbrk): Likewise.
51174         (__default_morecore): Likewise.
51176         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
51178         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
51179         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
51180         __malloc_ptrdiff_t.
51182         * malloc/malloc.h (__malloc_size_t): Remove macro.
51183         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
51184         __malloc_size_t.
51185         (old_memalign_hook): Likewise.
51186         (old_realloc_hook): Likewise.
51187         (struct hdr): Likewise.
51188         (flood): Likewise.
51189         (mallochook): Likewise.
51190         (memalignhook): Likewise.
51191         (reallochook): Likewise.
51192         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
51193         (tr_old_realloc_hook): Likewise.
51194         (tr_old_memalign_hook): Likewise.
51195         (tr_mallochook): Likewise.
51196         (tr_reallochook): Likewise.
51197         (tr_memalignhook): Likewise.
51199 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51201         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
51202         default_ldbl_pack and using as default implementation.
51203         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
51204         implementation.
51205         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
51206         redundant definition.
51207         (ldbl_insert_mantissa): Likewise.
51208         (ldbl_canonicalize): Likewise.
51209         (ldbl_nearbyint): Likewise.
51210         (ldbl_pack): Rename to ldbl_pack_ppc.
51211         (ldbl_unpack): Rename to ldbl_unpack_ppc.
51212         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
51213         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
51215 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
51218         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
51219         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
51220         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
51221         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
51222         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
51223         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
51224         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
51226 2013-03-07  Andreas Jaeger  <aj@suse.de>
51228         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51229         bits/mman-linux.h.
51231 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51233         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
51234         Include mpa.h and declare __MPEXP.
51235         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
51236         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51237         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51238         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
51239         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51240         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51241         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
51243         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
51244         (__slowpow): Use long double EXPL and LOGL functions to
51245         compute POW.
51246         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51247         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51248         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
51249         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51250         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51251         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
51253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
51254         intermediate variable to calculate exponent.
51255         (__sqr): Likewise.
51256         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51257         Likewise.
51258         (__sqr): Likewise.
51260         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
51261         [!NO__SQR]: Define __sqr.
51262         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
51263         and NO__SQR.  Remove all code except __mul and __sqr.  Include
51264         sysdeps/ieee754/dbl-64/mpa.c.
51265         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51267         [BZ #12723]
51268         * posix/Makefile (tests): Add tst-pathconf.
51269         * posix/tst-pathconf.c: New test case.
51270         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
51271         _PC_PIPE_BUF.
51272         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
51274 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
51276         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
51278 2013-03-06  Andreas Jaeger  <aj@suse.de>
51280         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
51281         definition via __MAP_ANONYMOUS.
51283         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
51284         it's not part of Linux headers.
51286         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
51287         (MAP_HUGE_MASK): Define.
51289         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51290         Define.
51291         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51292         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51293         Define.
51294         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51295         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51296         Define.
51297         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51298         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
51299         Define.
51300         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51302         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
51303         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
51304         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
51305         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
51306         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
51307         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
51309         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51310         Handle f2fs.
51312         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51313         Handle f2fs and efivarfs.
51315         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
51316         f2fs.
51318         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
51319         (EFIVARFS_MAGIC): Add.
51320         (F2FS_LINK_MAX): Add.
51322 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51324         * stdio-common/vfprintf.c: Replace __builtin_expect with
51325         __glibc_unlikely.
51327 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
51329         [BZ #13550]
51330         * sysdeps/generic/bp-sym.h: Remove file.
51331         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
51332         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
51333         <bp-sym.h> and <bp-asm.h>.
51334         (__longjmp): Don't use BP_SYM.
51335         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
51336         and <bp-asm.h>.
51337         (memcpy): Don't use BP_SYM.
51338         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
51339         <bp-sym.h> and <bp-asm.h>.
51340         (memcpy): Don't use BP_SYM.
51341         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
51342         <bp-asm.h>.
51343         (memcpy): Don't use BP_SYM.
51344         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
51345         <bp-asm.h>.
51346         (memset): Don't use BP_SYM.
51347         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51348         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51349         (__bzero): Don't use BP_SYM.
51350         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51351         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51352         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
51353         <bp-sym.h> and <bp-asm.h>.
51354         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51355         pointers.
51356         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
51357         <bp-sym.h> and <bp-asm.h>.
51358         (memcpy): Don't use BP_SYM.
51359         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
51360         <bp-sym.h> and <bp-asm.h>.
51361         (memset): Don't use BP_SYM.
51362         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51363         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51364         (__bzero): Don't use BP_SYM.
51365         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51366         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51367         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
51368         <bp-sym.h> and <bp-asm.h>.
51369         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51370         pointers.
51371         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
51372         <bp-sym.h> and <bp-asm.h>.
51373         (memcpy): Don't use BP_SYM.
51374         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
51375         <bp-sym.h> and <bp-asm.h>.
51376         (memset): Don't use BP_SYM.
51377         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51378         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51379         (__bzero): Don't use BP_SYM.
51380         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51381         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51382         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
51383         <bp-sym.h> and <bp-asm.h>.
51384         (__memchr): Don't use BP_SYM.
51385         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
51386         <bp-sym.h> and <bp-asm.h>.
51387         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51388         pointers.
51389         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
51390         <bp-sym.h> and <bp-asm.h>.
51391         (memcpy): Don't use BP_SYM.
51392         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
51393         <bp-sym.h> and <bp-asm.h>.
51394         (__mempcpy): Don't use BP_SYM.
51395         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
51396         <bp-sym.h> and <bp-asm.h>.
51397         (__memrchr): Don't use BP_SYM.
51398         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
51399         <bp-sym.h> and <bp-asm.h>.
51400         (memset): Don't use BP_SYM.
51401         (__bzero): Likewise.
51402         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
51403         <bp-sym.h> and <bp-asm.h>.
51404         (__rawmemchr): Don't use BP_SYM.
51405         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
51406         <bp-sym.h> and <bp-asm.h>.
51407         (__STRCMP): Don't use BP_SYM.
51408         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
51409         <bp-sym.h> and <bp-asm.h>.
51410         (strchr): Don't use BP_SYM.
51411         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
51412         <bp-sym.h> and <bp-asm.h>.
51413         (__strchrnul): Don't use BP_SYM.
51414         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
51415         <bp-sym.h> and <bp-asm.h>.
51416         (strlen): Don't use BP_SYM.
51417         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
51418         <bp-sym.h> and <bp-asm.h>.
51419         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51420         pointers.
51421         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
51422         <bp-sym.h> and <bp-asm.h>.
51423         (__strnlen): Don't use BP_SYM.
51424         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
51425         <bp-sym.h> and <bp-asm.h>.
51426         (__GI__setjmp): Don't use BP_SYM.
51427         (_setjmp): Likewise.
51428         (__sigsetjmp): Likewise.
51429         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
51430         (L(start_addresses)): Don't use BP_SYM.
51431         (_start): Likewise.
51432         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
51433         <bp-asm.h>.
51434         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
51435         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
51436         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51437         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51438         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
51439         <bp-asm.h>.
51440         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
51441         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
51442         about bounded pointers.
51443         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51444         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51445         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
51446         <bp-asm.h>.
51447         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51448         about bounded pointers.  Remove GKM FIXME comments.
51449         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51450         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
51451         <bp-asm.h>.
51452         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
51453         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
51454         Remove GKM FIXME comments.
51455         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51456         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51457         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
51458         <bp-asm.h>.
51459         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51460         about bounded pointers.  Remove GKM FIXME comment.
51461         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
51462         and <bp-asm.h>.
51463         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51464         pointers.
51465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
51466         <bp-sym.h> and <bp-asm.h>.
51467         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
51469         <bp-sym.h> and <bp-asm.h>.
51470         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51471         comment.
51473 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51475         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
51476         call free(NULL).
51478 2013-03-05  David S. Miller  <davem@davemloft.net>
51480         * po/es.po: Update from translation team.
51482 2013-03-05  Andreas Jaeger  <aj@suse.de>
51484         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
51485         <bits/mman-linux.h>.
51486         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51487         is fine.
51488         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
51489         <bits/mman-linux.h> to end of file.
51490         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51491         is fine.
51492         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
51493         <bits/mman-linux.h> to end of file.
51494         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51495         is fine.
51496         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
51497         <bits/mman-linux.h> to end of file.
51499         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
51500         (MCL_CURRENT, MCL_FUTURE): Define here.
51502 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51504         [BZ #15232]
51505         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
51506         attribute_hidden.
51507         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51509 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51511         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
51512         fourth parameter needed for rt_sigprocmask syscall.
51513         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
51514         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51515         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
51516         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51517         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51518         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
51520 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
51522         [BZ #13550]
51523         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
51524         comment about bounded pointers.
51525         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
51526         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
51528 2013-03-04  Andreas Jaeger  <aj@suse.de>
51530         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
51531         common definitions.
51533         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
51534         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
51535         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
51536         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51537         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51538         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51540 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51542         [BZ #15055]
51543         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
51544         __ieee754_sqrl instead of __sqrl.
51546 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
51548         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
51549         * sysdeps/powerpc/fpu_control.h: ... here.
51550         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
51551         * sysdeps/powerpc/bits/fenvinline.h: ... here.
51552         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
51553         * sysdeps/powerpc/bits/mathinline.h: ... here.
51555 2013-03-01  Roland McGrath  <roland@hack.frob.com>
51557         * elf/dl-hwcaps.c (_dl_important_hwcaps):
51558         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
51559         to just [NEED_DL_SYSINFO_DSO].
51560         * elf/dl-support.c: Likewise.
51561         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
51562         * elf/rtld.c (dl_main): Likewise.
51563         * elf/setup-vdso.h (setup_vdso): Likewise.
51564         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
51565         * sysdeps/unix/sysv/linux/dl-sysdep.c
51566         (_dl_discover_osversion): Likewise.
51568 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
51570         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
51571         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51573 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
51575         * NEWS: Mention libm performance improvements and non-x86 PI
51576         futex support.
51578         * csu/libc-start.c (__pthread_initialize_minimal): Change
51579         function arguments.
51580         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51582 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
51584         [BZ #13550]
51585         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
51586         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
51587         <bp-sym.h> and <bp-asm.h>.
51588         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51589         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
51590         and <bp-asm.h>.
51591         (memcpy): Don't use BP_SYM.
51592         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
51593         <bp-asm.h>.
51594         (__mpn_add_n): Don't use BP_SYM.
51595         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
51596         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
51597         and <bp-asm.h>.
51598         (__mpn_addmul_1): Don't use BP_SYM.
51599         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51600         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
51601         <bp-sym.h>.
51602         (_setjmp): Don't use BP_SYM.
51603         (__novmx_setjmp): Likewise.
51604         (__GI__setjmp): Likewise.
51605         (__vmx_setjmp): Likewise.
51606         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
51607         <bp-sym.h>.
51608         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
51609         (__bzero): Don't use BP_SYM.
51610         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51611         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51612         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
51613         <bp-sym.h> and <bp-asm.h>.
51614         (memcpy): Don't use BP_SYM.
51615         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
51616         <bp-sym.h> and <bp-asm.h>.
51617         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51618         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
51619         <bp-sym.h> and <bp-asm.h>.
51620         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51621         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
51622         <bp-asm.h>.
51623         (__mpn_lshift): Don't use BP_SYM.
51624         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51625         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
51626         <bp-asm.h>.
51627         (memset): Don't use BP_SYM.
51628         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51629         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51630         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
51631         <bp-asm.h>.
51632         (__mpn_mul_1): Don't use BP_SYM.
51633         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51634         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
51635         <bp-sym.h> and <bp-asm.h>.
51636         (memcmp): Don't use BP_SYM.
51637         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
51638         <bp-sym.h> and <bp-asm.h>.
51639         (memcpy): Don't use BP_SYM.
51640         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
51641         <bp-sym.h> and <bp-asm.h>.
51642         (memset): Don't use BP_SYM.
51643         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
51644         <bp-sym.h> and <bp-asm.h>.
51645         (strncmp): Don't use BP_SYM.
51646         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
51647         <bp-sym.h> and <bp-asm.h>.
51648         (memcpy): Don't use BP_SYM.
51649         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
51650         <bp-sym.h> and <bp-asm.h>.
51651         (memset): Don't use BP_SYM.
51652         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
51653         <bp-sym.h> and <bp-asm.h>.
51654         (__memchr): Don't use BP_SYM.
51655         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
51656         <bp-sym.h> and <bp-asm.h>.
51657         (memcmp): Don't use BP_SYM.
51658         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
51659         <bp-sym.h> and <bp-asm.h>.
51660         (memcpy): Don't use BP_SYM.
51661         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
51662         <bp-sym.h> and <bp-asm.h>.
51663         (__mempcpy): Don't use BP_SYM.
51664         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
51665         <bp-sym.h> and <bp-asm.h>.
51666         (__memrchr): Don't use BP_SYM.
51667         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
51668         <bp-sym.h> and <bp-asm.h>.
51669         (memset): Don't use BP_SYM.
51670         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
51671         <bp-sym.h> and <bp-asm.h>.
51672         (__rawmemchr): Don't use BP_SYM.
51673         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51674         <bp-sym.h> and <bp-asm.h>.
51675         (__STRCMP): Don't use BP_SYM.
51676         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51677         <bp-sym.h> and <bp-asm.h>.
51678         (strchr): Don't use BP_SYM.
51679         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51680         <bp-sym.h> and <bp-asm.h>.
51681         (__strchrnul): Don't use BP_SYM.
51682         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51683         <bp-sym.h> and <bp-asm.h>.
51684         (strlen): Don't use BP_SYM.
51685         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51686         <bp-sym.h> and <bp-asm.h>.
51687         (strncmp): Don't use BP_SYM.
51688         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51689         <bp-sym.h> and <bp-asm.h>.
51690         (__strnlen): Don't use BP_SYM.
51691         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51692         <bp-asm.h>.
51693         (__mpn_rshift): Don't use BP_SYM.
51694         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51695         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51696         <bp-sym.h> and <bp-asm.h>.
51697         (__sigsetjmp): Don't use BP_SYM.
51698         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51699         (L(start_addresses)): Don't use BP_SYM.
51700         (_start): Likewise.
51701         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51702         <bp-asm.h>.
51703         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51704         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51705         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51706         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51707         <bp-asm.h>.
51708         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51709         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51710         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51711         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51712         <bp-asm.h>.
51713         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51714         comments.
51715         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51716         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51717         <bp-asm.h>.
51718         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
51719         FIXME comments.
51720         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51721         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51722         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51723         <bp-asm.h>.
51724         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51725         comment.
51726         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51727         and <bp-asm.h>.
51728         (strncmp): Don't use BP_SYM,
51729         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51730         <bp-asm.h>.
51731         (__mpn_sub_n): Don't use BP_SYM.
51732         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51733         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51734         and <bp-asm.h>.
51735         (__mpn_submul_1): Don't use BP_SYM.
51736         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51738         <bp-sym.h> and <bp-asm.h>.
51739         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51741         <bp-sym.h> and <bp-asm.h>.
51742         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51743         comment.
51745 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51747         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51748         Use ZK to minimize writes to Z.
51749         (sub_magnitudes): Simplify code a bit.
51750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51751         Use ZK to minimize writes to Z.
51752         (sub_magnitudes): Simplify code a bit.
51754 2013-02-27  Roland McGrath  <roland@hack.frob.com>
51756         * csu/gmon-start.c: Add special exception to license text.
51758 2013-02-27  Richard Henderson  <rth@redhat.com>
51760         * scripts/config.guess: Update from config.git.
51761         * scripts/config.sub: Likewise.
51763 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51765         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51767         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51769         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51771         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51773         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51775 2013-02-26  Roland McGrath  <roland@hack.frob.com>
51777         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51778         [$(build-shared = yes].
51780 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51782         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51783         (__mul): Reduce iterations for calculating mantissa.
51785         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51786         MPTWO.
51787         (__mpranred): Likewise.
51789         [BZ #15160]
51790         * malloc/memusagestat.c (main): Draw graphs for heap and stack
51791         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51793 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
51795         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51796         Define __attribute__.
51798 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51800         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51801         unused.
51802         * posix/regex_internal.h (__attribute): Remove.
51803         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51804         (re_string_context_at): Likewise.
51805         (bitset_not): Use __attribute__ and mark function as possibly
51806         unused.
51807         (bitset_merge): Likewise.
51808         (bitset_mask): Likewise.
51809         (re_string_char_size_at): Likewise.
51810         (re_string_wchar_at): Likewise.
51811         (re_string_elem_size_at): Likewise.
51813 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51815         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51816         code.
51817         (cc32): Likewise.
51819         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51820         (__acr): Likewise.
51821         (__cpy): Likewise.
51822         (norm): Likewise.
51823         (denorm): Likewise.
51824         (__dbl_mp): Likewise.
51825         (add_magnitudes): Likewise.
51826         (sub_magnitudes): Likewise.
51827         (__mul): Likewise.
51828         (__inv): Likewise.
51830         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51831         style.
51833         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51834         style.
51836         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51837         code.
51839         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51840         up changes with default code.
51841         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51842         Likewise.
51844 2013-02-24  Allan McRae  <allan@archlinux.org>
51846         * manual/socket.texi (The Internet Namespace): Order menu items
51847         to match that in the file.
51849         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51850         node listing of the info page menu.
51852 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
51854         [BZ #13550]
51855         * sysdeps/i386/bp-asm.h: Remove file.
51856         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51857         (PARMS): Do not use macros from bp-asm.h.
51858         (S1): Likewise.
51859         (S2): Likewise.
51860         (SIZE): Likewise.
51861         (__mpn_add_n): Do not use BP_SYM
51862         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51863         "bp-asm.h".
51864         (PARMS): Do not use macros from bp-asm.h.
51865         (S1): Likewise.
51866         (SIZE): Likewise.
51867         (__mpn_addmul_1): Do not use BP_SYM
51868         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51869         "bp-asm.h".
51870         (PARMS): Do not use macros from bp-asm.h.
51871         (SIGMSK): Likewise.
51872         (_setjmp): Likewise.  Do not use BP_SYM.
51873         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51874         "bp-asm.h".
51875         (PARMS): Do not use macros from bp-asm.h.
51876         (SIGMSK): Likewise.
51877         (setjmp): Likewise.  Do not use BP_SYM.
51878         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51879         "bp-asm.h".
51880         (PARMS): Do not use macros from bp-asm.h.
51881         (__frexp): Do not use BP_SYM.
51882         (frexp): Likewise.
51883         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51884         "bp-asm.h".
51885         (PARMS): Do not use macros from bp-asm.h.
51886         (__frexpf): Do not use BP_SYM.
51887         (frexpf): Likewise.
51888         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51889         "bp-asm.h".
51890         (PARMS): Do not use macros from bp-asm.h.
51891         (__frexpl): Do not use BP_SYM.
51892         (frexpl): Likewise.
51893         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51894         "bp-asm.h".
51895         (PARMS): Do not use macros from bp-asm.h.
51896         (__remquo): Do not use BP_SYM.
51897         (remquo): Likewise.
51898         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51899         "bp-asm.h".
51900         (PARMS): Do not use macros from bp-asm.h.
51901         (__remquof): Do not use BP_SYM.
51902         (remquof): Likewise.
51903         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51904         "bp-asm.h".
51905         (PARMS): Do not use macros from bp-asm.h.
51906         (__remquol): Do not use BP_SYM.
51907         (remquol): Likewise.
51908         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
51909         "bp-asm.h".
51910         (PARMS): Do not use macros from bp-asm.h.
51911         (DEST): Likewise.
51912         (SRC): Likewise.
51913         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
51914         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51915         "bp-asm.h".
51916         (PARMS): Do not use macros from bp-asm.h.
51917         (strlen): Do not use BP_SYM.
51918         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51919         "bp-asm.h".
51920         (PARMS): Do not use macros from bp-asm.h.
51921         (S1): Likewise.
51922         (S2): Likewise.
51923         (SIZE): Likewise.
51924         (__mpn_add_n): Do not use BP_SYM.
51925         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
51926         "bp-asm.h".
51927         (PARMS): Do not use macros from bp-asm.h.
51928         (S1): Likewise.
51929         (SIZE): Likewise.
51930         (__mpn_addmul_1): Do not use BP_SYM.
51931         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51932         weak_alias.
51933         (bzero): Likewise.
51934         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51935         "bp-asm.h".
51936         (PARMS): Do not use macros from bp-asm.h.
51937         (S): Likewise.
51938         (SIZE): Likewise.
51939         (__mpn_lshift): Do not use BP_SYM.
51940         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51941         "bp-asm.h".
51942         (PARMS): Do not use macros from bp-asm.h.
51943         (DEST): Likewise.
51944         (SRC): Likewise.
51945         (LEN): Likewise.
51946         (memcpy): Likewise.  Do not use BP_SYM.
51947         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51948         libc_hidden_def and weak_alias.
51949         (mempcpy): Do not use BP_SYM in weak_alias.
51950         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51951         "bp-asm.h".
51952         (PARMS): Do not use macros from bp-asm.h.
51953         (DEST): Likewise.
51954         (LEN): Likewise.
51955         [!BZERO_P] (CHR): Likewise.
51956         (memset): Likewise.  Do not use BP_SYM.
51957         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51958         "bp-asm.h".
51959         (PARMS): Do not use macros from bp-asm.h.
51960         (S1): Likewise.
51961         (SIZE): Likewise.
51962         (__mpn_mul_1): Do not use BP_SYM.
51963         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51964         "bp-asm.h".
51965         (PARMS): Do not use macros from bp-asm.h.
51966         (S): Likewise.
51967         (SIZE): Likewise.
51968         (__mpn_rshift): Do not use BP_SYM.
51969         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51970         "bp-asm.h".
51971         (PARMS): Do not use macros from bp-asm.h.
51972         (STR): Likewise.
51973         (CHR): Likewise.
51974         (strchr): Likewise.  Do not use BP_SYM.
51975         (index): Do not use BP_SYM in weak_alias.
51976         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51977         "bp-asm.h".
51978         (PARMS): Do not use macros from bp-asm.h.
51979         (DEST): Likewise.
51980         (SRC): Likewise.
51981         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
51982         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51983         "bp-asm.h".
51984         (PARMS): Do not use macros from bp-asm.h.
51985         (strlen): Do not use BP_SYM.
51986         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51987         "bp-asm.h".
51988         (PARMS): Do not use macros from bp-asm.h.
51989         (S1): Likewise.
51990         (S2): Likewise.
51991         (SIZE): Likewise.
51992         (__mpn_sub_n): Do not use BP_SYM.
51993         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51994         "bp-asm.h".
51995         (PARMS): Do not use macros from bp-asm.h.
51996         (S1): Likewise.
51997         (SIZE): Likewise.
51998         (__mpn_submul_1): Do not use BP_SYM.
51999         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
52000         "bp-asm.h".
52001         (PARMS): Do not use macros from bp-asm.h.
52002         (S1): Likewise.
52003         (S2): Likewise.
52004         (SIZE): Likewise.
52005         (__mpn_add_n): Do not use BP_SYM.
52006         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
52007         weak_alias.
52008         (bzero): Likewise.
52009         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
52010         "bp-asm.h".
52011         (PARMS): Do not use macros from bp-asm.h.
52012         (BLK2): Likewise.
52013         (LEN): Likewise.
52014         (memcmp): Do not use BP_SYM.
52015         (bcmp): Do not use BP_SYM in weak_alias.
52016         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
52017         "bp-asm.h".
52018         (PARMS): Do not use macros from bp-asm.h.
52019         (DEST): Likewise.
52020         (SRC): Likewise.
52021         (LEN): Likewise.
52022         (memcpy): Likewise.  Do not use BP_SYM.
52023         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
52024         "bp-asm.h".
52025         (PARMS): Do not use macros from bp-asm.h.
52026         (DEST): Likewise.
52027         (SRC): Likewise.
52028         (LEN): Likewise.
52029         (memmove): Likewise.  Do not use BP_SYM.
52030         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
52031         "bp-asm.h".
52032         (PARMS): Do not use macros from bp-asm.h.
52033         (DEST): Likewise.
52034         (SRC): Likewise.
52035         (LEN): Likewise.
52036         (__mempcpy): Likewise.  Do not use BP_SYM.
52037         (mempcpy): Do not use BP_SYM in weak_alias.
52038         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
52039         "bp-asm.h".
52040         (PARMS): Do not use macros from bp-asm.h.
52041         (DEST): Likewise.
52042         (LEN): Likewise.
52043         [!BZERO_P] (CHR): Likewise.
52044         (memset): Likewise.  Do not use BP_SYM.
52045         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
52046         "bp-asm.h".
52047         (PARMS): Do not use macros from bp-asm.h.
52048         (STR2): Likewise.
52049         (strcmp): Do not use BP_SYM.
52050         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
52051         "bp-asm.h".
52052         (PARMS): Do not use macros from bp-asm.h.
52053         (STR): Likewise.
52054         (DELIM): Likewise.
52055         [USE_AS_STRTOK_R] (SAVE): Likewise.
52056         (FUNCTION): Likewise.  Do not use BP_SYM.
52057         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
52058         aliases.
52059         (strtok_r): Likewise.
52060         (__GI___strtok_r): Likewise.
52061         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52062         (PARMS): Do not use macros from bp-asm.h.
52063         (S): Likewise.
52064         (SIZE): Likewise.
52065         (__mpn_lshift): Do not use BP_SYM.
52066         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52067         (PARMS): Do not use macros from bp-asm.h.
52068         (STR): Likewise.
52069         (CHR): Likewise.
52070         (__memchr): Do not use BP_SYM.
52071         (memchr): Do not use BP_SYM in weak_alias.
52072         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52073         (PARMS): Do not use macros from bp-asm.h.
52074         (BLK2): Likewise.
52075         (LEN): Likewise.
52076         (memcmp): Do not use BP_SYM.
52077         (bcmp): Do not use BP_SYM in weak_alias.
52078         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
52079         (PARMS): Do not use macros from bp-asm.h.
52080         (S1): Likewise.
52081         (SIZE): Likewise.
52082         (__mpn_mul_1): Do not use BP_SYM.
52083         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
52084         "bp-asm.h".
52085         (PARMS): Do not use macros from bp-asm.h.
52086         (STR): Likewise.
52087         (CHR): Likewise.
52088         (__rawmemchr): Do not use BP_SYM.
52089         (rawmemchr): Do not use BP_SYM in weak_alias.
52090         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52091         (PARMS): Do not use macros from bp-asm.h.
52092         (S): Likewise.
52093         (SIZE): Likewise.
52094         (__mpn_rshift): Do not use BP_SYM.
52095         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52096         (PARMS): Do not use macros from bp-asm.h.
52097         (SIGMSK): Likewise.
52098         (__sigsetjmp): Likewise.  Do not use BP_SYM.
52099         * sysdeps/i386/start.S: Do not include "bp-sym.h".
52100         (_start): Do not use BP_SYM.
52101         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
52102         (PARMS): Do not use macros from bp-asm.h.
52103         (DEST): Likewise.
52104         (SRC): Likewise.
52105         (__stpcpy): Likewise.  Do not use BP_SYM.
52106         (stpcpy): Do not use BP_SYM in weak_alias.
52107         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
52108         "bp-asm.h".
52109         (PARMS): Do not use macros from bp-asm.h.
52110         (DEST): Likewise.
52111         (SRC): Likewise.
52112         (LEN): Likewise.
52113         (__stpncpy): Likewise.  Do not use BP_SYM.
52114         (stpncpy): Do not use BP_SYM in weak_alias.
52115         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52116         (PARMS): Do not use macros from bp-asm.h.
52117         (STR): Likewise.
52118         (CHR): Likewise.
52119         (strchr): Likewise.  Do not use BP_SYM.
52120         * sysdeps/i386/strchrnul.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         (CHR): Likewise.
52125         (__strchrnul): Likewise.  Do not use BP_SYM.
52126         (strchrnul): Do not use BP_SYM in weak_alias.
52127         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
52128         "bp-asm.h".
52129         (PARMS): Do not use macros from bp-asm.h.
52130         (STOP): Likewise.
52131         (strcspn): Do not use BP_SYM.
52132         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
52133         "bp-asm.h".
52134         (PARMS): Do not use macros from bp-asm.h.
52135         (STR): Likewise.
52136         (STOP): Likewise.
52137         (strpbrk): Likewise.  Do not use BP_SYM.
52138         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
52139         "bp-asm.h".
52140         (PARMS): Do not use macros from bp-asm.h.
52141         (STR): Likewise.
52142         (CHR): Likewise.
52143         (strrchr): Likewise.  Do not use BP_SYM.
52144         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
52145         (PARMS): Do not use macros from bp-asm.h.
52146         (SKIP): Likewise.
52147         (strspn): Do not use BP_SYM.
52148         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
52149         (PARMS): Do not use macros from bp-asm.h.
52150         (STR): Likewise.
52151         (DELIM): Likewise.
52152         (SAVE): Likewise.
52153         (FUNCTION): Likewise.  Do not use BP_SYM.
52154         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
52155         aliases.
52156         (strtok_r): Likewise.
52157         (__GI___strtok_r): Likewise.
52158         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52159         (PARMS): Do not use macros from bp-asm.h.
52160         (S1): Likewise.
52161         (S2): Likewise.
52162         (SIZE): Likewise.
52163         (__mpn_sub_n): Do not use BP_SYM.
52164         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
52165         "bp-asm.h".
52166         (PARMS): Do not use macros from bp-asm.h.
52167         (S1): Likewise.
52168         (SIZE): Likewise.
52169         (__mpn_submul_1): Do not use BP_SYM.
52170         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
52171         <bp-sym.h>.
52172         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
52173         and <bp-asm.h>.
52174         (PARMS): Do not use macros from bp-asm.h.
52175         (FLAGS): Likewise.
52176         (PTID): Likewise.
52177         (TLS): Likewise.
52178         (CTID): Likewise.
52179         (__clone): Do not use BP_SYM.
52180         (clone): Do not use BP_SYM in weak_alias.
52181         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
52182         and <bp-asm.h>.
52183         (PARMS): Do not use macros from bp-asm.h.
52184         (LEN): Likewise.
52185         (__mmap64): Do not use BP_SYM.
52186         (mmap64): Do not use BP_SYM in weak_alias.
52187         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52188         <bp-sym.h> and <bp-asm.h>.
52189         (PARMS): Do not use macros from bp-asm.h.
52190         (__posix_fadvise64_l64): Do not use BP_SYM.
52191         * sysdeps/unix/sysv/linux/i386/semtimedop.S
52192         (PARMS): Do not use macros from bp-asm.h.
52193         (NSOPS): Likewise.
52194         (semtimedop): Do not use BP_SYM.
52195         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
52196         and <bp-asm.h>.
52198 2013-02-21  Allan McRae  <allan@archlinux.org>
52200         * manual/message.texi (Charset conversion in gettext):
52201         Move @end statement to beginning of line.
52203 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52205         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
52206         static.
52207         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52208         Likewise.
52210         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
52211         (denorm): Likewise.
52212         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
52213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
52215 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52217         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
52218         tail-call to the resolved function if pltexit isn't needed.
52220 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52222         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
52223         or Y being zero as being unlikely.
52224         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52225         Likewise.
52227 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
52229         * manual/nss.texi (System Databases and Name Service Switch):
52230         Remove frobnicate @pxref.
52232 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52234         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52235         __attribute__ ((unused)) to __attribute__ ((__unused__)).
52237 2013-02-20  Petr Machata  <pmachata@redhat.com>
52239         * elf/elf.h (R_ARM_TARGET1): New macro.
52240         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
52241         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
52242         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
52243         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
52244         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
52245         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
52246         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
52247         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
52248         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
52249         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
52250         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
52251         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
52252         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
52253         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
52254         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
52255         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
52256         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
52257         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
52258         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
52259         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
52260         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
52261         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
52262         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
52263         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
52264         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
52265         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
52266         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
52267         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
52268         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
52269         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
52270         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
52271         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
52272         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
52273         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
52274         (R_ARM_THM_GOT_BREL12): Likewise.
52275         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
52276         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
52277         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
52278         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
52279         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
52280         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
52281         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
52282         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
52283         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
52285 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52287         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52288         __attribute_used__ to __attribute__ ((unused)).
52290 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52292         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
52293         powerpc mpa.c.
52294         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
52295         comment formatting.
52296         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
52298 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
52300         [BZ #13550]
52301         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
52302         Remove macro.
52303         (ENTER): Remove both macro definitions.
52304         (LEAVE): Likewise.
52305         (CHECK_BOUNDS_LOW): Likewise.
52306         (CHECK_BOUNDS_HIGH): Likewise.
52307         (CHECK_BOUNDS_BOTH): Likewise.
52308         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
52309         (RETURN_BOUNDED_POINTER): Likewise.
52310         (RETURN_NULL_BOUNDED_POINTER): Likewise.
52311         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
52312         (POP_ERRNO_LOCATION_RETURN): Likewise.
52313         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
52314         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52315         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
52316         macros.
52317         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52318         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
52319         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
52320         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
52321         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
52322         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
52323         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
52324         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
52325         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
52326         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
52327         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
52328         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
52329         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52330         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
52331         removed macros.
52332         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52333         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
52334         macros.
52335         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52336         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
52337         * sysdeps/i386/i586/memset.S (memset): Likewise.
52338         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
52339         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52340         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
52341         macros.
52342         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52343         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
52344         Change uses of L(2) to L(out).
52345         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
52346         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
52347         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
52348         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52349         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
52350         removed macros.
52351         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52352         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
52353         macros.
52354         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52355         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
52356         (RETURN): Do not use macro LEAVE.
52357         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
52358         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
52359         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
52360         * sysdeps/i386/i686/memset.S (memset): Likewise.
52361         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
52362         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
52363         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52364         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
52365         Likewise.
52366         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52367         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
52368         L(1_2) and L(1_3) into L(1).
52369         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52370         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
52371         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52372         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
52373         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52374         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
52375         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
52376         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52377         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
52378         macros.
52379         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
52380         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52381         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
52382         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
52383         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
52384         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52385         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
52386         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
52387         * sysdeps/i386/strcspn.S (strcspn): Likewise.
52388         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
52389         * sysdeps/i386/strrchr.S (strrchr): Likewise.
52390         * sysdeps/i386/strspn.S (strspn): Likewise.
52391         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
52392         conditional code.
52393         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52394         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
52395         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52396         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
52397         L(1_3) into L(1_1).
52398         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
52399         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52400         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
52401         macros.
52402         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52404 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
52406         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
52407         macro.
52409 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52411         * math/atest-exp.c (exp_mpn): Remove ROUND.
52412         * math/atest-exp2.c (exp_mpn): Likewise.
52413         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
52415         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
52416         * stdlib/tst-tls-atexit-lib.c: Likewise.
52417         * stdlib/tst-tls-atexit.c: Likewise.
52419 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52421         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
52422         and __attribute_alloc_size__.
52424 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52426         * include/programs/xmalloc.h: Change __attribute_alloc_size to
52427         __attribute_alloc_size__.
52428         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
52429         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
52431 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52433         * include/programs/xmalloc.h: New file.
52434         * catgets/gencat.c: Include it.
52435         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
52436         * elf/pldd.c: Likewise.
52437         * iconv/iconv_charmap.c: Likewise.
52438         * iconv/iconvconfig.c: Likewise.
52439         * iconv/strtab.c: Likewise.
52440         * locale/programs/locale.c: Likewise.
52441         * locale/programs/localedef.h: Likewise.
52442         * locale/programs/simple-hash.c: Likewise.
52443         * nscd/nscd.h: Likewise.
52444         * nss/makedb.c: Likewise.
52445         * sysdeps/generic/ldconfig.h: Likewise.
52447 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52449         * Versions.def: Add GLIBC_2.18.
52450         * include/link.h (struct link_map): New member l_tls_dtor_count.
52451         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
52452         (__call_tls_dtors): Likewise.
52453         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
52454         __cxa_thread_atexit_impl.
52455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52456         Likewise.
52457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52458         Likewise.
52459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52460         Likewise.
52461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52462         Likewise.
52463         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
52465         Likewise.
52466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
52467         Likewise.
52468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52470         Likewise.
52471         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
52472         (tests): Add test case tst-tls-atexit.
52473         (modules-names): Add shared library for tst-tls-atexit.
52474         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
52475         (GLIBC_PRIVATE): Add __call_tls_dtors.
52476         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
52477         for libstdc++.
52478         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
52479         * stdlib/tst-tls-atexit.c: New test case.
52480         * stdlib/tst-tls-atexit-lib.c: New test case.
52482         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
52484         * elf/Versions (ld): Add _dl_find_dso_for_object.
52485         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
52486         * elf/dl-open.c (_dl_find_dso_for_object): New function.
52487         (dl_open_worker): Use _dl_find_dso_for_object.
52488         * elf/dl-sym.c (do_sym): Likewise.
52489         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
52491 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52493         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
52494         Syntactic changes only.
52495         (_dl_runtime_profile): Do a tail-call to the resolved function.
52497 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
52499         [BZ #13550]
52500         * sysdeps/x86_64/bp-asm.h: Remove file.
52501         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
52502         <bp-sym.h> and <bp-asm.h>.
52503         (__clone): Do not use BP_SYM.
52504         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
52505         <bp-sym.h> and <bp-asm.h>.
52506         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52507         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
52508         "bp-asm.h".
52509         (_setjmp): Do not use BP_SYM.
52510         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
52511         "bp-asm.h".
52512         (setjmp): Do not use BP_SYM.
52513         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
52514         libc_hidden_def.
52515         (mempcpy): Do not use BP_SYM in weak_alias.
52516         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
52517         "bp-asm.h".
52518         (strchr): Do not use BP_SYM.
52519         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
52520         "bp-asm.h".
52521         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
52522         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
52523         (_start): Do not use BP_SYM.
52524         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
52525         "bp-asm.h".
52526         (strcat): Do not use BP_SYM.
52527         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
52528         "bp-asm.h".
52529         (STRCMP): Do not use BP_SYM.
52530         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
52531         "bp-asm.h".
52532         (STRCPY): Do not use BP_SYM.
52533         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
52534         "bp-asm.h".
52535         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
52536         "bp-asm.h".
52537         (FUNCTION): Do not use BP_SYM.
52538         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
52539         weak_alias.
52540         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
52542 2013-02-17  Andreas Jaeger  <aj@suse.de>
52544         * time/Versions: Sort entries.
52545         * string/Versions: Likewise.
52546         * resolv/Versions: Likewise.
52547         * posix/Versions: Likewise.
52548         * iconv/Versions: Likewise.
52549         * elf/Versions: Likewise.
52550         * wcsmbs/Versions: Likewise.
52552 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52554         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
52555         loop termination condition.
52557         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
52558         variable to calculate EZ.
52559         (__sqr): Likewise.
52561         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
52562         the lower precision input.
52564 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
52566         [BZ #13550]
52567         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
52568         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
52569         (run-via-rtld-prefix): Do not handle %-bp tests.
52570         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
52571         (all-object-suffixes): Remove .ob.
52572         (bppfx): Remove variable.
52573         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
52574         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
52575         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
52576         [$(build-bounded) = yes] (libtype.ob): Likewise.
52577         * Makerules (elide-routines.ob): Remove variable.
52578         (do-tests-clean): Do not handle *-bp.out.
52579         (common-mostlyclean): Do not handle *-bp and *-bp.out.
52580         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
52581         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
52582         (tests): Do not include $(tests-bp.out).
52583         (xtests): Do not include $(xtests-bp.out).
52584         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
52585         [$(build-bounded) = yes] ($(addprefix
52586         $(objpfx),$(binaries-bounded))): Remove rule.
52587         ($(objpfx)%-bp.out): Remove rule.
52588         * config.make.in (build-bounded): Remove variable.
52589         * crypt/Makefile [$(build-bounded) = yes]
52590         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
52591         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
52592         append to variable.
52593         [$(build-bounded) = yes] (install-lib): Likewise.
52594         [$(build-bounded) = yes] (generated): Likewise.
52595         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
52596         Remove rule.
52597         * intl/Makefile [$(build-bounded) = yes]
52598         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
52599         * math/Makefile [$(build-bounded) = yes]
52600         ($(tests:%=$(objpfx)%-bp): Likewise.
52601         * misc/Makefile [$(build-bounded) = yes]
52602         ($(objpfx)tst-tsearch-bp): Likewise.
52603         * nptl/Makeconfig (bounded-thread-library): Remove variable.
52604         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
52605         Remove dependency.
52606         * string/Makefile (o-objects.ob): Remove variable.
52607         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
52608         (CFLAGS-.ob): Remove variable.
52609         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
52610         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
52611         both definitions of variable.
52612         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
52613         (ASFLAGS-.ob): Remove variable.
52615 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
52617         [BZ #13550]
52618         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
52619         Remove __BOUNDED_POINTERS__ from condition.
52620         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
52621         * string/bits/string2.h [!__NO_STRING_INLINES &&
52622         !__BOUNDED_POINTERS__]: Likewise.
52623         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
52624         Likewise.
52625         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
52626         Remove conditional code.
52627         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
52628         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
52629         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
52630         condition.
52632         [BZ #13550]
52633         * csu/libc-start.c: Do not include <bp-sym.h>.
52634         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
52635         * elf/dl-open.c: Do not include <bp-sym.h>.
52636         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
52637         * math/fegetenv.c: Do not include <bp-sym.h>.
52638         (fegetenv): Do not use BP_SYM in versioned symbols.
52639         * nptl/sysdeps/pthread/bits/libc-lockP.h
52640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
52641         <bp-sym.h>.
52642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52643         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
52644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52645         (__pthread_mutex_destroy): Likewise.
52646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52647         (__pthread_mutex_lock): Likewise.
52648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52649         (__pthread_mutex_trylock): Likewise.
52650         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52651         (__pthread_mutex_unlock): Likewise.
52652         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52653         (__pthread_mutexattr_init): Likewise.
52654         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52655         (__pthread_mutexattr_destroy): Likewise.
52656         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52657         (__pthread_mutexattr_settype): Likewise.
52658         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52659         (__pthread_rwlock_init): Likewise.
52660         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52661         (__pthread_rwlock_destroy): Likewise.
52662         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52663         (__pthread_rwlock_rdlock): Likewise.
52664         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52665         (__pthread_rwlock_tryrdlock): Likewise.
52666         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52667         (__pthread_rwlock_wrlock): Likewise.
52668         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52669         (__pthread_rwlock_trywrlock): Likewise.
52670         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52671         (__pthread_rwlock_unlock): Likewise.
52672         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52673         (__pthread_key_create): Likewise.
52674         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52675         (__pthread_setspecific): Likewise.
52676         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52677         (__pthread_getspecific): Likewise.
52678         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52679         Likewise.
52680         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52681         (_pthread_cleanup_push_defer): Likewise.
52682         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52683         (_pthread_cleanup_pop_restore): Likewise.
52684         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52685         (pthread_setcancelstate): Likewise.
52686         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52687         <bp-sym.h>.
52688         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52689         (memchr): Do not use BP_SYM in weak_alias.
52690         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52691         (fegetenv): Do not use BP_SYM in versioned symbols.
52692         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52693         (fesetenv): Do not use BP_SYM in versioned symbols.
52694         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52695         (feupdateenv): Do not use BP_SYM in versioned symbols.
52696         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52697         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52698         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52699         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52700         (open64): Do not use BP_SYM in weak_alias.
52701         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52702         (fegetenv): Do not use BP_SYM in versioned symbols.
52703         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52704         (fesetenv): Do not use BP_SYM in versioned symbols.
52705         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52706         (feupdateenv): Do not use BP_SYM in versioned symbols.
52707         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52708         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52709         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52710         (feraiseexcept): Do not use BP_SYM in versioned symbols.
52711         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52712         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52713         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52714         <bp-sym.h>.
52715         (__libc_start_main): Do not use BP_SYM.
52717 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52719         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52720         redundant return line.
52721         (norm): Likewise.
52722         (denorm): Likewise.
52723         (dbl_mp): Likewise.
52724         (sub_magnitudes): Likewise.
52725         (__add): Likewise.
52726         (__sub): Likewise.
52727         (__mul): Likewise.
52728         (__inv): Likewise.
52729         (__dvd): Likewise.
52730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52731         (norm): Likewise.
52732         (denorm): Likewise.
52733         (dbl_mp): Likewise.
52734         (sub_magnitudes): Likewise.
52735         (__add): Likewise.
52736         (__sub): Likewise.
52737         (__mul): Likewise.
52738         (__inv): Likewise.
52739         (__dvd): Likewise.
52741         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52742         instead of __mul.
52743         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52744         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52745         (cc32): Likewise.
52747         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52748         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52749         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52750         of __mul for squares.
52751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52752         function
52753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52754         Likewise.
52755         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52756         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52758 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
52760         [BZ #13550]
52761         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52762         code.
52763         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52764         prototype or function definition.  Rename ubp_* variables and
52765         parameters.  Remove argv definitions conditional on
52766         [__BOUNDED_POINTERS__].
52767         * debug/backtrace.c (__backtrace): Do not use __unbounded.
52768         * elf/dl-runtime.c (_dl_fixup): Likewise.
52769         * include/set-hooks.h (RUN_HOOK): Likewise.
52770         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52771         definition.
52772         * string/strcpy.c (strcpy): Do not use __unbounded.
52773         * sysdeps/generic/frame.h (struct layout): Likewise.
52774         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52775         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52776         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52777         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52778         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52779         (__backtrace): Likewise.
52780         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52781         use __ptrvalue.
52782         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52783         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52784         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52785         Likewise.
52786         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52787         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52788         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52789         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52790         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52791         Do not use __unbounded.
52792         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52793         Rename __unboundedrlimits parameter to rlimits in prototype.
52794         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52795         Do not use __unbounded.
52796         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52797         not use __ptrvalue.
52798         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52799         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52800         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52801         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52802         __ptrvalue or __unbounded.
52803         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52804         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52805         use __unbounded.
52806         (__new_msgctl): Do not use __ptrvalue.
52807         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52808         __unbounded.
52809         (__libc_msgrcv): Do not use __ptrvalue.
52810         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52811         startup_info): Do not use __unbounded.
52812         (__libc_start_main): Likewise.  Rename ubp_* variables and
52813         parameters.  Remove argv definitions conditional on
52814         [__BOUNDED_POINTERS__].
52815         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52816         __ptrvalue.
52817         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52818         use __unbounded.
52819         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52820         or __ptrvalue.
52821         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52822         use __unbounded.
52823         (__new_shmctl): Do not use __ptrvalue.
52824         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52825         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52826         Likewise.
52827         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52828         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52829         (__libc_sigaction): Likewise.
52830         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52831         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52832         Likewise.
52833         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52835 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
52837         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52839         * string/mempcpy.c: Implement by calling memcpy.
52841 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52843         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52845         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52846         evaluation.
52848         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52849         values in the mantissa.
52851         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52852         minimize writes to Z.
52853         (sub_magnitudes): Simplify code a bit.
52855 2013-02-12  Roland McGrath  <roland@hack.frob.com>
52857         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52858         from the message.  The linker prefixes all warnings with that already.
52860 2013-02-12  Andreas Schwab  <schwab@suse.de>
52862         [BZ #15078]
52863         * posix/regexec.c (extend_buffers): Add parameter min_len.
52864         (check_matching): Pass minimum needed length.
52865         (clean_state_log_if_needed): Likewise.
52866         (get_subexp): Likewise.
52867         * posix/Makefile (tests): Add bug-regex34.
52868         (bug-regex34-ENV): Define.
52869         * posix/bug-regex34.c: New file.
52871         [BZ #11561]
52872         * posix/regcomp.c (parse_bracket_exp): When looking up collating
52873         elements compare against the byte sequence of it, not its name.
52874         * posix/Makefile (tests): Add bug-regex35.
52875         (bug-regex35-ENV): Define.
52876         * posix/bug-regex35.c: New file.
52878 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52880         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
52881         comment.
52882         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52883         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52884         (CHECK_EOL): Add undef.
52886 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
52888         * bits/stdlib-bsearch.h: New file.
52889         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52890         * stdlib/stdlib.h: Likewise.
52892 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52894         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52895         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52896         declaration.
52897         * manual/search.texi (Array Search Function): Add missing const in
52898         lfind prototype.
52899         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52900         declaration to use rlim_t.
52901         (Basic Scheduling Functions): Remove erroneous const from
52902         sched_getparam prototype.  Remove erroneous * from
52903         sched_get_priority_max and sched_get_priority_min prototypes.
52904         (Resource Usage): Fix summary @comment on vtimes to refer to
52905         sys/vtimes.h rather than vtimes.h.
52906         Add missing *s in vtimes prototype.
52907         (Limits on Resources): Fix ulimit prototype to return long int.
52908         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52909         prototypes to use long int rather than double.
52910         (BSD Random): Fix initstate and setstate to use char *, not void *.
52911         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52912         prototype to make second argument 'struct aiocb64 *const[]'.
52913         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52914         (Status of AIO Operations): Remove erroneous const in aio_return and
52915         aio_return64 prototypes.
52916         (Synchronizing I/O): Fix sync prototype to return void.
52917         * manual/startup.texi (Suboptions): Remove an erroneous const in
52918         getsubopt prototype.
52919         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52920         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52921         use size_t rather than int.
52922         (Scanning All Users): Likewise for getpwent_r.
52923         (Setting Groups): Add missing const to setgroups prototype.
52924         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52925         * manual/socket.texi (Host Names): Fix gethostbyaddr and
52926         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52927         'const void *' rather than 'const char *'.
52928         (Host Address Functions): Likewise for inet_ntop.
52929         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52930         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52931         ssize_t for return value.
52932         (Sending Data): Likewise for send, sendto, sendmsg.
52933         (Socket Option Functions): Add a missing const in setsockopt prototype.
52934         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52935         use wchar_t for the argument.
52936         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52937         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52938         take no arguments.
52939         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52940         double/float/long double for second argument.
52941         Fix return types of significand, significandf, significandl.
52942         * manual/filesys.texi (Setting Permissions): Use mode_t for second
52943         argument in fchmod prototype.
52944         (File Owner): Use uid_t and gid_t in fchown prototype.
52945         (File Times): Add const to utimes, futimes, and lutimes prototypes.
52946         (Making Special Files): Use mode_t and dev_t in mknod prototype.
52947         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52948         use 'const struct dirent **' as argument types to CMP function pointer
52949         argument.
52950         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52951         (File Times): Fix summary magic @comment for struct utimbuf and utime
52952         to refer to utime.h, not time.h.
52953         * manual/string.texi (Argz Functions): Add missing const in
52954         argz_extract and argz_next prototypes.
52955         (Finding Tokens in a String): Likewise for basename.
52956         (String/Array Comparison): Fix typo in wcscasecmp prototype.
52957         (Copying and Concatenation): Fix typo in wmemmove prototype.
52958         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52959         (Signal Stack): Remove erroneous const in sigstack prototype.
52960         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52961         prototype.
52962         (Simple Calendar Time): Likewise for stime.
52963         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52964         prototype.
52965         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52966         say sys/sysctl.h instead.
52967         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52968         and vsyslog prototypes.
52970 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52972         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52973         Remove.
52975 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52977         * misc/sys/mman.h: Fix typo in mremap comment.
52979 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52981         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52982         the '\0' terminator.
52984 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52986         [BZ #13550]
52987         * debug/segfault.c: Don't include <bp-checks.h>.
52988         * sysdeps/generic/bp-checks.h: Remove file.
52989         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52990         (__GETDENTS): Don't use CHECK_N.
52991         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52992         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52993         (__getgroups): Don't use CHECK_N.
52994         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52995         (setgroups): Don't use CHECK_N.
52996         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52997         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52998         (__libc_msgrcv): Don't use CHECK_N.
52999         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
53000         (__libc_msgsnd): Don't use CHECK_N.
53001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
53002         <bp-checks.h>.
53003         (__libc_pread): Don't use CHECK_N.
53004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
53005         include <bp-checks.h>.
53006         (__libc_pread64): Don't use CHECK_N.
53007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
53008         include <bp-checks.h>.
53009         (__libc_pwrite): Don't use CHECK_N.
53010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
53011         include <bp-checks.h>.
53012         (__libc_pwrite64): Don't use CHECK_N.
53013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
53014         <bp-checks.h>.
53015         (__libc_pread): Don't use CHECK_N.
53016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
53017         include <bp-checks.h>.
53018         (__libc_pread64): Don't use CHECK_N.
53019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
53020         include <bp-checks.h>.
53021         (__libc_pwrite): Don't use CHECK_N.
53022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
53023         include <bp-checks.h>.
53024         (__libc_pwrite64): Don't use CHECK_N.
53025         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
53026         (do_pread): Don't use CHECK_N.
53027         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
53028         (do_pread64): Don't use CHECK_N.
53029         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
53030         (do_pwrite): Don't use CHECK_N.
53031         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
53032         (do_pwrite64): Don't use CHECK_N.
53033         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
53034         (__libc_readv): Don't use CHECK_N.
53035         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
53036         (semop): Don't use CHECK_N.
53037         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
53038         <bp-checks.h>.
53039         (semtimedop): Don't use CHECK_N.
53040         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
53041         (__libc_pread): Don't use CHECK_N.
53042         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
53043         <bp-checks.h>.
53044         (__libc_pread64): Don't use CHECK_N.
53045         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
53046         <bp-checks.h>.
53047         (__libc_pwrite): Don't use CHECK_N.
53048         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
53049         <bp-checks.h>.
53050         (__libc_pwrite64): Don't use CHECK_N.
53051         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
53052         <bp-checks.h>.
53053         (__libc_msgrcv): Don't use CHECK_N.
53054         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
53055         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
53056         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
53057         (__libc_writev): Don't use CHECK_N.
53059 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53061         * string/strcpy.c: Removed unused variable.
53063         * Makeconfig (+sysdep-includes): Define with := rather than =.
53064         Use an existing include/ subdir of each sysdeps dir before it.
53066 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53068         * nscd/connection.c (register_traced_file): Comment function.
53069         [HAVE_INOTIFY] (union __inev): Define.
53070         [HAVE_INOTIFY] (inotify_check_files): New function.
53071         [HAVE_INOTIFY] (clear_db_cache): Likewise.
53072         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
53073         clear_db_cache.
53074         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
53076 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53078         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
53079         loaded if not already and that a failure is permanent.
53081 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53083         [BZ #15006]
53084         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
53085         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
53087 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53089         [BZ #13550]
53090         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
53091         (CHECK_1_NULL_OK): Likewise.
53092         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
53093         (__fxstat): Do not use CHECK_1.
53094         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
53095         <bp-checks.h>.
53096         (___fxstat64): Do not use CHECK_1.
53097         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
53098         <bp-checks.h>.
53099         (__fxstatat): Do not use CHECK_1.
53100         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
53101         <bp-checks.h>.
53102         (__fxstatat64): Do not use CHECK_1.
53103         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
53104         <bp-checks.h>.
53105         (__fxstat): Do not use CHECK_1.
53106         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
53107         <bp-checks.h>.
53108         (__fxstatat): Do not use CHECK_1.
53109         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53110         <bp-checks.h>.
53111         (__getresgid): Do not use CHECK_1.
53112         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53113         <bp-checks.h>.
53114         (__getresuid): Do not use CHECK_1.
53115         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
53116         <bp-checks.h>.
53117         (__lxstat): Do not use CHECK_1.
53118         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53119         <bp-checks.h>.
53120         (__old_msgctl): Do not use CHECK_1.
53121         (__new_msgctl): Likewise.
53122         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
53123         <bp-checks.h>.
53124         (__new_setrlimit): Do not use CHECK_1.
53125         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53126         <bp-checks.h>.
53127         (__old_shmctl): Do not use CHECK_1.
53128         (__new_shmctl): Likewise.
53129         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
53130         <bp-checks.h>.
53131         (__xstat): Do not use CHECK_1.
53132         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
53133         (__lxstat): Do not use CHECK_1.
53134         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
53135         <bp-checks.h>.
53136         (___lxstat64): Do not use CHECK_1.
53137         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
53138         (__old_msgctl): Do not use CHECK_1.
53139         (__new_msgctl): Likewise.
53140         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
53141         <bp-checks.h>.
53142         (__gettimeofday): Do not use CHECK_1.
53143         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
53144         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
53145         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
53146         <bp-checks.h>.
53147         (__gettimeofday): Do not use CHECK_1.
53148         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
53149         (__old_shmctl): Do not use CHECK_1_NULL_OK.
53150         (__new_shmctl): Do not use CHECK_1.
53151         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
53152         <bp-checks.h>.
53153         (do_sigtimedwait): Do not use CHECK_1.
53154         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
53155         <bp-checks.h>.
53156         (do_sigwaitinfo): Do not use CHECK_1.
53157         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
53158         <bp-checks.h>.
53159         (msgctl): Do not use CHECK_1.
53160         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
53161         <bp-checks.h>.
53162         (shmctl): Do not use CHECK_1.
53163         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
53164         (ustat): Do not use CHECK_1.
53165         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
53166         <bp-checks.h>.
53167         (__fxstat): Do not use CHECK_1.
53168         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
53169         <bp-checks.h>.
53170         (__fxstatat): Do not use CHECK_1.
53171         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
53172         <bp-checks.h>.
53173         (__lxstat): Do not use CHECK_1.
53174         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
53175         <bp-checks.h>.
53176         (__xstat): Do not use CHECK_1.
53177         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
53178         (__xstat): Do not use CHECK_1.
53179         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
53180         (___xstat64): Do not use CHECK_1.
53182         [BZ #13550]
53183         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
53184         definitions.
53185         (CHECK_BOUNDS_HIGH): Likewise.
53186         * string/strcpy.c: Do not include <bp-checks.h>.
53187         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
53189 2013-02-07  Roland McGrath  <roland@hack.frob.com>
53191         * nscd/nscd-client.h (__nscd_drop_map_ref):
53192         Add __attribute__ ((unused)).
53193         * nis/nss-nisplus.h (niserr2nss): Likewise.
53195         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
53196         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
53198         * csu/libc-tls.c (init_static_tls, init_slotinfo):
53199         Remove inline keyword.
53200         * include/rounding-mode.h (round_away): Likewise.
53201         * libio/wfileops.c (adjust_wide_data): Likewise.
53202         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
53203         (__m128i_strloadu_tolower): Likewise.
53204         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
53205         (__m128i_strloadu_tolower): Likewise.
53206         * time/mktime.c (ydhms_diff): Likewise.
53207         * locale/elem-hash.h (elem_hash): Likewise.
53208         * locale/setlocale.c (setdata): Likewise.
53209         * posix/regex_internal.h (re_string_char_size_at): Likewise.
53210         (re_string_wchar_at): Likewise.
53211         (bitset_not, bitset_merge, bitset_mask): Likewise.
53212         [!(__GNUC__ > 3)] (inline): Remove macro.
53213         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
53214         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
53215         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
53216         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
53217         * string/memcmp.c (memcmp_bytes): Likewise.
53218         * locale/programs/locarchive.c (compute_hashval): Likewise.
53219         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
53220         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
53221         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
53222         * nss/getent.c (print_rpc, print_protocols): Likewise.
53223         (print_passwd, print_group, print_aliases): Likewise.
53224         * nis/nss-nisplus.h (niserr2nss): Likewise.
53225         * nscd/connections.c (restart_p): Likewise.
53226         Change return type to bool.
53228 2013-02-05  Roland McGrath  <roland@hack.frob.com>
53230         * Makeconfig (all-Depend-files): Add existing
53231         $(sorted-subdirs:=/Depend) files.
53232         (all-subdirs): Remove nss.
53233         * sysdeps/unix/inet/Subdirs: Add it here instead.
53234         * hesiod/Depend: New file.
53236         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
53237         instead of calling alloca.
53239         * io/lseek.c (__lseek): Rename to __libc_lseek.
53240         Define __lseek as an alias.
53242         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
53244 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
53246         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
53247         else clause and remove check for non-standard endianness.
53249 2013-02-04  David S. Miller  <davem@davemloft.net>
53251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53253 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
53255         [BZ #13550]
53256         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
53257         (__ubp_memchr): Remove prototype.
53258         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
53259         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53260         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
53261         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53262         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
53263         Remove alias.
53264         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
53265         (__ubp_memchr): Likewise.
53266         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
53267         (__ubp_memchr): Likewise.
53268         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
53269         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
53270         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
53271         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
53272         CHECK_STRING.
53273         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53274         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
53275         (__getcwd): Do not use CHECK_STRING.
53276         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53277         <bp-checks.h>.
53278         (__real_chown): Do not use CHECK_STRING.
53279         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
53280         <bp-checks.h>.
53281         (fchownat): Do not use CHECK_STRING.
53282         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
53283         CHECK_STRING.
53284         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53285         <bp-checks.h>.
53286         (__lchown): Do not use CHECK_STRING.
53287         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53288         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53289         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53290         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
53291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53292         include <bp-checks.h>.
53293         (truncate64): Do not use CHECK_STRING.
53294         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53295         <bp-checks.h>.
53296         (__real_chown): Do not use CHECK_STRING.
53297         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53298         <bp-checks.h>.
53299         (__lchown): Do not use CHECK_STRING.
53300         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53301         <bp-checks.h>.
53302         (__chown): Do not use CHECK_STRING.
53303         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
53304         <bp-checks.h>.
53305         (truncate64): Do not use CHECK_STRING.
53306         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
53307         Likewise.
53308         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
53309         (__xmknod): Do not use CHECK_STRING.
53310         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
53311         <bp-checks.h>.
53312         (__xmknodat): Do not use CHECK_STRING.
53313         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53314         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
53316 2013-02-04  Andreas Schwab  <schwab@suse.de>
53318         [BZ #14142]
53319         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
53320         * include/netdb.h: Likewise for h_errno.
53321         * elf/tst-stackguard1.c: Include <tls.h>.
53323 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
53325         * elf/link.h (struct link_map): Extend the l_addr comment.
53326         * include/link.h (struct link_map): Likewise.
53328 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
53330         [BZ #13550]
53331         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
53332         (BOUNDED_1): Remove macro.
53333         * debug/backtrace.c: Don't include <bp-checks.h>.
53334         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
53335         (__backtrace): Likewise.
53336         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
53337         <bp-checks.h>.
53338         (__backtrace): Don't use BOUNDED_1.
53339         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
53340         <bp-checks.h>.
53341         (__backtrace): Don't use BOUNDED_1.
53342         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
53343         (__backtrace): Don't use BOUNDED_1.
53344         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
53345         (shmat): Don't use BOUNDED_N.
53347 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
53349         [BZ #13550]
53350         * sysdeps/generic/bp-start.h: Remove file.
53351         * csu/libc-start.c: Don't include <bp-start.h>.
53352         (LIBC_START_MAIN): Set up __environ directly instead of using
53353         INIT_ARGV_and_ENVIRON.
53354         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
53355         <bp-start.h>.
53357         [BZ #13550]
53358         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
53359         definitions.
53360         (CHECK_FCNTL): Likewise.
53361         (CHECK_N_PAGES): Likewise.
53363         [BZ #13550]
53364         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
53365         definitions.
53366         (CHECK_SIGSET_NULL_OK): Likewise.
53367         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
53368         <bp-checks.h>.
53369         (sigpending): Don't use CHECK_SIGSET.
53370         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
53371         <bp-checks.h>.
53372         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53373         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
53374         <bp-checks.h>.
53375         (do_sigsuspend): Don't use CHECK_SIGSET.
53376         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
53377         use CHECK_SIGSET.
53378         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
53379         (do_sigwait): Don't use CHECK_SIGSET.
53380         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
53381         use CHECK_SIGSET.
53382         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
53383         include <bp-checks.h>.
53384         (sigpending): Don't use CHECK_SIGSET.
53385         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
53386         include <bp-checks.h>.
53387         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53388         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
53389         <bp-checks.h>.
53390         (sigpending): Don't use CHECK_SIGSET.
53391         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
53392         <bp-checks.h>.
53393         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53395         [BZ #13550]
53396         * sysdeps/generic/bp-semctl.h: Remove file.
53397         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
53398         <bp-checks.h> and <bp-semctl.h>.
53399         (__old_semctl): Don't use CHECK_SEMCTL.
53400         (__new_semctl): Likewise.
53401         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
53402         and <bp-semctl.h>.
53403         (__old_semctl): Don't use CHECK_SEMCTL.
53404         (__new_semctl): Likewise.
53405         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
53406         <bp-checks.h> and <bp-semctl.h>.
53407         (__old_semctl): Don't use CHECK_SEMCTL.
53408         (__new_semctl): Likewise.
53409         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
53410         <bp-checks.h> and <bp-semctl.h>.
53411         (semctl): Don't use CHECK_SEMCTL.
53413         [BZ #13550]
53414         * Makerules (elide-bp-thunks): Remove variable.
53415         (elide-routines.oS): Don't use $(elide-bp-thunks).
53416         (elide-routines.os): Likewise.
53417         (elide-routines.o): Likewise.
53418         (elide-routines.op): Likewise.
53419         (elide-routines.og): Likewise.
53420         (objects): Don't use $(bp-thunks).
53421         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
53422         include.
53423         (common-generated): Do not add s-proto-bp.d.
53424         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
53425         (int): Likewise.
53426         (typ): Likewise.
53427         Do not generate makefile rules for bounded-pointer thunks.
53428         * sysdeps/generic/bp-thunks.h: Remove file.
53429         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
53430         * sysdeps/unix/s-proto-bp.S: Likewise.
53432         [BZ #15062]
53433         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
53434         parts of result separately when argument is not close to line from
53435         -i to i and one part of argument is small.
53436         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53437         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53438         * math/libm-test.inc (cacos_test): Add more tests.
53439         (casin_test): Likewise.
53440         (casinh_test): Likewise.
53441         * sysdeps/i386/fpu/libm-test-ulps: Update.
53442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53444 2013-01-31  David S. Miller  <davem@davemloft.net>
53446         * po/de.po: Update from translation team.
53448 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
53450         * time/tzfile.c: Include stdint.h for SIZE_MAX.
53452 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
53454         * configure.in (_AC_PROG_CC_C89): New definition.
53455         * configure: Regenerate.
53457         * configure.in (AC_PROG_CPP): New definition.
53458         * configure: Regenerate.
53460 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53462         * debug/tst-backtrace.h: New file.
53463         * debug/tst-backtrace2.c: Include tst-backtrace.h.
53464         (ret): Remove variable.
53465         (x): Likewise.
53466         (FAIL): Remove macro.
53467         (NO_INLINE): Likewise.
53468         (fn1): Use match function instead of strstr.
53469         * debug/tst-backtrace3.c: Include tst-backtrace.h.
53470         (ret): Remove variable.
53471         (x): Likewise.
53472         (FAIL): Remove macro.
53473         (NO_INLINE): Likewise.
53474         (fn): Use match function instead of strstr.
53475         * debug/tst-backtrace4.c: Include tst-backtrace.h.
53476         (ret): Remove variable.
53477         (x): Likewise.
53478         (FAIL): Remove macro.
53479         (NO_INLINE): Likewise.
53480         (handle_signal): Use match function instead of strstr.
53481         * debug/tst-backtrace5.c: Include tst-backtrace.h.
53482         (ret): Remove variable.
53483         (x): Likewise.
53484         (FAIL): Remove macro.
53485         (NO_INLINE): Likewise.
53486         (handle_signal): Use match function instead of strstr.
53488 2013-01-23  Roland McGrath  <roland@hack.frob.com>
53490         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
53492 2013-01-23  David S. Miller  <davem@davemloft.net>
53494         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
53495         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
53496         argument of CAS if possible.
53497         * sysdeps/sparc/sparc64/bits/atomic.h
53498         (__arch_compare_and_exchange_val_32_acq): Likewise.
53499         (__arch_compare_and_exchange_val_64_acq): Likewise.
53501 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
53503         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
53504         * sysdeps/posix/ulimit.c: ... this.
53505         Include <limits.h>.
53506         * sysdeps/unix/bsd/ulimit.c: Remove file.
53508 2013-01-23  Adam Conrad  <adconrad@0c3.net>
53510         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
53511         (LDFLAGS-tst-array5): Likewise.
53513 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53515         [BZ #15036]
53516         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
53517         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
53518         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
53519         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
53521 2013-01-21  David S. Miller  <davem@davemloft.net>
53523         * sysdeps/sparc/backtrace.c: New file.
53524         * sysdeps/sparc/sparc32/backtrace.h: New file.
53525         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
53526         * sysdeps/sparc/sparc64/backtrace.h: New file.
53527         * sysdeps/sparc/sparc64/backtrace.c: Delete.
53528         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
53529         -funwind-tables.
53531 2013-01-21  Andreas Schwab  <schwab@suse.de>
53533         [BZ #15020]
53534         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
53535         closed its stdout.
53537 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
53539         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
53540         "mpa2.h".
53541         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53543 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
53544             Mark Mitchell  <mark@codesourcery.com>
53545             Tom de Vries  <tom@codesourcery.com>
53546             Paul Pluzhnikov  <ppluzhnikov@google.com>
53548         * debug/tst-backtrace2.c: New file.
53549         * debug/tst-backtrace3.c: Likewise.
53550         * debug/tst-backtrace4.c: Likewise.
53551         * debug/tst-backtrace5.c: Likewise.
53552         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
53553         (CFLAGS-tst-backtrace3.c): Likewise.
53554         (CFLAGS-tst-backtrace4.c): Likewise.
53555         (CFLAGS-tst-backtrace5.c): Likewise.
53556         (LDFLAGS-tst-backtrace2): Likewise.
53557         (LDFLAGS-tst-backtrace3): Likewise.
53558         (LDFLAGS-tst-backtrace4): Likewise.
53559         (LDFLAGS-tst-backtrace5): Likewise.
53560         (tests): Add new tests tst-backtrace2, tst-backtrace3,
53561         tst-backtrace4 and tst-backtrace5.
53563 2013-01-18  Anton Blanchard  <anton@samba.org>
53564             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53566         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
53567         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
53568         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
53569         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
53570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53571         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
53572         "+r" and remove output regs list as redundant.  Add explicit inline
53573         asm to specify register of return val to work around compiler codegen
53574         bug.  Remove (int) cast on return value.  Add return type parameter to
53575         use in macro so that this macro does not truncate return value for
53576         64-bit values.
53577         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
53578         pass to INTERNAL_VSYSCALL_NCS.
53579         (INLINE_VSYSCALL): Add 'long int' as return type to
53580         INTERNAL_VSYSCALL_NCS macro invocation.
53581         (INTERNAL_VSYSCALL): Add 'long int' as return type to
53582         INTERNAL_VSYSCALL_NCS macro invocation.
53583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53585 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53587         [BZ #14496]
53588         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
53589         Fix application of SIMD FP exception mask.
53591         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
53592         mp_no from a power of two.
53593         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
53594         __mpexp_twomm1.  Use __pow_mp.
53596         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
53597         multiplication.
53599 2013-01-17  David S. Miller  <davem@davemloft.net>
53601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53603 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53605         [BZ #15023]
53606         * include/complex.h: Condition contents on [!_COMPLEX_H].
53607         (__kernel_casinhf): New prototype.
53608         (__kernel_casinh): Likewise.
53609         (__kernel_casinhl): Likewise.
53610         * math/Makefile (libm_calls): Add k_casinh.
53611         * math/k_casinh.c: New file.
53612         * math/k_casinhf.c: Likewise.
53613         * math/k_casinhl.c: Likewise.
53614         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
53615         finite nonzero arguments.
53616         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
53617         finite nonzero arguments.
53618         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
53619         finite nonzero arguments.
53620         * math/s_casinh.c: Do not include <float.h>.
53621         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
53622         * math/s_casinhf.c: Do not include <float.h>.
53623         (__casinhf): Move code for finite nonzero arguments to
53624         k_casinhf.c.
53625         * math/s_casinhl.c: Do not include <float.h>.
53626         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
53627         redefine.
53628         (__casinhl): Move code for finite nonzero arguments to
53629         k_casinhl.c.
53630         * math/libm-test.inc (cacos_test): Add more tests.
53631         * sysdeps/i386/fpu/libm-test-ulps: Update.
53632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53634 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
53636         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
53637         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
53638         [!HAVE_MREMAP]: Remove [defined linux] case.
53639         * malloc/arena.c: Do not include <malloc-sysdep.h>.
53641 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53643         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
53645 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
53647         * elf/elf.h (R_386_SIZE32): New relocation.
53648         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
53649         R_386_SIZE32.
53650         (elf_machine_rela): Likewise.
53651         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53652         R_X86_64_SIZE64 and R_X86_64_SIZE32.
53654 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53656         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
53657         (FP_FAST_FMA): Do not define.
53658         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
53659         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
53660         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
53661         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
53662         !_SOFT_FLOAT]: Likewise.
53663         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
53664         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
53665         value.
53666         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
53667         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
53668         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
53669         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
53670         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
53671         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
53672         file.
53674 2013-01-16  Andreas Schwab  <schwab@suse.de>
53676         [BZ #14327]
53677         * include/stdlib.h (__mktemp): Add declaration.
53678         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53679         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53681 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53683         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53684         definitions.
53685         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53686         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53687         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53688         definitions here.
53689         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53690         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53691         definitions.
53692         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53693         and ONE.
53694         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53695         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53696         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53697         definitions.
53698         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53699         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53700         definitions.
53701         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53703         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53705 2013-01-15  David S. Miller  <davem@davemloft.net>
53707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53708         trunc{,f} to libm-sysdep_routes.
53709         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53711         file.
53712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53714         file.
53715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53716         file.
53717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53719         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53720         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53721         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53722         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53723         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53724         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53727         nearbyint{,f} to libm-sysdep_routes.
53728         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53730         New file.
53731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53732         file.
53733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53734         New file.
53735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53736         file.
53737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53739         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53740         file.
53741         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53742         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53743         file.
53744         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53745         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53746         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53748         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53749         libc_feholdexcept and libc_fesetenv.
53751 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
53753         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53755 2013-01-14  David S. Miller  <davem@davemloft.net>
53757         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53758         (SPARC_ASM_VIS2_IFUNC): Likewise.
53759         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53761         use of 'siam' instruction.
53762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53763         Likewise.
53764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53765         Likewise.
53766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53767         Likewise.
53768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53769         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53770         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53771         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53773         file.
53774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53775         file.
53776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53777         file.
53778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53779         file.
53780         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53781         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53782         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53783         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53785         new VIS2 routines.
53786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53789         Likewise.
53790         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53791         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53792         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53793         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53795         routines to libm-sysdep_routines.
53796         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53799         fdim/fdimf to libm-sysdep_routines.
53800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53801         file.
53802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53804         file.
53805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53808         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53809         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53810         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53811         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53813 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53815         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53816         to optimize copies.
53818         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53819         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53820         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53822         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53823         local variable MPTWO.
53824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53825         Likewise.
53827 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53829         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53830         GLOB_NOESCAPE.
53832 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53834         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53836 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53838         * manual/pattern.texi (glob_t): Document gl_flags.
53839         (glob64_t): Likewise.
53841 2013-01-11  David S. Miller  <davem@davemloft.net>
53843         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53844         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53845         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
53846         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53847         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53848         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53849         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53850         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53851         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53852         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53853         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53854         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53855         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53857         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53858         sparc V9 rather than using V8 code.
53859         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53860         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53862         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53863         Move to...
53864         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53865         Here.
53867 2013-01-11  Roland McGrath  <roland@hack.frob.com>
53869         [BZ #14941]
53870         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53871         not in the main loop.
53872         * configure: Regenerated.
53874 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
53876         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53877         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53878         to just #else.
53879         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
53880         [!__GLIBC_HAVE_LONG_LONG] case.
53881         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53882         condition to just #else.
53883         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53884         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53885         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53886         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53887         unconditional.
53888         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53889         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53890         #elif condition to just #else.
53891         * sysdeps/unix/sysv/linux/sys/sysmacros.h
53892         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53893         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53894         #elif condition to just #else.
53896 2013-01-11  Steve Ellcey  <sellcey@mips.com>
53898         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53899         (EF_MIPS_ARCH_64): Fix value.
53900         (EF_MIPS_ARCH_32R2): New.
53901         (EF_MIPS_ARCH_64R2): New.
53903 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
53905         * Makeconfig (+link-pie-before-libc): New.
53906         (+link-pie-after-libc): Likewise.
53907         (+link-pie-tests): Likewise.
53908         (+link-pie): Rewritten.
53909         (link-before-libc): Remove $(config-LDFLAGS).
53910         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53911         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53912         (config-LDFLAGS): Renamed to ...
53913         (rtld-LDFLAGS): This.
53914         (rtld-tests-LDFLAGS): New macro.
53915         (link-libc-rpath-link): Likewise.
53916         (link-libc-tests-rpath-link): Likewise.
53917         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53918         (link-libc): Prepand $(link-libc-rpath-link).
53919         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53920         (test-program-prefix): New macro.
53921         (test-via-rtld-prefix): Likewise.
53922         (test-program-cmd): Likewise.
53923         (host-test-program-cmd): Likewise.
53924         * Makefile ($(common-objpfx)testrun.sh): Replace
53925         $(run-program-prefix) with $(test-program-prefix).
53926         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53927         $(rtld-LDFLAGS).
53928         ($(common-objpfx)shlib.lds): Likewise.
53929         (build-module-helper): Likewise.
53930         ($(common-objpfx)format.lds): Likewise.
53931         * Rules (binaries-pie-tests): New.
53932         (binaries-pie-notests): Likewise.
53933         (binaries-pie): Rewritten.
53934         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53935         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53936         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53937         (make-test-out): Replace $(host-built-program-cmd) with
53938         $(host-test-program-cmd).
53939         * config.make.in (build-hardcoded-path-in-tests): New variable.
53940         * configure.in (--enable-hardcoded-path-in-tests): New configure
53941         option.
53942         (hardcoded_path_in_tests): New AC_SUBST.
53943         * configure: Regenerated.
53944         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53945         $(built-program-cmd) with $(test-program-cmd).
53946         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53947         (test_program_cmd): This.
53948         * elf/Makefile ($(objpfx)order.out): Run test with
53949         $(test-program-prefix).
53950         ($(objpfx)order2.out): Likewise.
53951         ($(objpfx)tst-initorder.out): Likewise.
53952         ($(objpfx)tst-initorder2.out): Likewise.
53953         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53954         $(test-program-cmd).
53955         ($(objpfx)tst-array1-static.out): Likewise.
53956         ($(objpfx)tst-array2.out): Likewise.
53957         ($(objpfx)tst-array3.out): Likewise.
53958         ($(objpfx)tst-array4.out): Likewise.
53959         ($(objpfx)tst-array5.out): Likewise.
53960         ($(objpfx)tst-array5-static.out): Likewise.
53961         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53962         $(test-program-cmd).
53963         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53964         $(run-program-prefix) with $(test-program-prefix).
53965         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53966         (test_program_prefix): This.
53967         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53968         $(run-program-prefix) with $(test-program-prefix).
53969         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53970         (test_program_prefix): This.
53971         * iconvdata/tst-tables.sh: Likewise.
53972         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53973         $(run-program-prefix) with $(test-program-prefix).
53974         ($(objpfx)tst-translit.out): Likewise.
53975         ($(objpfx)tst-gettext2.out): Likewise.
53976         ($(objpfx)tst-gettext4.out): Likewise.
53977         ($(objpfx)tst-gettext6.out): Likewise.
53978         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53979         (test_program_prefix): This.
53980         * intl/tst-gettext2.sh: Likewise.
53981         * intl/tst-gettext4.sh  Likewise.
53982         * intl/tst-gettext6.sh: Likewise.
53983         * intl/tst-translit.sh: Likewise.
53984         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53985         with $(test-program-cmd).
53986         * libio/Makefile ($(objpfx)test-freopen.out): Replace
53987         $(run-program-prefix) with $(test-program-prefix).
53988         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53989         (test_program_prefix): This.
53990         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53991         $(run-program-prefix) with $(test-program-prefix).
53992         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53993         (test_program_prefix): This.
53994         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53995         * posix/Makefile ($(objpfx)globtest.out): Replace
53996         $(run-via-rtld-prefix) and $(test-wrapper) with
53997         $(test-program-prefix) and $(test-via-rtld-prefix).
53998         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53999         $(test-program-prefix).
54000         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
54001         $(host-test-program-cmd).
54002         (tst-spawn-ARGS): Likewise.
54003         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
54004         $(test-program-prefix).
54005         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
54006         (test_via_rtld_prefix): This.
54007         (test_wrapper): Renamed to ...
54008         (test_program_prefix): This.
54009         (run_program_prefix): Replaced by test_program_prefix.
54010         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
54011         (test_program_prefix): This.
54012         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
54013         with $(host-test-program-cmd).
54014         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
54015         $(run-program-prefix) with $(test-program-prefix).
54016         ($(objpfx)tst-printf.out): Likewise.
54017         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
54018         $(test-program-cmd).
54019         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
54020         (test_program_prefix): This.
54021         * stdio-common/tst-unbputc.sh: Likewise.
54022         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
54023         $(run-program-prefix) with $(test-program-prefix).
54024         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
54025         (test_program_prefix): This.
54026         * string/Makefile ($(objpfx)tst-svc.out):  Replace
54027         $(built-program-cmd) with $(test-program-cmd).
54029 2013-01-11  Andreas Jaeger  <aj@suse.de>
54031         [BZ #15003]
54032         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
54033         value. Sync with Linux 3.7.
54035 2013-01-10  David S. Miller  <davem@davemloft.net>
54037         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
54038         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54039         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54041 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54043         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
54044         never set.
54045         * configure: Regenerated.
54047 2013-01-10  David S. Miller  <davem@davemloft.net>
54049         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54050         sparc V9 rather than using V8 code.
54051         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54052         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54054 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54056         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
54057         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
54058         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
54059         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
54060         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
54061         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
54062         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
54063         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
54064         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
54065         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
54066         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
54067         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
54068         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
54069         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
54070         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
54071         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
54072         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
54073         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
54074         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
54075         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
54076         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
54077         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
54078         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
54079         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
54080         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
54081         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
54082         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
54084 2013-01-10  David S. Miller  <davem@davemloft.net>
54086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54088 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54090         * posix/Makefile (tests-static): New variable.
54091         (tests): Add $(tests-static).
54092         (tst-exec-static-ARGS): New variable.
54093         (tst-spawn-static-ARGS): Likewise.
54094         * posix/tst-exec-static.c: New file.
54095         * posix/tst-spawn-static.c: Likewise.
54096         * posix/tst-exec.c: Support run directly.
54097         * posix/tst-spawn.c: Likewise.
54099 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
54101         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
54102         long.
54103         * math/bits/mathcalls.h (llrint): Likewise.
54104         (llround): Likewise.
54105         * stdlib/stdlib.h (struct drand48_data): Likewise.
54106         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
54107         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
54108         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
54109         Likewise.
54110         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
54111         Likewise.
54112         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
54113         (elf_greg_t): Likewise.
54114         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
54115         (__jmp_buf): Likewise.
54116         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
54117         definitions.
54118         (llrint): Likewise, for all definitions.
54119         (llrintl): Likewise.
54121         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
54122         Remove [__GNUC__] condition.
54123         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
54124         condition to just [__USE_ISOC99].
54125         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
54127 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54129         [BZ #14200]
54130         * sysdeps/unix/sysv/linux/x86/bits/environments.h
54131         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
54132         defined.
54133         (_POSIX_V6_ILP32_OFF32): Likewise.
54134         (_XBS5_ILP32_OFF32): Likewise.
54135         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
54136         (__ILP32_OFFBIG_LDFLAGS): Likewise.
54138 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54140         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
54142         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
54143         doubles __mpexp_twomm1.  Adjust usage.
54144         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
54145         Remove.
54147 2013-01-10  Andreas Schwab  <schwab@suse.de>
54149         [BZ #14964]
54150         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
54151         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
54153 2013-01-09  David S. Miller  <davem@davemloft.net>
54155         [BZ #15003]
54156         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
54157         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
54158         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
54159         (TCP_FASTOPEN): Define.
54160         (tcp_repair_opt): New structure.
54161         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
54162         enum values.
54163         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
54164         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
54165         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
54166         (tcp_cookie_transactions): New structure.
54168 2013-01-09  Anton Blanchard  <anton@samba.org>
54170         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
54171         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
54172         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
54173         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
54175 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
54177         * include/features.h (__USE_ANSI): Remove.
54179 2013-01-09  Roland McGrath  <roland@hack.frob.com>
54181         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
54183         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
54185 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
54187         * sysdeps/s390/fpu/libm-test-ulps: Update.
54189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54191         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
54192         (__acr): Likewise.
54193         (__cpy): Likewise.
54194         (norm): Likewise.
54195         (denorm): Likewise.
54196         (__mp_dbl): Likewise.
54197         (__dbl_mp): Likewise.
54198         (add_magnitudes): Likewise.
54199         (sub_magnitudes): Likewise.
54200         (__add): Likewise.
54201         (__sub): Likewise.
54202         (__mul): Likewise.
54203         (__inv): Likewise.
54204         (__dvd): Likewise.
54205         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
54206         (__acr): Likewise.
54207         (__cpy): Likewise.
54208         (norm): Likewise.
54209         (denorm): Likewise.
54210         (__mp_dbl): Likewise.
54211         (__dbl_mp): Likewise.
54212         (add_magnitudes): Likewise.
54213         (sub_magnitudes): Likewise.
54214         (__add): Likewise.
54215         (__sub): Likewise.
54216         (__mul): Likewise.
54217         (__inv): Likewise.
54218         (__dvd): Likewise.
54219         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
54220         (__acr): Likewise.
54221         (__cpy): Likewise.
54222         (norm): Likewise.
54223         (denorm): Likewise.
54224         (__mp_dbl): Likewise.
54225         (__dbl_mp): Likewise.
54226         (add_magnitudes): Likewise.
54227         (sub_magnitudes): Likewise.
54228         (__add): Likewise.
54229         (__sub): Likewise.
54230         (__mul): Likewise.
54231         (__inv): Likewise.
54232         (__dvd): Likewise.
54234 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
54236         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
54237         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
54238         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
54239         2 && __USE_EXTERN_INLINES]: Likewise.
54241 2013-01-08  Andreas Jaeger  <aj@suse.de>
54243         [BZ# 14985]
54244         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
54245         Remove.
54246         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54247         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54249 2013-01-07  Anton Blanchard  <anton@samba.org>
54251         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
54252         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54253         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
54254         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54255         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54256         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54257         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
54258         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54259         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54260         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54261         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54262         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54263         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54264         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54265         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54266         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54267         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54268         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54269         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54270         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54271         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54272         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
54273         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54274         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54275         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
54276         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54277         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54278         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54279         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
54280         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54281         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54282         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54283         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54284         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54285         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54286         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54287         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54288         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54289         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
54290         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54291         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
54292         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54293         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54295 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
54297         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
54298         (__MALLOC_PMT): Likewise.
54299         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
54300         [__GNUC__], only on [_LIBC].
54301         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54302         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
54303         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54304         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
54305         forward declaration.
54306         (realloc_hook_ini): Likewise.
54307         (memalign_hook_ini): Likewise.
54308         (__libc_memalign): Do not use __MALLOC_PMT in variable
54309         declaration.
54310         (__libc_valloc): Likewise.
54311         (__libc_pvalloc): Likewise.
54312         (__libc_calloc): Likewise.
54313         (__posix_memalign): Likewise.
54315         [BZ #14996]
54316         * math/s_casinh.c: Include <float.h>.
54317         (__casinh): Do not do computation with squaring and square root
54318         for large arguments.
54319         * math/s_casinhf.c: Include <float.h>.
54320         (__casinhf): Do not do computation with squaring and square root
54321         for large arguments.
54322         * math/s_casinhl.c: Include <float.h>.
54323         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
54324         (__casinhl): Do not do computation with squaring and square root
54325         for large arguments.
54326         * math/libm-test.inc (casin_test): Add more tests.
54327         (casinh_test): Likewise.
54328         * sysdeps/i386/fpu/libm-test-ulps: Update.
54329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54331 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
54333         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
54334         (__x86_64_raw_data_cache_size): Likewise.
54335         (__x86_64_data_cache_size_half): Likewise.
54336         (__x86_64_raw_data_cache_size_half): Likewise.
54337         (__x86_64_shared_cache_size): Likewise.
54338         (__x86_64_raw_shared_cache_size): Likewise.
54339         (__x86_64_shared_cache_size_half): Likewise.
54340         (__x86_64_raw_shared_cache_size_half): Likewise.
54341         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
54342         to ...
54343         (__x86_data_cache_size): This.
54344         (__x86_64_raw_data_cache_size): Renamed to ...
54345         (__x86_raw_data_cache_size): This.
54346         (__x86_64_data_cache_size_half): Renamed to ...
54347         (__x86_data_cache_size_half): This.
54348         (__x86_64_raw_data_cache_size_half): Renamed to ...
54349         (__x86_raw_data_cache_size_half): This.
54350         (__x86_64_shared_cache_size): Renamed to ...
54351         (__x86_shared_cache_size): This.
54352         (__x86_64_raw_shared_cache_size): Renamed to ...
54353         (__x86_raw_shared_cache_size): This.
54354         (__x86_64_shared_cache_size_half): Renamed to ...
54355         (__x86_shared_cache_size_half): This.
54356         (__x86_64_raw_shared_cache_size_half): Renamed to ...
54357         (__x86_raw_shared_cache_size_half): This.
54358         * sysdeps/x86_64/memcpy.S: Updated.
54359         * sysdeps/x86_64/memset.S: Likewise.
54360         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54361         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54362         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54364 2013-01-04  David S. Miller  <davem@davemloft.net>
54366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54368 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
54370         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
54371         1 to avoid redefinition warning.
54372         (__USE_GNU): Don't define.
54373         (init_signaling_nan): Protoize.
54375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54377 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54379         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
54380         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
54381         (__cpymn): Likewise.
54382         (norm): Remove commented code.
54383         (denorm): Likewise.
54384         (__mp_dbl): Likewise.
54385         (__inv): Likewise.
54386         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
54387         (__cpymn): Likewise.
54388         (norm): Remove commented code.
54389         (denorm): Likewise.
54390         (__mp_dbl): Likewise.
54391         (__inv): Likewise.
54393         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
54394         mp_no value for 1.0 and 2.0.
54395         (norm): Use RADIXI instead of radixi.d.
54396         (denorm): Likewise.
54397         (__mul): Use 0.0 instead of zero.d.
54398         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
54399         mp_no value for 1.0 and 2.0.
54400         (norm): Use RADIXI instead of radixi.d.
54401         (denorm): Likewise.
54402         (__mul): Use 0.0 instead of zero.d.
54404 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
54406         [BZ #14994]
54407         * math/s_casinh.c (__casinh): Reduce finite argument to first
54408         quadrant then set signs of results at the end.
54409         * math/s_casinhf.c (__casinhf): Likewise.
54410         * math/s_casinhl.c (__casinhl): Likewise.
54411         * math/libm-test.inc (casin_test): Add more tests.
54412         (casinh_test): Likewise.
54413         * sysdeps/i386/fpu/libm-test-ulps: Update.
54414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54416 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54418         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
54420         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
54422         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
54423         declarations.
54424         (denorm): Likewise.
54425         (__mp_dbl): Likewise.
54426         (__inv): Likewise.
54428         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
54429         and adjust the header comment.
54431         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
54432         variable name from declaration.
54434 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
54436         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54437         Initialize COMMON_CPUID_INDEX_7 element.
54438         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
54439         (CPUID_RTM): Likewise.
54440         (HAS_RTM): Likewise.
54441         (COMMON_CPUID_INDEX_7): New enum.
54443 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
54445         [BZ #14981]
54446         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
54447         size is zero, record memory as freed.
54449 2013-01-03  Andreas Jaeger  <aj@suse.de>
54451         * po/ia.po: Add new Interlingua translation.
54453 2012-01-03  Allan McRae  <allan@archlinux.org>
54455         * locale/programs/localedef.c: Fix description of '--posix' flag.
54457 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
54459         * NEWS: Update dates in second copyright notice.
54460         * README: Update copyright dates in example.
54461         * manual/libc.texinfo: Update copyright dates.
54462         * scripts/test-installation.pl: Update copyright date in --version
54463         output.
54465         * hurd/ctty-input.c: Fix copyright notice formatting.
54466         * hurd/ctty-output.c: Likewise.
54467         * hurd/dtable.c: Likewise.
54468         * hurd/hurd-raise.c: Likewise.
54469         * hurd/hurdprio.c: Likewise.
54470         * hurd/msgportdemux.c: Likewise.
54471         * misc/sys/file.h: Likewise.
54472         * misc/sys/ioctl.h: Likewise.
54473         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54474         * sysdeps/mach/hurd/chdir.c: Likewise.
54475         * sysdeps/mach/hurd/fchdir.c: Likewise.
54476         * sysdeps/mach/hurd/rename.c: Likewise.
54477         * sysdeps/mach/hurd/rmdir.c: Likewise.
54478         * sysdeps/mach/hurd/seekdir.c: Likewise.
54479         * sysdeps/mach/hurd/setsid.c: Likewise.
54480         * sysdeps/posix/wait3.c: Likewise.
54482         * All files with FSF copyright notices: Update copyright dates
54483         using scripts/update-copyrights.
54484         * intl/plural.c: Regenerated.
54485         * locale/programs/charmap-kw.h: Likewise.
54486         * locale/programs/locfile-kw.h: Likewise.
54488 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54490         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
54491         four values.
54493         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
54494         calculation loop and add branch prediction.
54496         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
54497         check access beyond bounds of m1np.
54499         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54500         MPTWO.
54501         (__inv): Remove local variable MPTWO to use the global
54502         constant.
54503         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
54504         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54505         variable MPTWO.
54506         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
54507         MP3HALFS static const.
54509 2013-01-01  David S. Miller  <davem@davemloft.net>
54511         * po/ca.po: Update from translation team.
54513 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
54515         * scripts/update-copyrights: New file.
54516         * Makeconfig: Reformat copyright notice.
54517         * ctype/ctype.h: Likewise.
54518         * debug/swprintf_chk.c: Likewise.
54519         * elf/dl-cache.c: Likewise.
54520         * elf/dl-debug.c: Likewise.
54521         * elf/dl-object.c: Likewise.
54522         * grp/initgroups.c: Likewise.
54523         * hurd/Makefile: Likewise.
54524         * hurd/hurd/signal.h: Likewise.
54525         * hurd/hurdfault.c: Likewise.
54526         * hurd/hurdioctl.c: Likewise.
54527         * hurd/hurdlookup.c: Likewise.
54528         * hurd/intr-msg.c: Likewise.
54529         * iconv/gconv_open.c: Likewise.
54530         * libio/swprintf.c: Likewise.
54531         * locale/lc-ctype.c: Likewise.
54532         * locale/nl_langinfo.c: Likewise.
54533         * mach/Machrules: Likewise.
54534         * mach/Makefile: Likewise.
54535         * malloc/obstack.h: Likewise.
54536         * manual/Makefile: Likewise.
54537         * manual/tsort.awk: Likewise.
54538         * misc/bits/stab.def: Likewise.
54539         * nis/nis_print_group_entry.c: Likewise.
54540         * nis/nis_table.c: Likewise.
54541         * nis/nss_compat/compat-pwd.c: Likewise.
54542         * nis/nss_compat/compat-spwd.c: Likewise.
54543         * po/Makefile: Likewise.
54544         * posix/fnmatch.c: Likewise.
54545         * posix/regex.h: Likewise.
54546         * resolv/Makefile: Likewise.
54547         * resolv/nss_dns/dns-network.c: Likewise.
54548         * resolv/res_hconf.c: Likewise.
54549         * scripts/gen-sorted.awk: Likewise.
54550         * soft-fp/soft-fp.h: Likewise.
54551         * stdio-common/printf.h: Likewise.
54552         * stdlib/monetary.h: Likewise.
54553         * stdlib/random.c: Likewise.
54554         * stdlib/random_r.c: Likewise.
54555         * sysdeps/generic/Makefile: Likewise.
54556         * sysdeps/gnu/Makefile: Likewise.
54557         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54558         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54559         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54560         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54561         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54562         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54563         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54564         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54565         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54566         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54567         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54568         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54569         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54570         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54571         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
54572         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54573         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54574         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54575         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54576         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54577         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54578         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54579         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54580         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54581         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
54582         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54583         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54584         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
54585         * sysdeps/mach/hurd/errnos.awk: Likewise.
54586         * sysdeps/mach/hurd/fork.c: Likewise.
54587         * sysdeps/mach/hurd/getcwd.c: Likewise.
54588         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
54589         * sysdeps/mach/hurd/mmap.c: Likewise.
54590         * sysdeps/mach/hurd/utimes.c: Likewise.
54591         * sysdeps/mach/hurd/xmknod.c: Likewise.
54592         * sysdeps/posix/profil.c: Likewise.
54593         * sysdeps/posix/readdir_r.c: Likewise.
54594         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54595         * sysdeps/powerpc/bits/setjmp.h: Likewise.
54596         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
54597         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54598         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54599         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54600         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54601         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54602         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54603         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54604         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54605         * sysdeps/pthread/lio_listio.c: Likewise.
54606         * sysdeps/sparc/dl-procinfo.h: Likewise.
54607         * sysdeps/unix/i386/sysdep.S: Likewise.
54608         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
54609         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
54610         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
54611         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
54612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54613         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
54614         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
54615         * sysdeps/unix/sysv/linux/speed.c: Likewise.
54616         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
54617         * sysdeps/wordsize-32/divdi3.c: Likewise.
54618         * time/sys/time.h: Likewise.
54619         * wcsmbs/Makefile: Likewise.
54621 2013-01-01  David S. Miller  <davem@davemloft.net>
54623         * po/fr.po: Update from translation team.
54625         * catgets/gencat.c: Update copyright year.
54626         * csu/version.c: Likewise.
54627         * debug/catchsegv.sh: Likewise.
54628         * debug/pcprofiledump.c: Likewise.
54629         * debug/xtrace.sh: Likewise.
54630         * elf/ldconfig.c: Likewise.
54631         * elf/ldd.bash.in: Likewise.
54632         * elf/pldd.c: Likewise.
54633         * elf/sotruss.ksh: Likewise.
54634         * elf/sprof.c: Likewise.
54635         * iconv/iconv_prog.c: Likewise.
54636         * iconv/iconvconfig.c: Likewise.
54637         * locale/programs/locale.c: Likewise.
54638         * locale/programs/localedef.c: Likewise.
54639         * login/programs/pt_chown.c: Likewise.
54640         * malloc/memusage.sh: Likewise.
54641         * malloc/memusagestat.c: Likewise.
54642         * malloc/mtrace.pl: Likewise.
54643         * nscd/nscd.c: Likewise.
54644         * nss/getent.c: Likewise.
54645         * nss/makedb.c: Likewise.
54646         * posix/getconf.c: Likewise.
54648 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54650         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
54651         numbers.
54653 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
54655         * math/bits/mathcalls.h (modf): Use __nonnull.
54657 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54659         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
54660         (split): Use macro CN instead of the bare value.
54661         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
54662         could be used.
54663         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
54664         instead of the bare value.
54665         (power1): Likewise.
54667 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54669         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
54670         __ATAN_TWOM.
54671         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54673         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54674         their values.
54675         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54676         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54677         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54678         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54680 2012-12-28  Andreas Jaeger  <aj@suse.de>
54682         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
54683         values are from Linux 3.7.
54685         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54686         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
54688 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54690         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54691         TRUE case.
54693         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54694         (norm): Likewise.
54695         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54696         variables with preprocessor constants.
54697         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54698         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54699         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54701 2012-12-27  Bruno Haible  <bruno@clisp.org>
54703         [BZ #14317]
54704         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54705         only if needed.
54707 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54709         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54710         and use variable directly.
54711         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54713         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54714         MPONE.
54715         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54716         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54717         variable MPONE.
54718         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54719         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54720         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54721         include directive.  Remove local variable MPONE.
54722         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54723         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54724         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54726 2012-12-25  David S. Miller  <davem@davemloft.net>
54728         * version.h (RELEASE): Set to "development".
54729         (VERSION): Set to "2.17.90".
54730         * NEWS: Add 2.18 section.
54732 2012-12-21  David S. Miller  <davem@davemloft.net>
54734         * po/hr.po: Update from translation team.
54736 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54738         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54740 2012-12-19  Steve Ellcey  <sellcey@mips.com>
54742         * NEWS:  Mention new memcpy for MIPS.
54744 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54746         * manual/contrib.texi (Contributors): Spelling correction.
54748 2012-12-15  David S. Miller  <davem@davemloft.net>
54750         * po/ru.po: Update from translation team.
54752 2012-12-13  David S. Miller  <davem@davemloft.net>
54754         * NEWS: Mention IFUNC testsuite enhancements.
54756         * po/pl.po: Update from translation team.
54757         * po/bg.po: Likewise.
54759         * manual/contrib.texi (Contributors): Update entries for Hongjiu
54760         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
54762 2012-12-11  David S. Miller  <davem@davemloft.net>
54764         * po/sv.po: Update from translation team.
54766         * po/vi.po: Update from translation team.
54768         * po/cs.po: Update from translation team.
54770         * po/de.po: Update from translation team.
54771         * po/eo.po: Likewise.
54772         * po/nl.po: Likewise.
54774 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54776         [BZ #14246]
54777         * manual/argp.texi (Argp Helper Functions): Move node to follow
54778         Argp Parsing State.
54780         [BZ #14872]
54781         * manual/conf.texi (Limits on File System Capacity): Mention if
54782         terminating null is included in the max size.
54784 2012-12-10  Andreas Jaeger  <aj@suse.de>
54786         * po/cs.po: Update from translation team.
54788 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54790         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54791         void pointer and cast to uintptr_t.
54792         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54793         path.
54794         * sysdeps/s390/s390-64/memcpy.S: Likewise.
54795         * sysdeps/s390/s390-64/memset.S: Likewise.
54797 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
54799         [BZ #14833]
54800         * menual/message.texi (Message Translation): Fix typos.
54801         (Helper programs for gettext): Likewise.
54803 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
54805         [BZ #14898]
54806         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54807         Change to -1.
54809 2012-12-07  David S. Miller  <davem@davemloft.net>
54811         * po/libc.pot: Update.
54813 2012-12-07  Richard Henderson  <rth@redhat.com>
54815         [BZ #10114]
54816         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54817         normal/normal case to before the switch.
54818         (_FP_DIV): Likewise.
54820 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
54821             Mike Frysinger  <vapier@gentoo.org>
54823         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54824         check for __NR_fadvise64_64.
54826 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
54828         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54829         0, not just to plain "0" as a statement.
54830         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54831         with cw.
54833 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
54835         * NEWS: Use sourceware.org in Bugzilla URL.
54837 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54840         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54842         * stdio-common/tst-put-error.c (do_test): Add newline to the
54843         padded test to ensure flush.
54845 2012-12-05  Jeff Law  <law@redhat.com>
54847         * sunrpc/etc.rpc (fedfs_admin): Add entry.
54849 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
54851         * README: Don't refer to ports add-on as distributed separately.
54852         Mention AArch64 in list of systems supported in the ports add-on.
54854         * LICENSES: Add more non-FSF copyright and license notices.
54856         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54857         ((unused)).
54859         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54861         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54862         10000 as width of padded output.
54864 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54866         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54868         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54869         variable LX with __attribute__ ((unused)).
54870         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54871         Likewise.
54872         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54873         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54874         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54875         with __attribute__ ((unused)).
54877 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
54879         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54881 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54883         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54884         (CFLAGS-nldbl-acos.c): New variable.
54885         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54886         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54887         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54888         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54889         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54890         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54891         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54892         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54893         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54894         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54895         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54896         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54897         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54898         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54899         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54900         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54901         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54902         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54903         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54904         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54905         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54906         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54907         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54908         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54909         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54910         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54911         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54912         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54913         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54914         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54915         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54916         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54917         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54918         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54919         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54920         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54921         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54922         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54923         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54924         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54925         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54926         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54927         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54928         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54929         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54930         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54931         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54932         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54933         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54934         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54935         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54936         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54937         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54938         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54939         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54940         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54941         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54942         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54943         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54944         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54945         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54946         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54947         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54948         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54949         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54950         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54951         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54952         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54953         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54954         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54955         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54956         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54957         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54958         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54959         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54960         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54961         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54962         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54963         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54964         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54965         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54966         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54967         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54968         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54969         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54970         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54971         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54972         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54973         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54974         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54975         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54976         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54977         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54978         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54979         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54980         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54981         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54984         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54986         [BZ #14914]
54987         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54988         whole low double instead of just low 47 bits when splitting values
54989         into two parts.
54991 2012-12-03  Allan McRae  <allan@archlinux.org>
54993         * manual/stdio.texi (Predefined Printf Handlers): Remove
54994         @hsep and @vsep usage.
54996 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
54998         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54999         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
55001 2012-12-03  Jeff Law  <law@redhat.com>
55003         * time/sys/time.h (settimeofday): Do not mark TV argument
55004         as __nonnull.
55006 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
55008         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
55009         when currently writing and seek to current position when not.
55010         * libio/Makefile (tests): Remove bug-fclose1.
55011         * libio/bug-fclose1.c: Delete.
55013 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
55015         * manual/arith.texi (feenableexcept): Fix typo.
55016         (fedisableexcept): Likewise.
55018 2012-11-30  Roland McGrath  <roland@hack.frob.com>
55020         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
55021         second, differently-typed declaration, rather than a cast.
55023 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55025         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
55026         * include/rpc/svc.h: ... here.
55028 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
55030         [BZ #13013]
55031         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
55032         depending n and resplen2 to catch cases where answer
55033         equals answerp2.
55035 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
55037         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
55038         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
55040 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
55042         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
55044 2012-11-29  Roland McGrath  <roland@hack.frob.com>
55046         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
55048 2012-11-28  Jeff Law  <law@redhat.com>
55050         [BZ #13761]
55051         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
55052         dataset_temporary.  Track alloca usage into alloca_used.
55053         If dataset is large allocate and release it via malloc/free.
55055 2012-06-04  Florian Weimer  <fweimer@redhat.com>
55057         [BZ #14197]
55058         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
55060 2012-11-28  David S. Miller  <davem@davemloft.net>
55062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55064 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55066         [BZ #14803]
55067         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
55068         of pi/2 rounded to nearest to 64 bits.
55069         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
55070         nearest to 64 bits.
55071         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
55072         bits.
55074 2012-11-28  Jeff Law <law@redhat.com>
55075             Martin Osvald <mosvald@redhat.com>
55077         [BZ #14889]
55078         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
55079         * sunrpc/svc.c: Include time.h.
55080         (__svc_accept_failed): New function.
55081         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
55082         any reason other than EINTR, call __svc_accept_failed.
55083         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
55084         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
55086 2012-11-28  Andreas Schwab  <schwab@suse.de>
55088         * scripts/abilist.awk: Also handle indirect functions in .opd
55089         section.
55091 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55093         [BZ #13881]
55094         * sysdeps/x86/fpu/powl_helper.c: New file.
55095         * sysdeps/x86/fpu/Makefile: Likewise.
55096         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
55097         (p3): New object.
55098         (__ieee754_powl): Use __powl_helper for finite arguments except
55099         integer exponents below 8.
55100         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
55101         (p3): New object.
55102         (__ieee754_powl): Use __powl_helper for finite arguments except
55103         integer exponents below 8.
55104         * math/libm-test.inc (pow_test): Add more tests and enable some
55105         previously disabled tests.
55106         * sysdeps/i386/fpu/libm-test-ulps: Update.
55107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55109 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55110             Carlos O'Donell  <carlos_odonell@mentor.com>
55112         * nss/makedb.c (is_prime): Assert that input is odd and greater
55113         than 4.  Note that fact in a comment too.
55114         (next_prime): Add 4 to input.
55116 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55118         [BZ #11741]
55119         * libio/Makefile (tests): Add test case tst-fwrite-error.
55120         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
55121         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
55122         * libio/tst-fwrite-error.c: New test case.
55124 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
55126         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
55127         before casting to void *.
55128         * include/libc-internal.h (__pointer_type): New macro.
55129         (__integer_if_pointer_type_sub): Likewise.
55130         (__integer_if_pointer_type): Likewise.
55131         (cast_to_integer): Likewise.
55132         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
55133         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
55134         before casting to atomic64_t.
55135         (atomic_exchange_acq): Likewise.
55136         (__arch_exchange_and_add_body): Likewise.
55137         (__arch_add_body): Likewise.
55138         (atomic_add_negative): Likewise.
55139         (atomic_add_zero): Likewise.
55141 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
55143         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
55144         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
55145         (add_fdes): Likewise.
55146         (linear_search_fdes): Likewise.
55147         (binary_search_unencoded_fdes): Likewise.
55149 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
55151         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
55153 2012-11-24  Adam Conrad  <adconrad@0c3.net>
55155         * configure.in: Autodetect C++ header directories.
55156         * configure: Regenerated.
55158 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
55160         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
55162 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
55164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55166 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
55168         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
55169         LDBL_MANT_DIG == 106]: Disable some tests.
55170         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55171         Likewise.
55172         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55173         Likewise.
55175         [BZ #14871]
55176         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
55177         input for small inputs.  Return +/- pi/2 for large inputs.
55178         * math/libm-test.inc (atan_test): Add more tests.
55180         * sysdeps/generic/unwind-dw2-fde-glibc.c
55181         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
55182         __attribute__ ((unused)).
55184         [BZ #14645]
55185         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
55186         x * y if x and y are nonzero and z is zero.
55188         [BZ #14811]
55189         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
55190         nonzero exponents with absolute value below 0x1p-117 to +/-
55191         0x1p-117.
55193         [BZ #14869]
55194         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
55195         up arguments below 2**-450, not just those below 2**-500.
55196         * math/libm-test.inc (hypot_test): Add another test.
55198         [BZ #14868]
55199         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
55200         Return a+b for ratio over 2**120, not 2**60.
55201         * math/libm-test.inc (hypot_test): Add another test.
55203         * math/libm-test.inc (clog_test): Use
55204         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
55205         (clog10_test): Likewise.
55207         [BZ #6778]
55208         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
55210 2012-11-22  Andreas Schwab  <schwab@suse.de>
55212         * sysdeps/i386/fpu/libm-test-ulps: Update.
55214 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
55216         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
55217         printf output with newline.
55219 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
55221         [BZ #14865]
55222         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
55223         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
55224         -z nodlopen, -z initfirst and -z execstack support.
55225         * configure: Regenerated.
55227         * elf/elf.h (DF_1_NODIRECT): New macro.
55228         (DF_1_IGNMULDEF): Likewise.
55229         (DF_1_NOKSYMS): Likewise.
55230         (DF_1_NOHDR): Likewise.
55231         (DF_1_EDITED): Likewise.
55232         (DF_1_NORELOC): Likewise.
55233         (DF_1_SYMINTPOSE): Likewise.
55234         (DF_1_GLOBAUDIT): Likewise.
55235         (DF_1_SINGLETON): Likewise.
55236         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
55237         DT_1_SUPPORTED_MASK bits.
55238         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
55240 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
55242         * sysdeps/unix/make-syscalls.sh: Document prefixes.
55244 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
55246         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
55247         macro.
55249         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
55250         (sendmmsg): Move declarations...
55251         * socket/sys/socket.h: ... here.
55252         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
55253         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
55254         include it from...
55255         * socket/recvmmsg.c: ... this new file.
55256         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
55257         (sendmmsg): Rename to __sendmmsg, create weak alias and make
55258         definition of __sendmmsg hidden.
55259         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
55260         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
55261         Move ENOSYS stub into and include it from...
55262         * socket/sendmmsg.c: ... this new file.
55263         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
55264         (sysdep_routines): Move recvmmsg and sendmmsg...
55265         * socket/Makefile (routines): ... here.
55266         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
55267         (GLIBC_PRIVATE): Add __sendmmsg.
55268         * include/sys/socket.h (__sendmmsg): Add declarations.
55269         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
55270         sendmmsg.
55272 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
55274         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
55275         variable I1 with __attribute__ ((unused)).
55276         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55278 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55280         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
55281         DUMMY variables with __attribute__ ((unused)).
55283         * bits/byteswap.h: Include <bits/types.h>.
55284         (__bswap_64): Use __uint64_t instead of unsigned long long int.
55286 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55288         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
55289         string_t.  Do not manually set errno.
55290         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
55291         length with __strnlen.  Make sure to both set errno and return it on
55292         failure.
55294 2012-11-19  David S. Miller  <davem@davemloft.net>
55296         With help from Joseph Myers.
55297         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
55298         very large arguments properly.
55299         * math/libm-test.inc (atan_test): New tests.
55300         (atan2_test): New tests.
55301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55302         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55304 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55306         [BZ #14856]
55307         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
55308         Define to 3.
55310         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
55311         [POSIX] (EADDRNOTAVAIL): Likewise.
55312         [POSIX] (EAFNOSUPPORT): Likewise.
55313         [POSIX] (EALREADY): Likewise.
55314         [POSIX] (ECONNABORTED): Likewise.
55315         [POSIX] (ECONNREFUSED): Likewise.
55316         [POSIX] (ECONNRESET): Likewise.
55317         [POSIX] (EDESTADDRREQ): Likewise.
55318         [POSIX] (EDQUOT): Likewise.
55319         [POSIX] (EHOSTUNREACH): Likewise.
55320         [POSIX] (EIDRM): Likewise.
55321         [POSIX] (EISCONN): Likewise.
55322         [POSIX] (ELOOP): Likewise.
55323         [POSIX] (EMULTIHOP): Likewise.
55324         [POSIX] (ENETDOWN): Likewise.
55325         [POSIX] (ENETUNREACH): Likewise.
55326         [POSIX] (ENOBUFS): Likewise.
55327         [POSIX] (ENODATA): Likewise.
55328         [POSIX] (ENOLINK): Likewise.
55329         [POSIX] (ENOMSG): Likewise.
55330         [POSIX] (ENOPROTOOPT): Likewise.
55331         [POSIX] (ENOSR): Likewise.
55332         [POSIX] (ENOSTR): Likewise.
55333         [POSIX] (ENOTCONN): Likewise.
55334         [POSIX] (ENOTSOCK): Likewise.
55335         [POSIX] (EOPNOTSUPP): Likewise.
55336         [POSIX] (EOVERFLOW): Likewise.
55337         [POSIX] (EPROTO): Likewise.
55338         [POSIX] (EPROTONOSUPPORT): Likewise.
55339         [POSIX] (EPROTOTYPE): Likewise.
55340         [POSIX] (ESTALE): Likewise.
55341         [POSIX] (ETIME): Likewise.
55342         [POSIX] (ETXTBSY): Likewise.
55343         [POSIX] (EWOULDBLOCK): Likewise.
55344         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
55345         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
55346         [POSIX] (SEEK_CUR): Likewise.
55347         [POSIX] (SEEK_END): Likewise.
55348         [POSIX || UNIX98] (mode_t): Do not require.
55349         [POSIX] (off_t): Likewise.
55350         [POSIX] (pid_t): Likewise.
55351         [POSIX] (sys/stat.h): Do not allow header.
55352         [POSIX] (unistd.h): Likewise.
55353         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
55354         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
55355         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
55356         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
55357         require.
55358         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
55359         sigevent): Specify elements.
55360         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
55361         entry.
55362         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
55363         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
55365         * conform/data/cpio.h-data [POSIX]: Disable whole file.
55366         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
55367         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
55368         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
55369         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
55370         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
55371         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
55372         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
55373         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
55374         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
55375         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
55376         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
55377         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
55378         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
55379         Likewise.
55380         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
55381         Likewise.
55382         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
55383         Likewise.
55384         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
55385         Likewise.
55386         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
55387         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
55388         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
55389         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
55390         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
55391         Specify lower bound on value.
55392         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
55393         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
55394         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
55395         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
55396         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
55397         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
55398         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
55399         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
55400         value.
55401         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
55402         as optional.
55403         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
55404         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
55405         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
55406         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
55407         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
55408         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
55409         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
55410         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
55411         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
55412         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
55413         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
55414         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
55415         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
55416         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
55417         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
55418         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
55419         entry.
55420         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
55421         optional.
55422         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
55423         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
55424         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
55425         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
55426         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
55427         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
55428         Likewise.
55429         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
55430         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
55431         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
55432         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
55433         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
55434         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
55435         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
55436         as optional.
55437         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
55438         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
55439         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
55440         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
55441         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
55442         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
55443         specify as optional.
55444         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
55445         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
55446         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
55447         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
55448         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
55449         [XPG3] (NL_LANGMAX): Likewise.
55450         [POSIX || XPG3] (NL_MSGMAX): Likewise.
55451         [POSIX || XPG3] (NL_NMAX): Likewise.
55452         [POSIX || XPG3] (NL_SETMAX): Likewise.
55453         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
55454         [XPG3] (NZERO): Likewise.
55455         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
55456         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
55457         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
55458         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
55459         (REG_ERANGE): Expect.
55460         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
55461         optional-constant.
55462         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
55463         Use (void) in prototype.
55464         [POSIX] (*_t): Allow.
55465         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
55466         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
55467         (WRDE_BADVAL): Expect.
55469         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
55470         expect.
55471         [XPG3 || XPG4] (O_RSYNC): Likewise.
55472         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
55473         Likewise.
55474         [XPG3 || XPG4] (pthread_sigmask): Likewise.
55475         [XPG3 || XPG4] (sigqueue): Likewise.
55476         [XPG3 || XPG4] (sigtimedwait): Likewise.
55477         [XPG3 || XPG4] (sigwaitinfo): Likewise.
55478         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
55479         [XPG3 || XPG4] (vsnprintf): Likewise.
55480         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
55481         Likewise.
55482         [XPG3 || XPG4] (blksize_t): Likewise.
55483         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
55484         Likewise.
55485         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
55486         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
55487         [XPG3 || XPG4] (struct itimerspec): Likewise.
55488         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
55489         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
55490         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
55491         [XPG3 || XPG4] (clockid_t): Likewise.
55492         [XPG3 || XPG4] (timer_t): Likewise.
55493         [XPG3 || XPG4] (clock_getres): Likewise.
55494         [XPG3 || XPG4] (clock_gettime): Likewise.
55495         [XPG3 || XPG4] (clock_settime): Likewise.
55496         [XPG3 || XPG4] (nanosleep): Likewise.
55497         [XPG3 || XPG4] (timer_create): Likewise.
55498         [XPG3 || XPG4] (timer_delete): Likewise.
55499         [XPG3 || XPG4] (timer_gettime): Likewise.
55500         [XPG3 || XPG4] (timer_getoverrun): Likewise.
55501         [XPG3 || XPG4] (timer_settime): Likewise.
55502         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
55503         [XPG3 || XPG4] (getlogin_r): Likewise.
55504         [XPG3 || XPG4] (pread): Likewise.
55505         [XPG3 || XPG4] (pthread_atfork): Likewise.
55506         [XPG3 || XPG4] (pwrite): Likewise.
55508         [BZ #14835]
55509         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
55510         <bits/siginfo.h>.
55512 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55514         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
55515         finalizing MALLSTREAM.
55517         * sysdeps/mach/hurd/syncfs.c: New file.
55519 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55521         [BZ #14719]
55522         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
55523         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
55524         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
55525         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
55526         (_nss_dns_gethostbyname4_r): Likewise.
55527         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
55528         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
55530 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
55532         [BZ #13763]
55533         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
55535 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
55537         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
55538         * elf/cache.c (print_entry): Print ",AArch64" for
55539         FLAG_AARCH64_LIB64
55541         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
55542         * elf/cache.c (print_entry): Print ",hard-float" for
55543         FLAG_ARM_LIBHF.
55545 2012-11-18  David S. Miller  <davem@davemloft.net>
55547         With help from Joseph Myers.
55548         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
55549         cutoff to 2**-13.
55550         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
55551         cutoff to 2**-25.
55552         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
55553         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
55554         small.
55555         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
55556         * math/libm-test.inc (y0_test): New tests.
55557         (y1_test): New tests.
55558         * sysdeps/i386/fpu/libm-test-ulps: Update.
55559         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55562 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
55564         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
55565         64-bit targets.
55566         * configure: Regenerated.
55568 2012-11-17  David S. Miller  <davem@davemloft.net>
55570         [BZ #14811]
55571         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
55572         nonzero exponents with absolute value below 0x1p-128 to +/-
55573         0x1p-128.
55575 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
55577         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
55579         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
55581         * posix/getconf-speclist.c: New file.
55582         * posix/posix-envs.def: Likewise.
55583         * posix/confstr.c (START_ENV_GROUP): New macro.
55584         (END_ENV_GROUP): Likewise.
55585         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55586         (KNOWN_PRESENT_ENV_STRING): Likewise.
55587         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55588         (UNKNOWN_ENVIRONMENT): Likewise.
55589         (confstr): Include posix-envs.def instead of handling
55590         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
55591         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
55592         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
55593         (END_ENV_GROUP): Likewise.
55594         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55595         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55596         (UNKNOWN_ENVIRONMENT): Likewise.
55597         (__sysconf): Include posix-envs.def instead of handling associated
55598         cases directly here.
55599         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
55600         preprocessing getconf-speclist.c rather than running getconf or
55601         generating empty file.
55603 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
55605         * scripts/check-local-headers.sh: Ignore 'mach' headers.
55607 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
55609         [BZ #14672]
55610         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
55612 2012-11-16  David S. Miller  <davem@davemloft.net>
55614         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
55615         smaller than LDBL_EPSILON/2.0L, just return xm1.
55617 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
55619         * elf/tst-array1.c (init): Set constructor priority to 1000.
55620         (fini): Set destructor priority to 1000.
55621         * elf/tst-array2dep.c: Likewise.
55623 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55625         [BZ #11741]
55626         * libio/fileops.c (_IO_new_file_write): Correctly return error.
55627         (_IO_new_file_xsputn): Also return EOF if none of the input
55628         data was written when overflow failed.
55629         * libio/iopadn.c (_IO_padn): Likewise.
55630         * libio/iowpadn.c (_IO_wpadn): Likewise.
55631         * stdio-common/tst-put-error.c: Add copyright notice.
55632         (do_test): Add case for printing padded string.
55633         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
55634         _IO_padn returned error.
55635         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
55636         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
55637         return EOF.
55639 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55641         * libio/libioP.h: Add comment note that the references to C++
55642         bits are now obsolete.
55644 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55646         * math/libm-test.inc (check_complex): Use asprintf.
55648 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
55650         * debug/pcprofiledump.c (print_version): Update copyright year.
55651         * malloc/memusagestat.c (print_version): Likewise.
55653 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
55655         [BZ #14831]
55656         * elf/Makefile (tests): Add tst-audit8.
55657         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
55658         ($(objpfx)tst-audit8.out): New target.
55659         (tst-audit8-ENV): New variable.
55660         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
55661         audit if l_reloc_result is NULL.
55662         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
55663         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
55664         * elf/tst-audit8.c: New file.
55666 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55668         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
55669         * misc/Makefile (CFLAGS-select.c): Define.
55670         * posix/Makefile (CFLAGS-pause.c): Define.
55672 2012-11-13  David S. Miller  <davem@davemloft.net>
55674         * crypt/Makefile: Move test targets after toplevel Rules
55675         inclusion.  Grab any necessary sysdep routines when linking.
55676         * crypt/md5.c (md5_process_block): Remove define, we will always
55677         name it __md5_process_block.
55678         (md5_finish_ctx): Update md5_process_block call.
55679         (md5_stream): Likewise.
55680         (md5_process_bytes): Likewise.
55681         (md5_process_block): Rename to __md5_process_block and move to ...
55682         * crypt/md5-block.c: ... here.
55683         * crypt/sha256.c (sha256_process_block): Move to ...
55684         * crypt/sha256-block.c: ... here.
55685         * crypt/sha512.c (sha512_process_block): Move to ...
55686         * crypt/sha512-block.c: ... here.
55687         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55688         path.
55689         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55690         * sysdeps/sparc/sparc64/multiarch/Makefile
55691         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55692         crypt subdir.
55693         (localedef-aux): Add md5 crypto assembler when in locale subdir.
55694         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55695         multiarch changes.
55696         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55697         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55698         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55699         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55700         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55701         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55702         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55703         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55704         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55705         file.
55706         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55707         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55708         file.
55709         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55711 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
55713         * timezone/tzselect.ksh: Update from tzcode git revision
55714         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55715         * timezone/zdump.c: Likewise.
55716         * timezone/zic.c: Likewise.
55717         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55718         in TZVERSION setting, not $(PKGVERSION).
55719         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
55720         REPORT_BUGS_TO settings.
55722         [BZ #14838]
55723         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55724         macro.
55726 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55728         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55729         detection to immediately after _FP_ROUND().
55730         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55731         bits are 0.
55733 2012-11-11  David S. Miller  <davem@davemloft.net>
55735         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55736         inttypes.h
55737         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55738         __close rather than their public counterparts.
55740 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
55742         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55743         file.
55744         [UNIX98] (sem_timedwait): Do not expect.
55745         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55746         [XPG4 || UNIX98] (sockatmark): Do not expect.
55747         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55748         (clock_getcpuclockid): Do not expect.
55749         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55750         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55751         Do not expect.
55752         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55753         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55754         [UNIX98] (vwscanf): Likewise.
55755         [UNIX98] (vswscanf): Likewise.
55757 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
55759         * timezone/version.h: Remove file.
55760         * timezone/README: Do not refer to version.h.
55761         * timezone/Makefile ($(objpfx)zic.o): New dependency on
55762         $(objpfx)version.h.
55763         ($(objpfx)zdump.o): Likewise.
55764         ($(objpfx)version.h): New target.
55766         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55767         2012i.
55768         * timezone/README: Don't mention modification to tzselect.ksh.
55769         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55770         work on unmodified tzselect.ksh.  Substitute version numbers in
55771         tzselect.ksh.
55773         * Makefile (format-me): Remove.
55774         (INSTALL): Adjust indentation.  Use commands directly instead of
55775         using $(format-me).
55777         * aclocal.m4 (ACX_PKGVERSION): New macro.
55778         (ACX_BUGURL): Likewise.
55779         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55780         (PKGVERSION): New AC_DEFINE_UNQUOTED.
55781         (REPORT_BUGS_TO): Likewise.
55782         * configure: Regenerated.
55783         * config.h.in (PKGVERSION): New macro.
55784         (REPORT_BUGS_TO): Likewise.
55785         * config.make.in (PKGVERSION): New variable.
55786         (PKGVERSION_TEXI): Likewise.
55787         (REPORT_BUGS_TO): Likewise.
55788         (REPORT_BUGS_TEXI): Likewise.
55789         * Makefile (format-me): Use -I$(common-objpfx)manual.
55790         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55791         ($(common-objpfx)manual/%): New target.
55792         (manual/%): Remove target.
55793         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55794         (print_version): Use PKGVERSION.
55795         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55796         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55797         and REPORT_BUGS_TO.
55798         ($(objpfx)xtrace): Likewise.
55799         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55800         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55801         (print_version): Use PKGVERSION.
55802         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55803         (do_version): Use PKGVERSION.
55804         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55805         REPORT_BUGS_TO.
55806         (common-ldd-rewrite): Likewise.
55807         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55808         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55809         (print_version): Use PKGVERSION.
55810         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55811         * elf/pldd.c (argp_program_bug_address): Remove variable.
55812         (more_help): New function.
55813         (argp): Use more_help.
55814         (print_version): Use PKGVERSION.
55815         * elf/sln.c (main): Use PKGVERSION.
55816         (usage): Use REPORT_BUGS_TO.
55817         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55818         (top level): Use PKGVERSION.
55819         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55820         (print_version): Use PKGVERSION.
55821         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55822         (print_version): Use PKGVERSION.
55823         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55824         (print_version): Use PKGVERSION.
55825         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55826         (print_version): Use PKGVERSION.
55827         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55828         (print_version): Use PKGVERSION.
55829         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55830         (print_version): Use PKGVERSION.
55831         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55832         and BUGURL.
55833         ($(objpfx)memusage): Likewise.
55834         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55835         (do_version): Use PKGVERSION.
55836         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55837         (print_version): Use PKGVERSION.
55838         * malloc/mtrace.pl ($PACKAGE): Remove variable.
55839         ($PKGVERSION): New variable.
55840         ($REPORT_BUGS_TO): Likewise.
55841         (usage): Use $REPORT_BUGS_TO.
55842         (top level): Use $PKGVERSION.
55843         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55844         ($(objpfx)pkgvers.texi): New rule.
55845         ($(objpfx)stamp-pkgvers): Likewise.
55846         * manual/install.texi: Include pkgvers.texi.
55847         (--with-pkgversion): Document new configure option.
55848         (--with-bugurl): Likewise.
55849         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55850         than necessarily for this particular distribution.  Use
55851         REPORT_BUGS_TO for where to report bugs.
55852         * INSTALL: Regenerated.
55853         * manual/libc.texinfo: Include pkgvers.texi.
55854         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55855         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55856         (print_version): Use PKGVERSION.
55857         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55858         (print_version): Use PKGVERSION.
55859         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55860         (print_version): Use PKGVERSION.
55861         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55862         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55863         macro.
55864         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55865         (print_version): Use PKGVERSION.
55866         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55867         (print_version): Use PKGVERSION.
55868         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55869         and PKGVERSION.
55871         * timezone/checktab.awk: Update from tzcode 2012i.
55872         * timezone/ialloc.c: Likewise.
55873         * timezone/private.h: Likewise.
55874         * timezone/scheck.c: Likewise.
55875         * timezone/tzfile.h: Likewise.
55876         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55877         (TZVERSION): Hardcode tzcode version number.
55878         * timezone/zdump.c: Update from tzcode 2012i.
55879         * timezone/zic.c: Likewise.
55880         * timezone/version.h: New file.
55881         * timezone/README: Describe version.h.  Update upstream location.
55883         [BZ #14824]
55884         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55885         (mktemp): Enable declaration.
55886         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55887         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55888         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55889         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55890         Likewise.
55891         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55892         Likewise.
55893         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55894         Likewise.
55895         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55896         Likewise.
55897         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55898         Likewise.
55899         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55900         Likewise.
55902         [BZ #14821]
55903         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55904         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
55905         for copies of such integer values.
55906         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55907         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55909 2012-11-09  Andreas Jaeger  <aj@suse.de>
55911         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55912         definitions and declarations that are provided by
55913         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55915 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55917         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55918         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55919         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55920         definition.
55922 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55924         * elf/elf.h: Update comment before AArch64 relocations.
55926 2012-11-07  David S. Miller  <davem@davemloft.net>
55928         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55929         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55930         (__start_context): Declare.
55931         (__makecontext_ret): Delete.
55932         (__makecontext): Hook up __start_context instead of
55933         __makecontext_ret.
55934         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55935         (sysdep_routines): Add __start_context when in stdlib.
55937 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55939         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55940         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55941         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
55942         hardcoded "nm".
55943         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
55944         (READELF): New variable.  Use it instead of hardcoded "readelf".
55946 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55948         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55949         * sysdeps/x86/Makefile: Here.
55950         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55951         * sysdeps/x86/tst-xmmymm.sh: This.
55953 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55955         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55956         expectations.
55957         [UNIX98] (pthread_barrier_t): Do not expect.
55958         [UNIX98] (pthread_barrierattr_t): Likewise.
55959         [UNIX98] (pthread_spinlock_t): Likewise.
55960         [UNIX98] (pthread_barrier_destroy): Likewise.
55961         [UNIX98] (pthread_barrier_init): Likewise.
55962         [UNIX98] (pthread_barrier_wait): Likewise.
55963         [UNIX98] (pthread_barrierattr_destroy): Likewise.
55964         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55965         [UNIX98] (pthread_barrierattr_init): Likewise.
55966         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55967         [UNIX98] (pthread_getcpuclockid): Likewise.
55968         [UNIX98] (pthread_mutex_timedlock): Likewise.
55969         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55970         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55971         [UNIX98] (pthread_sigmask): Likewise.
55972         [UNIX98] (pthread_spin_destroy): Likewise.
55973         [UNIX98] (pthread_spin_init): Likewise.
55974         [UNIX98] (pthread_spin_lock): Likewise.
55975         [UNIX98] (pthread_spin_trylock): Likewise.
55976         [UNIX98] (pthread_spin_unlock): Likewise.
55977         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55978         Do not expect.
55979         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55980         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55981         [XPG3 || XPG4] (pthread_cond_t): Likewise.
55982         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55983         [XPG3 || XPG4] (pthread_key_t): Likewise.
55984         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55985         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55986         [XPG3 || XPG4] (pthread_once_t): Likewise.
55987         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55988         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55989         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55990         [XPG3 || XPG4] (pthread_t): Likewise.
55992         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55993         not expect.
55994         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55996         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55997         Change function return type to int.
55999         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
56000         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
56001         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
56002         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
56003         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
56004         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
56005         [!POSIX] (posix_madvise): Likewise.
56006         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
56007         && !UNIX98].
56008         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
56009         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
56010         (mode_t): Likewise.
56011         (posix_mem_offset): Likewise.
56012         (posix_typed_mem_get_info): Likewise.
56013         (posix_typed_mem_open): Likewise.
56015         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
56016         Change condition to [XOPEN2K8].
56018         * conform/conformtest.pl: Preprocess allow-header data with -x c
56019         instead of from stdin.
56020         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
56021         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
56022         [C99-based standards] (cerfc): Likewise.
56023         [C99-based standards] (cexp2): Likewise.
56024         [C99-based standards] (cexpm1): Likewise.
56025         [C99-based standards] (clog10): Likewise.
56026         [C99-based standards] (clog1p): Likewise.
56027         [C99-based standards] (clog2): Likewise.
56028         [C99-based standards] (clgamma): Likewise.
56029         [C99-based standards] (ctgamma): Likewise.
56030         [C99-based standards] (cerff): Likewise.
56031         [C99-based standards] (cerfcf): Likewise.
56032         [C99-based standards] (cexp2f): Likewise.
56033         [C99-based standards] (cexpm1f): Likewise.
56034         [C99-based standards] (clog10f): Likewise.
56035         [C99-based standards] (clog1pf): Likewise.
56036         [C99-based standards] (clog2f): Likewise.
56037         [C99-based standards] (clgammaf): Likewise.
56038         [C99-based standards] (ctgammaf): Likewise.
56039         [C99-based standards] (cerfl): Likewise.
56040         [C99-based standards] (cerfcl): Likewise.
56041         [C99-based standards] (cexp2l): Likewise.
56042         [C99-based standards] (cexpm1l): Likewise.
56043         [C99-based standards] (clog10l): Likewise.
56044         [C99-based standards] (clog1pl): Likewise.
56045         [C99-based standards] (clog2l): Likewise.
56046         [C99-based standards] (clgammal): Likewise.
56047         [C99-based standards] (ctgammal): Likewise.
56048         * conform/data/inttypes.h-data [C99-based standards]: Include
56049         stdint.h-data.  Remove all expectations for stdint.h contents.
56050         [C99-based standards] (PRI*): Do not allow.
56051         [C99-based standards] (SCN*): Likewise.
56052         [C99-based standards] (*_t): Likewise.
56053         [C99-based-standards] (PRId8): Expect macro.
56054         [C99-based-standards] (PRIi8): Likewise.
56055         [C99-based-standards] (PRIo8): Likewise.
56056         [C99-based-standards] (PRIu8): Likewise.
56057         [C99-based-standards] (PRIx8): Likewise.
56058         [C99-based-standards] (PRIX8): Likewise.
56059         [C99-based-standards] (SCNd8): Likewise.
56060         [C99-based-standards] (SCNi8): Likewise.
56061         [C99-based-standards] (SCNo8): Likewise.
56062         [C99-based-standards] (SCNu8): Likewise.
56063         [C99-based-standards] (SCNx8): Likewise.
56064         [C99-based-standards] (PRIdLEAST8): Likewise.
56065         [C99-based-standards] (PRIiLEAST8): Likewise.
56066         [C99-based-standards] (PRIoLEAST8): Likewise.
56067         [C99-based-standards] (PRIuLEAST8): Likewise.
56068         [C99-based-standards] (PRIxLEAST8): Likewise.
56069         [C99-based-standards] (PRIXLEAST8): Likewise.
56070         [C99-based-standards] (SCNdLEAST8): Likewise.
56071         [C99-based-standards] (SCNiLEAST8): Likewise.
56072         [C99-based-standards] (SCNoLEAST8): Likewise.
56073         [C99-based-standards] (SCNuLEAST8): Likewise.
56074         [C99-based-standards] (SCNxLEAST8): Likewise.
56075         [C99-based-standards] (PRIdFAST8): Likewise.
56076         [C99-based-standards] (PRIiFAST8): Likewise.
56077         [C99-based-standards] (PRIoFAST8): Likewise.
56078         [C99-based-standards] (PRIuFAST8): Likewise.
56079         [C99-based-standards] (PRIxFAST8): Likewise.
56080         [C99-based-standards] (PRIXFAST8): Likewise.
56081         [C99-based-standards] (SCNdFAST8): Likewise.
56082         [C99-based-standards] (SCNiFAST8): Likewise.
56083         [C99-based-standards] (SCNoFAST8): Likewise.
56084         [C99-based-standards] (SCNuFAST8): Likewise.
56085         [C99-based-standards] (SCNxFAST8): Likewise.
56086         [C99-based-standards] (PRId16): Likewise.
56087         [C99-based-standards] (PRIi16): Likewise.
56088         [C99-based-standards] (PRIo16): Likewise.
56089         [C99-based-standards] (PRIu16): Likewise.
56090         [C99-based-standards] (PRIx16): Likewise.
56091         [C99-based-standards] (PRIX16): Likewise.
56092         [C99-based-standards] (SCNd16): Likewise.
56093         [C99-based-standards] (SCNi16): Likewise.
56094         [C99-based-standards] (SCNo16): Likewise.
56095         [C99-based-standards] (SCNu16): Likewise.
56096         [C99-based-standards] (SCNx16): Likewise.
56097         [C99-based-standards] (PRIdLEAST16): Likewise.
56098         [C99-based-standards] (PRIiLEAST16): Likewise.
56099         [C99-based-standards] (PRIoLEAST16): Likewise.
56100         [C99-based-standards] (PRIuLEAST16): Likewise.
56101         [C99-based-standards] (PRIxLEAST16): Likewise.
56102         [C99-based-standards] (PRIXLEAST16): Likewise.
56103         [C99-based-standards] (SCNdLEAST16): Likewise.
56104         [C99-based-standards] (SCNiLEAST16): Likewise.
56105         [C99-based-standards] (SCNoLEAST16): Likewise.
56106         [C99-based-standards] (SCNuLEAST16): Likewise.
56107         [C99-based-standards] (SCNxLEAST16): Likewise.
56108         [C99-based-standards] (PRIdFAST16): Likewise.
56109         [C99-based-standards] (PRIiFAST16): Likewise.
56110         [C99-based-standards] (PRIoFAST16): Likewise.
56111         [C99-based-standards] (PRIuFAST16): Likewise.
56112         [C99-based-standards] (PRIxFAST16): Likewise.
56113         [C99-based-standards] (PRIXFAST16): Likewise.
56114         [C99-based-standards] (SCNdFAST16): Likewise.
56115         [C99-based-standards] (SCNiFAST16): Likewise.
56116         [C99-based-standards] (SCNoFAST16): Likewise.
56117         [C99-based-standards] (SCNuFAST16): Likewise.
56118         [C99-based-standards] (SCNxFAST16): Likewise.
56119         [C99-based-standards] (PRId32): Likewise.
56120         [C99-based-standards] (PRIi32): Likewise.
56121         [C99-based-standards] (PRIo32): Likewise.
56122         [C99-based-standards] (PRIu32): Likewise.
56123         [C99-based-standards] (PRIx32): Likewise.
56124         [C99-based-standards] (PRIX32): Likewise.
56125         [C99-based-standards] (SCNd32): Likewise.
56126         [C99-based-standards] (SCNi32): Likewise.
56127         [C99-based-standards] (SCNo32): Likewise.
56128         [C99-based-standards] (SCNu32): Likewise.
56129         [C99-based-standards] (SCNx32): Likewise.
56130         [C99-based-standards] (PRIdLEAST32): Likewise.
56131         [C99-based-standards] (PRIiLEAST32): Likewise.
56132         [C99-based-standards] (PRIoLEAST32): Likewise.
56133         [C99-based-standards] (PRIuLEAST32): Likewise.
56134         [C99-based-standards] (PRIxLEAST32): Likewise.
56135         [C99-based-standards] (PRIXLEAST32): Likewise.
56136         [C99-based-standards] (SCNdLEAST32): Likewise.
56137         [C99-based-standards] (SCNiLEAST32): Likewise.
56138         [C99-based-standards] (SCNoLEAST32): Likewise.
56139         [C99-based-standards] (SCNuLEAST32): Likewise.
56140         [C99-based-standards] (SCNxLEAST32): Likewise.
56141         [C99-based-standards] (PRIdFAST32): Likewise.
56142         [C99-based-standards] (PRIiFAST32): Likewise.
56143         [C99-based-standards] (PRIoFAST32): Likewise.
56144         [C99-based-standards] (PRIuFAST32): Likewise.
56145         [C99-based-standards] (PRIxFAST32): Likewise.
56146         [C99-based-standards] (PRIXFAST32): Likewise.
56147         [C99-based-standards] (SCNdFAST32): Likewise.
56148         [C99-based-standards] (SCNiFAST32): Likewise.
56149         [C99-based-standards] (SCNoFAST32): Likewise.
56150         [C99-based-standards] (SCNuFAST32): Likewise.
56151         [C99-based-standards] (SCNxFAST32): Likewise.
56152         [C99-based-standards] (PRId64): Likewise.
56153         [C99-based-standards] (PRIi64): Likewise.
56154         [C99-based-standards] (PRIo64): Likewise.
56155         [C99-based-standards] (PRIu64): Likewise.
56156         [C99-based-standards] (PRIx64): Likewise.
56157         [C99-based-standards] (PRIX64): Likewise.
56158         [C99-based-standards] (SCNd64): Likewise.
56159         [C99-based-standards] (SCNi64): Likewise.
56160         [C99-based-standards] (SCNo64): Likewise.
56161         [C99-based-standards] (SCNu64): Likewise.
56162         [C99-based-standards] (SCNx64): Likewise.
56163         [C99-based-standards] (PRIdLEAST64): Likewise.
56164         [C99-based-standards] (PRIiLEAST64): Likewise.
56165         [C99-based-standards] (PRIoLEAST64): Likewise.
56166         [C99-based-standards] (PRIuLEAST64): Likewise.
56167         [C99-based-standards] (PRIxLEAST64): Likewise.
56168         [C99-based-standards] (PRIXLEAST64): Likewise.
56169         [C99-based-standards] (SCNdLEAST64): Likewise.
56170         [C99-based-standards] (SCNiLEAST64): Likewise.
56171         [C99-based-standards] (SCNoLEAST64): Likewise.
56172         [C99-based-standards] (SCNuLEAST64): Likewise.
56173         [C99-based-standards] (SCNxLEAST64): Likewise.
56174         [C99-based-standards] (PRIdFAST64): Likewise.
56175         [C99-based-standards] (PRIiFAST64): Likewise.
56176         [C99-based-standards] (PRIoFAST64): Likewise.
56177         [C99-based-standards] (PRIuFAST64): Likewise.
56178         [C99-based-standards] (PRIxFAST64): Likewise.
56179         [C99-based-standards] (PRIXFAST64): Likewise.
56180         [C99-based-standards] (SCNdFAST64): Likewise.
56181         [C99-based-standards] (SCNiFAST64): Likewise.
56182         [C99-based-standards] (SCNoFAST64): Likewise.
56183         [C99-based-standards] (SCNuFAST64): Likewise.
56184         [C99-based-standards] (SCNxFAST64): Likewise.
56185         [C99-based-standards] (PRIdMAX): Likewise.
56186         [C99-based-standards] (PRIiMAX): Likewise.
56187         [C99-based-standards] (PRIoMAX): Likewise.
56188         [C99-based-standards] (PRIuMAX): Likewise.
56189         [C99-based-standards] (PRIxMAX): Likewise.
56190         [C99-based-standards] (PRIXMAX): Likewise.
56191         [C99-based-standards] (SCNdMAX): Likewise.
56192         [C99-based-standards] (SCNiMAX): Likewise.
56193         [C99-based-standards] (SCNoMAX): Likewise.
56194         [C99-based-standards] (SCNuMAX): Likewise.
56195         [C99-based-standards] (SCNxMAX): Likewise.
56196         [C99-based-standards] (PRIdPTR): Likewise.
56197         [C99-based-standards] (PRIiPTR): Likewise.
56198         [C99-based-standards] (PRIoPTR): Likewise.
56199         [C99-based-standards] (PRIuPTR): Likewise.
56200         [C99-based-standards] (PRIxPTR): Likewise.
56201         [C99-based-standards] (PRIXPTR): Likewise.
56202         [C99-based-standards] (SCNdPTR): Likewise.
56203         [C99-based-standards] (SCNiPTR): Likewise.
56204         [C99-based-standards] (SCNoPTR): Likewise.
56205         [C99-based-standards] (SCNuPTR): Likewise.
56206         [C99-based-standards] (SCNxPTR): Likewise.
56207         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
56208         allow.
56209         * conform/data/stdint.h-data: Update comments to clarify
56210         requirements.
56211         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
56212         type.
56213         [C99-based standards] (INT8_MAX): Likewise.
56214         [C99-based standards] (INT16_MIN): Likewise.
56215         [C99-based standards] (INT16_MAX): Likewise.
56216         [C99-based standards] (INT32_MIN): Likewise.
56217         [C99-based standards] (INT32_MAX): Likewise.
56218         [C99-based standards] (INT64_MIN): Likewise.
56219         [C99-based standards] (INT64_MAX): Likewise.
56220         [C99-based standards] (UINT8_MAX): Likewise.
56221         [C99-based standards] (UINT16_MAX): Likewise.
56222         [C99-based standards] (UINT32_MAX): Likewise.
56223         [C99-based standards] (UINT64_MAX): Likewise.
56224         [C99-based standards] (INT_LEAST8_MIN): Likewise.
56225         [C99-based standards] (INT_LEAST8_MAX): Likewise.
56226         [C99-based standards] (INT_LEAST16_MIN): Likewise.
56227         [C99-based standards] (INT_LEAST16_MAX): Likewise.
56228         [C99-based standards] (INT_LEAST32_MIN): Likewise.
56229         [C99-based standards] (INT_LEAST32_MAX): Likewise.
56230         [C99-based standards] (INT_LEAST64_MIN): Likewise.
56231         [C99-based standards] (INT_LEAST64_MAX): Likewise.
56232         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
56233         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
56234         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
56235         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
56236         [C99-based standards] (INT_FAST8_MIN): Likewise.
56237         [C99-based standards] (INT_FAST8_MAX): Likewise.
56238         [C99-based standards] (INT_FAST16_MIN): Likewise.
56239         [C99-based standards] (INT_FAST16_MAX): Likewise.
56240         [C99-based standards] (INT_FAST32_MIN): Likewise.
56241         [C99-based standards] (INT_FAST32_MAX): Likewise.
56242         [C99-based standards] (INT_FAST64_MIN): Likewise.
56243         [C99-based standards] (INT_FAST64_MAX): Likewise.
56244         [C99-based standards] (UINT_FAST8_MAX): Likewise.
56245         [C99-based standards] (UINT_FAST16_MAX): Likewise.
56246         [C99-based standards] (UINT_FAST32_MAX): Likewise.
56247         [C99-based standards] (UINT_FAST64_MAX): Likewise.
56248         [C99-based standards] (INTPTR_MIN): Likewise.
56249         [C99-based standards] (INTPTR_MAX): Likewise.
56250         [C99-based standards] (UINTPTR_MAX): Likewise.
56251         [C99-based standards] (INTMAX_MIN): Likewise.
56252         [C99-based standards] (INTMAX_MAX): Likewise.
56253         [C99-based standards] (UINTMAX_MAX): Likewise.
56254         [C99-based standards] (PTRDIFF_MIN): Likewise.
56255         [C99-based standards] (PTRDIFF_MAX): Likewise.
56256         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
56257         [C99-based standards] (SIZE_MAX): Likewise.
56258         [C99-based standards] (WCHAR_MAX): Likewise.
56259         [C99-based standards] (WINT_MAX): Likewise.
56260         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
56261         constraint on value.
56262         [C99-based standards] (WCHAR_MIN): Likewise.
56263         [C99-based standards] (WINT_MIN): Likewise.
56264         [C99-based standards] (*_t): Allow.
56265         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
56266         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
56267         Include math.h-data and complex.h-data.  Remove all expectations
56268         of math.h and complex.h contents.
56269         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
56270         at end of line.
56271         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
56272         (struct tm): Expect tag.
56273         [C99-based-standards] (wcstof): Expect function.
56274         [C99-based-standards] (wcstold): Likewise.
56275         [C99-based-standards] (wcstoll): Likewise.
56276         [C99-based-standards] (wcstoull): Likewise.
56277         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
56278         macro-int-constant.  Specify type.
56279         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
56280         constraint on value.
56281         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56282         Specify type.
56283         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
56284         Specify value.
56285         [ISO C standards]: Do not allow headers.
56286         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
56287         wcs[abcdefghijklmnopqrstuvwxyz]*.
56288         [ISO C standards] (*_t): Do not allow.
56289         * conform/data/wctype.h-data [C99-based standards] (iswblank):
56290         Expect function.
56291         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
56292         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56293         Specify type.
56294         [ISO C standards]: Do not allow headers.
56295         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
56296         is[abcdefghijklmnopqrstuvwxyz]*.
56297         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
56298         to[abcdefghijklmnopqrstuvwxyz]*.
56299         [ISO C standards] (*_t): Do not allow.
56300         * conform/data/stdalign.h-data: New file.
56301         * conform/data/stdbool.h-data: Likewise.
56302         * conform/data/stdnoreturn.h-data: Likewise.
56304 2012-11-07  Roland McGrath  <roland@hack.frob.com>
56306         [BZ #14815]
56307         * manual/filesys.texi (Directory Entries): Typo fix.
56308         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
56310 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56312         * elf/elf.h (EM_AARCH64): New macro.
56313         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
56314         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
56315         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
56316         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
56317         (R_AARCH64_TLSDESC): Likewise.
56318         (NT_ARM_TLS): Likewise.
56319         (NT_ARM_HW_BREAK): Likewise.
56320         (NT_ARM_HW_WATCH): Likewise.
56322 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56324         [BZ #14811]
56325         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
56326         (__ieee754_powl): Saturate nonzero exponents with absolute value
56327         below 0x1p-79 to +/- 0x1p-79.
56328         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
56329         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
56330         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
56331         nonzero exponents with absolute value below 0x1p-32 to +/-
56332         0x1p-32.
56333         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
56334         (__ieee754_powl): Saturate nonzero exponents with absolute value
56335         below 0x1p-79 to +/- 0x1p-79.
56336         * math/libm-test.inc (pow_test): Add more tests.
56338 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56340         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
56341         _dl_s390_cap_flags with kernel. Increase string length.
56342         (_dl_s390_platforms): Add z196 and zEC12.
56344 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56346         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
56347         Change XOPEN21K to XOPEN2K.
56349 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
56351         * string/memmove.c: Use memcpy when possible.
56353 2012-11-06  Andreas Jaeger  <aj@suse.de>
56355         * po/eo.po: Update from translation team.
56357 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
56359         [BZ #14793]
56360         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
56361         exponent and small x and y exponents, scale x or y up.  Increase
56362         by 2 the exponent used in scaling up.
56363         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56364         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56365         * math/libm-test.inc (fma_test): Add more tests.
56366         (fma_test_towardzero): Likewise.
56367         (fma_test_downward): Likewise.
56368         (fma_test_upward): Likewise.
56370 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
56372         [BZ #14805]
56373         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
56374         fenv_t *.
56376         [BZ #14801]
56377         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
56378         namespace for names of struct fields.
56379         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
56380         fenv_t fields.
56381         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
56382         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
56384 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56386         [BZ #3665]
56387         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
56389 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56391         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
56392         PTR_DEMANGLE.
56394         [BZ #5246]
56395         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
56396         PTR_DEMANGLE.
56398 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
56400         [BZ #14797]
56401         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
56402         definitely overflow as x * y not x * y + z.
56403         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56404         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56405         * math/libm-test.inc (fma_test): Add more tests.
56406         (fma_test_towardzero): Likewise.
56407         (fma_test_downward): Likewise.
56408         (fma_test_upward): Likewise.
56410 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56412         [BZ #157]
56414         * include/stub-tag.h: Remove file.
56415         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
56416         '#include' of it.
56417         * manual/maint.texi (Porting): Don't reference it.
56418         * Makerules ($(objpfx)stubs): Likewise.
56419         * dirent/closedir.c: Don't include <stub-tag.h>.
56420         * dirent/dirfd.c: Likewise.
56421         * dirent/fdopendir.c: Likewise.
56422         * dirent/getdents.c: Likewise.
56423         * dirent/getdents64.c: Likewise.
56424         * dirent/opendir.c: Likewise.
56425         * dirent/readdir.c: Likewise.
56426         * dirent/readdir64.c: Likewise.
56427         * dirent/readdir64_r.c: Likewise.
56428         * dirent/readdir_r.c: Likewise.
56429         * dirent/rewinddir.c: Likewise.
56430         * dirent/seekdir.c: Likewise.
56431         * dirent/telldir.c: Likewise.
56432         * gmon/profil.c: Likewise.
56433         * grp/setgroups.c: Likewise.
56434         * inet/if_index.c: Likewise.
56435         * io/access.c: Likewise.
56436         * io/chdir.c: Likewise.
56437         * io/chmod.c: Likewise.
56438         * io/chown.c: Likewise.
56439         * io/close.c: Likewise.
56440         * io/dup.c: Likewise.
56441         * io/dup2.c: Likewise.
56442         * io/dup3.c: Likewise.
56443         * io/euidaccess.c: Likewise.
56444         * io/faccessat.c: Likewise.
56445         * io/fchdir.c: Likewise.
56446         * io/fchmod.c: Likewise.
56447         * io/fchmodat.c: Likewise.
56448         * io/fchown.c: Likewise.
56449         * io/fchownat.c: Likewise.
56450         * io/fcntl.c: Likewise.
56451         * io/flock.c: Likewise.
56452         * io/fstatfs.c: Likewise.
56453         * io/fstatfs64.c: Likewise.
56454         * io/fstatvfs.c: Likewise.
56455         * io/fstatvfs64.c: Likewise.
56456         * io/futimens.c: Likewise.
56457         * io/fxstat.c: Likewise.
56458         * io/fxstat64.c: Likewise.
56459         * io/fxstatat.c: Likewise.
56460         * io/fxstatat64.c: Likewise.
56461         * io/getcwd.c: Likewise.
56462         * io/isatty.c: Likewise.
56463         * io/lchmod.c: Likewise.
56464         * io/lchown.c: Likewise.
56465         * io/link.c: Likewise.
56466         * io/linkat.c: Likewise.
56467         * io/lseek.c: Likewise.
56468         * io/lseek64.c: Likewise.
56469         * io/lxstat64.c: Likewise.
56470         * io/mkdir.c: Likewise.
56471         * io/mkdirat.c: Likewise.
56472         * io/mkfifo.c: Likewise.
56473         * io/mkfifoat.c: Likewise.
56474         * io/open.c: Likewise.
56475         * io/open64.c: Likewise.
56476         * io/openat.c: Likewise.
56477         * io/openat64.c: Likewise.
56478         * io/pipe.c: Likewise.
56479         * io/pipe2.c: Likewise.
56480         * io/poll.c: Likewise.
56481         * io/posix_fadvise.c: Likewise.
56482         * io/posix_fadvise64.c: Likewise.
56483         * io/posix_fallocate.c: Likewise.
56484         * io/posix_fallocate64.c: Likewise.
56485         * io/read.c: Likewise.
56486         * io/readlink.c: Likewise.
56487         * io/readlinkat.c: Likewise.
56488         * io/rmdir.c: Likewise.
56489         * io/sendfile.c: Likewise.
56490         * io/sendfile64.c: Likewise.
56491         * io/statfs.c: Likewise.
56492         * io/statfs64.c: Likewise.
56493         * io/statvfs.c: Likewise.
56494         * io/statvfs64.c: Likewise.
56495         * io/symlink.c: Likewise.
56496         * io/symlinkat.c: Likewise.
56497         * io/ttyname.c: Likewise.
56498         * io/ttyname_r.c: Likewise.
56499         * io/umask.c: Likewise.
56500         * io/unlink.c: Likewise.
56501         * io/unlinkat.c: Likewise.
56502         * io/utime.c: Likewise.
56503         * io/utimensat.c: Likewise.
56504         * io/write.c: Likewise.
56505         * io/xmknod.c: Likewise.
56506         * io/xmknodat.c: Likewise.
56507         * io/xstat.c: Likewise.
56508         * io/xstat64.c: Likewise.
56509         * login/getpt.c: Likewise.
56510         * login/grantpt.c: Likewise.
56511         * login/unlockpt.c: Likewise.
56512         * math/e_acoshl.c: Likewise.
56513         * math/e_acosl.c: Likewise.
56514         * math/e_asinl.c: Likewise.
56515         * math/e_atan2l.c: Likewise.
56516         * math/e_atanhl.c: Likewise.
56517         * math/e_coshl.c: Likewise.
56518         * math/e_expl.c: Likewise.
56519         * math/e_fmodl.c: Likewise.
56520         * math/e_gammal_r.c: Likewise.
56521         * math/e_hypotl.c: Likewise.
56522         * math/e_j0l.c: Likewise.
56523         * math/e_j1l.c: Likewise.
56524         * math/e_jnl.c: Likewise.
56525         * math/e_lgammal_r.c: Likewise.
56526         * math/e_log10l.c: Likewise.
56527         * math/e_log2l.c: Likewise.
56528         * math/e_logl.c: Likewise.
56529         * math/e_powl.c: Likewise.
56530         * math/e_rem_pio2l.c: Likewise.
56531         * math/e_sinhl.c: Likewise.
56532         * math/e_sqrtl.c: Likewise.
56533         * math/fclrexcpt.c: Likewise.
56534         * math/fedisblxcpt.c: Likewise.
56535         * math/feenablxcpt.c: Likewise.
56536         * math/fegetenv.c: Likewise.
56537         * math/fegetexcept.c: Likewise.
56538         * math/fegetround.c: Likewise.
56539         * math/feholdexcpt.c: Likewise.
56540         * math/fesetenv.c: Likewise.
56541         * math/fesetround.c: Likewise.
56542         * math/feupdateenv.c: Likewise.
56543         * math/fgetexcptflg.c: Likewise.
56544         * math/fraiseexcpt.c: Likewise.
56545         * math/fsetexcptflg.c: Likewise.
56546         * math/ftestexcept.c: Likewise.
56547         * math/k_cosl.c: Likewise.
56548         * math/k_rem_pio2l.c: Likewise.
56549         * math/k_sinl.c: Likewise.
56550         * math/k_tanl.c: Likewise.
56551         * math/s_asinhl.c: Likewise.
56552         * math/s_atanl.c: Likewise.
56553         * math/s_cbrtl.c: Likewise.
56554         * math/s_erfl.c: Likewise.
56555         * math/s_expm1l.c: Likewise.
56556         * math/s_log1pl.c: Likewise.
56557         * math/s_tanhl.c: Likewise.
56558         * misc/acct.c: Likewise.
56559         * misc/brk.c: Likewise.
56560         * misc/chflags.c: Likewise.
56561         * misc/chroot.c: Likewise.
56562         * misc/fchflags.c: Likewise.
56563         * misc/fgetxattr.c: Likewise.
56564         * misc/flistxattr.c: Likewise.
56565         * misc/fremovexattr.c: Likewise.
56566         * misc/fsetxattr.c: Likewise.
56567         * misc/fsync.c: Likewise.
56568         * misc/ftruncate.c: Likewise.
56569         * misc/futimes.c: Likewise.
56570         * misc/futimesat.c: Likewise.
56571         * misc/getdomain.c: Likewise.
56572         * misc/getdtsz.c: Likewise.
56573         * misc/gethostid.c: Likewise.
56574         * misc/gethostname.c: Likewise.
56575         * misc/getloadavg.c: Likewise.
56576         * misc/getpagesize.c: Likewise.
56577         * misc/getsysstats.c: Likewise.
56578         * misc/getxattr.c: Likewise.
56579         * misc/gtty.c: Likewise.
56580         * misc/ioctl.c: Likewise.
56581         * misc/lgetxattr.c: Likewise.
56582         * misc/listxattr.c: Likewise.
56583         * misc/llistxattr.c: Likewise.
56584         * misc/lremovexattr.c: Likewise.
56585         * misc/lsetxattr.c: Likewise.
56586         * misc/lutimes.c: Likewise.
56587         * misc/madvise.c: Likewise.
56588         * misc/mincore.c: Likewise.
56589         * misc/mlock.c: Likewise.
56590         * misc/mlockall.c: Likewise.
56591         * misc/mmap.c: Likewise.
56592         * misc/mprotect.c: Likewise.
56593         * misc/msync.c: Likewise.
56594         * misc/munlock.c: Likewise.
56595         * misc/munlockall.c: Likewise.
56596         * misc/munmap.c: Likewise.
56597         * misc/preadv.c: Likewise.
56598         * misc/preadv64.c: Likewise.
56599         * misc/ptrace.c: Likewise.
56600         * misc/pwritev.c: Likewise.
56601         * misc/pwritev64.c: Likewise.
56602         * misc/readv.c: Likewise.
56603         * misc/reboot.c: Likewise.
56604         * misc/remap_file_pages.c: Likewise.
56605         * misc/removexattr.c: Likewise.
56606         * misc/revoke.c: Likewise.
56607         * misc/select.c: Likewise.
56608         * misc/setdomain.c: Likewise.
56609         * misc/setegid.c: Likewise.
56610         * misc/seteuid.c: Likewise.
56611         * misc/sethostid.c: Likewise.
56612         * misc/sethostname.c: Likewise.
56613         * misc/setregid.c: Likewise.
56614         * misc/setreuid.c: Likewise.
56615         * misc/setxattr.c: Likewise.
56616         * misc/sstk.c: Likewise.
56617         * misc/stty.c: Likewise.
56618         * misc/swapoff.c: Likewise.
56619         * misc/swapon.c: Likewise.
56620         * misc/sync.c: Likewise.
56621         * misc/syncfs.c: Likewise.
56622         * misc/syscall.c: Likewise.
56623         * misc/truncate.c: Likewise.
56624         * misc/ualarm.c: Likewise.
56625         * misc/usleep.c: Likewise.
56626         * misc/ustat.c: Likewise.
56627         * misc/utimes.c: Likewise.
56628         * misc/vhangup.c: Likewise.
56629         * misc/writev.c: Likewise.
56630         * posix/_exit.c: Likewise.
56631         * posix/alarm.c: Likewise.
56632         * posix/execve.c: Likewise.
56633         * posix/fexecve.c: Likewise.
56634         * posix/fork.c: Likewise.
56635         * posix/fpathconf.c: Likewise.
56636         * posix/getaddrinfo.c: Likewise.
56637         * posix/getegid.c: Likewise.
56638         * posix/geteuid.c: Likewise.
56639         * posix/getgid.c: Likewise.
56640         * posix/getgroups.c: Likewise.
56641         * posix/getlogin.c: Likewise.
56642         * posix/getlogin_r.c: Likewise.
56643         * posix/getpgid.c: Likewise.
56644         * posix/getpid.c: Likewise.
56645         * posix/getppid.c: Likewise.
56646         * posix/getresgid.c: Likewise.
56647         * posix/getresuid.c: Likewise.
56648         * posix/getsid.c: Likewise.
56649         * posix/getuid.c: Likewise.
56650         * posix/glob64.c: Likewise.
56651         * posix/nanosleep.c: Likewise.
56652         * posix/pathconf.c: Likewise.
56653         * posix/pause.c: Likewise.
56654         * posix/posix_madvise.c: Likewise.
56655         * posix/pread.c: Likewise.
56656         * posix/pread64.c: Likewise.
56657         * posix/pwrite.c: Likewise.
56658         * posix/pwrite64.c: Likewise.
56659         * posix/sched_getaffinity.c: Likewise.
56660         * posix/sched_getp.c: Likewise.
56661         * posix/sched_gets.c: Likewise.
56662         * posix/sched_primax.c: Likewise.
56663         * posix/sched_primin.c: Likewise.
56664         * posix/sched_rr_gi.c: Likewise.
56665         * posix/sched_setaffinity.c: Likewise.
56666         * posix/sched_setp.c: Likewise.
56667         * posix/sched_sets.c: Likewise.
56668         * posix/sched_yield.c: Likewise.
56669         * posix/setgid.c: Likewise.
56670         * posix/setlogin.c: Likewise.
56671         * posix/setpgid.c: Likewise.
56672         * posix/setresgid.c: Likewise.
56673         * posix/setresuid.c: Likewise.
56674         * posix/setsid.c: Likewise.
56675         * posix/setuid.c: Likewise.
56676         * posix/sleep.c: Likewise.
56677         * posix/spawni.c: Likewise.
56678         * posix/sysconf.c: Likewise.
56679         * posix/times.c: Likewise.
56680         * posix/wait.c: Likewise.
56681         * posix/wait3.c: Likewise.
56682         * posix/wait4.c: Likewise.
56683         * posix/waitpid.c: Likewise.
56684         * resolv/gai_sigqueue.c: Likewise.
56685         * resource/getpriority.c: Likewise.
56686         * resource/getrlimit.c: Likewise.
56687         * resource/getrusage.c: Likewise.
56688         * resource/nice.c: Likewise.
56689         * resource/setpriority.c: Likewise.
56690         * resource/setrlimit.c: Likewise.
56691         * resource/ulimit.c: Likewise.
56692         * rt/aio_cancel.c: Likewise.
56693         * rt/aio_fsync.c: Likewise.
56694         * rt/aio_read.c: Likewise.
56695         * rt/aio_sigqueue.c: Likewise.
56696         * rt/aio_suspend.c: Likewise.
56697         * rt/aio_write.c: Likewise.
56698         * rt/clock_getres.c: Likewise.
56699         * rt/clock_gettime.c: Likewise.
56700         * rt/clock_nanosleep.c: Likewise.
56701         * rt/clock_settime.c: Likewise.
56702         * rt/lio_listio.c: Likewise.
56703         * rt/mq_close.c: Likewise.
56704         * rt/mq_getattr.c: Likewise.
56705         * rt/mq_notify.c: Likewise.
56706         * rt/mq_open.c: Likewise.
56707         * rt/mq_receive.c: Likewise.
56708         * rt/mq_send.c: Likewise.
56709         * rt/mq_setattr.c: Likewise.
56710         * rt/mq_timedreceive.c: Likewise.
56711         * rt/mq_timedsend.c: Likewise.
56712         * rt/mq_unlink.c: Likewise.
56713         * rt/shm_open.c: Likewise.
56714         * rt/shm_unlink.c: Likewise.
56715         * rt/timer_create.c: Likewise.
56716         * rt/timer_delete.c: Likewise.
56717         * rt/timer_getoverr.c: Likewise.
56718         * rt/timer_gettime.c: Likewise.
56719         * rt/timer_settime.c: Likewise.
56720         * setjmp/__longjmp.c: Likewise.
56721         * setjmp/setjmp.c: Likewise.
56722         * signal/kill.c: Likewise.
56723         * signal/killpg.c: Likewise.
56724         * signal/raise.c: Likewise.
56725         * signal/sigaction.c: Likewise.
56726         * signal/sigaltstack.c: Likewise.
56727         * signal/sigblock.c: Likewise.
56728         * signal/sigignore.c: Likewise.
56729         * signal/sigintr.c: Likewise.
56730         * signal/signal.c: Likewise.
56731         * signal/sigpause.c: Likewise.
56732         * signal/sigpending.c: Likewise.
56733         * signal/sigqueue.c: Likewise.
56734         * signal/sigreturn.c: Likewise.
56735         * signal/sigset.c: Likewise.
56736         * signal/sigsetmask.c: Likewise.
56737         * signal/sigstack.c: Likewise.
56738         * signal/sigsuspend.c: Likewise.
56739         * signal/sigtimedwait.c: Likewise.
56740         * signal/sigvec.c: Likewise.
56741         * signal/sigwait.c: Likewise.
56742         * signal/sigwaitinfo.c: Likewise.
56743         * signal/sysv_signal.c: Likewise.
56744         * socket/accept.c: Likewise.
56745         * socket/accept4.c: Likewise.
56746         * socket/bind.c: Likewise.
56747         * socket/connect.c: Likewise.
56748         * socket/getpeername.c: Likewise.
56749         * socket/getsockname.c: Likewise.
56750         * socket/getsockopt.c: Likewise.
56751         * socket/isfdtype.c: Likewise.
56752         * socket/listen.c: Likewise.
56753         * socket/recv.c: Likewise.
56754         * socket/recvfrom.c: Likewise.
56755         * socket/recvmsg.c: Likewise.
56756         * socket/send.c: Likewise.
56757         * socket/sendmsg.c: Likewise.
56758         * socket/sendto.c: Likewise.
56759         * socket/setsockopt.c: Likewise.
56760         * socket/shutdown.c: Likewise.
56761         * socket/sockatmark.c: Likewise.
56762         * socket/socket.c: Likewise.
56763         * socket/socketpair.c: Likewise.
56764         * stdio-common/ctermid.c: Likewise.
56765         * stdio-common/cuserid.c: Likewise.
56766         * stdio-common/remove.c: Likewise.
56767         * stdio-common/rename.c: Likewise.
56768         * stdio-common/renameat.c: Likewise.
56769         * stdio-common/tempname.c: Likewise.
56770         * stdlib/getcontext.c: Likewise.
56771         * stdlib/makecontext.c: Likewise.
56772         * stdlib/setcontext.c: Likewise.
56773         * stdlib/swapcontext.c: Likewise.
56774         * stdlib/system.c: Likewise.
56775         * streams/fattach.c: Likewise.
56776         * streams/fdetach.c: Likewise.
56777         * streams/getmsg.c: Likewise.
56778         * streams/getpmsg.c: Likewise.
56779         * streams/putmsg.c: Likewise.
56780         * streams/putpmsg.c: Likewise.
56781         * sysdeps/unix/bsd/getpt.c: Likewise.
56782         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56783         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56784         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56786         Likewise.
56787         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56788         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56789         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56790         * sysvipc/msgctl.c: Likewise.
56791         * sysvipc/msgget.c: Likewise.
56792         * sysvipc/msgrcv.c: Likewise.
56793         * sysvipc/msgsnd.c: Likewise.
56794         * sysvipc/semctl.c: Likewise.
56795         * sysvipc/semget.c: Likewise.
56796         * sysvipc/semop.c: Likewise.
56797         * sysvipc/semtimedop.c: Likewise.
56798         * sysvipc/shmat.c: Likewise.
56799         * sysvipc/shmctl.c: Likewise.
56800         * sysvipc/shmdt.c: Likewise.
56801         * sysvipc/shmget.c: Likewise.
56802         * termios/tcdrain.c: Likewise.
56803         * termios/tcflow.c: Likewise.
56804         * termios/tcflush.c: Likewise.
56805         * termios/tcgetattr.c: Likewise.
56806         * termios/tcgetpgrp.c: Likewise.
56807         * termios/tcsendbrk.c: Likewise.
56808         * termios/tcsetattr.c: Likewise.
56809         * termios/tcsetpgrp.c: Likewise.
56810         * time/adjtime.c: Likewise.
56811         * time/clock.c: Likewise.
56812         * time/getitimer.c: Likewise.
56813         * time/gettimeofday.c: Likewise.
56814         * time/setitimer.c: Likewise.
56815         * time/settimeofday.c: Likewise.
56816         * time/stime.c: Likewise.
56817         * time/time.c: Likewise.
56819 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
56821         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56822         /usr/old/bin.
56824         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56825         instead of spaces.
56826         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56828 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
56830         [BZ #14796]
56831         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56832         FE_TONEAREST before applying Dekker multiplication and Knuth
56833         addition.  Clear inexact exceptions and check for exact zero
56834         results afterwards.
56835         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56836         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56837         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56838         * math/libm-test.inc (fma_test): Add more tests.
56839         (fma_test_towardzero): Likewise.
56840         (fma_test_downward): Likewise.
56841         (fma_test_upward): Likewise.
56842         * sysdeps/generic/math_private.h (default_libc_fesetround): New
56843         function.
56844         (libc_fesetround): New macro.
56845         (libc_fesetroundf): Likewise.
56846         (libc_fesetroundl): Likewise.
56847         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56848         function.
56849         (libc_fesetround_387): Likewise.
56850         (libc_fesetroundf): New macro.
56851         (libc_fesetround): Likewise.
56852         (libc_fesetroundl): Likewise.
56853         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56854         function.
56855         (libc_fesetroundf): New macro.
56856         (libc_fesetround): Likewise.
56857         (libc_fesetroundl): Likewise.
56858         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56859         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56860         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56861         libm_hidden_ver.
56862         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56863         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56864         libm_hidden_def.
56865         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56866         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56867         libm_hidden_ver.
56868         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56869         libm_hidden_def.
56871         [BZ #3439]
56872         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56873         integer constant usable in #if and use that to give value to enum
56874         constant.
56875         (FE_DIVBYZERO): Likewise.
56876         (FE_UNDERFLOW): Likewise.
56877         (FE_OVERFLOW): Likewise.
56878         (FE_INVALID): Likewise.
56879         (FE_INVALID_SNAN): Likewise.
56880         (FE_INVALID_ISI): Likewise.
56881         (FE_INVALID_IDI): Likewise.
56882         (FE_INVALID_ZDZ): Likewise.
56883         (FE_INVALID_IMZ): Likewise.
56884         (FE_INVALID_COMPARE): Likewise.
56885         (FE_INVALID_SOFTWARE): Likewise.
56886         (FE_INVALID_SQRT): Likewise.
56887         (FE_INVALID_INTEGER_CONVERSION): Likewise.
56888         (FE_TONEAREST): Likewise.
56889         (FE_TOWARDZERO): Likewise.
56890         (FE_UPWARD): Likewise.
56891         (FE_DOWNWARD): Likewise.
56892         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56893         (FE_DIVBYZERO): Likewise.
56894         (FE_OVERFLOW): Likewise.
56895         (FE_UNDERFLOW): Likewise.
56896         (FE_INEXACT): Likewise.
56897         (FE_TONEAREST): Likewise.
56898         (FE_DOWNWARD): Likewise.
56899         (FE_UPWARD): Likewise.
56900         (FE_TOWARDZERO): Likewise.
56901         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56902         (FE_UNDERFLOW): Likewise.
56903         (FE_OVERFLOW): Likewise.
56904         (FE_DIVBYZERO): Likewise.
56905         (FE_INVALID): Likewise.
56906         (FE_TONEAREST): Likewise.
56907         (FE_TOWARDZERO): Likewise.
56908         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56909         (FE_OVERFLOW): Likewise.
56910         (FE_UNDERFLOW): Likewise.
56911         (FE_DIVBYZERO): Likewise.
56912         (FE_INEXACT): Likewise.
56913         (FE_TONEAREST): Likewise.
56914         (FE_TOWARDZERO): Likewise.
56915         (FE_UPWARD): Likewise.
56916         (FE_DOWNWARD): Likewise.
56917         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56918         (FE_DIVBYZERO): Likewise.
56919         (FE_OVERFLOW): Likewise.
56920         (FE_UNDERFLOW): Likewise.
56921         (FE_INEXACT): Likewise.
56922         (FE_TONEAREST): Likewise.
56923         (FE_DOWNWARD): Likewise.
56924         (FE_UPWARD): Likewise.
56925         (FE_TOWARDZERO): Likewise.
56927 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
56929         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56931 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
56933         * scripts/cross-test-ssh.sh (command): Use newlines to separate
56934         commands.  Quote $PWD.
56935         (blacklist_exports): Don't use remove_newlines.  Replace "declare
56936         -x" by "export".
56937         (remove_newlines): Remove.
56939 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
56941         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56942         * stdlib/stdlib.h (atof): Moved to ...
56943         * include/bits/stdlib-float.h: Here.  New file.
56944         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56945         * stdlib/bits/stdlib-float.h: New file.
56946         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56947         -mno-sse -mno-mmx.
56948         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56949         <xmmintrin.h>.
56951 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56953         * conform/conformtest.pl (@headers): Add fenv.h.
56954         * conform/data/fenv.h-data: New file.
56955         * include/fenv.h [_ISOMAC]: Disable all contents of file except
56956         include of <math/fenv.h>.
56958         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56959         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56960         && !UNIX98].  Enables tests for XOPEN2K8.
56961         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56962         POSIX2008]: Likewise.
56964         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56965         (struct rusage): Do not expect type or its members.
56967         [BZ #3439]
56968         * math/math.h (FP_NAN): Define macro to integer constant usable in
56969         #if and use that to give value to enum constant.
56970         (FP_INFINITE): Likewise.
56971         (FP_ZERO): Likewise.
56972         (FP_SUBNORMAL): Likewise.
56973         (FP_NORMAL): Likewise.
56975 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
56977         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56978         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56979         arguments.
56981 2012-11-02  Roland McGrath  <roland@hack.frob.com>
56983         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56984         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56985         autoconf-time if not.
56986         * configure.in: Remove AC_PREREQ.
56988 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56990         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56991         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56992         of the internal implementation.
56994 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56996         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56997         except include of <misc/sys/syslog.h>.
56999 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
57002         function returns with a NULL context exit with zero.
57004 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57006         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
57008 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
57010         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
57011         (run_program_cmd): This.
57012         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
57013         (tst_langinfo): New variable.  Use it.
57015 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
57017         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
57018         floating point opcodes.
57020 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57022         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
57023         variable.
57025         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
57027         * sysdeps/mach/hurd/powerpc: Remove directory.
57028         * sysdeps/mach/powerpc: Likewise.
57030 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57032         * scripts/check-local-headers.sh: Ignore c++ headers.
57034 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57036         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
57037         __libc_cleanup_region_start argument.
57039 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
57041         [BZ #14784]
57042         [BZ #14785]
57043         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
57044         x * y using scaling, not as x * y + z.
57045         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57046         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57047         * math/libm-test.inc (fma_test): Add more tests.
57048         (fma_test_towardzero): Likewise.
57049         (fma_test_downward): Likewise.
57050         (fma_test_upward): Likewise.
57052 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57054         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
57056 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57058         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
57059         New variable.
57061 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
57063         * rt/tst-shm.c (worker): Correct checking for mmap failure.
57065 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57068         Fix sort order.
57069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57070         Likewise.
57072 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57075         Fix the order of the list for glibc 2.17.
57076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57077         Likewise.
57079 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57083 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57085         [BZ #14610]
57086         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
57087         for low part of x being zero before using __atanl (y).
57088         * math/libm-test.inc (atan2_test): Add another test.
57090         * manual/install.texi (Configuring and compiling): Document
57091         general use of test-wrapper and test-wrapper-env.
57092         * INSTALL: Regenerated.
57094         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
57095         (__fma): Do not extract and scale down low bits on after-rounding
57096         systems when result rounded to normal precision would have normal
57097         exponent.
57098         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
57099         (__fmal): Do not extract and scale down low bits on after-rounding
57100         systems when result rounded to normal precision would have normal
57101         exponent.
57102         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
57103         (__fmal): Do not extract and scale down low bits on after-rounding
57104         systems when result rounded to normal precision would have normal
57105         exponent.
57106         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
57107         macro.
57108         (fma_test): Add more tests.
57109         (fma_test_towardzero): Likewise.
57110         (fma_test_downward): Likewise.
57111         (fma_test_upward): Likewise.
57113 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
57115         * sysdeps/i386/tininess.h: Renamed to ...
57116         * sysdeps/x86/tininess.h: This.
57117         * sysdeps/x86_64/tininess.h: Removed.
57119 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57121         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
57122         input.  Use $(build-program-cmd).
57123         ($(objpfx)tst-array1-static.out): Likewise.
57124         ($(objpfx)tst-array2.out): Likewise.
57125         ($(objpfx)tst-array3.out): Likewise.
57126         ($(objpfx)tst-array4.out): Likewise.
57127         ($(objpfx)tst-array5.out): Likewise.
57128         ($(objpfx)tst-array5-static.out): Likewise.
57130 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
57132         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
57133         if defined.
57135         * nss/nsswitch.h (nss_interface_function): Provide new
57136         macro for use with NSS functions.
57137         * grp/initgroups.c: Use new macro.
57138         * nss/getXXbyYY.c: Likewise.
57139         * nss/getXXbyYY_r.c: Likewise.
57140         * nss/getXXent.c: Likewise.
57141         * nss/getXXent_r.c: Likewise.
57142         * sysdeps/posix/getaddrinfo.c: Likewise.
57144 2012-10-30  Andreas Jaeger  <aj@suse.de>
57146         * po/ru.po: Update Russion translation from translation project.
57148 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57150         [BZ #14152]
57151         [BZ #14783]
57152         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
57153         result and shift together with sticky bit instead of replicating
57154         round-to-nearest rounding.
57155         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57156         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57157         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
57158         missing underflow exceptions.
57159         (fma_test_towardzero): Add more tests.
57160         (fma_test_downward): Likewise.
57161         (fma_test_upward): Likewise.
57163         [BZ #14047]
57164         * sysdeps/generic/tininess.h: New file.
57165         * sysdeps/i386/tininess.h: Likewise.
57166         * sysdeps/sh/tininess.h: Likewise.
57167         * sysdeps/x86_64/tininess.h: Likewise.
57168         * stdlib/tst-strtod-underflow.c: Likewise.
57169         * stdlib/tst-tininess.c: Likewise.
57170         * stdlib/strtod_l.c: Include <tininess.h>.
57171         (round_and_return): Do not set errno for exact underflow cases.
57172         Force an underflow exception when setting errno for underflow.
57173         Determine underflow based on rounding to normal precision if
57174         TININESS_AFTER_ROUNDING.
57175         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
57176         ERANGE for exact underflow cases.
57177         * stdlib/Makefile (tests): Add tst-tininess and
57178         tst-strtod-underflow.
57179         ($(objpfx)tst-tininess): Use $(link-libm).
57180         ($(objpfx)tst-strtod-underflow): Likewise.
57182 2012-10-30  Andreas Jaeger  <aj@suse.de>
57184         [BZ#14767]
57185         * elf/Makefile (tests): Remove conditional for have-initfini-array
57186         since this is now always required and the variable does not exist
57187         anymore.
57188         (tests-static): Likewise.
57189         (modules-names): Likewise.
57191         * po/eo.po: Add Esperanto translation from translation project.
57193         * elf/tst-array1.c (fini_array): Make writeable so that it can be
57194         merged with constructor/destructor.
57195         (init_array): Likewise.
57196         * elf/tst-array2dep.c (fini_array): Likewise.
57197         (init_array): Likewise.
57199 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
57201         * manual/message.texi: Delete @cartouche tags.
57203 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
57205         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
57206         EOPNOTSUPP.
57207         * sysdeps/mach/hurd/fsync.c: Likewise.
57209         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
57210         [_POSIX_REALTIME_SIGNALS]: Change condition to
57211         [_POSIX_REALTIME_SIGNALS > 0].
57213 2012-10-27  Andreas Jaeger  <aj@suse.de>
57215         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
57216         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
57217         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
57218         [__WORDSIZE != 64]: Likewise.
57220 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
57222         *  iconvdata/tst-table.sh: Remove ${SHELL}.
57223         *  iconvdata/tst-tables.sh: Likewise.
57225 2012-10-25  David S. Miller  <davem@davemloft.net>
57227         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57228         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
57229         of strtoull.
57231         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
57232         ifunc-impl-list.c
57233         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57234         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
57235         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
57236         file.
57238 2012-10-25  Roland McGrath  <roland@hack.frob.com>
57240         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57241         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
57242         __getdirentries.
57244 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57245             Jim Blandy  <jimb@codesourcery.com>
57247         * scripts/cross-test-ssh.sh: New file.
57248         * manual/install.texi (Configuring and compiling): Document use of
57249         cross-test-ssh.sh.
57250         * INSTALL: Regenerated.
57252 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
57254         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
57255         EOPNOTSUPP.
57257 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57259         * Makeconfig (run-program-prefix): Fix comment.
57261 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57262             Jim Blandy  <jimb@codesourcery.com>
57264         * Makeconfig (test-wrapper): New variable,
57265         (test-wrapper-env): Likewise.
57266         [$(cross-compiling) = yes && $(test-wrapper) != ""]
57267         (run-built-tests): Define to yes.
57268         (run-program-prefix): Use $(test-wrapper).
57269         (built-program-cmd): Likewise.
57270         * Rules (make-test-out): Use $(test-wrapper-env) and
57271         $(host-built-program-cmd).
57272         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
57273         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
57274         tst-pathopt.sh.
57275         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
57276         $(test-wrapper-env) to tst-rtld-load-self.sh.
57277         ($(objpfx)order2.out): Use $(test-wrapper).
57278         ($(objpfx)tst-initorder.out): Likewise.
57279         ($(objpfx)tst-initorder2.out): Likewise.
57280         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
57281         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
57282         (test_wrapper_env): New variable.  Use it to run ld.so.
57283         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
57284         Use it to run ld.so.
57285         (test_wrapper_env): Likewise.
57286         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
57287         $(test-wrapper) to run-iconv-test.sh.
57288         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
57289         (ICONV): Use $test_wrapper.
57290         * posix/Makefile ($(objpfx)globtest.out): Pass
57291         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
57292         globtest.sh, not $(run-program-prefix).
57293         * posix/globtest.sh (run_via_rtld_prefix): New variable.
57294         (test_wrapper): Likewise.
57295         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
57296         set together with run_via_rtld_prefix.
57297         (run_program_prefix): Define in terms of test_wrapper and
57298         run_via_rtld_prefix.
57300 2012-10-24  Roland McGrath  <roland@hack.frob.com>
57302         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
57303         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
57304         Targets removed.
57306         [BZ #14743]
57307         * include/time.h: Remove librt_hidden_proto (clock_gettime).
57308         Declare __clock_getres, __clock_gettime, __clock_settime,
57309         __clock_nanosleep, and __clock_getcpuclockid.
57310         * rt/clock_gettime.c: Define __clock_gettime as an alias.
57311         Remove librt_hidden_def (clock_gettime).
57312         * sysdeps/unix/clock_gettime.c: Likewise.
57313         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
57314         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
57315         * rt/clock_getres.c: Define __clock_getres as an alias.
57316         * sysdeps/posix/clock_getres.c: Likewise.
57317         * rt/clock_settime.c: Define __clock_settime as an alias.
57318         * sysdeps/unix/clock_settime.c: Likewise.
57319         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
57320         * sysdeps/unix/clock_nanosleep.c: Likewise.
57321         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
57322         * rt/clock-compat.c: New file.
57323         * rt/Makefile (librt-routines): Add clock-compat and move
57324         $(clock-routines) to ...
57325         (routines): ... here, new variable.
57326         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
57327         Don't add get_clockfreq here.
57328         * rt/Versions (libc: GLIBC_2.17): New version set.
57329         Add clock_* symbols here.
57330         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
57331         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
57332         (GLIBC_2.17): Add clock_* symbols.
57333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57335         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57337         Likewise.
57338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57339         Likewise.
57340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57344         * NEWS: Mention the move.
57346         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57347         Use __open, __read, __close rather than their public counterparts.
57348         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57349         (__get_clockfreq_via_cpuinfo): Likewise.
57350         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
57351         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
57353         * config.h.in (HAVE_IFUNC): New #undef.
57354         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
57355         was successful.
57356         * configure: Regenerated.
57358 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57360         * configure.in: Move READELF check to start of file.
57361         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
57362         libc_cv_asm_gnu_indirect_function in the process.
57363         * configure: Regenerated.
57365 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57367         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
57368         send the output to /dev/null.
57369         (libc_cv_cc_with_libunwind): Likewise.
57370         (libc_cv_as_noexecstack): Likewise.
57371         * configure: Regenerate.
57373 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57375         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
57377         * posix/globtest.sh (TMPDIR): Do not set.
57378         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
57379         (testout): Likewise.
57381 2012-10-24  Andreas Jaeger  <aj@suse.de>
57383         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
57384         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
57385         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
57386         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
57387         posix_fadvise64, posix_fallocate64.
57389         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
57390         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
57391         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
57392         Likewise.
57393         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
57394         Likewise.
57395         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
57397         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
57398         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
57399         <bits/fcntl-linux.h>.
57400         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
57402         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
57403         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
57404         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
57405         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
57406         [__WORDSIZE != 64]: Likewise.
57408 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57410         * Makeconfig (run-built-tests): New variable.
57411         * Rules [$(cross-compiling) = yes]: Change condition to
57412         [$(run-built-tests) = no].
57413         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
57414         to [$(run-built-tests) = yes].
57415         * elf/Makefile [$(cross-compiling) = no]: Likewise.
57416         * grp/Makefile [$(cross-compiling) = no]: Likewise.
57417         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
57418         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
57419         * intl/Makefile [$(cross-compiling) = no]: Likewise.
57420         * io/Makefile [$(cross-compiling) = no]: Likewise.
57421         * libio/Makefile [$(cross-compiling) = no]: Likewise.
57422         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
57423         * misc/Makefile [$(cross-compiling) = no]: Likewise.
57424         * posix/Makefile [$(cross-compiling) = no]: Likewise.
57425         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
57426         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
57427         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
57428         * string/Makefile [$(cross-compiling) = no]: Likewise.
57430         * posix/Makefile ($(objpfx)globtest.out): Pass
57431         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
57432         $(rtld-installed-name).
57433         * posix/globtest.sh (elf_objpfx): Remove variable.
57434         (rtld_installed_name): Likewise.
57435         (library_path): Likewise.
57436         (run_program_prefix): New variable.  Use for running globtest
57437         binary.
57439 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
57440             Joseph Myers  <joseph@codesourcery.com>
57442         * Makeconfig (host-built-program-cmd): New variable.
57443         * elf/Makefile (tst-stackguard1-ARGS): Use
57444         $(host-built-program-cmd).
57445         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
57446         (tst-spawn-ARGS): Likewise.
57447         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
57449 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57450             Jim Blandy  <jimb@codesourcery.com>
57452         * Makeconfig (run-via-rtld-prefix): New variable.
57453         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
57454         (built-program-cmd): Likewise.
57456 2012-10-22  Andreas Jaeger  <aj@suse.de>
57458         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
57459         __O_RSYNC if it exists, otherwise to O_SYNC.
57461 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
57462             Joseph Myers  <joseph@codesourcery.com>
57464         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
57465         /dev/null.
57466         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
57467         from /dev/null
57468         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
57469         /dev/null.
57471 2012-10-22  Andreas Jaeger  <aj@suse.de>
57473         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
57474         Define always.
57475         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
57477         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57478         bits/fcntl-linux.h.
57480         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
57481         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
57483         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
57484         to __O_LARGEFILE.
57485         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
57486         to __O_LARGEFILE.
57488 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
57489             Joseph Myers  <joseph@codesourcery.com>
57491         * config.make.in (NM): New variable.
57493 2012-10-21  Andreas Jaeger  <aj@suse.de>
57495         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
57496         definitions and declarations that are provided by
57497         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57499 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57501         [BZ #14683]
57502         * elf/Makefile (tests-static): Add tst-leaks1-static.
57503         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
57504         ($(objpfx)tst-leaks1-static): New rule.
57505         ($(objpfx)tst-leaks1-static-mem): Likewise.
57506         (tst-leaks1-static-ENV): New macro.
57507         * elf/dl-open.c (dl_open_worker): Check the main application
57508         only if SHARED is defined.
57509         * elf/tst-leaks1-static.c: New file.
57511 2012-10-20  Andreas Jaeger  <aj@suse.de>
57513         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
57514         generic values for Linux.
57515         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
57516         and declarations that are provided by <bits/fcntl-linux.h> and
57517         include <bits/fcntl-linux.h>.
57518         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57519         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57521 2012-10-20  Roland McGrath  <roland@hack.frob.com>
57523         * io/fcntl.h: Move include of <bits/types.h> to the top and
57524         include it unconditionally.
57526 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57528         * wcsmbs/Makefile (tests-ifunc): New variable.
57529         (tests): Add $(tests-ifunc).
57530         * wcsmbs/test-wcschr-ifunc.c: New file.
57531         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
57532         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
57533         * wcsmbs/test-wcslen-ifunc.c: Likewise.
57534         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
57535         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
57537         * string/Makefile (tests-ifunc): New variable.
57538         (tests): Add $(tests-ifunc).
57539         * string/test-memccpy.c (TEST_NAME): New macro.
57540         * string/test-memchr.c (TEST_NAME): Likewise.
57541         * string/test-memcmp.c (TEST_NAME): Likewise.
57542         * string/test-memcpy.c (TEST_NAME): Likewise.
57543         * string/test-memmem.c (TEST_NAME): Likewise.
57544         * string/test-memmove.c (TEST_NAME): Likewise.
57545         * string/test-memset.c (TEST_NAME): Likewise.
57546         * string/test-rawmemchr.c (TEST_NAME): Likewise.
57547         * string/test-stpcpy.c (TEST_NAME): Likewise.
57548         * string/test-stpncpy.c (TEST_NAME): Likewise.
57549         * string/test-strcasecmp.c (TEST_NAME): Likewise.
57550         * string/test-strcasestr.c (TEST_NAME): Likewise.
57551         * string/test-strcat.c (TEST_NAME): Likewise.
57552         * string/test-strchr.c (TEST_NAME): Likewise.
57553         * string/test-strcmp.c(TEST_NAME): Likewise.
57554         * string/test-strcpy.c (TEST_NAME): Likewise.
57555         * string/test-strcspn.c (TEST_NAME): Likewise.
57556         * string/test-strlen.c (TEST_NAME): Likewise.
57557         * string/test-strncasecmp.c (TEST_NAME): Likewise.
57558         * string/test-strncmp.c (TEST_NAME): Likewise.
57559         * string/test-strncpy.c (TEST_NAME): Likewise.
57560         * string/test-strnlen.c (TEST_NAME): Likewise.
57561         * string/test-strpbrk.c (TEST_NAME): Likewise.
57562         * string/test-strrchr.c (TEST_NAME): Likewise.
57563         * string/test-strspn.c (TEST_NAME): Likewise.
57564         * string/test-strstr.c (TEST_NAME): Likewise.
57565         * string/test-bcopy-ifunc.c: New file.
57566         * string/test-bzero-ifunc.c: Likewise.
57567         * string/test-memccpy-ifunc.c: Likewise.
57568         * string/test-memchr-ifunc.c: Likewise.
57569         * string/test-memcmp-ifunc.c: Likewise.
57570         * string/test-memcpy-ifunc.c: Likewise.
57571         * string/test-memmem-ifunc.c: Likewise.
57572         * string/test-memmove-ifunc.c: Likewise.
57573         * string/test-mempcpy-ifunc.c: Likewise.
57574         * string/test-memset-ifunc.c: Likewise.
57575         * string/test-rawmemchr-ifunc.c: Likewise.
57576         * string/test-stpcpy-ifunc.c: Likewise.
57577         * string/test-stpncpy-ifunc.c: Likewise.
57578         * string/test-strcasecmp-ifunc.c: Likewise.
57579         * string/test-strcasestr-ifunc.c: Likewise.
57580         * string/test-strcat-ifunc.c: Likewise.
57581         * string/test-strchr-ifunc.c: Likewise.
57582         * string/test-strchrnul-ifunc.c: Likewise.
57583         * string/test-strcmp-ifunc.c: Likewise.
57584         * string/test-strcpy-ifunc.c: Likewise.
57585         * string/test-strcspn-ifunc.c: Likewise.
57586         * string/test-strlen-ifunc.c: Likewise.
57587         * string/test-strncasecmp-ifunc.c: Likewise.
57588         * string/test-strncat-ifunc.c: Likewise.
57589         * string/test-strncmp-ifunc.c: Likewise.
57590         * string/test-strncpy-ifunc.c: Likewise.
57591         * string/test-strnlen-ifunc.c: Likewise.
57592         * string/test-strpbrk-ifunc.c: Likewise.
57593         * string/test-strrchr-ifunc.c: Likewise.
57594         * string/test-strspn-ifunc.c: Likewise.
57595         * string/test-strstr-ifunc.c: Likewise.
57597         * debug/Makefile (tests-ifunc): New variable.
57598         (tests): Add $(tests-ifunc).
57599         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
57600         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
57601         * debug/test-stpcpy_chk-ifunc.c: New file.
57602         * debug/test-strcpy_chk-ifunc.c: Likewise.
57604 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57606         [BZ #13601]
57607         * elf/dl-load.c (open_verify): Retry read if the entire ELF
57608         header is not read in.
57610 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
57612         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
57613         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
57614         directly.  Pass built executable to script as
57615         $(built-program-cmd).
57616         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
57617         $testprogram without using LD_LIBRARY_PATH and $ldso.
57619         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
57620         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
57621         $(rtld-installed-name).
57622         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
57623         (rtld_installed_name): Likewise.
57624         (library_path): Likewise.
57625         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
57626         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
57627         $(run-program-prefix) to tst-tables.sh.
57628         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
57629         it to run tst-table-from and tst-table-to.
57630         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
57631         Pass it to tst-table.sh.
57632         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
57633         $(run-program-prefix) to tst-gettext.sh.
57634         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
57635         tst-translit.sh.
57636         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
57637         tst-gettext2.sh.
57638         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
57639         to run tst-gettext.
57640         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
57641         to run tst-gettext2.
57642         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
57643         to run tst-translit.
57644         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
57645         $(run-program-prefix) to tst-mtrace.sh.
57646         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
57647         to run tst-mtrace.
57648         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
57649         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
57650         $(rtld-installed-name).
57651         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
57652         (rtld_installed_name): Likewise.
57653         (run_program_prefix): New variable.  Use it to run wordexp-test.
57655         * Makeconfig (ARCH): Remove all definitions.
57656         (machine): Likewise.
57657         [ARCH]: Remove conditional code.
57658         [!objdir]: Give error.
57659         [!objdir] (objpfx): Remove.
57660         [!objdir] (common-objpfx): Likewise.
57661         [!objdir] (common-objdir): Likewise.
57662         * configure.in (config_makefile): Remove.  Hardcode Makefile in
57663         AC_CONFIG_FILES call.
57664         * configure: Regenerated.
57666         [BZ #13888]
57667         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
57668         or TMPDIR.
57669         (testout): Likewise.
57671         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
57672         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
57673         $(rtld-installed-name).
57674         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57675         (rtld_installed_name): Likwise.
57676         (runit): Remove function.
57677         (run_getconf): New variable,  Use it for running getconf binary.
57679 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
57681         [BZ #14716]
57682         * string/test-memmem.c (check_result): New function.
57683         (do_one_test): Use it.
57684         (check1): New function.
57685         (test_main): Use it.
57687 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
57689         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57691 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
57693         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57694         (_G_LSEEK64): Likewise.
57695         (_G_MMAP64): Likewise.
57696         (_G_FSTAT64): Likewise.
57697         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57698         (_G_LSEEK64): Likewise.
57699         (_G_MMAP64): Likewise.
57700         (_G_FSTAT64): Likewise.
57701         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57702         unconditional.  Call __mmap64 directly.
57703         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57704         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
57705         __lseek64 directly.
57706         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57707         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
57708         __mmap64 directly.
57709         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57710         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57711         __lseek64 directly.
57712         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57713         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57714         __lseek64 directly.
57715         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57716         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
57717         __lseek64 directly.
57718         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57719         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
57720         __fxstat64 directly.
57721         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57722         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57723         unconditional.
57724         (freopen64) [!_G_OPEN64]: Remove conditional code.
57725         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57726         unconditional.
57727         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57728         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57729         unconditional.
57730         (ftello64) [!_G_LSEEK64]: Remove conditional code.
57731         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57732         unconditional.
57733         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57734         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57735         unconditional.
57736         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57737         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57738         unconditional.
57739         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57740         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57741         unconditional.
57742         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57743         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57744         unconditional.
57745         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57747 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57749         [BZ #12140]
57750         * manual/memory.texi (Malloc Tunable Parameters): Add note
57751         about free list pointers overwriting some perturb bytes.
57752         Wording suggested by Roland McGrath.
57754 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
57756         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57757         (lgamma_test): Likewise.
57758         (tgamma_test): Likewise.
57760 2012-10-16  Florian Weimer  <fweimer@redhat.com>
57762         [BZ #14700]
57763         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57764         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57766 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
57768         * NEWS: Mention BZ #14716.
57769         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57770         when removing AVAILABLE1_USES_J macro.
57772 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
57774         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57775         (__bswap_64): __uint64_t for unsigned 64-bit int.
57777 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
57779         * include/string.h (memmem): Declare libc hidden alias.
57780         * string/memmem.c (memmem): Define libc hidden alias.
57781         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57782         __read, __close instead of open, read, close.
57784 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
57786         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57787         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57788         global and hidden.
57789         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57790         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57791         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57792         Likewise.
57793         (__rawmemchr_sse2): Likewise.
57794         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57795         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57796         (__strchr_sse2): Likewise.
57797         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57798         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57799         (__strcasecmp_sse2): Likewise.
57800         (__strncasecmp_sse2): Likewise.
57801         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57802         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57803         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57804         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57805         (__strrchr_sse2): Likewise.
57806         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57807         ifunc-impl-list.c.
57808         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57809         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57810         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57811         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57812         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57813         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57814         * sysdeps/x86_64/multiarch/memset.S: Likewise.
57815         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57816         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57817         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57818         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57819         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57820         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57821         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57822         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57823         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57824         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57825         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57826         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57827         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57828         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57829         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57830         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57831         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57832         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57833         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57834         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57835         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57836         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57837         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57839         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57840         global and hidden.
57841         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57842         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57843         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57844         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57845         Likewise.
57846         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57847         Likewise.
57848         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57849         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57850         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57851         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57852         ifunc-impl-list.c.
57853         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57854         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57855         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57856         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57857         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57858         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57859         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57860         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57861         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57862         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57863         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57864         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57865         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57866         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57867         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57868         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57869         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57870         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57871         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57872         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57873         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57874         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57875         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57876         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57877         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57878         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57879         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57880         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57881         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57882         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57883         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57884         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57885         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57886         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57887         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57888         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57889         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57890         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57891         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57892         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57893         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57895         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57896         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57897         * include/ifunc-impl-list.h: New file.
57898         * misc/ifunc-impl-list.c: Likewise.
57899         * misc/Makefile (routines): Add ifunc-impl-list.
57900         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57901         * string/test-string.h: Include <ifunc-impl-list.h>.
57902         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57903         TEST_NAME]: New variables.
57904         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57905         are defined.
57906         (test_init): Call __libc_ifunc_impl_list to initialize
57907         func_list if TEST_IFUNC and TEST_NAME are defined.
57909         * string/Makefile (strop-tests): Add bcopy and bzero.
57910         * string/test-bcopy.c: New file.
57911         * string/test-bzero.c: Likewise.
57912         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57913         defined.
57914         * string/test-memset.c: Support bzero test if TEST_BZERO is
57915         defined.
57916         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57917         __libc_memmove.
57918         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57919         __libc_memset.
57920         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57921         of memset.
57923 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
57925         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57926         * configure: Regenerated.
57928         * Makeconfig (+link-static-before-libc): Don't include
57929         $(link-static-libc).
57931         * libio/libio.h (_IO_pos_t): Remove.
57933 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57935         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
57936         McGrath.
57938 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57940         * crypt/crypt-entry.c: Include fips-private.h.
57941         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57942         * crypt/md5c-test.c (main): Tolerate disabled MD5.
57943         * sysdeps/unix/sysv/linux/fips-private.h: New file.
57944         * sysdeps/generic/fips-private.h: New file, dummy fallback.
57946 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57948         * crypt/crypt-private.h: Include stdbool.h.
57949         (_ufc_setup_salt_r): Return bool.
57950         * crypt/crypt-entry.c: Include errno.h.
57951         (__crypt_r): Return NULL with EINVAL for bad salt.
57952         * crypt/crypt_util.c (bad_for_salt): New.
57953         (_ufc_setup_salt_r): Check that salt is long enough and within
57954         the specified alphabet.
57955         * crypt/badsalttest.c: New file.
57956         * crypt/Makefile (tests): Add it.
57957         ($(objpfx)badsalttest): New.
57959 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
57961         * NEWS: Add entry for BZ #14602.
57963 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57965         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57966         type-generic.
57967         * math/libm-test.inc: Update comment listing what functions and
57968         macros are tested.
57969         (isgreater_test): New function.
57970         (isgreaterequal_test): Likewise.
57971         (isless_test): Likewise.
57972         (islessequal_test): Likewise.
57973         (islessgreater_test): Likewise.
57974         (isunordered_test): Likewise.
57975         (main): Call the new functions.
57977 2012-10-09  Roland McGrath  <roland@hack.frob.com>
57979         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57980         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57981         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57982         * sysdeps/i386/configure: Regenerated.
57983         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57984         * sysdeps/mach/configure: Regenerated.
57985         * sysdeps/mach/hurd/configure: Regenerated.
57986         * sysdeps/powerpc/configure: Regenerated.
57987         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57988         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57989         * sysdeps/s390/s390-32/configure: Regenerated.
57990         * sysdeps/s390/s390-64/configure: Regenerated.
57991         * sysdeps/sh/configure: Regenerated.
57992         * sysdeps/sparc/configure: Regenerated.
57993         * sysdeps/unix/sysv/linux/configure: Regenerated.
57994         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57995         * sysdeps/x86_64/configure: Regenerated.
57997         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57998         defined.  Don't check if MAP is NULL.
58000 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58002         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
58003         (_G_stat64): Likewise.
58004         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
58005         (_G_stat64): Likewise.
58006         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
58007         instead of struct _G_stat64.
58008         * libio/fileops.c (mmap_remap_check): Likewise.
58009         (decide_maybe_mmap): Likewise.
58010         (_IO_new_file_seekoff): Likewise.
58011         (_IO_file_stat): Likewise.
58012         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
58013         _G_off64_t.
58014         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
58015         instead of struct _G_stat64.
58016         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58018 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
58020         [BZ #14602]
58021         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58022         Replace with ...
58023         (CHECK_EOL): New macro.
58024         (two_way_short_needle): Check beginning of haystack for EOL.  Use
58025         CHECK_EOL.
58026         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58027         Replace with CHECK_EOL.
58028         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58029         Replace with CHECK_EOL.
58031 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
58033         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
58034         type-generic.
58035         * math/libm-test.inc: Update comment listing what functions and
58036         macros are tested.
58037         (finite_test): New function.
58038         (isinf_test): Likewise.
58039         (isnan_test): Likewise.
58040         (fpclassify_test): Test subnormal input.
58041         (isfinite_test): Likewise.
58042         (isnormal_test): Likewise.
58043         (main): Call the new functions.
58045 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
58047         [BZ #14660]
58048         * Makerules (%.dynsym): Force C locale when running
58049         $(OBJDUMP) --dynamic-syms.
58051 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
58053         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
58054         <stdint.h>.
58056 2012-10-06  David S. Miller  <davem@davemloft.net>
58058         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
58059         upper 32-bits of the length value in %o2 since we use branch-on-register
58060         tests which consider the entire 64-bit register.
58062 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
58064         * string/test-strstr.c (check2): Add a test for page boundary.
58066 2012-10-05  David S. Miller  <davem@davemloft.net>
58068         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
58069         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
58070         file.
58071         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58072         sysdep_routines.
58073         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58074         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
58075         and bzero when HWCAP_SPARC_CRYPTO is present.
58077 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
58079         [BZ #14602]
58080         * string/test-strstr.c (check2): New function.
58081         (test_main): Call check2.
58083         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
58084         and bug-strchr1.
58085         * string/bug-strcasestr1.c (do_test): Moved to ...
58086         * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
58092         * string/test-strchr.c (check1): Here.  New function.
58093         (do_one_test): Break out result checking code into ...
58094         (check_result): This.  New function.
58095         (do_one_test): Call check_result.
58096         (test_main): Call check1.
58097         * string/bug-strstr1.c (main): Moved to ...
58098         * string/test-strstr.c (check1): Here.  New function.
58099         (do_one_test): Break out result checking code into ...
58100         (check_result): This.  New function.
58101         (do_one_test): Call check_result.
58102         (test_main): Call check1.
58103         * string/bug-strcasestr1.c: Removed.
58104         * string/bug-strchr1.c: Likewise.
58105         * string/bug-strstr1.c: Likewise.
58107         * elf/Makefile (dl-routines): Add hwcaps.
58108         * elf/dl-support.c (_dl_important_hwcaps): Removed.
58109         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
58110         (_dl_important_hwcaps): Moved to ...
58111         * elf/dl-hwcaps.c: Here.  New file.
58112         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
58114         [BZ #14557]
58115         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
58116         if IS_IN_rtld isn't defined.
58118         * elf/dl-support.c (_dl_sysinfo_map): New.
58119         Include "get-dynamic-info.h" and "setup-vdso.h".
58120         (_dl_non_dynamic_init): Call setup_vdso.
58121         * elf/dynamic-link.h: Don't include <assert.h>.
58122         (elf_get_dynamic_info): Moved to ...
58123         * elf/get-dynamic-info.h: Here.  New file.
58124         * elf/dynamic-link.h: Include "get-dynamic-info.h".
58125         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
58126         * elf/setup-vdso.h: Here.  New file.
58127         * elf/rtld.c: Include "setup-vdso.h".
58128         (dl_main): Call setup_vdso.
58130 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
58132         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
58133         creal in comment listing functions tested.  List finite, isinf,
58134         isnan, isless, islessequal, isgreater, isgreaterequal,
58135         islessgreater, isunordered, lgamma_r and pow10 as functions and
58136         macros not tested.  Mention which functions not tested are aliases
58137         for other functions.  Fix typo.  Note that signs of NaNs are not
58138         tested.
58140         * scripts/config.guess: Update from config.git.
58141         * scripts/config.sub: Likewise.
58143 2012-10-04  Roland McGrath  <roland@hack.frob.com>
58145         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
58146         * misc/madvise.c (madvise): Renamed to __madvise.
58147         Make madvise a weak alias.
58148         * include/sys/mman.h: Declare __madvise.
58149         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
58150         * sysdeps/unix/syscalls.list
58151         (madvise): Make __madvise the strong name, and madvise a weak alias.
58152         * sysdeps/unix/sysv/linux/syscalls.list
58153         (madvise, mmap): Remove redundant entries.
58154         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
58155         * malloc/malloc.c (mtrim): Likewise.
58156         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
58158 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58160         * sysdeps/mach/hurd/dl-cache.c: File removed.
58161         * config.h.in (USE_LDCONFIG): New #undef.
58162         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
58163         * configure: Regenerated.
58164         * elf/Makefile (dl-routines): Add dl-cache only under
58165         [$(use-ldconfig) = yes].
58166         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
58167         cache on [USE_LDCONFIG].
58168         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
58169         [USE_LDCONFIG].
58170         * elf/rtld.c (dl_main): Likewise.
58172 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
58174         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
58175         _SC_LEVEL4_CACHE_LINESIZE.
58177 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58179         * sysdeps/unix/bsd/confstr.h: File removed.
58181 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
58183         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
58184         sys/sdt-config.h.
58186 2012-10-02  Roland McGrath  <roland@hack.frob.com>
58188         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
58189         Make 'mapoff' field ElfW(Off) rather than off_t.
58191 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
58193         * nscd/Makefile: Remove nscd-cflags and all its users.
58194         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
58195         (CFLAGS-nonlib): Add compiler flags for nscd modules.
58197         [BZ #10631]
58198         * malloc.c (malloc_printerr): Clarify error message.
58200 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
58202         [BZ #14648]
58203         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58204         Set bit_FMA_Usable if FMA is supported.
58205         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
58206         macro.
58207         (bit_FMA4_Usable): Updated.
58208         (index_FMA_Usable): New macro.
58209         (CPUID_FMA): Likewise.
58210         (HAS_FMA): Defined with bit_FMA_Usable.
58212 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58214         * bits/types.h (__swblk_t): Type removed.
58215         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
58216         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
58217         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58218         (__SWBLK_T_TYPE): Likewise.
58219         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58220         (__SWBLK_T_TYPE): Likewise.
58221         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58222         (__SWBLK_T_TYPE): Likewise.
58223         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58224         (__SWBLK_T_TYPE): Likewise.
58226 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
58227             Honza Horak <hhorak@redhat.com>
58229         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
58230         (xdr_mapname): Use YPMAXMAP as maxsize.
58231         (xdr_peername): Use YPMAXPEER as maxsize.
58232         (xdr_keydat): Use YPAXRECORD as maxsize.
58233         (xdr_valdat): Use YPMAXRECORD as maxsize.
58235 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58237         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
58239         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
58240         * csu/init-first.c: ... here.
58241         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
58242         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
58243         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
58244         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
58245         * sysdeps/i386/init-first.c: File removed.
58246         * sysdeps/sh/init-first.c: File removed.
58248 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
58250         [BZ #14645]
58251         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
58252         if x * y might underflow to zero and z is zero.
58253         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58254         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58255         * math/libm-test.inc (min_subnorm_value): New variable.
58256         (fma_test): Add more tests.
58257         (fma_test_towardzero): Likewise.
58258         (fma_test_downward): Likewise.
58259         (fma_test_upward): Likewise.
58260         (initialize): Set min_subnorm_value.
58262 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
58264         [BZ #14638]
58265         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
58266         0 + 0.
58267         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
58268         mode for addition resulting in exact zero.
58269         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
58270         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
58271         exact 0 + 0.
58272         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58273         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58274         * math/libm-test.inc (fma_test): Add more tests.
58275         (fma_test_towardzero): New function.
58276         (fma_test_downward): Likewise.
58277         (fma_test_upward): Likewise.
58278         (main): Call the new functions.
58280 2012-09-28  David S. Miller  <davem@davemloft.net>
58282         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
58284 2012-09-28  Roland McGrath  <roland@hack.frob.com>
58286         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
58287         instead of SIGALRM.
58289         * sysdeps/gnu/_G_config.h: Moved to ...
58290         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
58291         * sysdeps/mach/hurd/_G_config.h: Moved to ...
58292         * sysdeps/generic/_G_config.h: ... here.
58294         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
58296         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
58298         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
58299         Conditionalize target on [libnss_test1.so-version].
58301         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
58303         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
58304         (elfobjdir): Move out of conditionals.
58306         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
58307         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
58308         (__nss_lookup_function): Conditionalize label remove_from_tree on
58309         [!DO_STATIC_NSS || SHARED], matching its only use.
58311 2012-09-28  David S. Miller  <davem@davemloft.net>
58313         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
58314         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
58315         file.
58316         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58317         sysdep_routines.
58318         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58319         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
58320         when HWCAP_SPARC_CRYPTO is present.
58322 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58324         * io/tst-mknodat.c: Create a FIFO instead of a socket.
58326 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
58328         [BZ #6530]
58329         * stdio-common/vfprintf.c (process_string_arg): Revert
58330         2000-07-22 change.
58332 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
58334         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
58335         for testcase.
58336         * stdio-common/tst-sprintf.c: Include <locale.h>
58337         (main): Test sprintf's handling of incomplete multibyte
58338         characters.
58340 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
58342         * elf/dl-runtime.c (VERSYMIDX): Removed.
58343         * elf/dl-version.c (VERSYMIDX): Likewise.
58344         * elf/do-rel.h (VERSYMIDX): Likewise.
58345         (VALIDX): Likewise.
58346         * elf/dynamic-link.h (VERSYMIDX): Likewise.
58347         * elf/rtld.c (VALIDX): Likewise.
58348         (ADDRIDX): Likewise.
58349         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
58350         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
58351         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
58352         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
58353         (VALIDX): Likewise.
58354         (ADDRIDX): Likewise.
58356 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58358         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
58360 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
58362         [BZ #11438]
58363         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
58364         to global scope.
58365         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
58366         addresses are in the same scope as 192.0.2/24.
58367         * posix/gai.conf: Document new scope table defaults.
58369 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58371         [BZ #5298]
58372         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
58373         for ftell.  Compute offsets from write pointers instead.
58374         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58376 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58378         [BZ #14543]
58379         * libio/Makefile (tests): New test case tst-fseek.
58380         * libio/tst-fseek.c: New test case to verify that fseek/ftell
58381         combination works in wide mode.
58382         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
58383         state when the external buffer state changes.
58385 2012-09-27  David S. Miller  <davem@davemloft.net>
58387         [BZ #14376]
58388         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
58389         pass reloc->r_addend in as the 'high' argument to
58390         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
58392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58394 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58396         * rt/tst-aio2.c: Include <pthread.h>.
58397         * rt/tst-aio3.c: Likewise.
58399 2012-09-27  Steve Ellcey  <sellcey@mips.com>
58401         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
58403 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
58405         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
58406         contents on [SHARED].
58408 2012-09-26  Marek Polacek  <polacek@redhat.com>
58410         [BZ #14530]
58411         [BZ #13741]
58412         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
58413         for C++ and GCC <4.3 as well as for non GCC compilers.
58415 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
58417         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58419 2012-09-25  Roland McGrath  <roland@hack.frob.com>
58421         * Makefile.in (all, install): Declare with .PHONY.
58422         Reported by Michael Hope <michael.hope@linaro.org>.
58424 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58426         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
58427         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
58428         system header.
58429         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
58430         Likewise.
58431         (sydep_routines): Add the new and the internal functions.
58432         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
58433         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
58434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
58435         (GLIBC_2.17): Add the new function.
58436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58437         (GLIBC_2.17): Likewise.
58438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
58439         (GLIBC_2.17): Likewise.
58440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
58441         (GLIBC_2.17): Likewise.
58442         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
58444 2012-09-25  Alan Modra  <amodra@gmail.com>
58446         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
58447         Add release barrier before setting once_control to say
58448         initialisation is done.  Add hints on lwarx.  Use macro in
58449         place of isync.
58450         (clear_once_control): Add release barrier.
58452 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58454         [BZ #13629]
58455         * math/s_clog.c (__clog): Handle more values close to |z| = 1
58456         specially.
58457         * math/s_clog10.c (__clog10): Likewise.
58458         * math/s_clog10f.c (__clog10f): Likewise.
58459         * math/s_clog10l.c (__clog10l): Likewise.
58460         * math/s_clogf.c (__clogf): Likewise.
58461         * math/s_clogl.c (__clogl): Likewise.
58462         * math/Makefile (libm-calls): Add x2y2m1.
58463         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
58464         (__x2y2m1): Likewise.
58465         (__x2y2m1l): Likewise.
58466         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
58467         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
58468         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
58469         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58470         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
58471         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
58472         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
58473         * sysdeps/i386/fpu/libm-test-ulps: Update.
58474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58476         [BZ #14621]
58477         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
58478         int as type of variable DEPTH.
58479         (glob): Use size_t instead of int as type of variables NEWCOUNT
58480         and OLD_PATHC.
58482 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58484         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58485         Add s_sincosf-sse2.
58486         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
58487         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
58488         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
58489         macros for using routine as __sincosf_ia32.
58490         Use macro for function declaration and weak_alias.
58491         * sysdeps/i386/fpu/libm-test-ulps: Update.
58493         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
58494         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58496         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
58497         subnormal argument.
58498         * math/s_cexpf.c (__cexpf): Likewise.
58499         * math/s_csinf.c (__csinf): Likewise.
58500         * math/s_csinhf.c (__csinhf): Likewise.
58501         * math/s_ctanf.c (__ctanf): Likewise.
58502         * math/s_ctanhf.c (__ctanhf): Likewise.
58503         * math/s_ccosh.c (__ccoshf): Likewise.
58504         * math/s_cexp.c (__cexpl): Likewise.
58505         * math/s_csin.c (__csin): Likewise.
58506         * math/s_csinh.c (__csinh): Likewise.
58507         * math/s_ctan.c (__ctan): Likewise.
58508         * math/s_ctanh.c (ctanh): Likewise.
58509         * math/s_ccoshl.c (__ccoshl): Likewise.
58510         * math/s_cexpl.c (__cexpl): Likewise.
58511         * math/s_csinl.c (__csinl): Likewise.
58512         * math/s_csinhl.c (__csinhl): Likewise.
58513         * math/s_ctanl.c (__ctanl): Likewise.
58514         * math/s_ctanhl.c (__ctanhl): Likewise.
58516 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58518         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
58519         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
58520         (_IO_off_t): Define to __off_t, not _G_off_t.
58521         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
58522         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
58523         (_IO_wint_t): Define to wint_t, not _G_wint_t.
58524         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
58525         type of __dummy and __dummy2 fields.
58526         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
58527         (_G_ssize_t): Likewise.
58528         (_G_off_t): Likewise.
58529         (_G_pid_t): Likewise.
58530         (_G_uid_t): Likewise.
58531         (_G_wchar_t): Likewise.
58532         (_G_wint_t): Likewise.
58533         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
58534         (_G_ssize_t): Likewise.
58535         (_G_off_t): Likewise.
58536         (_G_pid_t): Likewise.
58537         (_G_uid_t): Likewise.
58538         (_G_wchar_t): Likewise.
58539         (_G_wint_t): Likewise.
58540         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
58541         (_G_ssize_t): Likewise.
58542         (_G_off_t): Likewise.
58543         (_G_pid_t): Likewise.
58544         (_G_uid_t): Likewise.
58545         (_G_wchar_t): Likewise.
58546         (_G_wint_t): Likewise.
58548 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58550         * malloc/arena.c: Include malloc-sysdep.h.
58551         (shrink_heap): Use check_may_shrink_heap to decide if madvise
58552         is sufficient to shrink the heap or an unmap is needed.
58553         * sysdeps/generic/malloc-sysdep.h: New file.  Define
58554         new function check_may_shrink_heap.
58555         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
58556         new function check_may_shrink_heap.
58558 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58560         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
58561         comments.
58563 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
58565         * catgets/test-gencat.sh: Add "set -e".
58566         * elf/tst-pathopt.sh: Likewise.
58567         * grp/tst_fgetgrent.sh: Likewise.
58568         * iconvdata/run-iconv-test.sh: Likewise.
58569         * intl/tst-gettext.sh: Likewise.
58570         * intl/tst-gettext2.sh: Likewise.
58571         * intl/tst-gettext4.sh: Likewise.
58572         * intl/tst-gettext6.sh: Likewise.
58573         * intl/tst-translit.sh: Likewise.
58574         * io/ftwtest-sh: Likewise.
58575         * libio/test-freopen.sh: Likewise.
58576         * malloc/tst-mtrace.sh: Likewise.
58577         * posix/globtest.sh: Likewise.
58578         * posix/tst-getconf.sh: Likewise.
58579         * posix/wordexp-tst.sh: Likewise.
58580         * stdio-common/tst-printf.sh: Likewise.
58581         * stdio-common/tst-unbputc.sh: Likewise.
58582         * stdlib/tst-fmtmsg.sh: Likewise.
58583         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58584         * catgets/Makefile: Do not specify -e option when running
58585         testsuite shell scripts.
58586         * elf/Makefile: Likewise.
58587         * grp/Makefile: Likewise.
58588         * iconvdata/Makefile: Likewise.
58589         * intl/Makefile: Likewise.
58590         * io/Makefile: Likewise.
58591         * libio/Makefile: Likewise.
58592         * malloc/Makefile: Likewise.
58593         * posix/Makefile: Likewise.
58594         * stdio-common/Makefile: Likewise.
58595         * stdlib/Makefile: Likewise.
58596         * sysdeps/x86_64/Makefile: Likewise.
58598         * io/ftwtest-sh: Add copyright header.
58599         * posix/globtest.sh: Likewise.
58600         * posix/tst-getconf.sh: Likewise.
58601         * posix/wordexp-tst.sh: Likewise.
58602         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58604 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
58606         [BZ #13679]
58607         * Makeconfig (+link): Defined as $(+link-static) if
58608         $(build-shared) isn't yes.
58609         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
58610         isn't yes.
58611         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
58613         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
58615         [BZ #14562]
58616         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
58617         new chunk size with MALLOC_ALIGN_MASK.
58619 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
58621         [BZ #5044]
58622         * stdio-common/printf_fphex.c: Include <stdbool.h> and
58623         <rounding-mode.h>.
58624         (__printf_fphex): Determine rounding using get_rounding_mode and
58625         round_away.
58626         * stdio-common/tst-printf-round.c (struct hex_test): New
58627         structure.
58628         (hex_tests): New variable.
58629         (test_hex_in_one_mode): New function.
58630         (do_test): Also run tests for hex float output.
58632 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
58634         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58635         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58636         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
58637         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58638         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58639         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
58640         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58641         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58643 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
58645         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
58646         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
58647         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
58648         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
58650 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
58652         [BZ #14579]
58653         * elf/rtld.c (dl_main): Limit the check for self loading to normal
58654         mode only.
58655         * elf/tst-rtld-load-self.sh: New test.
58656         * elf/Makefile: Run it.
58658 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
58660         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58661         (tst-writev-ENV): Remove.
58662         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
58664 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
58666         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
58668 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
58670         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
58671         unconditional.
58672         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
58673         Likewise.
58674         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58675         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58676         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58677         Likewise.
58679 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
58681         [BZ #14587]
58682         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58683         * config.make.in (have-cpp-asm-debuginfo): Removed.
58684         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58685         * configure: Regenerated.
58687 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
58689         [BZ #5044]
58690         * stdio-common/printf_fp.c: Include <stdbool.h> and
58691         <rounding-mode.h>.
58692         (___printf_fp): Determine rounding using get_rounding_mode and
58693         round_away.
58694         * stdio-common/tst-printf-round.c: New file.
58695         * stdio-common/Makefile (tests): Add tst-printf-round.
58696         (link-libm): New variable.
58697         ($(objpfx)tst-printf-round): Depend in $(link-libm).
58699 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
58701         [BZ #14576]
58702         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58703         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58704         Likewise.
58705         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58706         Likewise.
58708 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
58710         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58711         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58712         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58713         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58715 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
58717         [BZ #14518]
58718         * include/rounding-mode.h: New file.
58719         * sysdeps/generic/get-rounding-mode.h: Likewise.
58720         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58721         * stdlib/strtod_l.c: Include <rounding-mode.h>.
58722         (MAX_VALUE): New macro.
58723         (MIN_VALUE): Likewise.
58724         (overflow_value): New function.
58725         (underflow_value): Likewise.
58726         (round_and_return): Use overflow_value and underflow_value to
58727         determine return values in overflow and underflow cases.  Use
58728         round_away to determine rounding depending on rounding mode.
58729         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58730         determine return values in overflow and underflow cases.
58731         * stdlib/tst-strtod-round.c: Include <fenv.h>.
58732         (struct test_results): New structure.
58733         (struct test): Use struct test_results to store expected results
58734         for all rounding modes.
58735         (TEST): Include expected results for all rounding modes.
58736         (test_in_one_mode): New function.
58737         (do_test): Use test_in_one_mode to compute and check results.
58738         Check results for all rounding modes.
58739         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58740         $(link-libm).
58742 2012-12-09  Allan McRae  <allan@archlinux.org>
58744         * sysdeps/i386/fpu/libm-test-ulps: Update
58746 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
58748         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58749         (_G_int32_t): Likewise.
58750         (_G_uint16_t): Likewise.
58751         (_G_uint32_t): Likewise.
58752         (_G_HAVE_BOOL): Likewise.
58753         (_G_HAVE_ATEXIT): Likewise.
58754         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58755         (_G_HAVE_IO_FILE_OPEN): Likewise.
58756         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58757         (_G_int32_t): Likewise.
58758         (_G_uint16_t): Likewise.
58759         (_G_uint32_t): Likewise.
58760         (_G_HAVE_BOOL): Likewise.
58761         (_G_HAVE_ATEXIT): Likewise.
58762         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58763         (_G_HAVE_IO_FILE_OPEN): Likewise.
58764         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58765         (_G_int32_t): Likewise.
58766         (_G_uint16_t): Likewise.
58767         (_G_uint32_t): Likewise.
58768         (_G_HAVE_BOOL): Likewise.
58769         (_G_HAVE_ATEXIT): Likewise.
58770         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58771         (_G_HAVE_IO_FILE_OPEN): Likewise.
58773 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
58775         * csu/libc-tls.c: Update copyright years.
58777 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
58779         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58780         [!_G_USING_THUNKS]: Remove conditional code.
58781         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58782         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58784         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58785         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58786         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58787         (_G_VTABLE_LABEL_PREFIX): Likewise.
58788         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58789         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58790         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58791         (_G_VTABLE_LABEL_PREFIX): Likewise.
58792         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58793         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58794         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58795         (_G_VTABLE_LABEL_PREFIX): Likewise.
58796         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58798 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
58800         * libio/Makefile: Include ../Makeconfig before tests.
58801         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58802         only if $(build-shared) is yes.
58804         * iconv/gconv_db.c: Update copyright years.
58806 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58808         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58809         unwind info if defined PIC. Fix special cases description.
58810         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58812         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58813         DP_HI_MASK entry.
58814         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58816 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
58818         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58820         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58821         is NULL.
58823         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58824         (LDLIBS-tst-chk4): This.
58825         (LDFLAGS-tst-chk5): Renamed to ...
58826         (LDLIBS-tst-chk5): This.
58827         (LDFLAGS-tst-chk6): Renamed to ...
58828         (LDLIBS-tst-chk6): This.
58829         (LDFLAGS-tst-lfschk4): Renamed to ...
58830         (LDLIBS-tst-lfschk4): This.
58831         (LDFLAGS-tst-lfschk5): Renamed to ...
58832         (LDLIBS-tst-lfschk5): This.
58833         (LDFLAGS-tst-lfschk6): Renamed to ...
58834         (LDLIBS-tst-lfschk6): This.
58836         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58837         on $(common-objpfx)soversions.mk.
58839 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
58841         [BZ #10014]
58842         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58843         example host name.
58845 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58847         * malloc/arena.c (arena_get_retry): New function that gets
58848         another arena for the caller to try its request on.
58849         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58850         current arena cannot fulfill the request.
58851         (__libc_memalign): Likewise.
58852         (__libc_memalign): Likewise.
58853         (__libc_pvalloc): Likewise.
58854         (__libc_calloc): Likewise.
58856 2012-09-05  John Tobey  <john.tobey@gmail.com>
58858         [BZ #13542]
58859         * manual/arith.texi (Operations on Complex): Fix description
58860         of carg branch cut.
58862 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58864         [BZ #10014]
58865         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58866         host name.
58868         [BZ #10038]
58869         * manual/memory.texi (Memory): Make order of menu items match
58870         order of sections.
58872 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58874         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58875         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
58876         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58878 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58880         * csu/libc-tls.c (static_dtv): Renamed to ...
58881         (_dl_static_dtv): This.  Make it global.
58882         (_dl_initial_dtv): Removed.
58883         (__libc_setup_tls): Updated.
58884         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58885         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58886         DL_INITIAL_DTV.
58888 2012-09-06  Petr Machata  <pmachata@redhat.com>
58890         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58891         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58892         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58893         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58895 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58897         [BZ #14545]
58898         * csu/libc-tls.c (_dl_initial_dtv): New variable.
58899         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58900         freeing dtv[-1].
58902 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58904         [BZ #14544]
58905         * Makeconfig (link-static-before-libc): Replace $(+prector)
58906         with $(+prectorT).
58907         (link-static-after-libc): Replace $(+postctor) with
58908         $(+postctorT).
58909         (link-bounded): Replace $(+prector)/$(+postctor) with
58910         $(+prectorT)/$(+postctorT).
58911         (+prectorT): New macro.
58912         (+postctorT): Likewise.
58914 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58916         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58917         (round_str): Handle values above the maximum for IBM long double
58918         as inexact.
58919         * stdlib/tst-strtod-round.c (tests): Regenerated.
58921 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58923         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58924         assembler flag.
58925         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58926         zarch_nohighgprs around the zarch optimized routines.
58927         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58928         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58929         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58930         for zarch.
58932 2012-09-05  David S. Miller  <davem@davemloft.net>
58934         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58936         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58937         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58938         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58939         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58940         entries.
58942 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58944         * malloc/arena.c: Fold copyright years.
58945         * malloc/mcheck.c, malloc/memusage.c: Likewise.
58947 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58949         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58951 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58953         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
58955 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58957         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58958         change internal state upon failure.
58960 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58962         * malloc/mcheck.c (mcheck_check_all): Fix typo.
58963         * malloc/memusage.c (mmap): Likewise.
58964         (mmap64, mremap): Likewise.  Adjust name in comment.
58966 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58968         * libio/fileops.c: Fix typos in comments.
58969         * libio/oldfileops.c: Likewise.
58970         * libio/wfileops.c: Likewise.
58972 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58974         [BZ #1349]
58975         * malloc/Makefile (tests): Add tst-malloc-usable test case.
58976         (tst-malloc-usable-ENV): Set environment for test case.
58977         * malloc/hooks.c (malloc_check_get_size): New function to get
58978         requested size.
58979         * malloc/malloc.c (musable): Use malloc_check_get_size.
58980         * malloc/tst-malloc-usable.c: New test case.
58982 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58984         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58986 2012-09-05  Allan McRae  <allan@archlinux.org>
58988         [BZ #13966]
58989         * configure.in (CXX_SYSINCLUDES): Use compiler output to
58990         determine header location.
58991         * configure: Regenerated.
58993 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58995         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58996         float format.
58997         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58998         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58999         format.
59000         (test): Regenerate.
59002 2012-09-04  David S. Miller  <davem@davemloft.net>
59004         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
59005         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
59006         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
59008 2012-09-04  Florian Weimer  <fweimer@redhat.com>
59010         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
59011         failures.
59013         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
59015 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
59017         [BZ #9914]
59018         * libio/iogetdelim.c: Include <limits.h>.
59019         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
59020         + len + 1 would overflow.
59022 2012-09-03  Andreas Jaeger  <aj@suse.de>
59024         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59025         * sysdeps/i386/fpu/libm-test-ulps: Update.
59027 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59029         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59030         Add s_sinf-sse2, s_conf-sse2.
59032         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
59033         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
59034         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
59035         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
59037         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
59038         for using routine as __sinf_ia32.
59039         Use macro for function declaration and weak_alias.
59040         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
59041         for using routine as __cosf_ia32.
59042         Use macro for function declaration and weak_alias.
59044         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
59045         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
59047         * sysdeps/x86_64/fpu/s_sinf.S: New file.
59048         * sysdeps/x86_64/fpu/s_cosf.S: New file.
59049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59051         * math/libm-test.inc (cos_test): Add more test cases.
59052         (sin_test): Likewise.
59053         (sincos_test): Likewise.
59055 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59057         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
59058         (IFUNC_RESOLVE): Make pointers to the specialized implementations
59059         hidden.
59060         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59062 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
59064         [BZ #14538]
59065         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
59066         first element of the GOT.
59067         (elf_machine_load_address): Return the difference between
59068         the runtime address of _DYNAMIC and elf_machine_dynamic ().
59070 2012-09-01  Allan McRae  <allan@archlinux.org>
59072         [BZ #13412]
59073         * configure.in (AWK): Require gawk version 3.0 or later.
59074         * configure: Regenerated.
59076 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
59078         * sysdeps/unix/sysv/linux/kernel-features.h
59079         (__ASSUME_POSIX_CPU_TIMERS): Remove.
59080         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59081         [__NR_clock_getres]: Make code unconditional.
59082         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
59083         (clock_getcpuclockid): Remove code left unreachable by removal of
59084         conditionals.
59085         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
59086         code unconditional.
59087         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59088         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59089         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
59090         Make code unconditional.
59091         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59092         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59093         * sysdeps/unix/sysv/linux/clock_settime.c
59094         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
59095         conditional code.
59096         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
59097         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59099 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
59101         [BZ #14476]
59102         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
59103         scripts/test-installation.pl.
59105         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
59106         and $ld_so_version if it is set.
59108 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59110         [BZ #14516]
59111         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
59112         failure if reading from procfs failed.
59113         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
59115 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59117         * sysdeps/unix/sysv/linux/kernel-features.h
59118         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
59119         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59120         Remove conditional code.
59121         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59122         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
59123         Remove conditional code.
59124         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59125         * sysdeps/unix/sysv/linux/i386/fxstat.c
59126         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59127         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59128         * sysdeps/unix/sysv/linux/i386/fxstatat.c
59129         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59130         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59131         * sysdeps/unix/sysv/linux/i386/lxstat.c
59132         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59133         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59134         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
59135         Remove conditional code.
59136         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59137         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59138         Remove conditional code.
59139         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59140         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
59141         <kernel-features.h>.
59142         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
59143         Remove.
59144         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
59145         Remove conditional code.
59146         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59147         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
59148         Remove conditional.
59150 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
59152         [BZ #5400]
59153         * NEWS: Add fixed bug number.
59155 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59157         [BZ #14519]
59158         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
59159         underflowing exponent in case of negative sign.
59160         * stdlib/tst-strtod-round-data: Add more tests.
59161         * stdlib/tst-strtod-round.c (tests): Regenerated.
59163         [BZ #3479]
59164         * stdlib/strtod_l.c (NDIG): Remove.
59165         (HEXNDIG): Likewise.
59166         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
59167         smallest representable value.
59168         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
59169         lie within an exact representation of 1/2 ulp of the result.
59170         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
59171         unconditionally.
59172         (TENS_P9_IDX): Define unconditionally.
59173         (TENS_P9_SIZE): Likewise.
59174         (TENS_P10_IDX): Likewise.
59175         (TENS_P10_SIZE): Likewise.
59176         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
59177         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
59178         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
59179         entries for 10^2^13 and 10^2^14.
59180         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
59181         (TENS_P13_IDX): Define.
59182         (TENS_P13_SIZE): Likewise.
59183         (TENS_P14_IDX): Likewise.
59184         (TENS_P14_SIZE): Likewise.
59185         (_fpioconst_pow10): Change array size to
59186         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
59187         unconditional.
59188         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
59189         1024]: Add entries for 10^2^13 and 10^2^14.
59190         [LAST_POW10 > _LAST_POW10]: Remove #error.
59191         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
59192         (_fpioconst_pow10): Change array size to
59193         FPIOCONST_POW10_ARRAY_SIZE.
59194         * stdlib/gen-fpioconst.c: New file.
59195         * stdlib/gen-tst-strtod-round.c: Likewise.
59196         * stdlib/tst-strtod-round-data: Likewise.
59197         * stdlib/tst-strtod-round.c: Likewise.
59198         * stdlib/Makefile (tests): Add tst-strtod-round.
59200         [BZ #14459]
59201         * stdlib/strtod_l.c: Include <stdint.h>.
59202         (NDEBUG): Do not define.
59203         (round_and_return): Change EXPONENT parameter to type intmax_t.
59204         Rearrange calculations to avoid internal overflow possibilities.
59205         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
59206         Rearrange calculations to avoid internal overflow possibilities.
59207         Assert that number fits inside MPNSIZE limbs.
59208         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
59209         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
59210         calculations and add assertions to avoid internal overflow
59211         possibilities.  Add casts to avoid signed/unsigned operations.
59212         * stdlib/tst-strtod-overflow.c: New file.
59213         * stdlib/Makefile (tests): Add tst-strtod-overflow.
59215 2012-08-25  Marek Polacek  <polacek@redhat.com>
59217         * time/time.h: Fix some typos in comments.
59219 2012-08-23  Roland McGrath  <roland@hack.frob.com>
59221         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
59222         * posix/tst-rfc3484-2.c: Likewise.
59223         * posix/tst-rfc3484-3.c: Likewise.
59225 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
59227         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
59228         (EF_ARM_ABI_FLOAT_HARD): Likewise.
59230 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
59232         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
59233         #include of fxstatat64.c.
59235 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59237         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
59238         * shadow/getspent_r.c: Likewise.
59239         * shadow/getspnam.c: Likewise.
59240         * shadow/getspnam_r.c: Likewise.
59241         * gshadow/getsgent.c: Likewise.
59242         * gshadow/getsgent_r.c: Likewise.
59243         * gshadow/getsgnam.c: Likewise.
59244         * gshadow/getsgnam_r.c: Likewise.
59245         * inet/getnetbyad.c: Likewise.
59246         * inet/getnetbyad_r.c: Likewise.
59247         * inet/getnetbynm.c: Likewise.
59248         * inet/getnetbynm_r.c: Likewise.
59249         * inet/getnetent.c: Likewise.
59250         * inet/getnetent_r.c: Likewise.
59251         * inet/getproto.c: Likewise.
59252         * inet/getproto_r.c: Likewise.
59253         * inet/getprtent.c: Likewise.
59254         * inet/getprtent_r.c: Likewise.
59255         * inet/getprtname.c: Likewise.
59256         * inet/getprtname_r.c: Likewise.
59257         * inet/getrpcbyname.c: Likewise.
59258         * inet/getrpcbyname_r.c: Likewise.
59259         * inet/getrpcbynumber.c: Likewise.
59260         * inet/getrpcbynumber_r.c: Likewise.
59261         * inet/getrpcent.c: Likewise.
59262         * inet/getrpcent_r.c: Likewise.
59263         * inet/getaliasent.c: Likewise.
59264         * inet/getaliasent_r.c: Likewise.
59265         * inet/getaliasname.c: Likewise.
59266         * inet/getaliasname_r.c: Likewise.
59267         * nscd/getgrgid_r.c: Likewise.
59268         * nscd/getgrnam_r.c: Likewise.
59269         * nscd/gethstbyad_r.c: Likewise.
59270         * nscd/gethstbynm3_r.c: Likewise.
59271         * nscd/getpwnam_r.c: Likewise.
59272         * nscd/getpwuid_r.c: Likewise.
59273         * nscd/getsrvbynm_r.c: Likewise.
59274         * nscd/getsrvbypt_r.c: Likewise.
59275         * nscd/gai.c: Likewise.
59277         * configure.in (build_nscd): New substituted variable, set
59278         by --disable-build-nscd and defaults to $use_nscd.
59279         * configure: Regenerated.
59280         * config.make.in (build-nscd): New substituted variable.
59281         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
59282         Change conditional to require [$(build-nscd) = yes] as well.
59283         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
59285         [BZ# 13696]
59286         * configure.in (use_nscd): New substituted variable, set by
59287         --disable-nscd.  If enabled, define USE_NSCD.
59288         * configure: Regenerated.
59289         * config.h.in: Add USE_NSCD.
59290         * config.make.in (use-nscd): New substituted variable.
59291         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
59292         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
59293         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
59294         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
59295         (CFLAGS-getgrnam_r.c): Likewise.
59296         (CFLAGS-initgroups.c): Likewise.
59297         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
59298         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
59299         Variables removed.
59300         * inet/getnetgrent_r.c
59301         (nscd_setnetgrent): New function, broken out of ...
59302         (setnetgrent): ... here.  Call it.
59303         (innetgr): Conditionalize nscd bits on [USE_NSCD].
59304         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
59305         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
59306         * nscd/Makefile (routines, aux): Move definitions after include of
59307         Makeconfig.  Conditionalize on [$(use-nscd) != no].
59308         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
59309         Conditionalize on [USE_NSCD].
59310         (is_nscd, nscd_init_cb): Likewise.
59311         (nss_load_library): Conditionalize init callback on [USE_NSCD].
59312         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
59313         * nss/nss_db/db-init.c: Likewise.
59314         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
59315         [USE_NSCD].
59316         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
59317         (make_request): Use it.
59318         (cache_valid_p): New function.
59319         (__check_pf): Use it.
59320         * NEWS: Add item for --disable-nscd.
59322 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
59324         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
59325         to support sed >= 4.2.1-20-ga9bf076.
59326         * configure: Regenerated.
59328 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59330         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
59331         Conditionalize whole body on [IREL].
59333 2012-08-22  Jeff Law <law@redhat.com>
59335         [BZ #14505]
59336         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
59337         if the family is PF_UNSPEC.
59339 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
59341         * Makerules (lib-version): Rename from V.
59342         (install-lib-nosubdir): Change V to lib-version.
59344 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
59346         [BZ #14252]
59347         * powerpc32/power6/wcschr.c: New file.
59348         * powerpc32/power6/wcscpy.c: New file.
59349         * powerpc32/power6/wcsrchr.c: New file.
59350         * powerpc64/power6/wcschr.c: New file.
59351         * powerpc64/power6/wcscpy.c: New file.
59352         * powerpc64/power6/wcsrchr.c: New file.
59354 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59356         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
59357         (two_way_short_needle): Use it.
59358         * string/strstr.c (AVAILABLE1_USES_J): Define.
59359         * string/strcasestr.c: Likewise.
59361         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
59362         array references.
59363         * string/strcasestr.c (TOLOWER): Make side-effect safe.
59365         [BZ #11607]
59366         * NEWS: Add an entry.
59367         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
59368         define their defaults.
59369         (two_way_short_needle): Detect end-of-string on-the-fly.
59370         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
59371         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
59372         * string/bug-strcasestr1.c: New test.
59373         * string/Makefile: Run it.
59375 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59377         [BZ #11607]
59378         * string/str-two-way.h (two_way_short_needle): Optimize matching of
59379         the first character.
59381 2012-08-21  Roland McGrath  <roland@hack.frob.com>
59383         * csu/elf-init.c (__libc_csu_irel): Function removed.
59384         * csu/libc-start.c (apply_irel): New function.
59385         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
59387 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
59389         * sysdeps/unix/sysv/linux/kernel-features.h
59390         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
59391         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59392         <kernel-features.h>.
59393         [__NR_fadvise64_64]: Make code unconditional.
59394         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
59395         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59396         !__NR_fadvise64_64)]: Likewise.
59397         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59398         !__NR_fadvise64_64))]: Likewise.
59399         [__NR_fadvise64]: Make code unconditional.
59400         [!__NR_fadvise64]: Remove conditional code.
59401         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
59402         <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.
59407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
59408         not include <kernel-features.h>.
59409         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59410         unconditional.
59411         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59412         conditional code.
59413         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
59414         include <kernel-features.h>.
59415         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59416         unconditional.
59417         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59418         conditional code.
59420 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
59422         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
59423         slight instruction rearrangements per scrollpipe analysis.
59424         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59426 2012-08-20  Roland McGrath  <roland@hack.frob.com>
59428         * manual/syslog.texi (syslog; vsyslog, closelog):
59429         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
59430         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
59432         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
59433         DSOCAPS to match condition on defining it.
59435 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
59437         * sysdeps/unix/sysv/linux/kernel-features.h
59438         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
59439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
59440         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59441         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
59443         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59444         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
59446         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59447         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59449         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
59450         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
59452         * sysdeps/unix/sysv/linux/kernel-features.h
59453         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
59454         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
59455         unconditional.
59456         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59457         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
59458         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59459         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59460         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
59461         Make code unconditional.
59462         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59463         (__mmap64) [!__NR_mmap2]: Likewise.
59464         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
59465         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59466         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59467         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
59468         [__NR_mmap2]: Make code unconditional.
59469         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59470         (__mmap64) [!__NR_mmap2]: Likewise.
59472 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59474         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
59476 2012-08-18  Andreas Jaeger  <aj@suse.de>
59478         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
59480 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59482         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
59483         * include/unistd.h (__have_sock_cloexec): Likewise.
59484         (__have_pipe2): Likewise.
59485         (__have_dup3): Likewise.
59487 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59489         [BZ #9685]
59490         * include/unistd.h (__have_pipe2): Change define into an extern int.
59491         (__have_dup3): Likewise.
59492         * socket/have_sock_cloexec.c: Include fcntl.h.
59493         (__have_pipe2): New variable.
59494         (__have_dup3): Likewise.
59496 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
59498         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
59500 2012-08-17  Marek Polacek  <polacek@redhat.com>
59502         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
59503         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
59505 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59507         * configure.in: Add AC_SUBST for sysheaders.
59508         * configure: Regenerated.
59509         * config.make.in (sysheaders): New substituted variable.
59511         * sysdeps/unix/mkfifo.c: Moved ...
59512         * sysdeps/posix/mkfifo.c: ... here.
59513         * sysdeps/unix/mkfifoat.c: Moved ...
59514         * sysdeps/posix/mkfifoat.c: ... here.
59516         * sysdeps/unix/utime.c: Moved ...
59517         * sysdeps/posix/utime.c: ... here.
59519         * sysdeps/unix/time.c: Moved ...
59520         * sysdeps/posix/time.c: ... here.
59521         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
59522         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
59524         * sysdeps/unix/nice.c: Moved ...
59525         * sysdeps/posix/nice.c: ... here.
59527         * sysdeps/unix/alarm.c: Moved ...
59528         * sysdeps/posix/alarm.c: ... here.
59530         * intl/Makefile ($(codeset_mo)): Depend on the input file.
59532 2012-08-17  Jeff Law <law@redhat.com>
59534         * intl/Makefile (codeset_mo): New variable.
59535         ($(codeset_mo)): New target.
59536         (tst-codeset.out): Depend on that.  Remove explicit rule.
59537         (tst-gettext3.out, tst-gettext5.out): Likewise.
59538         (LOCPATH-ENV, tst-codeset-ENV): New variables.
59539         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
59540         * intl/tst-codeset.sh: Remove.
59541         * intl/tst-gettext3.sh: Likewise.
59542         * intl/tst-gettext5.sh: Likewise.
59544 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59546         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
59547         * sysdeps/unix/syscalls.list: ... here.
59549         * sysdeps/posix/getaddrinfo.c
59550         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
59551         (gaiconf_init, gaiconf_reload): Use them.
59552         [!_STATBUF_ST_NSEC]
59553         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59554         Define using time_t rather than struct timespec.
59556         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
59557         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
59558         Macros removed.
59559         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
59560         [!NO_THREADS].
59561         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
59562         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
59563         Likewise.
59565         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
59566         __libc_cleanup_push argument.
59568         * bits/param.h: New file.
59569         * misc/sys/param.h: New file.
59570         * include/sys/param.h: New file.
59571         * misc/Makefile (headers): Add bits/param.h.
59572         * sysdeps/generic/sys/param.h: File removed.
59573         * sysdeps/unix/sysv/linux/bits/param.h: New file.
59574         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
59575         * sysdeps/mach/hurd/bits/param.h: New file.
59576         * sysdeps/mach/hurd/sys/param.h: File removed.
59578         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
59579         last change.
59581         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
59582         [_IO_MTSAFE_IO].
59583         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
59584         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
59585         New macros.
59587         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
59588         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
59589         rather than -D_IO_MTSAFE_IO conditionally.
59590         * stdio-common/Makefile (CPPFLAGS): Likewise.
59591         * wcsmbs/Makefile (CPPFLAGS): Likewise.
59592         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
59593         Use $(libio-mtsafe).
59594         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
59595         of -D_IO_MTSAFE_IO.
59596         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
59597         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
59598         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
59599         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
59600         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
59601         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
59602         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
59603         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
59604         (CFLAGS-fread_u_chk.c): Likewise.
59605         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
59606         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
59607         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
59608         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
59609         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
59610         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
59611         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
59612         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
59613         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
59615         * libio/Makefile: Test [$(libc-reentrant) = yes]
59616         instead of [$(filter %REENTRANT, $(defines)) nonempty].
59618         * Makeconfig
59619         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
59620         * sysdeps/pthread/configure: File removed.
59621         * sysdeps/pthread/Makeconfig: New file.
59622         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
59623         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
59625 2012-08-16  Gary Benson  <gbenson@redhat.com>
59627         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
59628         unmapping the first object in a namespace.
59630 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59632         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
59633         (__internal_setnetgrent): ... this.  Add internal_function to
59634         definition.  Add libc_hidden_def.
59635         (setnetgrent): Update caller.
59636         (internal_endnetgrent): Renamed to ...
59637         (__internal_endnetgrent): ... this.  Add internal_function to
59638         definition.  Add libc_hidden_def.
59639         (endnetgrent): Update caller.
59640         (internal_getnetgrent_r): Renamed to ...
59641         (__internal_getnetgrent_r): ... this.  Add internal_function to
59642         definition.  Add libc_hidden_def.
59643         (__getnetgrent_r): Update caller.
59644         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
59646 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59648         * stdlib/longlong.h: Update from GCC.
59650 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59652         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
59653         on _QL, which is set by umul_ppmm but never used.
59654         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
59655         variables, which are set by GMP macros but never used.
59656         * stdio-common/_itowa.c (_itowa): Likewise.
59657         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
59658         * stdlib/mod_1.c (mpn_mod_1): Likewise.
59660 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
59662         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
59663         struct La_sh_regs is not constant.
59664         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
59665         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
59666         and struct La_sparc64_regs are not constant.
59668 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59670         * sysdeps/unix/sysv/linux/kernel-features.h
59671         (__ASSUME_POSIX_TIMERS): Remove.
59672         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59673         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59674         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59675         Make code unconditional.
59676         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59677         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59678         Make code unconditional.
59679         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59680         * sysdeps/unix/sysv/linux/clock_nanosleep.c
59681         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59682         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59683         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59684         Make code unconditional.
59685         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59686         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59687         (__libc_missing_posix_timers): Remove.
59689 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59691         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59692         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59694         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59696         * elf/dl-sym.c: Include <stdlib.h>.
59698         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59699         constants, which avoids warnings in 32-bit builds.
59701         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59702         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59704         * misc/lseek.c: File moved to ...
59705         * io/lseek.c: ... here.
59707         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59709         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59710         shifting LEN more than 31 bits at once.
59712 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59714         [BZ #14195]
59715         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59716         segmentation fault for a case of two empty input strings.
59717         * string/test-strncasecmp.c (check1): Renamed to...
59718         (bz12205): ...this.
59719         (bz14195): Add new testcase for two empty input strings and N > 0.
59720         (test_main): Call new testcase, adapt for renamed function.
59722 2012-08-15  Andreas Jaeger  <aj@suse.de>
59724         [BZ #14090]
59725         * crypt/md5test2.c: New test, based on test supplied by Serge
59726         Belyshev <belyshev@depni.sinp.msu.ru>.
59727         * crypt/Makefile (xtests): Add md5test-giant..
59728         * crypt/Makefile ($(objpfx)md5test-giant): Add.
59730 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
59732         [BZ #14090]
59733         * crypt/md5.c (md5_process_block): Don't assume the buffer
59734         length is less than 2**32.
59735         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59736         length is less than 2**64.
59738 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59740         * string/str-two-way.h: Include <sys/param.h>.
59741         (MAX): Macro removed.
59743         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59744         Move #define and #undef of memmove to just before and after
59745         including <string.h>.
59747         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59748         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59749         and after including <string.h>.  Move declarations of
59750         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59751         to before #include "string/memmove.c".
59753         * include/dirent.h: Declare __getdirentries.
59755         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59756         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59758 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
59760         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59761         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59762         * sysdeps/i386/configure: Regenerated.
59763         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59764         STABS_CURRENT_FILE, and STABS_FUN.
59765         (END): Remove call to STABS_FUN_END.
59766         (STABS_CURRENT_FILE1): Delete.
59767         (STABS_CURRENT_FILE): Likewise.
59768         (STABS_FUN): Likewise.
59769         (STABS_FUN_END): Likewise.
59770         (STABS_FUN2): Likewise.
59771         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59772         * sysdeps/x86_64/configure: Regenerated.
59774 2012-08-14  Roland McGrath  <roland@hack.frob.com>
59776         * elf/dl-open.c: Include <atomic.h>.
59777         * elf/dl-lookup.c: Likewise.
59779 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
59781         * sysdeps/unix/sysv/linux/kernel-features.h
59782         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59783         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59784         unconditionally.
59785         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59786         unconditionally.
59787         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59788         condition on __ASSUME_CLONE_THREAD_FLAGS.
59790 2012-08-14  Andreas Jaeger  <aj@suse.de>
59792         * sysdeps/i386/fpu/libm-test-ulps: Update.
59794 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
59796         * include/atomic.h (atomic_exchange_and_add): Split into ...
59797         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59798         New atomic macros.
59800 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
59802         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59804 2012-08-13  Jeff Law <law@redhat.com>
59806         * manual/stdio.texi (snprintf): Clarify handling of the trailing
59807         null byte in the output string.
59809 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
59811         * sysdeps/unix/sysv/linux/kernel-features.h
59812         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59813         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59814         (__ASSUME_ARG_MAX_STACK_BASED): Define.
59815         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59816         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59817         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
59818         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59820 2012-08-09  Jeff Law <law@redhat.com>
59822         [BZ #13939]
59823         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59824         When avoid_arena is set, don't retry in the that arena.  Pick the
59825         next one, whatever it might be.
59826         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59827         (arena_lock): Pass in new parameter to arena_get2.
59828         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59829         arena_get2.
59830         (__libc_malloc): Unify retrying after main arena failure with
59831         __libc_memalign version.
59832         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59834 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
59836         [BZ #14166]
59837         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59838         to __redirect_strstr.
59839         (__strstr_sse42): Use typeof __redirect_strstr.
59840         (__strstr_ia32): Likewise.
59841         (__libc_strstr): New prototype.
59842         (strstr): Renamed to ...
59843         (__libc_strstr): This.
59844         (strstr): New strong alias of __libc_strstr.
59845         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59846         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59847         __redirect_time.
59848         Include <time.h>.
59849         (__libc_time): New prototype.
59850         (time_ifunc): Replace time with __libc_time.
59851         (time): New strong alias and hidden definition of __libc_time.
59852         (__GI_time): Remove strong alias.
59853         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59854         Include <stddef.h>.
59855         (memmove): Redefined to __redirect_memmove.
59856         (__memmove_sse2): Use typeof __redirect_memmove.
59857         (__memmove_ssse3): Likewise.
59858         (__memmove_ssse3_back): Likewise.
59859         (__libc_memmove): New prototype.
59860         (memmove): Renamed to ...
59861         (__libc_memmove): This.
59862         (memmove): New strong alias of __libc_memmove.
59864 2012-08-08  Mark Salter  <msalter@redhat.com>
59866         * elf/elf.h
59867         (R_MN10300_TLS_GD): Define.
59868         (R_MN10300_TLS_LD): Likewise.
59869         (R_MN10300_TLS_LDO): Likewise.
59870         (R_MN10300_TLS_GOTIE): Likewise.
59871         (R_MN10300_TLS_IE): Likewise.
59872         (R_MN10300_TLS_LE): Likewise.
59873         (R_MN10300_TLS_DTPMOD): Likewise.
59874         (R_MN10300_TLS_DTPOFF): Likewise.
59875         (R_MN10300_TLS_TPOFF): Likewise.
59876         (R_MN10300_SYM_DIFF): Likewise.
59877         (R_MN10300_ALIGN): Likewise.
59878         (R_MN10300_NUM): Update.
59880 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
59882         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59883         Remove.
59885 2012-08-08  Roland McGrath  <roland@hack.frob.com>
59887         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59889         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59890         sysdeps/unix -> sysdeps/posix move.
59891         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59893 2012-08-07      Allan McRae     <allan@archlinux.org>
59895         [BZ #14303]
59896         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59897         (SUNOS_CPP): Likewise.
59898         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59899         not found.
59900         (open_input): Call CPP using execvp.
59902 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59904         * sysdeps/unix/sysv/linux/kernel-features.h
59905         (__ASSUME_PROT_GROWSUPDOWN): Remove.
59906         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59907         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59908         (__ASSUME_WAITID_SYSCALL): Likewise.
59909         * sysdeps/unix/sysv/linux/dl-execstack.c
59910         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59911         code unconditional.
59912         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59913         conditional code.
59914         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59915         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59916         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59917         code.
59918         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59919         unconditional.
59920         [__ASSUME_WAITID_SYSCALL]: Likewise.
59921         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59923 2012-08-07  Roland McGrath  <roland@hack.frob.com>
59925         * sysdeps/unix/closedir.c: Renamed to ...
59926         * sysdeps/posix/closedir.c: ... here.
59927         * sysdeps/unix/dirfd.c: Renamed to ...
59928         * sysdeps/posix/dirfd.c: ... here.
59929         * sysdeps/unix/dirstream.h: Renamed to ...
59930         * sysdeps/posix/dirstream.h: ... here.
59931         * sysdeps/unix/fdopendir.c: Renamed to ...
59932         * sysdeps/posix/fdopendir.c: ... here.
59933         * sysdeps/unix/opendir.c: Renamed to ...
59934         * sysdeps/posix/opendir.c: ... here.
59935         * sysdeps/unix/readdir.c: Renamed to ...
59936         * sysdeps/posix/readdir.c: ... here.
59937         * sysdeps/unix/readdir_r.c: Renamed to ...
59938         * sysdeps/posix/readdir_r.c: ... here.
59939         * sysdeps/unix/rewinddir.c: Renamed to ...
59940         * sysdeps/posix/rewinddir.c: ... here.
59941         * sysdeps/unix/seekdir.c: Renamed to ...
59942         * sysdeps/posix/seekdir.c: ... here.
59943         * sysdeps/unix/telldir.c: Renamed to ...
59944         * sysdeps/posix/telldir.c: ... here.
59945         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59946         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59947         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59948         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59950         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59951         * bits/fcntl.h: ... here.
59953         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59954         not 0.
59955         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59956         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59957         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59958         (struct flock): Move l_start, l_len to the beginning.
59959         Use __pid_t for l_pid.
59960         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59961         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59962         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59963         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59964         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59965         [__USE_LARGEFILE64] (struct flock64): New type.
59966         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59968         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59969         * bits/dirent.h: ... here.
59971         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59972         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59974 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59976         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59977         Change from 2.6.0 to 2.6.16.
59978         * sysdeps/unix/sysv/linux/configure: Regenerated.
59979         * sysdeps/unix/sysv/linux/kernel-features.h
59980         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59981         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59982         version.
59983         (__ASSUME_UTIMES): Likewise.
59984         (__ASSUME_CLONE_STOPPED): Remove.
59985         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59986         architectures, not kernel version.
59987         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59988         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59989         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59990         (__ASSUME_WAITID_SYSCALL): Likewise.
59991         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59992         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59993         * README: State 2.6.16 as minimum Linux kernel version.  Do not
59994         refer to older versions.
59996 2012-08-06  Roland McGrath  <roland@hack.frob.com>
59998         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59999         Define alphasort64 as an alias.
60000         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
60001         Define versionsort64 as an alias.
60002         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
60003         Define scandir64 as an alias.
60004         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
60005         Define scandirat64 as an alias.
60006         * dirent/alphasort64.c (alphasort64):
60007         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
60008         * dirent/versionsort64.c: Likewise.
60009         * dirent/scandir64.c: Likewise.
60010         * dirent/scandirat64.c: Likewise.
60011         * sysdeps/wordsize-64/alphasort.c: File removed.
60012         * sysdeps/wordsize-64/alphasort64.c: File removed.
60013         * sysdeps/wordsize-64/scandir.c: File removed.
60014         * sysdeps/wordsize-64/scandir64.c: File removed.
60015         * sysdeps/wordsize-64/scandirat.c: File removed.
60016         * sysdeps/wordsize-64/scandirat64.c: File removed.
60017         * sysdeps/wordsize-64/versionsort.c: File removed.
60018         * sysdeps/wordsize-64/versionsort64.c: File removed.
60019         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
60020         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
60021         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
60022         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
60023         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
60024         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
60025         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
60026         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
60028         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
60029         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60030         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
60031         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60032         [defined __arch64__ || defined __sparcv9]
60033         (__INO_T_MATCHES_INO64_T): New macro.
60034         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60035         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
60036         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
60037         * sysdeps/unix/sysv/linux/bits/dirent.h
60038         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
60039         (_DIRENT_MATCHES_DIRENT64): New macro.
60041         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
60042         Define lockf64 as an alias.
60043         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
60044         Define fseeko64 as an alias.
60045         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
60046         Define ftello64 as an alias.
60047         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
60048         Define _IO_fgetpos64 and fgetpos64 as aliases.
60049         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
60050         Define _IO_fsetpos64 and fsetpos64 as aliases.
60051         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
60052         Conditionalize body on this.
60053         * libio/fseeko64.c: Likewise.
60054         * libio/ftello64.c: Likewise.
60055         * libio/iofgetpos64.c: Likewise.
60056         * libio/iofsetpos64.c: Likewise.
60057         * sysdeps/wordsize-64/lockf.c: File removed.
60058         * sysdeps/wordsize-64/lockf64.c: File removed.
60059         * sysdeps/wordsize-64/fseeko.c: File removed.
60060         * sysdeps/wordsize-64/fseeko64.c: File removed.
60061         * sysdeps/wordsize-64/ftello.c: File removed.
60062         * sysdeps/wordsize-64/ftello64.c: File removed.
60063         * sysdeps/wordsize-64/iofgetpos.c: File removed.
60064         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
60065         * sysdeps/wordsize-64/iofsetpos.c: File removed.
60066         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
60067         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
60068         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
60069         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
60070         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
60071         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
60072         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
60073         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
60074         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
60075         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
60076         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
60078         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60079         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60080         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
60081         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60082         [defined __arch64__ || defined __sparcv9]
60083         (__OFF_T_MATCHES_OFF64_T): New macro.
60084         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60085         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60086         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60087         (__OFF_T_MATCHES_OFF64_T): New macro.
60089 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60091         * stdlib/secure-getenv.c (__secure_getenv): Replace
60092         GLIBC_2_16 with GLIBC_2_17.
60094 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60096         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
60097         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60099 2012-08-03  David S. Miller  <davem@davemloft.net>
60101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60103 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60105         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
60106         Remove.
60107         (__ASSUME_CORRECT_SI_PID): Likewise.
60108         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
60109         (__ASSUME_TMPFS_NAME): Likewise.
60110         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
60111         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
60112         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
60113         (HAVE_AUX_SECURE): Make definition unconditional.
60114         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
60115         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
60117 2012-08-03  Roland McGrath  <roland@hack.frob.com>
60119         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
60120         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
60121         * sysdeps/mach/hurd/eloop-threshold.h: New file.
60122         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60123         __eloop_threshold instead of SYMLOOP_MAX.
60125         * sysdeps/generic/eloop-threshold.h: New file.
60126         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
60127         of MAXSYMLINKS.
60128         * elf/chroot_canon.c (chroot_canon): Likewise.
60130 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60132         [BZ #13717]
60133         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60134         Change to 2.6.0 everywhere.
60135         * sysdeps/unix/sysv/linux/configure: Regenerated.
60136         * sysdeps/unix/sysv/linux/kernel-features.h
60137         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
60138         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
60139         kernel versions.
60140         (__ASSUME_POSIX_TIMERS): Define unconditionally.
60141         (__ASSUME_FUTEX_REQUEUE): Remove.
60142         (__ASSUME_STATFS64): Define unconditionally.
60143         (__ASSUME_AT_SECURE): Likewise.
60144         (__ASSUME_CORRECT_SI_PID): Likewise.
60145         (__ASSUME_TGKILL): Define without depending on kernel version for
60146         i386.
60147         (__ASSUME_UTIMES): Likewise.
60148         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
60149         kernel version.
60150         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
60151         (__ASSUME_TMPFS_NAME): Likewise.
60152         * README: Update reference to Linux kernel versions.
60154 2012-08-02  Marek Polacek  <polacek@redhat.com>
60156         [BZ# 14150]
60157         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
60158         libc_cv_asm_type_prefix with %.
60159         * configure: Regenerated.
60160         * include/libc-symbols.h: Remove comment about
60161         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60162         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
60163         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
60164         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
60165         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
60166         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60167         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
60168         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
60169         * elf/tst-unique2mod1.c: Likewise.
60170         * elf/tst-unique1mod2.c: Likewise.
60171         * elf/tst-unique1mod1.c: Likewise.
60172         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
60173         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
60174         Replace ASM_TYPE_DIRECTIVE with .type.
60175         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60176         * sysdeps/i386/sysdep.h: Likewise.
60177         * sysdeps/x86_64/sysdep.h: Likewise.
60178         * sysdeps/sh/sysdep.h: Likewise.
60179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60180         Do not define ASM_TYPE_DIRECTIVE.
60181         * sysdeps/powerpc/sysdep.h: Likewise.
60182         * sysdeps/powerpc/powerpc32/sysdep.h:
60183         Replace ASM_TYPE_DIRECTIVE with .type.
60184         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60185         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60186         * sysdeps/i386/fpu/e_powf.S: Likewise.
60187         * sysdeps/i386/fpu/e_expl.S: Likewise.
60188         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60189         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60190         * sysdeps/i386/fpu/e_pow.S: Likewise.
60191         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60192         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60193         * sysdeps/i386/fpu/s_expm1.S: Likewise.
60194         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60195         * sysdeps/i386/fpu/e_log2.S: Likewise.
60196         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60197         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60198         * sysdeps/i386/fpu/e_powl.S: Likewise.
60199         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60200         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60201         * sysdeps/i386/fpu/e_logl.S: Likewise.
60202         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60203         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60204         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60205         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60206         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60207         * sysdeps/i386/fpu/e_log.S: Likewise.
60208         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60209         * sysdeps/i386/fpu/e_logf.S: Likewise.
60210         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60211         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60212         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60213         * sysdeps/i386/fpu/e_log10.S: Likewise.
60214         * sysdeps/i386/fpu/s_frexp.S: Likewise.
60215         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60216         * sysdeps/i386/fpu/s_asinh.S: Likewise.
60217         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60218         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60219         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
60220         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60221         * sysdeps/i386/i686/strtok.S: Likewise.
60222         * sysdeps/i386/i386-mcount.S: Likewise.
60223         * sysdeps/i386/strtok.S: Likewise.
60224         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
60225         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60226         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60227         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60228         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60229         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60230         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60231         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60232         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60233         * sysdeps/x86_64/_mcount.S: Likewise.
60234         * sysdeps/x86_64/strtok.S: Likewise.
60235         * sysdeps/sh/_mcount.S: Likewise.
60237 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60239         * libio/iofopen.c: Include <fcntl.h>.
60240         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
60241         (_IO_fopen64, fopen64): Define as aliases.
60242         * libio/iofopen64.c: Include <fcntl.h>.
60243         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
60244         Conditionalize body on this.
60245         * sysdeps/wordsize-64/iofopen.c: File removed.
60246         * sysdeps/wordsize-64/iofopen64.c: File removed.
60248 2012-08-01  Marek Polacek  <polacek@redhat.com>
60250         * libc/Makeconfig: Use elf in place of binfmt-subdir.
60251         Use dlfcn directly instead of a variable.
60252         (binfmt-subdir): Do not define.
60253         (dlfcn): Likewise.
60255 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
60257         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
60258         Remove all definitions.
60259         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
60260         <kernel-features.h>.
60261         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60262         (miss_F_GETOWN_EX): Remove all definitions.
60263         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
60264         macro definition.
60265         [!__ASSUME_FCNTL64]: Remove conditional code.
60266         [__ASSUME_FCNTL64]: Make code unconditional.
60267         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
60268         <kernel-features.h>.
60269         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60270         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
60271         (lockf64) [__NR_fcntl64]: Make code unconditional.
60272         (lockf64) [__ASSUME_FCNTL64]: Likewise.
60274         * sysdeps/unix/sysv/linux/kernel-features.h
60275         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
60276         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
60277         Make code unconditional.
60278         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60279         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
60281         [__NR_vfork]: Make code unconditional.
60282         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60283         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
60285         [__NR_vfork]: Make code unconditional.
60286         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60287         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60289 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60291         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
60292         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
60294         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60295         Define mkstemp64 as an alias.
60296         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60297         Define mkstemps64 as an alias.
60298         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60299         Define mkostemp64 as an alias.
60300         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60301         Define mkostemps64 as an alias.
60302         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
60303         Conditionalize body on this.
60304         * misc/mkostemp64.c: Likewise.
60305         * misc/mkostemps64.c: Likewise.
60306         * misc/mkstemps64.c: Likewise.
60307         * sysdeps/wordsize-64/mkstemp64.c: File removed.
60308         * sysdeps/wordsize-64/mkostemp64.c: File removed.
60309         * sysdeps/wordsize-64/mkostemp.c: File removed.
60310         * sysdeps/wordsize-64/mkstemp.c: File removed.
60311         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
60312         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
60313         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
60314         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
60316         [BZ #14138]
60317         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
60318         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
60319         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
60320         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
60322         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
60323         compat_symbol macros from <shlib-compat.h> rather than the underlying
60324         default_symbol_version and symbol_version macros, so that DEFAULT
60325         lines in shlib-versions are respected.
60326         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
60328 2012-08-01  Florian Weimer  <fweimer@redhat.com>
60330         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
60331         Declare with warn_unused_result.
60332         (setgid, setregid, setegid, setresgid): Likewise.
60333         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
60334         Likewise.
60335         * WUR-REPORT: Remove set*id functions.
60337 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
60339         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
60341 2012-07-31  Roland McGrath  <roland@hack.frob.com>
60343         [BZ #10191]
60344         * include/sys/socket.h (__libc_accept, __libc_accept4):
60345         Add attribute_hidden.
60346         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
60348         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
60349         use of PTR_MANGLE.
60350         * inet/getnetgrent_r.c (setup): Likewise.
60352         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
60354 2012-07-31  David S. Miller  <davem@davemloft.net>
60356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60358 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
60360         [BZ #13629]
60361         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
60362         value between 1.0 and 2.0 and smaller part has absolute value less
60363         than 1.0.
60364         * math/s_clog10.c (__clog10): Likewise.
60365         * math/s_clog10f.c (__clog10f): Likewise.
60366         * math/s_clog10l.c (__clog10l): Likewise.
60367         * math/s_clogf.c (__clogf): Likewise.
60368         * math/s_clogl.c (__clogl): Likewise.
60369         * math/libm-test.inc (clog_test): Add more tests.
60370         (clog10_test): Likewise.
60371         * sysdeps/i386/fpu/libm-test-ulps: Update.
60372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60374 2012-07-31  Florian Weimer  <fweimer@redhat.com>
60376         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
60377         Exit with zero in case no suitable GID is found, and write a
60378         message to standard error.
60380 2012-07-30  Roland McGrath  <roland@hack.frob.com>
60382         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
60383         rather than to 1.
60384         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
60385         (MAXPATHLEN): Removed.
60386         (NOGROUP, NODEV): New macros.
60387         (setbit, clrbit, isset, isclr): New macros.
60388         (howmany, roundup, powerof2): New macros.
60389         (DEV_BSIZE): New macro.
60391         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
60392         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
60394         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
60395         definition on [!__NO_LONG_DOUBLE_MATH].
60397         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
60398         PTR_MANGLE and PTR_DEMANGLE.
60400         * socket/accept4.c (accept4): Rename to __libc_accept4.
60401         Define accept4 as a weak alias.
60403         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
60404         on [_DIRENT_HAVE_D_TYPE].
60405         * io/ftw.c (ftw_dir): Likewise.
60407         * io/xmknod.c (__xmknod): Don't check PATH for being null.
60409         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
60411         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
60412         Use the BSD numbers rather than the arbitrary ones we had.
60413         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
60414         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
60415         (SIGXCPU, SIGXFSZ): New macros.
60416         (_NSIG): Now 32.
60418         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
60419         initializer on [_LIBC_REENTRANT].
60421         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
60422         definitions inside [_POSIX_MAPPED_FILES].
60424         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
60426         * dirent/opendir.c: Include <fcntl.h>.
60428         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
60429         (__libc_getspecific): Likewise.
60430         (__libc_key_create): Likewise.
60432         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
60433         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
60434         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
60435         (tmpfile64): Define as alias.
60436         * sysdeps/wordsize-64/tmpfile.c: File removed.
60437         * sysdeps/wordsize-64/tmpfile64.c: File removed.
60438         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
60439         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
60441         * stdio-common/vfscanf.c: Include <stdbool.h>.
60442         * nss/makedb.c: Likewise.
60443         * stdio-common/_i18n_number.h: Likewise.
60444         * argp/argp-help.c: Likewise.
60445         * posix/wordexp.c: Likewise.
60446         * sysdeps/posix/spawni.c: Likewise.
60447         * nss/nss_files/files-initgroups.c: Likewise.
60448         * stdio-common/reg-modifier.c: Include <stdlib.h>.
60449         * nss/nss_files/files-initgroups.c: Likewise.
60450         * nss/nss_db/db-netgrp.c: Likewise.
60451         * nss/nss_db/db-initgroups.c: Likewise.
60452         * io/fchmodat.c: Include <sys/stat.h>.
60454         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
60455         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
60457         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
60458         [HAVE_MMAP].
60460         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
60461         Add multiple inclusion protection.
60463 2012-07-27  David S. Miller  <davem@davemloft.net>
60465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60467 2012-07-27  Gary Benson  <gbenson@redhat.com>
60469         [BZ #14298]
60470         * elf/rtld.c: Include <stap-probe.h>.
60471         (dl_main): Added static probes "init_start" and "init_complete".
60472         * elf/dl-load.c: Include <stap-probe.h>.
60473         (lose): Take new parameter "nsid".
60474         Added static probe "map_failed".
60475         (_dl_map_object_from_fd): Pass namespace id to lose.
60476         Added static probe "map_start".
60477         (open_verify): Pass namespace id to lose.
60478         * elf/dl-open.c: Include <stap-probe.h>.
60479         (dl_open_worker) Added static probes "map_complete", "reloc_start"
60480         and "reloc_complete".
60481         * elf/dl-close.c: Include <stap-probe.h>.
60482         (_dl_close_worker): Added static probes "unmap_start" and
60483         "unmap_complete".
60484         * elf/rtld-debugger-interface.txt: New file documenting the above.
60486 2012-07-26  Roland McGrath  <roland@hack.frob.com>
60488         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
60489         rather than a string variable.
60490         * sunrpc/rpc_main.c (h_output): Likewise.
60491         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
60493 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
60495         * inet/check_native.c: New file.
60497 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
60499         [BZ #13629]
60500         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
60501         if larger part has absolute value 1.0.
60502         * math/s_clog10.c (__clog10): Likewise.
60503         * math/s_clog10f.c (__clog10f): Likewise.
60504         * math/s_clog10l.c (__clog10l): Likewise.
60505         * math/s_clogf.c (__clogf): Likewise.
60506         * math/s_clogl.c (__clogl): Likewise.
60507         * math/libm-test.inc (clog_test): Add more tests.
60508         (clog10_test): Likewise.
60509         * sysdeps/i386/fpu/libm-test-ulps: Update.
60510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60512         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
60513         (pltexit): Likewise.
60514         (La_regs): Likewise.
60515         (La_retval): Likewise.
60516         (int_retval): Likewise.
60517         Update #error for removed macros to refer only to definitions in
60518         tst-audit.h.
60519         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.c (pltenter): Remove all definitions of
60538         macro.
60539         (pltexit): Likewise.
60540         (La_regs): Likewise.
60541         (La_retval): Likewise.
60542         (int_retval): Likewise.
60543         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
60544         macro.
60545         (pltexit): Likewise.
60546         (La_regs): Likewise.
60547         (La_retval): Likewise.
60548         (int_retval): Likewise.
60549         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
60550         macro.
60551         (pltexit): Likewise.
60552         (La_regs): Likewise.
60553         (La_retval): Likewise.
60554         (int_retval): Likewise.
60555         * sysdeps/generic/tst-audit.h: Update comment to refer only to
60556         macro definitions in tst-audit.h.
60557         * sysdeps/i386/tst-audit.h: New file.
60558         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
60559         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
60560         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
60561         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
60562         * sysdeps/sh/tst-audit.h: Likewise.
60563         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
60564         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
60565         * sysdeps/x86_64/tst-audit.h: Likewise.
60567 2012-07-26  Andreas Jaeger  <aj@suse.de>
60569         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
60570         ptrace.
60572         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
60573         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
60574         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
60575         PTRACE_O_MASK.
60576         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
60577         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
60578         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
60580         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
60581         value.
60583         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
60584         _sigsys.
60585         (si_call_addr, si_syscall, si_arch): Define new macro.
60586         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
60587         _sigsys.
60588         (si_call_addr, si_syscall, si_arch): Define new marcro.
60589         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
60590         _sigsys.
60591         (si_call_addr, si_syscall, si_arch): Define new macro.
60592         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
60593         _sigsys.
60594         (si_call_addr, si_syscall, si_arch): Define new macro.
60596 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60598         [BZ #13717]
60599         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60600         Change to 2.4.21 where previously 2.4.1.
60601         * sysdeps/unix/sysv/linux/configure: Regenerated.
60602         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
60603         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
60604         Linux kernel version.
60605         (__ASSUME_STD_AUXV): Remove.
60606         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
60607         kernel version.
60608         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
60609         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
60610         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
60611         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
60612         (__ASSUME_NETLINK_SUPPORT): Likewise.
60613         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
60614         (__no_netlink_support): Remove conditional definition.
60615         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
60616         Remove.
60617         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60618         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
60619         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
60620         (if_nameindex_ioctl): Remove.
60621         (if_nameindex_netlink): Do not handle __no_netlink_support.
60622         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60623         code.
60624         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
60625         Remove conditional code.
60626         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60627         code.
60628         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
60629         unconditional.
60630         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60631         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
60632         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
60633         Remove.
60634         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
60635         [!__ASSUME_STD_AUXV]: Remove conditional code.
60636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
60637         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
60638         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
60639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
60640         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
60641         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60642         code.
60643         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60645         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
60646         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60647         conditional code.
60648         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60650         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60651         code.
60652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60653         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60654         conditional code.
60655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
60656         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60657         code unconditional.
60658         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60659         conditional code.
60660         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60661         unconditional.
60662         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60663         conditional code.
60664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60665         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60666         unconditional.
60667         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60668         conditional code.
60669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60670         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60671         code unconditional.
60672         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60673         conditional code.
60674         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60675         unconditional.
60676         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60677         conditional code.
60678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60679         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60680         code unconditional.
60681         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60682         conditional code.
60683         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60684         unconditional.
60685         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60686         conditional code.
60688 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
60690         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60691         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60692         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60693         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60694         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60695         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60696         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60697         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60698         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60699         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60700         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60701         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60702         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60703         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60704         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60705         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60706         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60707         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60708         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60709         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60710         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60711         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60712         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60714 2012-07-25  Florian Weimer  <fweimer@redhat.com>
60716         * Versions.def: Add GLIBC_2.17.
60717         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60718         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60719         Introduce __libc_secure_getenv.
60720         * stdlib/Versions (2.17): Add secure_getenv
60721         (GLIBC_PRIVATE): Add __libc_secure_getenv.
60722         * stdlib/secure-getenv.c: Rename __secure_getenv to
60723         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
60724         symbol __secure_getenv for GLIBC_2.0.
60725         * stdlib/tst-secure-getenv.c: New.
60726         * stdlib/Makefile (tests): Add testcase.
60727         * manual/startup.texi (Environment Access): Document
60728         secure_getenv.
60729         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60730         __libc_secure_getenv.
60731         * inet/ruserpass.c (ruserpass): Likewise.
60732         * malloc/mtrace.c (mtrace): Likewise.
60733         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60734         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60735         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60736         * sysdeps/posix/tempname.c: Likewise.  Evaluate
60737         HAVE_SECURE_GETENV.
60738         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60739         __secure_getenv to __libc_secure_getenv.
60740         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60742         Likewise.
60743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60744         Likewise.
60745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60747         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60753 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60755         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60756         (struct La_i86_retval): Likewise.
60757         (struct La_x86_64_regs): Likewise.
60758         (struct La_x86_64_retval): Likewise.
60759         (struct La_x32_regs): Likewise.
60760         (struct La_x32_retval): Likewise.
60761         (struct La_ppc32_regs): Likewise.
60762         (struct La_ppc32_retval): Likewise.
60763         (struct La_ppc64_regs): Likewise.
60764         (struct La_ppc64_retval): Likewise.
60765         (struct La_sh_regs): Likewise.
60766         (struct La_sh_retval): Likewise.
60767         (struct La_s390_32_regs): Likewise.
60768         (struct La_s390_32_retval): Likewise.
60769         (struct La_s390_64_regs): Likewise.
60770         (struct La_s390_64_retval): Likewise.
60771         (struct La_sparc32_regs): Likewise.
60772         (struct La_sparc32_retval): Likewise.
60773         (struct La_sparc64_regs): Likewise.
60774         (struct La_sparc64_retval): Likewise.
60775         (struct audit_ifaces): Remove architecture-specific pltenter and
60776         pltexit members.
60777         * sysdeps/i386/ldsodefs.h: New file.
60778         * sysdeps/powerpc/ldsodefs.h: Likewise.
60779         * sysdeps/s390/ldsodefs.h: Likewise.
60780         * sysdeps/sh/ldsodefs.h: Likewise.
60781         * sysdeps/sparc/ldsodefs.h: Likewise.
60782         * sysdeps/x86_64/ldsodefs.h: Likewise.
60784 2012-07-25  Marek Polacek  <polacek@redhat.com>
60786         [BZ #6808]
60787         * math/libm-test.inc (yn_test): Add another test.
60788         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60789         to ERANGE when the result is +-Inf.
60790         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60791         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60792         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60793         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60795 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
60797         * conform/data/time.h-data (NULL): Use macro-constant.  Require
60798         equal to 0.
60799         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
60800         clock_t.
60801         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
60803 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
60805         * configure.in <sysdeps resolving>: Correct printing
60806         Implies_before.
60807         * configure: Regenerate.
60809 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
60811         * math/w_ilogb.c: Include <limits.h>.
60812         * math/w_ilogbl.c: Likewise.
60814 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60816         * manual/lang.texi (__va_copy): Document primarily as ISO C99
60817         va_copy.  Document allowing for unavailable va_copy only as
60818         pre-C99 compatibility.
60819         * manual/string.texi (Copying and Concatenation): Use va_copy
60820         instead of __va_copy in concat example.
60822 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
60824         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60825         (__sendto): Use create_address_port.  Initialize APORT and deallocate
60826         it if not null.
60828         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60829         with O_NOLINK passed to __file_name_lookup.
60831         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60832         with O_NOLINK passed to __file_name_lookup.
60834         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60835         negative N or less than NGIDS.
60837         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60838         type to string_t.  Set ERANGE as errno and return it if NAME is not big
60839         enough.  Use memcpy instead of strncpy.
60841 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60843         * elf/Makefile (check-data): Remove.
60844         (localplt.data): New vpath directive.
60845         ($(objpfx)check-localplt.out): Use localplt.data from vpath
60846         instead of $(check-data).
60847         * scripts/data/localplt-generic.data: Move to ...
60848         * sysdeps/generic/localplt.data: ... here.
60849         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60850         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60851         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60853         ... here.
60854         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60856         ... here.
60857         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60859         ... here.
60860         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60862         ... here.
60863         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60865         ... here.
60866         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60868         ... here.
60870 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60872         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60873         PPC32 and PPC64 files.
60874         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60875         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60877 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60879         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60880         __makecontext_ret to ...
60881         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60882         ... here and call exit if uc_link is NULL.  New file.
60883         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60884         __makecontext_ret.S.
60885         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60886         __makecontext_ret to ...
60887         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60888         ... here and call exit if uc_link is NULL.  New file.
60889         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60890         __makecontext_ret.S.
60892 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60894         * elf/elf.h (R_390_IRELATIVE): New definition.
60895         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60896         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
60897         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60898         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60899         (elf_machine_lazy_rel): Likewise.
60900         * sysdeps/s390/dl-irel.h: New file.
60901         * sysdeps/s390/s390-64/memcpy.S: New asm code.
60902         * sysdeps/s390/s390-64/memset.S: New asm code.
60903         * sysdeps/s390/s390-64/memcmp.S: New asm code.
60904         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60905         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60906         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60907         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60908         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60909         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60910         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60911         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60912         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60913         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60914         * sysdeps/s390/s390-32/memcpy.S: New asm code.
60915         * sysdeps/s390/s390-32/memset.S: New asm code.
60916         * sysdeps/s390/s390-32/memcmp.S: New asm code.
60918 2012-07-17  Marek Polacek  <polacek@redhat.com>
60920         [BZ #14349]
60921         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60922         * sysdeps/s390/s390-64/configure.in: Likewise.
60923         * sysdeps/sparc/configure.in: Likewise.
60924         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60925         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60926         * sysdeps/i386/configure.in: Likewise.
60927         * sysdeps/x86_64/configure.in: Likewise.
60928         * sysdeps/sh/configure.in: Likewise.
60929         * sysdeps/s390/s390-32/configure: Regenerated.
60930         * sysdeps/s390/s390-64/configure: Likewise.
60931         * sysdeps/x86_64/configure: Likewise.
60932         * sysdeps/sh/configure: Likewise.
60933         * sysdeps/powerpc/powerpc64/configure: Likewise.
60934         * sysdeps/powerpc/powerpc32/configure: Likewise.
60935         * sysdeps/sparc/configure: Likwise.
60936         * sysdeps/i386/configure: Likewise.
60938         * elf/dl-open.c: Comment fixes.
60940 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
60942         * Makefile [CXX] (check-data): Remove.
60943         [CXX] (c++-types.data): New vpath directive.
60944         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60945         vpath.  Do not allow for C++ type data being missing.
60946         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60947         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60948         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60949         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60950         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60951         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60952         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60954         ... here.
60955         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60957         ... here.
60958         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60960         ... here.
60961         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60963         ... here.
60964         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60966         ... here.
60967         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60969         ... here.
60970         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60972         ... here.
60973         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60976         * elf/tls-macros.h (TLS_LE): Move architecture-specific
60977         definitions to architecture-specific files.
60978         (TLS_IE): Likewise.
60979         (TLS_LD): Likewise.
60980         (TLS_GD): Likewise.
60981         * sysdeps/i386/tls-macros.h: New file.
60982         * sysdeps/powerpc/tls-macros.h: Likewise.
60983         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60984         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60985         * sysdeps/sh/tls-macros.h: Likewise.
60986         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60987         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60988         * sysdeps/x86_64/tls-macros.h: Likewise.
60990 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60992         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60993         zero value for regular exit case.
60995         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60996         (__start_context): Preserve zero value for regular exit case.
60998 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60999             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61001         * manual/setjmp.texi (setcontext): Clarify normal process
61002         termination when uc_link is the null pointer.
61003         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
61004         exit call.
61006 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
61008         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
61009         preprocessor.  Test for each exception mask separately.
61011 2012-07-16  Andreas Jaeger  <aj@suse.de>
61013         * po/ru.po: Update from translation team.
61015 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
61017         * conform/data/string.h-data (NULL): Use macro-constant.  Require
61018         equal to 0.
61019         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61020         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61021         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
61022         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
61023         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61025 2012-07-13  Andreas Jaeger  <aj@suse.de>
61027         * po/fr.po: Update from translation team.
61029 2012-07-12  Marek Polacek  <polacek@redhat.com>
61031         [BZ #14173]
61032         * math/libm-test.inc (yn_test): Add test for BZ #14173.
61033         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
61034         loop condition.
61036 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
61038         [BZ #13717]
61039         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61040         Change to 2.4.1 where previously 2.4.0.
61041         * sysdeps/unix/sysv/linux/configure: Regenerated.
61042         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
61043         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
61044         version.
61045         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
61046         (__ASSUME_AT_CLKTCK): Remove.
61047         (__ASSUME_AT_PAGESIZE): Likewise.
61048         (__ASSUME_AT_XID): Likewise.
61049         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
61050         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
61051         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
61052         unconditionally.
61053         (HAVE_AUX_PAGESIZE): Likewise.
61054         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
61055         [__ASSUME_AT_CLKTCK]: Make code unconditional.
61056         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
61058 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
61060         [BZ #14307]
61061         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
61062         the temporary buffer used to invoke __gethostbyname2_r,
61063         __gethostbyaddr_r and gethostbyname4_r to make room for struct
61064         host_data / struct gaih_addrtuple.
61065         * resolv/nss_dns/dns-host.c (global scope): Move definition of
61066         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
61067         header file nss/nsswitch.h.
61068         * nss/nsswitch.h (global scope): Add definition of implementation
61069         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
61070         resolv/nss_dns/dns-host.c).
61072 2012-07-11  Andreas Jaeger  <aj@suse.de>
61074         * po/fr.po: Update from translation team.
61076         * po/sv.po: Update from translation team
61077         * po/fr.po: Another update from translation team.
61079 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61081         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
61082         for subnormals or multiply small sinh result by itself.
61083         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61086 2012-07-11  David S. Miller  <davem@davemloft.net>
61088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61090 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
61092         [BZ #14347]
61093         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
61094         (INTERNAL_MARK): Shift it here.
61096 2012-07-10  Marek Polacek  <polacek@redhat.com>
61098         [BZ #14151]
61099         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
61100         libc_cv_asm_global_directive with .globl.
61101         * configure: Regenerated.
61102         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
61103         with .globl.
61104         * sysdeps/i386/configure: Regenerated.
61105         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
61106         with .globl.
61107         * sysdeps/x86_64/configure: Regenerated.
61108         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
61109         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
61110         * elf/tst-unique2mod2.c: Likewise.
61111         * elf/tst-unique2mod1.c: Likewise.
61112         * elf/tst-unique1mod2.c: Likewise.
61113         * elf/tst-unique1mod1.c: Likewise.
61114         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61115         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61116         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61117         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61118         * sysdeps/mach/sysdep.h: Likewise.
61119         * sysdeps/i386/sysdep.h: Likewise.
61120         * sysdeps/i386/i386-mcount.S: Likewise.
61121         * sysdeps/x86_64/_mcount.S: Likewise.
61122         * sysdeps/x86_64/sysdep.h: Likewise.
61123         * sysdeps/sh/_mcount.S: Likewise.
61124         * sysdeps/sh/sysdep.h: Likewise.
61125         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
61126         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
61127         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
61128         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61129         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
61130         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
61131         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
61132         * locale/localeinfo.h: Likewise.
61133         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
61134         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
61136 2012-07-09  Roland McGrath  <roland@hack.frob.com>
61138         [BZ #14336]
61139         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
61140         system".
61141         * manual/message.texi (The Uniforum approach): Likewise.
61142         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
61143         (glibc iconv Implementation): Likewise.
61145 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
61147         [BZ #14337]
61148         * math/s_clog.c (__clog): Avoid scaling a value down where that
61149         could result in underflow.
61150         * math/s_clog10.c (__clog10): Likewise.
61151         * math/s_clog10f.c (__clog10f): Likewise.
61152         * math/s_clog10l.c (__clog10l): Likewise.
61153         * math/s_clogf.c (__clogf): Likewise.
61154         * math/s_clogl.c (__clogl): Likewise.
61155         * math/libm-test.inc (clog_test): Add more tests.
61156         (clog10_test): Likewise.
61157         * sysdeps/i386/fpu/libm-test-ulps: Update.
61158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61160 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
61162         [BZ #14283]
61163         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
61164         by 7 not 8 to examine high bit of fractional part.
61166         [BZ #14042]
61167         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
61168         for call to __mcount_internal.
61169         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
61170         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
61171         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
61173 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
61175         [BZ #14154]
61176         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
61177         approximation for values within 0x1p-13f of an odd multiple of
61178         pi/4.
61179         * math/libm-test.inc (tan_test): Do not allow spurious underflow
61180         exception.  Add more tests.
61181         * sysdeps/i386/fpu/libm-test-ulps: Update.
61183         [BZ #6778]
61184         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
61185         inputs and return -1 for them.  Do not check for +Inf in case not
61186         reachable for +Inf.
61187         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
61188         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
61189         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61190         and return -1 for them.  Do not check for +Inf in case not
61191         reachable for +Inf.
61192         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
61193         define.
61194         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61195         and return -1 for them.  Do not check for +Inf in case not
61196         reachable for +Inf.
61197         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
61198         spurious underflow.
61199         * sysdeps/i386/fpu/libm-test-ulps: Update.
61200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61202 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
61204         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
61206 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
61208         [BZ #14157]
61209         [BZ #14331]
61210         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
61211         could result in spurious underflow.  Scale down values above
61212         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
61213         * math/s_csqrtf.c (__csqrtf): Likewise.
61214         * math/s_csqrtl.c (__csqrtl): Likewise.
61215         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
61216         spurious underflow.
61217         * sysdeps/i386/fpu/libm-test-ulps: Update.
61218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61220 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
61222         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
61223         xopen-msg.sed.
61224         * catgets/xopen-msg.awk: New file.
61225         * catgets/xopen-msg.sed: Removed.
61227         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
61228         po2text.sed.
61229         * intl/po2test.awk: New file.
61230         * intl/po2test.sed: Removed.
61232 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
61234         [BZ #14328]
61235         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
61236         or multiply small sinh result by itself.
61237         * math/s_ctanf.c (__ctanf): Likewise.
61238         * math/s_ctanh.c (__ctanh): Likewise.
61239         * math/s_ctanhf.c (__ctanhf): Likewise.
61240         * math/s_ctanhl.c (__ctanhl): Likewise.
61241         * math/s_ctanl.c (__ctanl): Likewise.
61242         * math/libm-test.inc (ctan_test_tonearest): New function.
61243         (ctan_test_towardzero): Likewise.
61244         (ctan_test_downward): Likewise.
61245         (ctan_test_upward): Likewise.
61246         (ctanh_test_tonearest): Likewise.
61247         (ctanh_test_towardzero): Likewise.
61248         (ctanh_test_downward): Likewise.
61249         (ctanh_test_upward): Likewise.
61250         (main): Call these new functions.
61251         * sysdeps/i386/fpu/libm-test-ulps: Update.
61252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61254 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
61256         * .gitignore: Delete /ports entry.
61258 2012-07-03  Andreas Jaeger  <aj@suse.de>
61260         * po/bg.po: Update from translation team.
61261         * po/cs.po: Likewise.
61262         * po/de.po: Likewise.
61263         * po/hr.po: Likewise.
61264         * po/nl.pl: Likewise.
61265         * po/pl.po: Likewise.
61266         * po/vi.po: Likewise.
61268 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
61270         * Makeconfig [!+link] (+link-before-libc): New variable.
61271         [!+link] (+link-after-libc): Likewise.
61272         [!+link] (+link-tests): Likewise.
61273         [!+link] (+link): Define in terms of $(+link-before-libc) and
61274         $(+link-after-libc).
61275         [!+link-static] (+link-static-before-libc): New variable.
61276         [!+link-static] (+link-static-after-libc): Likewise.
61277         [!+link-static] (+link-static-tests): Likewise.
61278         [!+link-static] (+link-static): Define in terms of
61279         $(+link-static-before-libc) and $(+link-static-after-libc).
61280         [build-shared] (link-libc-before-gnulib): New variable.
61281         [build-shared] (link-libc-tests): Likewise.
61282         [build-shared] (link-libc): Define in terms of
61283         $(link-libc-before-gnulib).
61284         [!build-shared] (link-libc-tests): New variable.
61285         (link-libc-static-tests): New variable.
61286         [!gnulib] (gnulib-arch): New variable.
61287         [!gnulib] (gnulib-tests): Likewise.
61288         [!gnulib] (static-gnulib-arch): Likewise.
61289         [!gnulib] (static-gnulib-tests): Likewise.
61290         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
61291         Define with "=" instead of ":=".
61292         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
61293         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
61294         * Rules (binaries-all-notests): New variable.
61295         (binaries-all-tests): Likewise.
61296         (binaries-static-notests): Likewise.
61297         (binaries-static-tests): Likewise.
61298         (binaries-all): Define using $(binaries-all-notests) and
61299         $(binaries-all-tests).
61300         (binaries-static): Define using $(binaries-static-notests) and
61301         $(binaries-static-tests).
61302         (binaries-shared-tests): New variable.
61303         (binaries-shared-notests): Likewise.
61304         (binaries-shared): Remove variable.
61305         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
61306         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
61307         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
61308         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
61309         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
61310         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
61311         * elf/Makefile (sln-modules): New variable.
61312         (extra-objs): Add $(sln-modules:=.o).
61313         (ldconfig-modules): Add static-stubs.
61314         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
61315         * elf/static-stubs.c: New file.
61317         [BZ #14283]
61318         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
61319         by 7 not 8 to examine high bit of fractional part.  Use volatile
61320         variables when splitting into final array of floats if
61321         __FLT_EVAL_METHOD__ != 0.
61322         * math/libm-test.inc (cos_test): Add another test.
61323         (sin_test): Likewise.
61324         * sysdeps/i386/fpu/libm-test-ulps: Update.
61326         [BZ #14273]
61327         * math/libm-test.inc (cosh_test): Add more tests.
61329         * version.h (RELEASE): Set to "development".
61330         (VERSION): Set to "2.16.90".
61332 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
61334         * NEWS: Update copyright. Remove last-updated date.
61335         Mention math library bug fixes and timezone data changes.
61336         * README: Mention GNU/Hurd, x32, and HPPA support status.
61338 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
61340         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
61342 2012-06-27  Andreas Jaeger  <aj@suse.de>
61344         * manual/contrib.texi (Contributors): Add Samuel Thibault.
61346 2012-06-25  Andreas Jaeger  <aj@suse.de>
61348         * sysdeps/s390/fpu/libm-test-ulps: Update.
61350 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
61351             Thomas Schwinge  <thomas@codesourcery.com>
61353         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
61354         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
61355         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
61356         fanotify_mark.
61358 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
61360         * sysdeps/mach/start.c: Remove file.
61361         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
61362         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
61363         * sysdeps/sh/init-first.c: Likewise.
61365         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
61366         registers for frame unwinding purposes, add CFI directives.
61367         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61368         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
61369         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
61370         Likewise.
61372         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
61373         __fortify_fail returning.
61374         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61376         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
61377         sysdeps/sh/____longjmp_chk.S.
61378         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
61379         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
61380         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
61381         (gen-as-const-headers): Append sigaltstack-offsets.sym.
61383         * sysdeps/sh/abort-instr.h: New file.
61384         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
61385         process in case exit returns.
61387         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
61388         initialize the GOT register before use.
61390         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
61391         calculation of ARGC > 4.
61393         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
61394         meaningful names to some local labels.
61396 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61397             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61399         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
61400         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
61401         (__arch_compare_and_exchange_val_16_acq): Likewise.
61402         (__arch_compare_and_exchange_val_32_acq): Likewise.
61403         (atomic_exchange_and_add): Fix gUSA sequence.
61404         (atomic_add): Likewise.
61405         (atomic_add_negative): Likewise.
61406         (atomic_add_zero): Likewise.
61407         (atomic_bit_test_set): Likewise.
61409 2012-06-22  Andreas Schwab  <schwab@redhat.com>
61411         [BZ #13579]
61412         * include/link.h (struct link_map): Add l_free_initfini.
61413         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
61414         l_initfini.
61415         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
61416         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
61417         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
61418         set.
61420 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
61422         * configure.in: Use AC_LANG_SOURCE.
61423         * configure: Regenerate.
61425 2012-06-22  Roland McGrath  <roland@hack.frob.com>
61427         * configure.in (libc_cv_localstatedir): New substituted variable.
61428         * configure: Regenerated.
61429         * config.make.in (localstatedir): New variable, substituted from
61430         libc_cv_localstatedir.
61431         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
61432         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
61433         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
61434         * sysdeps/gnu/configure: Regenerated.
61436 2012-06-21  Jeff Law  <law@redhat.com>
61438         [BZ #14277]
61439         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
61440         free.  Simplify list management for _LIBC case.
61442 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
61444         [BZ #14273]
61445         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
61446         Clear sign bit of 64-bit integer value before comparing against
61447         overflow value.
61449         * sysdeps/mach/configure: Regenerated.
61451 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
61453         [BZ #14278]
61454         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
61456 2012-06-21  Jeff Law  <law@redhat.com>
61458         [BZ #13882]
61459         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
61460         uint16_t for elements in the "seen" array to avoid char overflows.
61461         * elf/dl-fini.c (_dl_sort_fini): Likewise.
61462         * elf/dl-open.c (dl_open_worker): Likewise.
61464 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
61466         * scripts/list-sources.sh: Scan PORTS for translations.
61467         * po/libc.pot: Regenerated.
61469 2012-06-21  Andreas Jaeger  <aj@suse.de>
61471         [BZ #12194]
61472         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
61473         warning.
61474         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
61475         * bits/byteswap-16.h (__bswap_16): Likewise.
61476         * bits/byteswap.h (__bswap_constant_16): Likewise.
61478 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
61480         [BZ #14117]
61481         * sysdeps/i386/fpu_control.h: Removed.
61482         * sysdeps/x86_64/fpu_control.h: Moved to ...
61483         * sysdeps/x86/fpu_control.h: Here.
61485         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
61486         (_FPU_SETCW): Likewise.
61488 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
61490         [BZ #14117]
61491         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
61492         * sysdeps/x86/fpu/bits/mathinline.h: This.
61493         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
61495         [BZ #14050]
61496         [BZ #14117]
61497         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
61498         functions if __x86_64__ is defined.
61500 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
61502         * string/endian.h: Add !__ASSEMBLER__ condition for including
61503         conversion interfaces.
61505 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
61507         [BZ #14241]
61508         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
61509         of ABS(x) in calculating zero to negative powers other than odd
61510         integers.
61511         * math/libm-test.inc (pow_test): Add more tests.
61513 2012-06-15  Andreas Jaeger  <aj@suse.de>
61515         * manual/contrib.texi (Contributors): Update entry of Liubov
61516         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
61517         Machado Filho.
61519 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
61521         * string/string.h: Add __wur to GNU version of strerror_r.
61523 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
61525         [BZ #14229]
61526         * string/Makefile (tests): Add tst-strtok_r.
61527         * string/tst-strtok_r.c: New file.
61528         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
61529         RAX_LP/RDX_LP on SAVE_PTR.
61531 2012-06-14  Roland McGrath  <roland@hack.frob.com>
61533         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
61535 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
61537         * libm_test.inc (csqrt_test): Allow more spurious underflow
61538         exceptions.
61539         (j0_test): Likewise.
61540         (j1_test): Likewise.
61541         (y0_test): Likewise.
61542         (y1_test): Likewise.
61544 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
61546         * po/Makefile (libc.pot): Use UTF-8 charset.
61548 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
61550         [BZ #14210]
61551         Suppress sign-conversion warning from FD_SET.
61552         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
61553         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
61554         not unsigned long int.
61555         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
61557 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
61559         [BZ #14050]
61560         [BZ #14117]
61561         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
61562         __extern_always_inline instead of __extern_inline.
61563         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
61564         (__signbit): Likewise.
61565         (__signbitl): Support C++ namespace.
61566         (lrintf): New inline function.
61567         (lrint): Likewise.
61568         (llrintf): Likewise.
61569         (llrint): Likewise.
61570         (fmaxf): Likewise.
61571         (fmax): Likewise.
61572         (fminf): Likewise.
61573         (fmin): Likewise.
61574         (rint): Likewise.
61575         (rintf): Likewise.
61576         (ceil): Likewise.
61577         (ceilf): Likewise.
61578         (floor): Likewise.
61579         (floorf): Likewise.
61580         (nearbyint): Likewise.
61581         (nearbyintf): Likewise.
61583 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
61585         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
61586         non-default versions.
61588 2012-06-11  Roland McGrath  <roland@hack.frob.com>
61590         [BZ #14218]
61591         * manual/argp.texi (Argp): Reword argp_parse description slightly.
61593 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
61595         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
61596         (FE_UPWARD, FE_DOWNWARD): Don't define.
61597         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
61598         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61600         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
61601         reading it.
61602         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61603         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61605 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61607         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61608         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
61609         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
61610         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
61612 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
61614         [BZ #14117]
61615         * sysdeps/i386/fpu/bits/fenv.h: Removed.
61616         * sysdeps/i386/fpu/Implies: New file.
61617         * sysdeps/x86_64/fpu/Implies: Likewise.
61618         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
61619         * sysdeps/x86/fpu/bits/fenv.h: This.
61621         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
61622         __SSE_MATH__.
61624 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
61626         [BZ #14134]
61627         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
61628         character 0xffff that matches the last element of the
61629         conversion table.
61631 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61633         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
61634         fmodl commit.
61636 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61638         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
61639         values higher than 25.6283.
61641 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61643         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
61644         subnormal exponent extraction and add some __builtin_expect.
61645         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
61646         Fix for subnormal mantissa calculation.
61648 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
61650         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
61651         cpu2 is -1 and errno is not ENOSYS.
61653 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
61655         [BZ #14117]
61656         * sysdeps/i386/i486/bits/string.h: Renamed to ...
61657         * sysdeps/x86/bits/string.h: This.
61658         * sysdeps/x86_64/bits/string.h: Removed.
61660         * sysdeps/i386/i486/bits/string.h: Define inline functions only
61661         if not compiling for x86-64, but compiling for >= i486.
61663         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
61664         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
61666         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
61667         New macro from Linux kernel 3.4.0.
61668         (FP_XSTATE_MAGIC2): Likewise.
61669         (FP_XSTATE_MAGIC2_SIZE): Likewise.
61670         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
61671         (struct _fpx_sw_bytes): New struct.
61672         (struct _xsave_hdr): Likewise.
61673         (struct _ymmh_state): Likewise.
61674         (struct _xstate): Likewise.
61676         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61677         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61678         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61679         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61680         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61681         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61683         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61684         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61685         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61686         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61687         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61688         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61690 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61692         [BZ #13743]
61693         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61694         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61695         (sysdep_headers): Include sys/platform/ppc.h.
61696         * sysdeps/powerpc/test-gettimebase.c: Test for
61697         __ppc_get_timebase() to catch future ISA opcode/insn changes.
61698         * manual/Makefile (appendices): Include platform.texi.
61699         * manual/contrib.texi (Contributors): Update @node pointers.
61700         * manual/maint.texi (Maintenance): Likewise.
61701         (Platform): New node.
61702         * manual/platform.texi: New file.  Document the new features.
61704 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61705             Jakub Jelinek  <jakub@redhat.com>
61707         [BZ #14188]
61708         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61709         where __builtin_expect is unavailable.
61711 2012-06-03  David S. Miller  <davem@davemloft.net>
61713         * stdlib/longlong.h: Updated from GCC.
61715 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
61717         [BZ #14042]
61718         * sysdeps/powerpc/powerpc32/mcount.c: New file.
61719         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61720         __mcount_internal.
61721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61722         (GLIBC_2.16): Likewise.
61724 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61726         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61728 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61731         (default-abi): New variable.
61732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61733         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61734         variable.
61735         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61736         Likewise.
61737         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61738         Likewise.
61739         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61740         Likewise.
61742         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61743         definition.  Document in comment.
61745 2012-06-01  David S. Miller  <davem@davemloft.net>
61747         * stdlib/longlong.h: Updated from GCC.
61749 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61751         [BZ #14117]
61752         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61753         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61754         sys/debugreg.h sys/io.h here.
61755         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61756         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61757         sys/io.h.
61758         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61759         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61760         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61761         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61762         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61763         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61765         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61766         Define only if __x86_64__ is defined.
61768 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61770         [BZ #14048]
61771         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61772         Use int64_t for variable i.
61773         * math/libm-test.inc (fmod_test): Add more tests.
61775         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61776         z computation is not scheduled after fetestexcept.
61777         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61778         Use math_force_eval instead of asm to ensure calculation scheduled
61779         before exception test.
61780         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61781         Ensure a1 + u.d computation is not scheduled after fetestexcept.
61783 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
61785         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61786         computation is not scheduled after fetestexcept.
61788 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61790         [BZ #14117]
61791         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61792         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61794 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61796         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61797         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61799 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61801         [BZ #14117]
61802         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61803         <bits/wordsize.h>.
61804         (__WCHAR_MIN): Support __WORDSIZE == 64.
61805         (__WCHAR_MAX): Likewise.
61807         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61808         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61810         [BZ #14183]
61811         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61812         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61814         [BZ #14117]
61815         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61816         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61818         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61819         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61821         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61822         Defined to 1 if __x86_64__ isn't defined.
61823         (_STAT_VER_LINUX_OLD): New.
61824         (st_atime): Remove duplicate.
61825         (st_mtime): Likewise.
61826         (st_ctime): Likewise.
61828 2012-05-31  David S. Miller  <davem@davemloft.net>
61830         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61831         entries.
61833 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
61835         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61836         gen-libm-test.pl.
61838         [BZ #14132]
61839         * elf/dl-reloc.c: Include <_itoa.h>.
61840         (_dl_reloc_bad_type): Remove use of INTUSE.
61841         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61842         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61843         * stdio-common/psiginfo.c (psiginfo): Likewise.
61844         * stdio-common/psignal.c (psignal): Likewise.
61845         * string/strsignal.c (strsignal): Likewise.
61846         * include/signal.h (_sys_siglist): Declare hidden proto.
61847         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
61848         INTVARDEF with libc_hidden_data_def.
61849         * stdio-common/itoa-udigits.c: Likewise.
61850         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61851         (_itoa_lower_digits_internal): Remove declaration.
61852         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61853         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61854         (_sys_sigabbrev_internal): Remove aliases.
61855         (_sys_siglist): Define hidden alias.
61857 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
61859         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61860         bits/sysctl.h.
61862 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61864         [BZ #14117]
61865         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61866         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61868         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61869         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61870         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61871         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61872         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61873         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61875         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61876         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61877         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61879         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61880         with __addr.
61881         (insw): Likewise.
61882         (insl): Likewise.
61883         (outsb): Likewise.
61884         (outsw): Likewise.
61885         (outsl): Likewise.
61887         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61888         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61889         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61891         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61892         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61893         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61894         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61895         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61896         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61898         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61899         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61901         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61902         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61904         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61905         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61906         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61908         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61909         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61910         to ...
61911         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61913         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61914         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61915         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61917         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61918         for x86-64.
61919         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61921 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
61923         * math/math.h (M_El): Use two more decimal places.
61924         (M_LOG2El): Likewise.
61925         (M_LOG10El): Likewise.
61926         (M_LN2l): Likewise.
61927         (M_LN10l): Likewise.
61928         (M_PIl): Likewise.
61929         (M_PI_2l): Likewise.
61930         (M_PI_4l): Likewise.
61931         (M_1_PIl): Likewise.
61932         (M_2_PIl): Likewise.
61933         (M_2_SQRTPIl): Likewise.
61934         (M_SQRT2l): Likewise.
61935         (M_SQRT1_2l): Likewise.
61937 2012-05-31  David S. Miller  <davem@davemloft.net>
61939         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61940         values between float registers.
61941         * sysdeps/sparc/sparc64/memset.S: Likewise.
61942         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61944 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
61946         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61947         -D_FORTIFY_SOURCE=1.
61948         (CPPFLAGS-tst-longjmp_chk.c): Define.
61949         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61950         (CPPFLAGS-tst-longjmp_chk2.c): Define.
61951         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61952         CFLAGS-tst-wchar-h.c.
61954 2012-05-31  Marek Polacek  <polacek@redhat.com>
61956         [BZ #14132]
61957         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61958         __endmntent_internal): Remove declaration.
61959         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61960         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61961         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61963 2012-05-30  David S. Miller  <davem@davemloft.net>
61965         * sysdeps/sparc/sparc32/soft-fp/q_util.c
61966         (___Q_simulate_exceptions): Use real FP ops rather than writing
61967         into the %fsr.
61968         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61969         Likewise.
61971 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61973         [BZ #14117]
61974         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61975         * sysdeps/x86/bits/xtitypes.h: This.
61977         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61978         * sysdeps/x86/bits/wordsize.h: This.
61980         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61981         * sysdeps/x86/bits/huge_vall.h: This.
61983         * sysdeps/i386/bits/select.h: Removed.
61984         * sysdeps/x86_64/bits/select.h: Renamed to ...
61985         * sysdeps/x86/bits/select.h: This.
61987         * sysdeps/i386/bits/setjmp.h: Removed.
61988         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61989         * sysdeps/x86/bits/setjmp.h: This.
61991         * sysdeps/i386/bits/mathdef.h: Removed.
61992         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61993         * sysdeps/x86/bits/mathdef.h: This.
61995 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
61997         [BZ #14132]
61998         * include/sys/socket.h (__connect_internal)
61999         (__libc_sa_len_internal): Remove declaration.
62000         (__connect, __libc_sa_len): Declare hidden_proto.
62001         (SA_LEN): Remove use of INTUSE.
62002         * socket/connect.c: Add libc_hidden_def.
62003         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
62004         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
62005         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
62006         alias.
62007         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
62008         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
62009         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
62010         of adding _internal alias.
62012 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62014         [BZ #14117]
62015         * sysdeps/i386/bits/link.h: Removed.
62016         * sysdeps/i386/bits/linkmap.h: Likewise.
62017         * sysdeps/x86_64/bits/link.h: Renamed to ...
62018         * sysdeps/x86/bits/link.h: This.
62019         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
62020         * sysdeps/x86/bits/linkmap.h: This.
62022         * sysdeps/i386/bits/endian.h: Removed.
62023         * sysdeps/x86_64/bits/endian.h: Renamed to ...
62024         * sysdeps/x86/bits/endian.h: This.
62026         * sysdeps/i386/bits/byteswap.h: Removed.
62027         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62028         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
62029         * sysdeps/x86/bits/byteswap.h: This.
62030         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
62031         * sysdeps/x86/bits/byteswap-16.h: This.
62032         * sysdeps/i386/Implies: Add x86.
62033         * sysdeps/x86_64/Implies: Likewise.
62035 2012-05-30  David S. Miller  <davem@davemloft.net>
62037         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
62038         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
62039         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
62040         (FP_TRAPPING_EXCEPTIONS): Define.
62041         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
62042         (FP_TRAPPING_EXCEPTIONS): Define.
62043         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
62044         subnormals only when inexact has been signalled or underflow
62045         exceptions are enabled.
62046         (_FP_PACK_CANONICAL): Likewise.
62048 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62050         [BZ #14183]
62051         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
62052         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
62054 2012-05-30  Richard Henderson  <rth@twiddle.net>
62056         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
62057         with #ifndef NOT_IN_libc.
62059         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
62060         marked to avoid plt entry.
62062 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62064         [BZ #14112]
62065         * Makeconfig (default-abi): New macro.
62066         (abi-includes): Likewise.
62067         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
62068         $(abi-$(default-abi)-lib-soname) for soname if defined.
62069         ($(common-objpfx)gnu/lib-names.stmp): Generate from
62070         abi-variants.
62071         * Makefile (installed-stubs): Likewise.
62072         * include/stubs-biarch.h: Removed.
62073         * scripts/lib-names.awk: Only handle one library at a time.
62074         * scripts/soversions.awk: Remove WORDSIZE support.
62075         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
62076         entries.
62077         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
62078         Removed.
62079         (syscall-list-default-condition): Likewise.
62080         (syscall-list-default-condition): Likewise.
62081         (syscall-list-includes): Likewise.
62082         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
62083         syscall-list-* with abi-*.  Handle undefined abi-variants.
62084         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
62085         * sysdeps/unix/sysv/linux/i386/Implies: New file.
62086         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
62087         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
62088         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
62089         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
62090         Removed.
62091         (syscall-list-32-options): Likewise.
62092         (syscall-list-32-condition): Likewise.
62093         (syscall-list-64-options): Likewise.
62094         (syscall-list-64-condition): Likewise.
62095         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
62096         macro.
62097         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
62098         Renamed to ...
62099         (abi-*): This.
62100         (abi-64-ld-soname): New macro.
62101         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
62102         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
62103         Renamed to ...
62104         (abi-*): This.
62105         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
62106         * sysdeps/x86_64/x32/shlib-versions: Likewise.
62108 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
62110         * sysdeps/unix/sysv/linux/kernel-features.h
62111         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
62112         * sysdeps/unix/sysv/linux/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/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.
62124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
62125         include <kernel-features.h>.
62126         [!__NR_ftruncate64]: Remove conditional code.
62127         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62128         [__NR_ftruncate64]: Make code unconditional.
62129         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62131         include <kernel-features.h>.
62132         [!__NR_ftruncate64]: Remove conditional code.
62133         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62134         [__NR_ftruncate64]: Make code unconditional.
62135         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62137         * configure.in (libc_cv_fpie): Weaken to a compile test using
62138         LIBC_TRY_CC_OPTION.
62139         * configure: Regenerated.
62141 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
62144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
62145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
62146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62147         Refreshed.
62148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
62149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
62150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
62151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
62152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
62153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62154         Refreshed.
62156 2012-05-27  David S. Miller  <davem@davemloft.net>
62158         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
62159         (___Q_zero): New.
62160         (__Q_simulate_exceptions): Return void.  Change to simulate
62161         exceptions by writing into the %fsr.
62162         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
62163         (__Qp_handle_exceptions): Likewise.
62164         (numbers): Delete.
62165         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
62166         __Qp_handle_exceptions.
62167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
62168         __Qp_handle_exceptions.
62169         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62170         as unused and give dummy FP_RND_NEAREST initializer.
62171         (FP_INHIBIT_RESULTS): Define.
62172         (___Q_simulate_exceptions): Update declaration.
62173         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
62174         formatting.
62175         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62176         as unused and give dummy FP_RND_NEAREST initializer.
62177         (__Qp_handle_exceptions): Update declaration.
62178         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
62179         formatting.
62181 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
62183         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
62184         the temporary FPU control word.
62185         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
62186         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
62187         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
62188         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62189         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
62190         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
62191         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
62192         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62193         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
62194         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
62195         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62197 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62199         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
62200         fields.
62202 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
62204         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
62205         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
62206         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
62207         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
62208         Likewise.
62209         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
62210         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
62211         Likewise.
62213 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
62215         * po/h.po: Update from translation team.
62217 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
62219         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
62221         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
62222         handling of denormals.
62223         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62224         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
62225         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62226         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62227         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62228         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
62229         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
62230         Likewise.
62232 2012-05-26  Marek Polacek  <polacek@redhat.com>
62234         [BZ #14152]
62235         * math/libm-test.inc (fma_test): Don't always expect underflow
62236         exception.
62238 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62240         [BZ #12416]
62241         * elf/tst-execstack.c: Include stackinfo.h.
62242         (do_test): Adjust test case to ensure that pthread_getattr_np
62243         behaviour remains the same after marking stack executable.
62245 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62247         * sysdeps/unix/sysv/linux/kernel-features.h
62248         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
62249         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
62250         kernel-features.h.
62251         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62252         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62253         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
62254         kernel-features.h.
62255         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62256         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62258 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
62260         * configure.in: Define the default includes to being none.
62261         * configure: Regenerated.
62263 2012-05-25  Roland McGrath  <roland@hack.frob.com>
62265         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
62266         * sysdeps/x86_64/setjmp.S: Likewise.
62267         * sysdeps/i386/bsd-setjmp.S: Likewise.
62268         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62269         * sysdeps/i386/setjmp.S: Likewise.
62270         * sysdeps/i386/__longjmp.S: Likewise.
62271         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62272         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
62274         * include/stap-probe.h: New file.
62275         * configure.in: Handle --enable-systemtap.
62276         * configure: Regenerated.
62277         * config.h.in (USE_STAP_PROBE): New #undef.
62278         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
62279         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
62280         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
62282 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62284         [BZ #13717]
62285         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62286         to 2.4.0 where earlier.
62287         * sysdeps/unix/sysv/linux/configure: Regenerated.
62288         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62289         <kernel-features.h>.
62290         [__ASSUME_32BITUIDS]: Make code unconditional.
62291         [!__ASSUME_32BITUIDS]: Remove conditional code.
62292         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
62293         <kernel-features.h>.
62294         [__ASSUME_32BITUIDS]: Make code unconditional.
62295         [!__ASSUME_32BITUIDS]: Remove conditional code.
62296         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
62297         [__ASSUME_32BITUIDS]: Make code unconditional.
62298         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
62299         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.c: Do not include
62328         <kernel-features.h>.
62329         [__ASSUME_32BITUIDS]: Make code unconditional.
62330         [!__ASSUME_32BITUIDS]: Remove conditional code.
62331         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62332         <kernel-features.h>.
62333         [__ASSUME_32BITUIDS]: Make code unconditional.
62334         [!__ASSUME_32BITUIDS]: Remove conditional code.
62335         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
62336         <kernel-features.h>.
62337         [__ASSUME_32BITUIDS]: Make code unconditional.
62338         [!__ASSUME_32BITUIDS]: Remove conditional code.
62339         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
62340         <kernel-features.h>.
62341         [__NR_setresgid] (__setresgid): Do not declare.
62342         [__ASSUME_32BITUIDS]: Make code unconditional.
62343         [!__ASSUME_32BITUIDS]: Remove conditional code.
62344         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
62345         <kernel-features.h>.
62346         [__NR_setresuid] (__setresuid): Do not declare.
62347         [__ASSUME_32BITUIDS]: Make code unconditional.
62348         [!__ASSUME_32BITUIDS]: Remove conditional code.
62349         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/i386/setreuid.c: Do not include
62378         <kernel-features.h>.
62379         [__ASSUME_32BITUIDS]: Make code unconditional.
62380         [!__ASSUME_32BITUIDS]: Remove conditional code.
62381         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
62382         <kernel-features.h>.
62383         [__ASSUME_32BITUIDS]: Make code unconditional.
62384         [!__ASSUME_32BITUIDS]: Remove conditional code.
62385         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62386         <kernel-features.h>.
62387         [__ASSUME_32BITUIDS]: Make code unconditional.
62388         [!__ASSUME_32BITUIDS]: Remove conditional code.
62389         * sysdeps/unix/sysv/linux/kernel-features.h
62390         (__ASSUME_SETRESUID_SYSCALL): Remove.
62391         (__ASSUME_SETRESGID_SYSCALL): Likewise.
62392         (__ASSUME_32BITUIDS): Likewise.
62393         (__ASSUME_LDT_WORKS): Likewise.
62394         (__ASSUME_O_DIRECTORY): Likewise.
62395         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
62396         architecture but not kernel version.
62397         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
62398         (__ASSUME_MMAP2_SYSCALL): Likewise.
62399         (__ASSUME_STAT64_SYSCALL): Likewise.
62400         (__ASSUME_IPC64): Likewise.
62401         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
62402         <kernel-features.h>.
62403         [__ASSUME_32BITUIDS]: Make code unconditional.
62404         [!__ASSUME_32BITUIDS]: Remove conditional code.
62405         * sysdeps/unix/sysv/linux/opendir.c: Do not include
62406         <kernel-features.h>.
62407         [__ASSUME_O_DIRECTORY]: Make code unconditional.
62408         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
62409         132096]: Remove conditional code.
62410         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
62411         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62412         <kernel-features.h>.
62413         [__ASSUME_32BITUIDS]: Make code unconditional.
62414         [!__ASSUME_32BITUIDS]: Remove conditional code.
62415         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62416         <kernel-features.h>.
62417         [__ASSUME_32BITUIDS]: Make code unconditional.
62418         [!__ASSUME_32BITUIDS]: Remove conditional code.
62419         * sysdeps/unix/sysv/linux/setegid.c: Do not include
62420         <kernel-features.h>.
62421         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
62422         unconditional.
62423         (__setresgid): Do not declare.
62424         [__ASSUME_32BITUIDS]: Make code unconditional.
62425         [!__ASSUME_32BITUIDS]: Remove conditional code.
62426         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
62427         <kernel-features.h>.
62428         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
62429         unconditional.
62430         (__setresuid): Do not declare.
62431         [__ASSUME_32BITUIDS]: Make code unconditional.
62432         [!__ASSUME_32BITUIDS]: Remove conditional code.
62433         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62434         <kernel-features.h>.
62435         [__ASSUME_32BITUIDS]: Make code unconditional.
62436         [!__ASSUME_32BITUIDS]: Remove conditional code.
62437         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
62438         <kernel-features.h>.
62439         [__ASSUME_32BITUIDS]: Make code unconditional.
62440         [!__ASSUME_32BITUIDS]: Remove conditional code.
62442 2012-05-25  Richard Henderson  <rth@twiddle.net>
62444         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
62445         dl_hwcap to ifunc resolver.
62446         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
62447         elf_ifunc_invoke.
62448         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
62449         dl_hwcap to ifunc resolver.
62450         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
62452 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62454         [BZ #14153]
62455         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
62456         for |x| <= 2**-26, not 2**-57.
62457         * math/libm-test.inc (acos_test): Do not allow spurious underflow
62458         exception.
62460 2012-05-24  Jeff Law  <law@redhat.com>
62462         * stdio-common/Makefile (tests): Add bug25.
62463         * stdio-common/bug25.c: New test.
62465 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62467         [BZ #13576]
62468         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
62469         multiple of MALLOC_ALIGNMENT in size.
62470         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
62472 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62474         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
62475         Require >= 256.
62476         (FILENAME_MAX): Use macro-int-constant.
62477         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
62478         (_IOFBF): Use macro-int-constant.
62479         (_IOLBF): Likewise.
62480         (_IONBF): Likewise.
62481         (SEEK_CUR): Likewise.
62482         (SEEK_END): Likewise.
62483         (SEEK_SET): Likewise.
62484         (TMP_MAX): Likewise.
62485         (EOF): Use macro-int-constant.  Require < 0.
62486         (NULL): Use macro-constant.  Require == 0.
62487         (stdin): Require type to be FILE *.
62488         (stdout): Likewise.
62489         (stderr): Likewise.
62490         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
62491         macro-int-constant.
62492         (EXIT_SUCCESS): Likewise.
62493         (NULL): Use macro-constant.  Require == 0.
62494         (RAND_MAX): Use macro-int-constant.
62495         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
62496         [C99-based standards] (strtof): Require function.
62497         [C99-based standards] (strtold): Likewise.
62498         [C99-based standards] (strtoll): Likewise.
62499         [C99-based standards] (strtoull): Likewise.
62500         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62501         [ISO || ISO99 || ISO11] (limits.h): Likewise.
62502         [ISO || ISO99 || ISO11] (math.h): Likewise.
62503         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
62504         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62505         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62507 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
62509         [BZ #14132]
62510         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
62511         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
62512         * intl/dgettext.c (DCGETTEXT): Likewise.
62513         * intl/gettext.c (DCGETTEXT): Likewise.
62514         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
62515         * posix/regex_internal.h (gettext): Likewise.
62516         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
62517         Remove declaration.
62518         * include/argz.h (__argz_count_internal)
62519         (__argz_stringify_internal): Remove declaration.
62520         (__argz_count, __argz_stringify): Declare hidden proto.
62521         * intl/dcgettext.c: Remove use of INTDEF.
62522         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
62523         * string/argz-stringify.c: Likewise.
62524         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62525         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62526         Declare hidden proto.
62527         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62528         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62529         Declare hidden proto.
62530         * include/stdio.h (__asprintf_internal): Don't declare.
62531         (__asprintf): Don't define as macro.  Declare hidden proto.
62532         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
62533         (__fsetlocking): Declare hidden proto.
62534         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
62535         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
62536         hidden proto.
62537         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
62538         (_IO_setlinebuf): Remove use of INTUSE.
62539         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
62540         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
62541         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
62542         Remove declaration.
62543         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
62544         (_IO_do_flush): Remove use of INTUSE.
62545         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
62546         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
62547         (_IO_adjust_column, _IO_least_wmarker)
62548         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
62549         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
62550         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
62551         (_IO_default_doallocate, _IO_wdefault_doallocate)
62552         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
62553         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
62554         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
62555         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
62556         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
62557         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
62558         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
62559         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
62560         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
62561         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
62562         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
62563         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
62564         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
62565         proto.
62566         (_IO_flush_all_internal, _IO_adjust_column_internal)
62567         (_IO_default_uflow_internal, _IO_default_finish_internal)
62568         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
62569         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
62570         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
62571         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
62572         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
62573         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
62574         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
62575         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
62576         (_IO_file_close_internal, _IO_file_close_it_internal)
62577         (_IO_file_underflow_internal, _IO_file_overflow_internal)
62578         (_IO_file_init_internal, _IO_file_attach_internal)
62579         (_IO_file_fopen_internal, _IO_file_read_internal)
62580         (_IO_file_sync_internal, _IO_file_seek_internal)
62581         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
62582         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
62583         (_IO_str_underflow_internal, _IO_str_overflow_internal)
62584         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
62585         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
62586         (_IO_list_all_internal, _IO_link_in_internal)
62587         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
62588         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
62589         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
62590         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
62591         (_IO_do_write_internal, _IO_padn_internal)
62592         (_IO_getline_info_internal, _IO_getline_internal)
62593         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
62594         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
62595         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
62596         (_IO_vfscanf_internal, _IO_vfprintf_internal)
62597         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
62598         (_IO_init_internal, _IO_un_link_internal): Don't declare.
62599         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
62600         with libc_hidden_ver, remove use of INTUSE.
62601         * libio/genops.c: Likewise.
62602         * libio/freopen.c: Likewise.
62603         * libio/freopen64.c: Likewise.
62604         * libio/iofclose.c: Likewise.
62605         * libio/iofdopen.c: Likewise.
62606         * libio/iofflush.c: Likewise.
62607         * libio/iofflush_u.c: Likewise.
62608         * libio/iofgets.c: Likewise.
62609         * libio/iofgets_u.c: Likewise.
62610         * libio/iofopen.c: Likewise.
62611         * libio/iofopncook.c: Likewise.
62612         * libio/iofread.c: Likewise.
62613         * libio/iofread_u.c: Likewise.
62614         * libio/ioftell.c: Likewise.
62615         * libio/iofwrite.c: Likewise.
62616         * libio/iogetline.c: Likewise.
62617         * libio/iogets.c: Likewise.
62618         * libio/iogetwline.c: Likewise.
62619         * libio/iopadn.c: Likewise.
62620         * libio/iopopen.c: Likewise.
62621         * libio/ioseekoff.c: Likewise.
62622         * libio/ioseekpos.c: Likewise.
62623         * libio/iosetbuffer.c: Likewise.
62624         * libio/iosetvbuf.c: Likewise.
62625         * libio/ioungetc.c: Likewise.
62626         * libio/ioungetwc.c: Likewise.
62627         * libio/iovdprintf.c: Likewise.
62628         * libio/iovsprintf.c: Likewise.
62629         * libio/iovsscanf.c: Likewise.
62630         * libio/memstream.c: Likewise.
62631         * libio/obprintf.c: Likewise.
62632         * libio/oldfileops.c: Likewise.
62633         * libio/oldiofclose.c: Likewise.
62634         * libio/oldiofdopen.c: Likewise.
62635         * libio/oldiofopen.c: Likewise.
62636         * libio/oldiopopen.c: Likewise.
62637         * libio/oldstdfiles.c: Likewise.
62638         * libio/putc.c: Likewise.
62639         * libio/setbuf.c: Likewise.
62640         * libio/setlinebuf.c: Likewise.
62641         * libio/stdfiles.c: Likewise.
62642         * libio/strops.c: Likewise.
62643         * libio/vasprintf.c: Likewise.
62644         * libio/vscanf.c: Likewise.
62645         * libio/vsnprintf.c: Likewise.
62646         * libio/vswprintf.c: Likewise.
62647         * libio/wfiledoalloc.c: Likewise.
62648         * libio/wfileops.c: Likewise.
62649         * libio/wgenops.c: Likewise.
62650         * libio/wmemstream.c: Likewise.
62651         * libio/wstrops.c: Likewise.
62652         * libio/__fpurge.c: Likewise.
62653         * libio/__fsetlocking.c: Likewise.
62654         * assert/assert.c: Likewise.
62655         * debug/fgets_chk.c: Likewise.
62656         * debug/fgets_u_chk.c: Likewise.
62657         * debug/fread_chk.c: Likewise.
62658         * debug/fread_u_chk.c: Likewise.
62659         * debug/gets_chk.c: Likewise.
62660         * debug/obprintf_chk.c: Likewise.
62661         * debug/vasprintf_chk.c: Likewise.
62662         * debug/vdprintf_chk.c: Likewise.
62663         * debug/vsnprintf_chk.c: Likewise.
62664         * debug/vsprintf_chk.c: Likewise.
62665         * malloc/mtrace.c: Likewise.
62666         * misc/error.c: Likewise.
62667         * misc/syslog.c: Likewise.
62668         * stdio-common/asprintf.c: Likewise.
62669         * stdio-common/fxprintf.c: Likewise.
62670         * stdio-common/getw.c: Likewise.
62671         * stdio-common/isoc99_fscanf.c: Likewise.
62672         * stdio-common/isoc99_scanf.c: Likewise.
62673         * stdio-common/isoc99_vfscanf.c: Likewise.
62674         * stdio-common/isoc99_vscanf.c: Likewise.
62675         * stdio-common/isoc99_vsscanf.c: Likewise.
62676         * stdio-common/printf-prs.c: Likewise.
62677         * stdio-common/printf_fp.c: Likewise.
62678         * stdio-common/printf_fphex.c: Likewise.
62679         * stdio-common/printf_size.c: Likewise.
62680         * stdio-common/putw.c: Likewise.
62681         * stdio-common/scanf.c: Likewise.
62682         * stdio-common/sprintf.c: Likewise.
62683         * stdio-common/tmpfile.c: Likewise.
62684         * stdio-common/vfprintf.c: Likewise.
62685         * stdio-common/vfscanf.c: Likewise.
62686         * stdlib/strfmon_l.c: Likewise.
62687         * sunrpc/openchild.c: Likewise.
62688         * sunrpc/xdr_stdio.c: Likewise.
62689         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62690         * sysdeps/mach/hurd/tmpfile.c: Likewise.
62692 2012-05-24  Roland McGrath  <roland@hack.frob.com>
62694         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62696         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62697         in the third column, to generate for the shared library an IFUNC
62698         that uses _dl_vdso_vsym.
62699         * Makerules (COMPILE.c, compile-stdin.c): New variables.
62700         * Makeconfig (object-suffixes-noshared): New variable.
62702         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62703         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62704         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62705         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62707         [BZ #14132]
62708         * include/sys/time.h (__gettimeofday): Remove macro.
62709         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62710         * time/gettimeofday.c (__gettimeofday): Remove #undef.
62711         Remove INTDEF.
62712         (__gettimeofday): Add libc_hidden_def.
62713         (gettimeofday): Add libc_hidden_weak.
62714         * sysdeps/mach/gettimeofday.c: Likewise.
62715         * sysdeps/posix/gettimeofday.c: Likewise.
62716         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62717         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62718         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62719         (__gettimeofday_internal): Remove strong_alias.
62720         (__gettimeofday): Add libc_hidden_def.
62721         (gettimeofday): Add libc_hidden_weak.
62722         * sysdeps/unix/syscalls.list (gettimeofday):
62723         Remove __gettimeofday_internal alias.
62725 2012-05-24  Daniel Jacobowitz  <drow@false.org>
62726             H.J. Lu  <hongjiu.lu@intel.com>
62728         [BZ #12495]
62729         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62730         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62731         (largebin_index_32_big): New.
62732         (largebin_index): Use it for 16-byte alignment.
62733         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
62734         correction with front_misalign.
62736 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62740         Likewise.
62741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62742         Likewise.
62743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62744         Likewise.
62745         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62746         Likewise.
62747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62748         Likewise.
62749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62750         Likewise.
62751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62752         Likewise.
62753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62754         Likewise.
62755         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62756         Likewise.
62757         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62758         Likewise.
62759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62760         Likewise.
62761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62762         Likewise.
62764         * scripts/data/c++-types-x32-linux-gnu.data: New file.
62765         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62767 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62769         [BZ #10846]
62770         [BZ #14036]
62771         * math/libm-test.inc (exp_test): Add test from bug 14036.
62772         (pow_test): Add test from bug 10846.
62774         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62775         and other flags.
62776         (special_function): Do not include flags in test name.
62777         (parse_args): Likewise.
62778         * sysdeps/i386/fpu/libm-test-ulps: Update.
62779         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62780         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62781         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62784         * math/gen-libm-test.pl (%beautify): Add entries for underflow
62785         exceptions.
62786         * math/libm-test.inc ("Philosophy"): Update comment about
62787         exception testing.
62788         (UNDERFLOW_EXCEPTION): New macro.
62789         (UNDERFLOW_EXCEPTION_OK): Likewise.
62790         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62791         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62792         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62793         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62794         (INVALID_EXCEPTION_OK): Update value.
62795         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62796         (OVERFLOW_EXCEPTION_OK): Likewise.
62797         (IGNORE_ZERO_INF_SIGN): Likewise.
62798         (test_exceptions): Handle underflow exceptions.
62799         (acos_test): Update for underflow exception expectations.
62800         (cexp_test): Likewise.
62801         (clog_test): Likewise.
62802         (clog10_test): Likewise.
62803         (csqrt_test): Likewise.
62804         (ctan_test): Likewise.
62805         (ctanh_test): Likewise.
62806         (exp_test): Likewise.
62807         (exp10_test): Likewise.
62808         (exp2_test): Likewise.
62809         (expm1_test): Likewise.
62810         (fma_test): Likewise.
62811         (j0_test): Likewise.
62812         (jn_test): Likewise.
62813         (nexttoward_test): Likewise.
62814         (pow_test): Likewise.
62815         (scalbn_test): Likewise.
62816         (scalbln_test): Likewise.
62817         (tan_test): Likewise.
62818         (y1_test): Likewise.
62819         * sysdeps/i386/fpu/libm-test-ulps: Update.
62820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62822 2012-05-23  David S. Miller  <davem@davemloft.net>
62824         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62825         (__libc_sigaction): Remove unused local variables.
62827 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62829         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62831 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
62833         mktime: avoid signed integer overflow
62834         * time/mktime.c (__mktime_internal): Do not mishandle the case
62835         where diff == INT_MIN.
62837         mktime: simplify computation of average
62838         * time/mktime.c (ranged_convert): Use new time_t_avg function
62839         instead of rolling our own (probably-slower) code.
62841         mktime: do not assume signed right shift propagates sign bit
62842         * time/mktime.c (isdst_differ): New static function.
62843         (__mktime_internal): No need to normalize tm_isdst now.
62844         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62845         tm_isdst values.
62847         mktime: merge another wrapv change from gnulib
62848         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62849         from some compilers.
62851         mktime: remove incorrect attempt at unusual arithmetics
62852         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62853         The code didn't really work on such machines anyway.
62854         (TYPE_MINIMUM): Assume two's complement.
62855         (twos_complement_arithmetic): Verify that long_int and time_t
62856         are two's complement (or unsigned, in the latter case).
62858         mktime: check signed shifts on long_int and time_t, too
62859         * time/mktime.c (SHR): Check that shifts work as desired
62860         on the types long_int and time_t too, as SHR is used on
62861         such types.
62863         mktime: do not assume 'long' is wide enough
62864         * time/mktime.c (verify): Move decl up.
62865         (long_int): New type.
62866         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62867         to remove assumption in the code that 'long' is wide enough to
62868         store year values.  This assumption is not true on x32 and on
62869         some non-glibc platforms.
62871         mktime: merge wrapv change from gnulib
62872         * time/mktime.c (WRAPV): New macro.
62873         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62874         (guess_time_tm, __mktime_internal): Do not assume that signed
62875         integer overflow wraps around; modern compilers generate code
62876         where this assumption is no longer valid.
62878 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62880         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62881         Replace "jmp L(pseudo_end)" with "ret".
62882         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62883         Likewise.
62885 2012-05-23  Andreas Jaeger  <aj@suse.de>
62887         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62888         * sysdeps/unix/sysv/linux/poll.c: Remove file.
62890 2012-05-23  Andreas Jaeger  <aj@suse.de>
62891             Maximilian Attems  <max@stro.at>
62893         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62894         New macros.
62896 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62898         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62899         code so that pseudo_end is just ret and the stack pointer is
62900         correct also for static library in error case.
62902 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
62904         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62905         move to syscalls.list.
62906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62911         * manual/install.texi (Running make install): Do not mention Linux
62912         kernel version for which pt_chown is not needed.
62913         (Linux): Do not mention problems with nscd with 2.0 kernels.
62914         * INSTALL: Regenerated.
62916 2012-05-23  Andreas Jaeger  <aj@suse.de>
62918         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62919         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62920         macro.
62921         * sysdeps/unix/sysv/linux/s390/bits/mman.h
62922         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62923         * sysdeps/unix/sysv/linux/sh/bits/mman.h
62924         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62925         * sysdeps/unix/sysv/linux/i386/bits/mman.h
62926         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62927         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62928         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62929         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62930         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62931         * sysdeps/unix/sysv/linux/bits/in.h
62932         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62934 2012-05-22  Roland McGrath  <roland@hack.frob.com>
62936         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62937         (PREPARE_VERSION): Just use assert instead, it will be elided
62938         under [NDEBUG] anyway.
62940 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62942         * sysdeps/unix/sysv/linux/Makefile: Include
62943         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62944         (sysdep_routines): Remove sysctl.
62945         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62946         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62947         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62948         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62949         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62951 2012-05-22  Andreas Jaeger  <aj@suse.de>
62953         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62954         that pseudo_end is just ret and the stack pointer is correct also
62955         for static library in error case.
62957 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
62959         [BZ #14122]
62960         * nss/nsswitch.c (defconfig_entries): New variable.
62961         (__nss_database_lookup): Don't leak defconfig entries.
62962         (nss_parse_service_list): Don't leak on error paths.
62963         (free_database_entries): New function.
62964         (free_defconfig): New function.
62965         (free_mem): Move common code to free_database_entries.
62967 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62969         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62970         Add arch_prctl.
62971         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62973         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62974         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62975         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62976         New macro.
62977         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62978         (INTERNAL_SYSCALL_TYPES): Likewise.
62979         (LOAD_ARGS_TYPES_[1-6]): Likewise.
62980         (LOAD_REGS_TYPES_[1-6]): Likewise.
62981         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62982         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62984 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62986         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62987         copysignl for GLIBC_2_0.
62988         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62989         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62990         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62991         logbl for GLIBC_2_0.
62992         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62993         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62995 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62997         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62998         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63000         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63001         Use "neg %eax".
63003         * time/mktime.c: Update copyright years.
63005 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
63007         mktime: merge comment-quoting-style change from gnulib
63008         * time/mktime.c: Quote 'like this' in comments.
63009         The GNU coding standards suggest that we no longer quote `like this',
63010         as "`" and "'" are typically rendered asymmetrically nowadays.
63011         The typical gnulib style is to quote 'like this' when quoting
63012         code, and "like this" when quoting English.
63014         * time/mktime.c (compile-command): Add "-I.".
63016         mktime: merge mktime-internal.h change from gnulib
63017         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
63019         mktime: merge time_r change from gnulib
63020         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
63022         mktime: merge DEBUG change from gnulib
63023         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
63024         case system <time.h> has a #define.
63026         mktime: merge <sys/types.h> change from gnulib
63027         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
63028         since <time.t> is now guaranteed to define time_t.
63030         mktime: merge HAVE_CONFIG_H change from gnulib
63031         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
63033 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63035         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63036         Use "neg %eax".
63038         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
63039         __rlim_t cast.
63040         (struct rusage): Use anonymous union to pad each field to
63041         __syscall_slong_t.
63043 2012-05-21  David S. Miller  <davem@davemloft.net>
63045         * Makefules (o-iterator): Remove .s cases.
63046         (compile-command.s): Delete.
63047         (COMPILE.s): Delete.
63048         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
63050 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
63052         * configure.in (libc_cv_predef_stack_protector): Only consider
63053         "foobar" and "__stack_chk_fail" lines in libc_undefs.
63054         * configure: Regenerated.
63056 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63058         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63059         New macro.  Use R*LP on int and pointer.
63060         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
63061         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
63062         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
63063         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
63065         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
63066         [__WORDSIZE_TIME64_COMPAT32] instead of
63067         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
63068         (struct utmp): Likewise.
63069         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
63070         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
63071         Renamed to ...
63072         (__WORDSIZE_TIME64_COMPAT32): This.
63073         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
63074         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
63075         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
63076         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
63077         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
63078         (__WORDSIZE_TIME64_COMPAT32): New macro.
63080 2012-05-21  Andreas Jaeger  <aj@suse.de>
63082         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
63083         only if [SHARED]. Add prototype for __wcschr_ia32.
63085 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63087         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
63088         of %rbp unmolested in the jmp_buf while mangling the low bits.
63089         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
63090         unmolested high bits of %rbp while demangling the low bits.
63091         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63093 2012-05-21  Andreas Jaeger  <aj@suse.de>
63095         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
63096         * sunrpc/svc_simple.c: Use it for registerrpc.
63097         * sunrpc/xcrypt.c: Use it for passwd2des.
63099         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
63101 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63103         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
63104         Don't define if [__SYSCALL_WORDSIZE != 32].
63105         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
63106         New macro.
63108 2012-05-21  Bruno Haible  <bruno@clisp.org>
63109             Andreas Jaeger  <aj@suse.de>
63111         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
63112         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
63113         inptr and inend for must_buffer_ch.
63114         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
63115         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
63116         * stdio-common/Makefile (tests): Remove bug15.
63117         (bug15-ENV): Remove macro.
63118         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
63119         anymore.
63121 2012-05-19  Andreas Jaeger  <aj@suse.de>
63122             Roland McGrath  <roland@hack.frob.com>
63124         * manual/contrib.texi: Completely rewritten. It contains now an
63125         alphabetical list of contributors and their contributions.
63127 2012-05-21  Richard Henderson  <rth@twiddle.net>
63129         * misc/getauxval.c (__getauxval): Use unsigned long int.
63130         * misc/sys/auxv.h: Include <sys/cdefs.h>.
63131         (getauxval): Use unsigned long int.
63133 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63135         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63137 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63139         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
63140         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
63141         __alignof__ (long double).
63143 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63147 2012-05-20  Richard Henderson  <rth@twiddle.net>
63149         * misc/getauxval.c: New file.
63150         * misc/sys/auxv.h: New file.
63151         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
63152         (routines): Add getauxval.
63153         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
63154         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
63155         * elf/dl-sysdep.c (_dl_auxv): Remove.
63156         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
63157         * elf/dl-support.c (_dl_auxv): New variable.
63158         (_dl_aux_init): Initialize it.
63159         * manual/startup.texi (Auxiliary Vector): New node.
63160         * sysdeps/generic/bits/hwcap.h: New file.
63161         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
63162         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
63163         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
63164         * sysdeps/sparc/sysdep.h: ... here.  Include it.
63165         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
63166         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
63167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63168         Update.
63169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
63170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
63171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
63172         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
63173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
63176         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
63178 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63182 2012-05-19  David S. Miller  <davem@davemloft.net>
63184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63186 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63188         [BZ #14123]
63189         * math/s_ccosh.c: Include <float.h>
63190         (__ccosh): Avoid internal overflow calculating sinh and cosh
63191         values before multiplying by sin and cos values.
63192         * math/s_ccoshf.c: Likewise.
63193         * math/s_ccoshl.c: Likewise.
63194         * math/s_csin.c: Likewise.
63195         * math/s_csinf.c: Likewise.
63196         * math/s_csinl.c: Likewise.
63197         * math/s_csinh.c: Likewise.
63198         * math/s_csinhf.c: Likewise.
63199         * math/s_csinhl.c: Likewise.
63200         * math/libm-test.inc (ccos_test): Add more tests.
63201         (ccosh_test): Likewise.
63202         (csin_test): Likewise.
63203         (csinh_test): Likewise.
63204         * sysdeps/i386/fpu/libm-test-ulps: Update.
63205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63207 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
63209         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
63210         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
63212         * sysdeps/x86_64/x32/_itoa.h: Add comment.
63214 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63216         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
63217         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
63218         * sysdeps/powerpc/soft-fp/Versions: Likewise.
63219         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
63220         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
63221         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
63222         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
63223         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
63224         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
63225         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
63226         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
63227         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
63228         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
63229         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
63230         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
63231         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
63232         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
63233         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
63234         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
63235         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
63236         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
63237         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
63238         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
63239         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
63240         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
63241         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
63242         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
63243         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
63244         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
63245         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
63246         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
63248 2012-05-18  Andreas Jaeger  <aj@suse.de>
63250         * csu/.gitignore: Delete.
63252 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63254         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
63255         (timex): Use __syscall_slong_t.
63257 2012-05-18  Andreas Jaeger  <aj@suse.de>
63258             Carlos O'Donell  <carlos_odonell@mentor.com>
63260         * manual/install.texi (Configuring and compiling): Update
63261         description about files modified in the source directory.
63262         * INSTALL: Regenerated.
63264 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63266         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
63267         value.  Use "or" to set return value to -1.
63268         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
63269         negate return value.
63271 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63273         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
63274         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
63275         failure if the compiler has Graphite support disabled.
63276         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
63277         Likewise.
63278         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
63279         (CFLAGS-memmove.c): Likewise.
63280         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
63281         Likewise.
63283 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63285         * sysdeps/x86_64/x32/_itoa.h: New file.
63287         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
63288         getdents system call only if kernel and user dirents have the
63289         same d_ino and d_off.
63291         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63292         LLONG_MAX != LONG_MAX.
63293         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63294         (_fitoa_word): Likewise.
63296         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
63297         years.
63298         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
63299         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
63300         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
63302         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
63303         include <bits/wordsize.h>.  Check __x86_64__ instead of
63304         __WORDSIZE.
63305         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
63306         if __x86_64__ is defined.  Use anonymous union on fpstate.
63308         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
63309         anonymous union.
63311 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
63313         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
63314         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
63315         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
63316         Refer to _rtld_local_ro instead of _rtld_global_ro.
63317         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
63318         Likewise.
63319         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
63320         Likewise.
63321         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
63322         Likewise.
63323         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
63324         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
63325         of _rtld_global, and rtld_progname instead of _dl_argv[0].
63327         [BZ #10882]
63328         * sysdeps/powerpc/powerpc32/dl-machine.c
63329         (__elf_machine_runtime_setup) [PROF]: Don't reference
63330         _dl_prof_resolve.
63332 2012-05-18  Andreas Jaeger  <aj@suse.de>
63334         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
63335         function only available for GCCs before 3.4 since GCC 3.4
63336         introduced a builtin.
63337         (lrint): Likewise.
63338         (llrintf): Likewise.
63339         (llrint): Likewise.
63340         (fmaxf): Likewise.
63341         (fmax): Likewise.
63342         (fminf): Likewise.
63343         (fmin): Likewise.
63344         (rint): Likewise.
63345         (rintf): Likewise.
63346         (nearbyint): Likewise.
63347         (nearbyintf): Likewise.
63348         (ceil): Likewise.
63349         (ceilf): Likewise.
63350         (floor): Likewise.
63351         (floorf): Likewise.
63353 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63355         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
63356         on both fields and cast pointer to __syscall_ulong_t.
63358         * bits/types.h (__fsword_t): New type.
63359         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
63360         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
63361         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63362         (__FSWORD_T_TYPE): Likewise.
63363         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63364         (__FSWORD_T_TYPE): Likewise.
63365         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63366         (__FSWORD_T_TYPE): Likewise.
63367         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
63368         (__FSWORD_T_TYPE): Likewise.
63369         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
63370         __SWORD_TYPE with __fsword_t.
63371         (statfs64): Likewise.
63373 2012-05-17  David S. Miller  <davem@davemloft.net>
63375         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
63377 2012-05-17  Andreas Jaeger  <aj@suse.de>
63379         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
63380         warning.
63382 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63384         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
63386 2012-05-17  Andreas Jaeger  <aj@suse.de>
63388         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
63389         when it is used.
63391 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63393         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
63395 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63397         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
63398         * sysdeps/x86_64/tst-mallocalign1.c: New file.
63400 2012-05-17  Andreas Jaeger  <aj@suse.de>
63401             Carlos O'Donell  <carlos_odonell@mentor.com>
63403         [BZ #14059]
63404         * sysdeps/x86_64/multiarch/init-arch.h
63405         (bit_YMM_Usable): Rename to...
63406         (bit_AVX_Usable): ... this.
63407         (bit_FMA4_Usable): New macro.
63408         (bit_XMM_state): New macro.
63409         (bit_YMM_state): New macro.
63410         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
63411         [__ASSEMBLER__] (index_AVX_Usable): ... this.
63412         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
63413         (CPUID_OSXSAVE): New macro.
63414         (CPUID_AVX): New macro.
63415         (CPUID_FMA4): New macro.
63416         (index_YMM_Usable): Rename to...
63417         (index_AVX_Usable): ... this.
63418         (HAS_AVX): Use HAS_ARCH_FEATURE.
63419         (HAS_FMA4): Likewise.
63420         (HAS_YMM_USABLE): Remove.
63421         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63422         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
63423         are present.
63424         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
63425         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
63426         * sysdeps/x86_64/multiarch/Makefile: Likewise.
63427         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
63428         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
63430 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63432         * math/libm-test.c: Support platforms without multiple rounding modes.
63433         * math/bug-nextafter.c: Support platforms without FP exceptions.
63434         * math/bug-nexttoward.c: Likewise.
63435         * math/test-fenv.c: Likewise.
63436         * math/test-misc.c: Likewise.
63437         * stdlib/bug-getcontext.c: Likewise.
63439 2012-05-17  Andreas Jaeger  <aj@suse.de>
63441         * manual/examples/search.c (critter_cmp): Change signature to
63442         avoid warnings.
63443         * manual/string.texi (Collation Functions): Likewise.
63445 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63447         * bits/types.h: Fold copyright years.
63448         * bits/typesizes.h: Likewise.
63449         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
63450         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
63451         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
63452         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
63453         * time/time.h: Likewise.
63455 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
63457         [BZ #208]
63458         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
63459         in instead of returning them.  Return void.
63460         (__libc_mallinfo): Accumulate over all arenas.
63461         (__malloc_stats): Adjust for change in int_mallinfo interface.
63463 2012-05-16  Roland McGrath  <roland@hack.frob.com>
63465         [BZ #10375]
63466         * configure.in (NM): Add AC_CHECK_TOOL for it.
63467         (libc_extra_cflags): New substituted variable.
63468         Check for -fstack-protector being used implicitly.
63469         * configure: Regenerated.
63470         * config.make.in (config-extra-cflags): New variable,
63471         gets @libc_extra_cflags@.
63472         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
63474         [BZ #10375]
63475         * configure.in: Check for _FORTIFY_SOURCE being predefined.
63476         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
63477         * configure: Regenerated.
63478         * config.make.in (CPPUNDEFS): New substituted variable.
63479         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
63480         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
63481         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
63483 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63485         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
63486         (mq_attr): Use __syscall_slong_t.
63488 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63490         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
63491         Check __x86_64__ instead of __WORDSIZE.
63492         (_STAT_VER_LINUX): Likewise.
63493         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
63494         __syscall_ulong_t and __syscall_slong_t.
63495         (stat64): Likewise.
63497 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63499         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
63501 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63503         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
63505 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63507         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
63508         __syscall_ulong_t.
63510         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
63511         include <bits/wordsize.h>.  Check __x86_64__ instead of
63512         __WORDSIZE.
63513         (greg_t): Use "__extension__ long long int" if __x86_64__ is
63514         defined.
63515         (mcontext_t): Replace "unsigned long" with "unsigned long long".
63517         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
63518         include <bits/wordsize.h>.  Check __x86_64__ instead of
63519         __WORDSIZE.
63520         (user_regs_struct): Use "__extension__ unsigned long long"
63521         instead of "unsigned long" if __x86_64__ is defined.
63522         (user): Likewise.  Pad after pointer field if __ILP32__ is
63523         defined.
63525 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
63527         * configure.in (makeinfo): Require version 4.5 or later.  Allow
63528         versions 5 to 9.
63529         * configure: Regenerated.
63530         * manual/install.texi (texinfo): Increase version requirement to
63531         4.5 or later.
63532         * INSTALL: Regenerated.
63534         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
63536 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63538         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
63540         * sysdeps/x86_64/x32/ffs.c: New file.
63542         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
63543         __syscall_ulong_t.
63544         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
63545         defined.  Use __syscall_ulong_t.
63546         (shminfo): Use __syscall_ulong_t.
63547         (shm_info): Likewise.
63549         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
63550         __syscall_ulong_t.
63552         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
63553         <bits/wordsize.h>.
63554         (msgqnum_t): Use __syscall_ulong_t.
63555         (msglen_t): Likewise.
63556         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
63557         __syscall_ulong_t.
63559         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
63560         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63562         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
63564         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
63565         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
63567         * sysvipc/sys/msg.h (msgbuf): Replace long int with
63568         __syscall_slong_t.
63570         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
63571         include <bits/wordsize.h>.  Check __x86_64__ instead of
63572         __WORDSIZE.
63574         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
63575         "unsigned long long int" if __x86_64__ is defined.
63576         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
63578         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
63579         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63580         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
63582         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
63583         <stdint.h>.
63584         (GET_PC): Cast to uintptr_t first.
63585         (GET_FRAME): Likewise.
63586         (GET_STACK): Likewise.
63588         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
63589         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
63590         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
63591         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
63592         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
63593         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
63594         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
63595         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
63596         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
63597         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
63598         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
63599         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
63600         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63601         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
63602         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
63603         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
63604         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
63605         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
63606         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
63607         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
63608         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
63609         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
63610         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
63611         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
63612         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
63613         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
63614         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
63615         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
63616         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
63618 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
63620         * Makerules (+depfiles): Also collect depfiles from .oS in
63621         $(extra-objs).
63622         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
63623         .oS, $(libnldbl-routines)).
63625         * Makerules (native-compile-mkdep-flags): Define.
63626         * sunrpc/Makefile (extra-objs): Add $(addprefix
63627         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
63628         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
63629         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
63630         calling $(make-target-directory).
63632 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63634         * bits/types.h (__snseconds_t): Removed.
63635         * time/time.h (struct timespec): Replace __snseconds_t with
63636         __syscall_slong_t.
63637         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
63638         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
63639         Likewise.
63640         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63641         (__SNSECONDS_T_TYPE): Likewise.
63642         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63643         (__SNSECONDS_T_TYPE): Likewise.
63644         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63645         (__SNSECONDS_T_TYPE): Likewise.
63647 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63649         * sysdeps/mach/hurd/bits/typesizes.h
63650         (__SYSCALL_SLONG_TYPE): New macro.
63651         (__SYSCALL_ULONG_TYPE): Likewise.
63653 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63655         * bits/types.h (__syscall_slong_t): New type.
63656         (__syscall_ulong_t): Likewise.
63658         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
63659         (__SYSCALL_ULONG_TYPE): Likewise.
63660         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63661         (__SYSCALL_SLONG_TYPE): Likewise.
63662         (__SYSCALL_ULONG_TYPE): Likewise.
63663         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63664         (__SYSCALL_SLONG_TYPE): Likewise.
63665         (__SYSCALL_ULONG_TYPE): Likewise.
63666         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63667         (__SYSCALL_SLONG_TYPE): Likewise.
63668         (__SYSCALL_ULONG_TYPE): Likewise.
63670 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63672         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
63673         Add sigaltstack-offsets.sym.
63674         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63675         <sigaltstack-offsets.h>.
63676         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
63677         longjmp_msg pointer.
63678         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
63679         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63680         signal stack.
63681         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63683 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63685         * elf/stackguard-macros.h: Remove file.
63686         * sysdeps/generic/stackguard-macros.h: New file.
63687         * sysdeps/i386/stackguard-macros.h: Likewise.
63688         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63689         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63690         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63691         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63692         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63693         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63694         * sysdeps/x86_64/stackguard-macros.h: Likewise.
63695         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63696         <elf/stackguard-macros.h>.
63698         [BZ #14109]
63699         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63700         __aligned__ in attribute.
63701         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63702         (gregset_t): Likewise.
63704 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63706         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63707         * sysdeps/x86_64/64/Implies-after: Here.  New file.
63708         * sysdeps/x86_64/x32/Implies-after: New file.
63710 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63712         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63713         and access return value for _dl_profile_fixup.  Use R10_LP to
63714         load frame size.
63716 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63718         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63720 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63722         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63723         * sysdeps/x86_64/x32/sysdep.h: New file.
63725 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63727         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63728         * sysdeps/x86_64/setjmp.S: Likewise.
63730 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63732         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63733         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63734         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63735         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63736         remove unused global constant.
63738 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
63740         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63741         include of <not-cancel.h>.
63743 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63745         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63747 2012-05-15  Jeff Law  <law@redhat.com>
63748             Andreas Jaeger  <aj@suse.de>
63750         [BZ #13594]
63751         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63752         out from...
63753         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63754         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63755         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63756         code changing __hst_map_handle.map.
63758 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63760         * configure.in (sysnames): Look for Implies-before and Implies-after
63761         files.
63762         * configure: Regenerated.
63764 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63766         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63767         8-byte data alignment with LP_SIZE alignment.
63769 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63771         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63772         into R10_LP.
63774 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63776         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63780         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63781         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63782         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63783         Likewise.
63784         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63786 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63788         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63789         (stackinfo_sub_sp): Likewise.
63791 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63793         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63794         RAX_LP.
63796 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63798         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63799         into R*_LP.
63801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63803         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63804         sizes into R*_LP.
63806 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63808         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63810 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63812         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63813         into R11_LP and load __x86_64_shared_cache_size_half into
63814         R8_LP.
63816 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63818         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63819         R8_LP.
63821 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63823         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63824         logb for POWER7.
63825         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63826         logbf for POWER7.
63827         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63828         logbl for POWER7.
63829         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63830         powerpc32/power7/fpu/s_logb.c via #include.
63831         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63832         powerpc32/power7/fpu/s_logbf.c via #include.
63833         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63834         powerpc32/power7/fpu/s_logbl.c via #include.
63836 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63838         * README.libm: Remove file.
63840 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63842         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63843         count for x32.  Use R*_LP and omit operand-size suffix.
63845 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63847         * shlib-versions: Move x86_64-.*-linux.* entries to ...
63848         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
63849         * sysdeps/x86_64/x32/shlib-versions: New file.
63851 2012-05-14  Roland McGrath  <roland@hack.frob.com>
63853         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63854         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63855         Use _dl_fatal_printf instead.
63857 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63859         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63860         set if not set by the user.  Do not allow for being unset.
63861         * sysdeps/unix/sysv/linux/configure: Regenerated.
63863 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63865         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63866         the `q' suffix from lea and replace .quad with ASM_ADDR.
63868 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63870         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63871         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
63872         instead of $17.
63873         (PTR_DEMANGLE): Likewise.
63875 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63877         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63878         (LP_OP): Likewise.
63879         (ASM_ADDR): Likewise.
63880         (RAX_LP): Likewise.
63881         (RBP_LP): Likewise.
63882         (RBX_LP): Likewise.
63883         (RCX_LP): Likewise.
63884         (RDI_LP): Likewise.
63885         (RSI_LP): Likewise.
63886         (RSP_LP): Likewise.
63887         (R8_LP): Likewise.
63888         (R9_LP): Likewise.
63889         (R10_LP): Likewise.
63890         (R10_LP): Likewise.
63891         (R11_LP): Likewise.
63892         (R12_LP): Likewise.
63893         (R13_LP): Likewise.
63894         (R14_LP): Likewise.
63895         (R15_LP): Likewise.
63897 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63899         * sysdeps/x86_64/x32/dl-machine.h: New file.
63901 2012-05-14  Andreas Jaeger  <aj@suse.de>
63903         * manual/Makefile (subdir): Remove export of subdir.
63904         (all): Remove target.
63905         (.PHONY): Remove all from list.
63906         (mkinstalldirs): Remove.
63907         (.PHONY): Remove installdirs from list.
63908         ($(inst_infodir)/libc.info): Use make-target-directory.
63909         (installdirs): Remove.
63910         (subdir_%): Remove.
63911         (glibc-targets): Remove.
63912         (lib): Remove.
63913         (stubs): Remove.
63914         ($(objpfx)stubs ../po/manual.pot): Remove.
63915         ($(objpfx)stamp%): Remove.
63916         (make-target-directory): Remove.
63917         (subdir_install): Remove.
63918         (routines): Remove.
63919         (aux): Remove.
63920         (sources): Remove.
63921         (objects): Remove.
63922         (headers): Remove.
63924         [BZ #13750]
63925         * manual/.gitignore: Remove, it's not needed anymore.
63926         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63927         all files in it.
63928         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63929         directory.
63930         (texis): Renamed to $(objpfx)texis.
63931         (texis-path): New, contains path to generated files.
63932         (chapters.%): Use texis-path for complete path, add extra argument
63933         libc-texinfo.sh.
63934         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63935         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63936         (summary,texi, stamp-summary): Use complete path of
63937         files. Generate files in build dir.
63938         (dir-add.texi): Build in build dir.
63939         (libm-err.texi,stamp-libm-err): Likewise.
63940         (version.texi, stamp-version): Likewise.
63941         (.%c.texi): Likewise.
63942         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63943         (mostlyclean): Remove target.
63944         (realclean): Remove target.
63945         (generated): Add new variable with contents from mostlyclean and
63946         realclean, remove entries duplicated in common-mostlyclean, add
63947         stamp-libm-err and stamp-version.
63948         (generated-dirs): Add libc directory.
63949         ($(inst_infodir)/libc.info): Install files from build dir.
63951         * manual/install.texi (Configuring and compiling): Adjust since
63952         the info files are not part of the tar ball anymore.
63954 2012-05-14  Andreas Jaeger  <aj@suse.de>
63956         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63957         variable.
63959 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63961         [BZ #13717]
63962         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63963         to 2.2.0 where earlier.
63964         * sysdeps/unix/sysv/linux/configure: Regenerated.
63965         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63966         Remove conditional code.
63967         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63968         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63969         Remove conditional code.
63970         [!__NR_lchown]: Likewise.
63971         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63972         [__NR_lchown]: Likewise.
63973         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63974         comment referencing __ASSUME_LCHOWN_SYSCALL.
63975         * sysdeps/unix/sysv/linux/i386/sigaction.c
63976         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63977         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63978         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63979         Remove conditional code.
63980         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63981         (__protocol_available): Remove #if 0 code.
63982         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63983         conditional code.
63984         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63985         * sysdeps/unix/sysv/linux/kernel-features.h
63986         (__ASSUME_GETCWD_SYSCALL): Don't define.
63987         (__ASSUME_REALTIME_SIGNALS): Likewise.
63988         (__ASSUME_PREAD_SYSCALL): Likewise.
63989         (__ASSUME_PWRITE_SYSCALL): Likewise.
63990         (__ASSUME_POLL_SYSCALL): Likewise.
63991         (__ASSUME_LCHOWN_SYSCALL): Likewise.
63992         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63993         non-SPARC.
63994         (__ASSUME_SIOCGIFNAME): Don't define.
63995         (__ASSUME_MSG_NOSIGNAL): Likewise.
63996         (__ASSUME_SENDFILE): Define unconditionally.
63997         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63998         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63999         conditional code.
64000         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
64001         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
64002         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64003         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64004         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
64005         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64006         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
64008         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64009         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
64011         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64012         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
64014         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64015         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
64017         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64018         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
64020         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64021         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
64023         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64024         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
64026         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64027         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
64029         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64030         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64031         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
64032         Remove conditional code.
64033         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64034         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64035         Remove conditional code.
64036         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64037         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
64038         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
64039         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64040         Remove conditional code.
64041         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64042         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
64043         Remove conditional code.
64044         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64045         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
64046         Remove conditional code.
64047         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64048         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64049         Remove conditional code.
64050         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64051         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64052         Remove conditional code.
64053         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64054         * sysdeps/unix/sysv/linux/sh/pwrite64.c
64055         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64056         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64057         * sysdeps/unix/sysv/linux/sigaction.c
64058         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64059         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64060         * sysdeps/unix/sysv/linux/sigpending.c
64061         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64062         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64063         * sysdeps/unix/sysv/linux/sigprocmask.c
64064         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64065         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64066         * sysdeps/unix/sysv/linux/sigsuspend.c
64067         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64068         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64069         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64070         (__libc_missing_rt_sigs): Remove.
64071         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
64072         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
64073         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
64074         Remove conditional code.
64075         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
64076         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
64077         return 1.
64078         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
64079         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
64080         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
64081         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
64083 2012-05-14  Andreas Jaeger  <aj@suse.de>
64085         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
64086         it's not used in glibc.
64087         (__coshm1): Likewise.
64088         (__acosh1p): Likewise.
64089         (__sgn): Likewise.
64091         * manual/string.texi (Copying and Concatenation): Add missing
64092         variable in concat example.
64093         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
64095 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64097         [BZ #14103]
64098         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
64099         __builtin_clzl with __builtin_clzll.
64101 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64103         [BZ #14104]
64104         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
64105         libc_freeres_ptr.
64107 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64109         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
64110         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
64111         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
64112         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
64114 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
64116         * NEWS: Update ia64 info.
64118 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
64120         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
64121         used as bcopy.
64123 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
64125         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
64126         * sysdeps/unix/syscalls.list (dup3): Likewise.
64127         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
64128         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
64130 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64132         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
64133         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
64135 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64137         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
64138         thread pointer.
64139         (TLS_IE): Use mov/add instead of movq/addq to load thread
64140         pointer.
64141         (TLS_GD_PREFIX): New.
64142         (TLS_GD): Use it.
64144 2012-05-11  David S. Miller  <davem@davemloft.net>
64146         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
64147         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
64148         (_FPU_SETCW): Likewise.
64150 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64152         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
64153         is 32-byte aligned.
64155 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
64157         [BZ #11837]
64158         * iconvdata/gb18030.c: Update tables.
64159         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
64160         characters specially.
64161         (BODY for TO_LOOP): Add encoding of missing ranges.
64163 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
64165         [BZ #13673]
64166         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
64167         * sysdeps/mach/hurd/dup3.c: Likewise.
64168         * sysdeps/mach/hurd/readlinkat.c: Likewise.
64169         * sysdeps/powerpc/memmove.c:: Likewise.
64171 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64173         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
64174         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
64176 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64178         * elf/elf.h (R_X86_64_RELATIVE64): New.
64179         (R_X86_64_NUM): Updated.
64180         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64181         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
64182         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
64183         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
64184         tst-quad1pie tst-quad2pie
64185         (modules-names): Add tst-quadmod1 tst-quadmod2.
64186         ($(objpfx)tst-quad1): New dependency.
64187         ($(objpfx)tst-quad2): Likewise.
64188         ($(objpfx)tst-quad1pie): Likewise.
64189         ($(objpfx)tst-quad2pie): Likewise.
64190         * sysdeps/x86_64/tst-quad1.c: New file.
64191         * sysdeps/x86_64/tst-quad1pie.c: New file.
64192         * sysdeps/x86_64/tst-quad2.c: Likewise.
64193         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
64194         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
64195         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
64196         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
64197         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
64199 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64201         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
64202         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
64203         * streams/stropts.h (t_scalar_t): Define type.
64205         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
64206         (_PATH_PRESERVE): Set to "/var/lib".
64207         (_PATH_RWHODIR): Set to "/var/spool/rwho".
64209         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
64210         instead of int.
64212         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
64213         if __dir_mkfile succeeded.
64215         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
64216         checking for _hurd_dtablesize.  Unlock it right after having
64217         finished _hurd_dtable allocation.
64219 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64221         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
64222         * sysdeps/mach/hurd/configure: Regenerated.
64223         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
64224         special-casing to...
64225         * sysdeps/gnu/configure.in: ... this new file.
64226         * sysdeps/unix/sysv/linux/configure: Regenerated.
64227         * sysdeps/gnu/configure: New generated file.
64229         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
64230         for Linux: use nsec instead of usec, as well as:
64231         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
64232         members of type struct timespec.
64233         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
64234         New macros.
64235         (struct stat64): Likewise.
64236         (_STATBUF_ST_NSEC): New macro.
64237         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
64239         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64240         __strtoul_internal rather than strtoul.
64242 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64244         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
64245         and reject them.
64247 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64249         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
64250         which preserves existing values.
64251         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
64253 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64255         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
64256         TIMEOUT values.  Return EINVAL for NFDS values either negative or
64257         greater than FD_SETSIZE.
64259 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64261         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
64262         allocated, call __vm_protect to finish enabling the existing space, and
64263         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
64264         allocate the remainder.
64266 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64268         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
64269         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
64271 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64273         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
64274         sysdeps/mach/hurd/readlink.c.
64276         * posix/tst-sysconf.c (posix_options): Only use
64277         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
64278         _POSIX_SYNCHRONIZED_IO when they are defined
64279         * sysdeps/mach/hurd/bits/posix_opt.h:
64280         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
64281         (_XOPEN_REALTIME): Undefine macro.
64282         (_XOPEN_REALTIME_THREADS): Undefine macro.
64283         (_XOPEN_SHM): Undefine macro.
64284         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
64285         macro to -1.
64286         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
64287         macro to -1.
64288         (_POSIX_ASYNC_IO): Undefine macro.
64289         (_POSIX_PRIORITIZED_IO): Undefine macro.
64290         (_POSIX_SPIN_LOCKS): Define macro to -1.
64292         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
64293         SA_NODEFER, SA_RESETHAND.
64294         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
64295         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
64296         F_DUPFD_CLOEXEC.
64298 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64300         * elf/Makefile (pldd-modules): Define unconditionally.
64302 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64304         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
64306 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64308         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
64309         Return ENOENT when name is empty.
64310         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
64312 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64314         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
64316         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
64318 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64320         Fix mlock in all cases except non-readable pages.
64321         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
64322         instead of VM_PROT_ALL as parameter to __vm_wire function.
64324         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
64325         (__mkdir): When path is `/', just fail with EEXIST.
64326         * sysdeps/mach/hurd/mkdirat.c: Likewise.
64328 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64330         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
64331         <sys/uio.h> (for writev).
64332         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
64333         and <sys/param.h> (for MIN).
64335 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64337         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
64338         REQUESTED_TIME.  Properly set the remaining time and return EINTR
64339         if interrupted.
64341 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64343         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
64344         Depend on against $(link-rpcuserlibs).
64346 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64348         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
64349         (__libc_stack_end): Do not use attribute_relro.
64350         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
64351         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
64352         to libthread-provided value.
64353         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
64354         attribute_relro.
64356 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64358         [BZ #3748]
64359         * bits/libc-lock.h (__libc_once_get): New macro.
64360         * sysdeps/mach/bits/libc-lock.h: Likewise.
64361         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
64362         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
64363         instead of using implementation details.
64365         * libio/fileops.c: Unconditionally include <kernel-features.h>.
64366         * libio/freopen.c: Likewise.
64367         * libio/freopen64.c: Likewise.
64368         * misc/syslog.c: Likewise.
64369         * nscd/connections.c: Likewise.
64370         * nscd/netgroupcache.c: Likewise.
64371         * sysdeps/posix/getcwd.c: Likewise.
64373 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64375         * math/w_ilogbf.c: Add #include <limits.h>.
64377 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64379         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
64380         path instead of returning without unlocking.
64382         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
64383         immediate-write ioctls.
64384         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
64386 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64388         * sysdeps/mach/hurd/i386/init-first.c (init): Use
64389         __builtin_frame_address instead of making assumptions about the
64390         location of the return address relative to DATA.  Force early load of
64391         the return address.
64392         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
64393         __builtin_frame_address.
64395         dup3 for GNU Hurd.
64396         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
64397         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
64398         implement dup3 and do some further code clean-ups.
64399         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
64400         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
64402 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64404         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
64406         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
64407         HURD_CRITICAL_END around holding _hurd_dtable_lock.
64408         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
64409         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
64410         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
64411         d->port.lock.
64413         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
64414         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
64415         when handler == SIG_ERR, not when handler != SIG_ERR.
64417 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64419         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
64420         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
64421         definitions.
64423         accept4 for GNU Hurd.
64424         * include/sys/socket.h (__libc_accept4): New prototype.
64425         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
64426         to implement __libc_accept4.
64427         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
64428         __libc_accept4.
64429         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
64431         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
64432         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
64433         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
64434         signal-defines.sym.
64436 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64438         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
64440 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64442         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
64443         assertion on O_CLOEXEC flag.
64444         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
64445         * hurd/intern-fd.c: Likewise.
64446         * hurd/port2fd.c: Likewise.
64448 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64450         [BZ #3906]
64451         * bits/in.h (IPV6_PKTINFO): Define new macro.
64452         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
64454 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64456         [BZ #13954]
64457         [BZ #13955]
64458         [BZ #13956]
64459         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
64460         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64461         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
64462         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64463         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64464         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64465         * math/libm-test.inc (logb_test) : Additional logb tests.
64467 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
64468             Andreas Jaeger  <aj@suse.de>
64470         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
64471         * configure: Regenerated.
64472         * config.h.in (LINK_OBSOLETE_RPC): New macro.
64473         * config.make.in (link-obsolete-rpc): New substituted variable.
64474         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
64475         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
64476         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64477         (shared-only-routines): Don't set it under [link-obsolete-rpc],
64478         so that libc.a contains the symbols.
64479         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64480         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
64481         * sunrpc/auth_none.c: Likewise.
64482         * sunrpc/auth_unix.c: Likewise.
64483         * sunrpc/authdes_prot.c: Likewise.
64484         * sunrpc/authuxprot.c: Likewise.
64485         * sunrpc/clnt_gen.c: Likewise.
64486         * sunrpc/clnt_perr.c: Likewise.
64487         * sunrpc/clnt_raw.c: Likewise.
64488         * sunrpc/clnt_simp.c: Likewise.
64489         * sunrpc/clnt_tcp.c: Likewise.
64490         * sunrpc/clnt_udp.c: Likewise.
64491         * sunrpc/clnt_unix.c: Likewise.
64492         * sunrpc/des_crypt.c: Likewise.
64493         * sunrpc/des_soft.c: Likewise.
64494         * sunrpc/get_myaddr.c: Likewise.
64495         * sunrpc/key_call.c: Likewise.
64496         * sunrpc/key_prot.c: Likewise.
64497         * sunrpc/netname.c: Likewise.
64498         * sunrpc/pm_getmaps.c: Likewise.
64499         * sunrpc/pm_getport.c: Likewise.
64500         * sunrpc/pmap_clnt.c: Likewise.
64501         * sunrpc/pmap_prot.c: Likewise.
64502         * sunrpc/pmap_prot2.c: Likewise.
64503         * sunrpc/pmap_rmt.c: Likewise.
64504         * sunrpc/publickey.c: Likewise.
64505         * sunrpc/rpc_cmsg.c: Likewise.
64506         * sunrpc/rpc_common.c: Likewise.
64507         * sunrpc/rpc_dtable.c: Likewise.
64508         * sunrpc/rpc_prot.c: Likewise.
64509         * sunrpc/rpc_thread.c: Likewise.
64510         * sunrpc/rtime.c: Likewise.
64511         * sunrpc/svc.c: Likewise.
64512         * sunrpc/svc_auth.c: Likewise.
64513         * sunrpc/svc_raw.c: Likewise.
64514         * sunrpc/svc_run.c: Likewise.
64515         * sunrpc/svc_tcp.c: Likewise.
64516         * sunrpc/svc_udp.c: Likewise.
64517         * sunrpc/svc_unix.c: Likewise.
64518         * sunrpc/svcauth_des.c: Likewise.
64519         * sunrpc/xcrypt.c: Likewise.
64520         * sunrpc/xdr.c: Likewise.
64521         * sunrpc/xdr_array.c: Likewise.
64522         * sunrpc/xdr_float.c: Likewise.
64523         * sunrpc/xdr_intXX_t.c: Likewise.
64524         * sunrpc/xdr_mem.c: Likewise.
64525         * sunrpc/xdr_rec.c: Likewise.
64526         * sunrpc/xdr_ref.c: Likewise.
64527         * sunrpc/xdr_sizeof.c: Likewise.
64528         * sunrpc/xdr_stdio.c: Likewise.
64530 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64532         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
64533         change.  Update copyright years.
64535 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64537         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
64539 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
64540             Joseph Myers  <joseph@codesourcery.com>
64541             Paul Pluzhnikov  <ppluzhnikov@google.com>
64543         [BZ #14012]
64544         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
64545         requiring rpcgen.
64546         [cross-compiling] (extra-libs): Likewise.
64547         [cross-compiling] (extra-libs-others): Likewise.
64548         [cross-compiling] (librpcsvc-routines): Likewise.
64549         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
64550         [cross-compiling] (omit-deps): Likewise.
64551         (sunrpc-CPPFLAGS): New variable.
64552         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
64553         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
64554         (cross-rpcgen-objs): New variable.
64555         (extra-objs): Append $(cross-rpcgen-objs).
64556         ($(cross-rpcgen-objs)): New rule.
64557         ($(objpfx)cross-rpcgen): Likewise.
64558         (rpcgen-cmd): Define to use $(built-program-file).  Expand
64559         comment.
64560         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
64561         ($(objpfx)x%.stmp): Likewise.
64562         * sunrpc/proto.h [IS_IN_build] (_): Define.
64563         [IS_IN_build] (_libc_intl_domainname): Likewise.
64565 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64567         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
64568         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
64569         and R_X86_64_TPOFF64.
64571 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64573         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
64574         sysdeps/unix/sysv/syscalls.list.
64575         (stime): Likewise.
64576         (utime): Likewise.
64577         * sysdeps/unix/sysv/syscalls.list: Remove file.
64579 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
64581         [BZ #3440]
64582         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
64583         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
64584         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
64585         (__LC_IDENTIFICATION): Make these macros useful in #if
64586         expressions, as required by C99.
64588 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
64590         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
64591         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
64592         after this.
64594 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
64596         * stdlib/longlong.h: Updated from GCC.
64598 2012-05-09  Andreas Jaeger  <aj@suse.de>
64600         * nscd/nscd.c (run_modes): Make named enum, reorder so that
64601         default is first entry.
64602         (run_mode): Set type.
64603         (main): Remove informal message about syslog.
64604         (options): Fix typo.
64606         [BZ #14053]
64607         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
64608         to asm.
64609         (lrint): Likewise.
64610         (llrintf): Likewise.
64611         (llrint): Likewise.
64612         (rint): Likewise.
64613         (rintf): Likewise.
64614         (nearbyint): Likewise.
64615         (nearbyintf): Likewise.
64617 2012-05-09  Andreas Jaeger  <aj@suse.de>
64618             Pedro Alves  <palves@redhat.com>
64620         * nscd/nscd.c (run_mode): Use enum.
64621         (main): Cleanup coding style issue.
64623 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
64624             Andreas Jaeger  <aj@suse.de>
64626         * nscd/nscd.c (go_background): Replaced with...
64627         (run_mode): ... this.
64628         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
64629         (options): Add -F --foreground.
64630         (main): Implement it.
64631         (parse_opt): Parse it.
64633 2012-05-09  Andreas Jaeger  <aj@suse.de>
64635         [BZ #14083]
64636         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
64637         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
64638         -Wconversion warning.
64639         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
64640         Likewise.
64642 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
64644         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
64645         == 0.
64646         (LC_ALL): Use macro-int-constant.
64647         (LC_COLLATE): Likewise.
64648         (LC_CTYPE): Likewise.
64649         (LC_MESSAGES): Likewise.
64650         (LC_MONETARY): Likewise.
64651         (LC_NUMERIC): Likewise.
64652         (LC_TIME): Likewise.
64653         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
64654         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64655         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64656         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
64657         Specify type.
64658         [C99-based standards] (float_t): Expect type.
64659         [C99-based standards] (double_t): Expect type.
64660         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
64661         type.
64662         [C99-based standards] (HUGE_VALL): Likewise.
64663         [C99-based standards] (INFINITY): Likewise.
64664         [C99-based standards] (NAN): Likewise.
64665         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
64666         [C99-based standards] (FP_NAN): Likewise.
64667         [C99-based standards] (FP_NORMAL): Likewise.
64668         [C99-based standards] (FP_SUBNORMAL): Likewise.
64669         [C99-based standards] (FP_ZERO): Likewise.
64670         [C99-based standards] (FP_FAST_FMA): Use
64671         optional-macro-int-constant.  Specify type.  Require == 1.
64672         [C99-based standards] (FP_FAST_FMAF): Likewise.
64673         [C99-based standards] (FP_FAST_FMAL): Likewise.
64674         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64675         [C99-based standards] (FP_ILOGBNAN): Likewise.
64676         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64677         Specify type.
64678         [C99-based standards] (MATH_ERREXCEPT): Likewise.
64679         [C99-based standards] (math_errhandling): Specify type.
64680         [ISO99 || ISO11] (signgam): Do not allow.
64681         [non-C99-based standards] (copysignf): Do not allow.
64682         [non-C99-based standards] (exp2f): Likewise.
64683         [non-C99-based standards] (log2f): Likewise.
64684         [non-C99-based standards] (modff): Allow.
64685         [non-C99-based standards] (erff): Do not allow.
64686         [non-C99-based standards] (erfcf): Likewise.
64687         [non-C99-based standards] (gammaf): Likewise.
64688         [non-C99-based standards] (hypotf): Likewise.
64689         [non-C99-based standards] (j0f): Likewise.
64690         [non-C99-based standards] (j1f): Likewise.
64691         [non-C99-based standards] (jnf): Likewise.
64692         [non-C99-based standards] (lgammaf): Likewise.
64693         [non-C99-based standards] (tgammaf): Likewise.
64694         [non-C99-based standards] (y0f): Likewise.
64695         [non-C99-based standards] (y1f): Likewise.
64696         [non-C99-based standards] (ynf): Likewise.
64697         [non-C99-based standards] (isnanf): Likewise.
64698         [non-C99-based standards] (acoshf): Likewise.
64699         [non-C99-based standards] (asinhf): Likewise.
64700         [non-C99-based standards] (atanhf): Likewise.
64701         [non-C99-based standards] (cbrtf): Likewise.
64702         [non-C99-based standards] (expm1f): Likewise.
64703         [non-C99-based standards] (ilogbf): Likewise.
64704         [non-C99-based standards] (log1pf): Likewise.
64705         [non-C99-based standards] (logbf): Likewise.
64706         [non-C99-based standards] (nextafterf): Likewise.
64707         [non-C99-based standards] (remainderf): Likewise.
64708         [non-C99-based standards] (rintf): Likewise.
64709         [non-C99-based standards] (scalbf): Likewise.
64710         [non-C99-based standards] (copysignl): Likewise.
64711         [non-C99-based standards] (exp2l): Likewise.
64712         [non-C99-based standards] (log2l): Likewise.
64713         [non-C99-based standards] (modfl): Allow.
64714         [non-C99-based standards] (erfl): Do not allow.
64715         [non-C99-based standards] (erfcl): Likewise.
64716         [non-C99-based standards] (gammal): Likewise.
64717         [non-C99-based standards] (hypotl): Likewise.
64718         [non-C99-based standards] (j0l): Likewise.
64719         [non-C99-based standards] (j1l): Likewise.
64720         [non-C99-based standards] (jnl): Likewise.
64721         [non-C99-based standards] (lgammal): Likewise.
64722         [non-C99-based standards] (tgammal): Likewise.
64723         [non-C99-based standards] (y0l): Likewise.
64724         [non-C99-based standards] (y1l): Likewise.
64725         [non-C99-based standards] (ynl): Likewise.
64726         [non-C99-based standards] (isnanl): Likewise.
64727         [non-C99-based standards] (acoshl): Likewise.
64728         [non-C99-based standards] (asinhl): Likewise.
64729         [non-C99-based standards] (atanhl): Likewise.
64730         [non-C99-based standards] (cbrtl): Likewise.
64731         [non-C99-based standards] (expm1l): Likewise.
64732         [non-C99-based standards] (ilogbl): Likewise.
64733         [non-C99-based standards] (log1pl): Likewise.
64734         [non-C99-based standards] (logbl): Likewise.
64735         [non-C99-based standards] (nextafterl): Likewise.
64736         [non-C99-based standards] (remainderl): Likewise.
64737         [non-C99-based standards] (rintl): Likewise.
64738         [non-C99-based standards] (scalbl): Likewise.
64739         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64740         [non-C99-based standards] (FP_*): Do not allow.
64741         [C99-based standards] (FP_*): Change to
64742         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64743         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64744         allow.
64745         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64746         (SIG_ERR): Likewise.
64747         [X/Open-based standards] (SIG_HOLD): Likewise.
64748         (SIG_IGN): Likewise.
64749         (SIGABRT): Use macro-int-constant.  Specify type.  Require
64750         positive value.
64751         (SIGFPE): Likewise.
64752         (SIGILL): Likewise.
64753         (SIGINT): Likewise.
64754         (SIGSEGV): Likewise.
64755         (SIGTER): Likewise.
64756         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64757         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64758         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64759         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64760         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64761         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64762         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64763         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64764         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64765         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64766         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64767         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64768         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64769         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64770         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64771         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64772         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64773         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64774         [X/Open-based standards] (SIGTRAP): Likewise.
64775         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64776         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64777         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64778         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64779         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64780         allow.
64782 2012-05-08  Ian Wienand  <ianw@vmware.com>
64784         [BZ #14080]
64785         * time/tzset.c (__tzset_parse_tz): Update default rules for
64786         daylight time changes in the Energy Policy Act of 2005.
64788 2012-05-09  Andreas Jaeger  <aj@suse.de>
64790         [BZ #13983]
64791         * elf/ldconfig.c (parse_conf): Change string to make clear that
64792         ldconfig only issued a warning if ld.so.conf does not exist.
64794 2012-05-08  David S. Miller  <davem@davemloft.net>
64796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64797         movxtod instead of popping the value on the stack.
64799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64801 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
64803         * config.h.in: Add HAVE_ARM_PCS_VFP.
64805 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
64807         [BZ #13979]
64808         * include/features.h: Warn if user requests __FORTIFY_SOURCE
64809         checking but the checks are disabled for any reason.
64811 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
64813         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64814         and ELF64_R_TYPE with ELFW(R_TYPE).
64816 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
64818         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64819         (ulimit): Likewise.
64821         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64822         (settimeofday): Likewise.
64824 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
64826         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
64827         a struct th_u2 inside the union, and move tu_block/tu_code into
64828         a new th_u3 union of tu_block/tu_code inside of that.  Move
64829         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
64830         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
64831         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64832         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64833         (th_stuff): Change to th_u1.tu_stuff.
64834         (th_data): Define.
64835         (th_msg): Change to th_u1.th_u2.tu_data.
64837 2012-05-07  David S. Miller  <davem@davemloft.net>
64839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64841         [BZ #14074]
64842         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64843         (SETUP_PIC_REG): Use it.
64844         (SETUP_PIC_REG_LEAF): Use it.
64846 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
64848         [BZ #13885]
64849         [BZ #13923]
64850         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64851         USE_AS_EXPM1L.
64852         (EXPL_FINITE): Likewise.
64853         (FLDLOG): Likewise.
64854         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64855         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64856         e_expl.S.
64857         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64858         USE_AS_EXPM1L.
64859         (EXPL_FINITE): Likewise.
64860         (FLDLOG): Likewise.
64861         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64862         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64863         e_expl.S.
64864         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
64865         test of -max_value argument for long double.
64866         * sysdeps/i386/fpu/libm-test-ulps: Update.
64867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64869 2012-05-06  David S. Miller  <davem@davemloft.net>
64871         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64872         quad soft-float symbols whose references which are compiler
64873         generated.
64874         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64876 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
64878         [BZ #13884]
64879         [BZ #13914]
64880         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64881         USE_AS_EXP10L.
64882         (EXPL_FINITE): Likewise.
64883         (FLDLOG): Likewise.
64884         (c0): Likewise.
64885         (c1): Likewise.
64886         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64887         Adjust comments for base varying.
64888         (__expl_finite): Change alias to EXPL_FINITE.
64889         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64890         e_expl.S.
64891         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64892         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64893         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64894         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64895         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64896         USE_AS_EXP10L.
64897         (EXPL_FINITE): Likewise.
64898         (FLDLOG): Likewise.
64899         (c0): Likewise.
64900         (c1): Likewise.
64901         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64902         Adjust comments for base varying.
64903         (__expl_finite): Change alias to EXPL_FINITE.
64904         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
64905         tests for bugs.
64906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64908         [BZ #14064]
64909         * math/libm-test.inc (check_float_internal): Correct ulp
64910         calculation for subnormal expected results.
64912 2012-05-06  Andreas Jaeger  <aj@suse.de>
64914         * Makeconfig (+math-flags): New, set to -frounding-math.
64915         (+cflags): Add +math-flags so that all of glibc gets compiled with
64916         it.
64918         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64920 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
64922         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64923         Disable one test.
64925         [BZ #13787]
64926         [BZ #13922]
64927         [BZ #14036]
64928         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64929         (__ieee754_expl): Allow for and saturate large arguments.
64930         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64931         (u_threshold): Likewise.
64932         (__exp): Call __ieee754_exp before checking for overflow and
64933         underflow.
64934         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64935         (u_threshold): Likewise.
64936         (__expf): Call __ieee754_expf before checking for overflow and
64937         underflow.
64938         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64939         (u_threshold): Likewise.
64940         (__expl): Call __ieee754_expl before checking for overflow and
64941         underflow.
64942         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64943         (__ieee754_expl): Allow for and saturate large arguments.
64944         * math/libm-test.inc (exp_test): Add another test.  Do not allow
64945         missing overflow exception on overflow.
64946         (expm1_test): Do not allow missing overflow exception on overflow.
64948         * sysdeps/i386/fpu/e_expl.c: Move to ...
64949         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
64950         rather than using inline asm.
64951         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64952         * sysdeps/x86_64/fpu/e_expl.S: Copy from
64953         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64955         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64956         (nice): Likewise.
64957         (poll): Likewise.
64958         (signal): Likewise.
64959         (time): Likewise.
64960         (times): Likewise.
64962 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64964         * sysdeps/unix/syscalls.list (adjtime): Add entry from
64965         sysdeps/unix/common/syscalls.list.
64966         (fchmod): Likewise.
64967         (fchown): Likewise.
64968         (ftruncate): Likewise.
64969         (getrusage): Likewise.
64970         (gettimeofday): Likewise.
64971         (setpgid): Likewise.
64972         (setregid): Likewise.
64973         (setreuid): Likewise.
64974         (sigaction): Likewise.
64975         (truncate): Likewise.
64976         (vhangup): Likewise.
64977         * sysdeps/unix/common/syscalls.list: Remove file.
64978         * sysdeps/unix/bsd/Implies: Don't include unix/common.
64979         * sysdeps/unix/sysv/linux/Implies: Likewise.
64981 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
64983         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64985         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64986         Moved to ...
64987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64988         Here.
64989         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64990         to ...
64991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64992         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64993         to ...
64994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64995         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64996         to ...
64997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64998         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64999         to ...
65000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
65001         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
65002         to ...
65003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
65004         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
65005         to ...
65006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
65007         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
65008         to ...
65009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65010         Here.
65011         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
65012         to ...
65013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
65014         Here.
65015         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
65016         to ...
65017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
65018         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
65019         Moved to ...
65020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
65021         Here.
65022         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
65023         to ...
65024         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
65026 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65028         * sysdeps/unix/common/bits/dirent.h: Remove file.
65029         * sysdeps/unix/common/bits/fcntl.h: Likewise.
65031         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
65032         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
65033         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
65034         * sysdeps/unix/bsd/isatty.c: Likewise.
65035         * sysdeps/unix/bsd/tcdrain.c: Likewise.
65036         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
65037         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
65039 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65041         [BZ #13563]
65042         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
65043         long double comparison inaccuracies.
65044         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
65045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65047 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
65049         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
65050         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
65052 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65054         [BZ #14049]
65055         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
65056         nonzero digits before rounding a hex value.
65057         * stdlib/tst-strtod.c (tests): Add another test.
65059 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65061         * sysdeps/s390/fpu/libm-test-ulps: Update.
65063 2012-05-03  Andreas Jaeger  <aj@suse.de>
65065         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
65066         does not get optimized out.
65067         (malloc_opt_barrier): New.
65069 2012-05-03  Andreas Jaeger  <aj@suse.de>
65070             Roland McGrath  <roland@hack.frob.com>
65072         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
65073         intermediate file deletion.
65074         (generated): Add .symlist files.
65076 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
65078         [BZ #13775]
65079         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
65080         Redirect under this condition.
65081         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65082         [__USE_GNU] (__dprintf_chk): Not under this condition.
65083         [__USE_GNU] (__vdprintf_chk): Likewise.
65084         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
65085         under this condition.
65086         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65087         [__USE_XOPEN2K8] (dprintf): Define under this condition.
65088         [__USE_XOPEN2K8] (vdprintf): Likewise.
65089         [__USE_GNU] (__dprintf_chk): Not under this condition.
65090         [__USE_GNU] (__vdprintf_chk): Likewise.
65091         [__USE_GNU] (dprintf): Likewise.
65092         [__USE_GNU] (vdprintf): Likewise.
65094 2012-05-03  Roland McGrath  <roland@hack.frob.com>
65096         * elf/Makefile (common-generated): Set this instead of generated for
65097         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
65098         $(all-built-dso)-derived lists.
65100 2012-05-03  Andreas Jaeger  <aj@suse.de>
65102         * sysdeps/i386/fpu/libm-test-ulps: Update.
65104         * FAQ: Removed.
65105         * FAQ.in: Likewise.
65106         * scripts/gen-FAQ.pl: Likewise.
65107         * manual/install.texi (Installation): Point to online location of
65108         FAQ.
65109         * Makefile (files-for-dist): Remove FAQ.
65110         (FAQ): Remove.
65112 2012-05-02  Allan McRae  <allan@archlinux.org>
65114         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
65115         (LDFLAGS-reldepmod5.so): Likewise.
65116         (LDFLAGS-reldep6mod1.so): Likewise.
65117         (LDFLAGS-reldep6mod4.so): Likewise.
65118         (LDFLAGS-reldep8mod3.so): Likewise.
65119         (LDFLAGS-unload4mod1.so): Likewise.
65120         (LDFLAGS-unload4mod2.so): Likewise.
65121         (LDFLAGS-tst-initorder): Likewise.
65122         (LDFLAGS-tst-initordera2.so): Likewise.
65123         (LDFLAGS-tst-initordera3.so): Likewise.
65124         (LDFLAGS-tst-initordera4.so): Likewise.
65125         (LDFLAGS-tst-initorderb2.so): Likewise.
65126         (LDFLAGS-noload): Likewise.
65127         (LDFLAGS-next): Likewise.
65128         (LDFLAGS-order2mod1.so): Likewise.
65129         (LDFLAGS-order2mod2.so): Likewise.
65130         (LDFLAGS-tst-initorder2): Likewise.
65131         (LDFLAGS-tst-initorder2a.so): Likewise.
65132         (LDFLAGS-tst-initorder2b.so): Likewise.
65133         (LDFLAGS-tst-initorder2c.so): Likewise.
65134         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
65136 2012-05-02  David S. Miller  <davem@davemloft.net>
65138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65140 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
65142         [BZ #14055]
65143         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
65145 2012-05-02  Andreas Jaeger  <aj@suse.de>
65147         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
65148         since we manipulate rounding mode.
65149         (CPPFLAGS-test-idouble.c): Likewise.
65150         (CPPFLAGS-test-ifloat.c): Likewise.
65151         (CFLAGS-test-ldouble.c): Likewise.
65152         (CFLAGS-test-double.c): Likewise.
65153         (CFLAGS-test-float.c): Likewise.
65154         (CFLAGS-test-misc.c): Likewise.
65155         (CFLAGS-test-test-fenv.c): Likewise.
65157 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65159         [BZ #2550]
65160         [BZ #2570]
65161         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
65162         comparisons to determine direction to adjust input.
65164 2012-05-01  Roland McGrath  <roland@hack.frob.com>
65166         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
65167         output to the target.
65169         * scripts/localplt.awk: New file.
65170         * elf/Makefile ($(objpfx)check-localplt): Target removed.
65171         (check-localplt-CFLAGS): Variable removed.
65172         ($(all-built-dso:=.jmprel)): New static pattern rule.
65173         (generated): Add those targets.
65174         (localplt-built-dso): New variable.
65175         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
65177         * elf/check-localplt.c: File removed.
65179         * scripts/check-execstack.awk: New file.
65180         * elf/Makefile ($(objpfx)check-execstack): Target removed.
65181         (check-execstack-CFLAGS): Variable removed.
65182         ($(objpfx)check-execstack.h): Target removed.
65183         ($(objpfx)execstack-default): New target.
65184         (generated): Add that instead of check-execstack.h.
65185         ($(all-built-dso:=.phdr)): New static pattern rule.
65186         (generated): Add those targets.
65187         * elf/check-execstack.c: File removed.
65189         * scripts/check-textrel.awk: New file.
65190         * elf/Makefile ($(objpfx)check-textrel): Target removed.
65191         (check-textrel-CFLAGS): Variable removed.
65192         (all-built-dso): Use := to define.o
65193         ($(all-built-dso:=.dyn)): New static pattern rule.
65194         (generated): Add those targets.
65195         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
65196         * config.make.in (READELF): New substituted variable.
65197         * elf/check-textrel.c: File removed.
65199 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65201         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65202         allow.
65203         * conform/data/ctype.h-data [C99-based standards] (isblank):
65204         Expect function.
65205         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
65206         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
65207         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65208         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
65209         Specify type.  Require positive value.
65210         (EILSEQ): Likewise.
65211         (ERANGE): Likewise.
65212         [ISO || POSIX] (EILSEQ): Do not expect.
65213         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
65214         Specify type.  Require positive value.
65215         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
65216         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
65217         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
65218         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
65219         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
65220         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
65221         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
65222         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
65223         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
65224         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
65225         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
65226         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
65227         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
65228         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
65229         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
65230         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
65231         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
65232         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
65233         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
65234         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
65235         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
65236         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
65237         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
65238         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
65239         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
65240         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
65241         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
65242         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
65243         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
65244         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
65245         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
65246         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
65247         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
65248         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
65249         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
65250         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
65251         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
65252         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
65253         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
65254         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
65255         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
65256         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
65257         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
65258         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
65259         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
65260         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
65261         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
65262         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
65263         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
65264         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
65265         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
65266         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
65267         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
65268         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
65269         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
65270         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
65271         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
65272         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
65273         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
65274         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
65275         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
65276         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
65277         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
65278         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
65279         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
65280         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
65281         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
65282         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
65283         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
65284         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
65285         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
65286         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
65287         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
65288         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
65289         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
65290         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
65291         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
65292         Require >= 2.
65293         (FLT_ROUNDS): Expect as macro, not constant.
65294         (FLT_MANT_DIG): Use macro-int-constant.
65295         (DBL_MANT_DIG): Likewise.
65296         (LDBL_MANT_DIG): Likewise.
65297         (FLT_DIG): Likewise.
65298         (DBL_DIG): Likewise.
65299         (LDBL_DIG): Likewise.
65300         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
65301         (DBL_MIN_EXP): Likewise.
65302         (LDBL_MIN_EXP): Likewise.
65303         (FLT_MAX_EXP): Use macro-int-constant.
65304         (DBL_MAX_EXP): Likewise.
65305         (LDBL_MAX_EXP): Likewise.
65306         (FLT_MAX_10_EXP): Likewise.
65307         (DBL_MAX_10_EXP): Likewise.
65308         (LDBL_MAX_10_EXP): Likewise.
65309         (FLT_MAX): Use macro-constant.
65310         (DBL_MAX): Likewise.
65311         (LDBL_MAX): Likewise.
65312         (FLT_EPSILON): Use macro-constant.  Give upper bound.
65313         (DBL_EPSILON): Likewise.
65314         (LDBL_EPSILON): Likewise.
65315         (FLT_MIN): Likewise.
65316         (DBL_MIN): Likewise.
65317         (LDBL_MIN): Likewise.
65318         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
65319         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
65320         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
65321         [ISO11] (FLT_HAS_SUBNORM): Likewise.
65322         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
65323         [ISO11] (DBL_DECIMAL_DIG): Likewise.
65324         [ISO11] (FLT_DECIMAL_DIG): Likewise.
65325         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
65326         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
65327         [ISO11] (FLT_TRUE_MIN): Likewise.
65328         [ISO11] (LDBL_TRUE_MIN): Likewise.
65329         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65330         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
65331         (SCHAR_MIN): Use macro-int-constant.  Specify type.
65332         (SCHAR_MAX): Likewise.
65333         (UCHAR_MAX): Likewise.
65334         (CHAR_MIN): Likewise.
65335         (CHAR_MAX): Likewise.
65336         (MB_LEN_MAX): Use macro-int-constant.
65337         (SHRT_MIN): Use macro-int-constant.  Specify type.
65338         (SHRT_MAX): Likewise.
65339         (USHRT_MAX): Likewise.
65340         (INT_MAX): Likewise.
65341         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
65342         bound negative.
65343         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65344         bound with "U".
65345         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65346         bound with "L".
65347         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
65348         bound negative.  Suffix upper bound with "L".
65349         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65350         bound with "UL".
65351         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
65352         Specify type.
65353         [C99-based standards] (LLONG_MAX): Likewise.
65354         [C99-based standards] (ULLONG_MAX): Likewise.
65355         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
65356         == 0.
65357         [ISO11] (max_align_t): Require type.
65358         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65360         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
65361         from $CFLAGS, without defining away __attribute__ calls.
65362         (checknamespace): Use $CFLAGS_namespace.
65364         * conform/conformtest.pl (@keywords): Only include C99 keywords
65365         for standards based on C99 or C11.
65367         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
65368         Disable tests.
65369         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
65370         UNIX98]: Likewise.
65372         * conform/conformtest.pl: Handle "macro-int-constant" and test for
65373         usability of symbols in #if.
65375         * conform/conformtest.pl: If macro or constant types start
65376         "promoted:", expect the symbol to be of the following type
65377         promoted by the integer promotions.
65379         * conform/conformtest.pl: Parse all "constant" and "macro" lines
65380         in one place.  Also handle "macro-constant".
65382         * conform/conformtest.pl: Only accept expected macro values with
65383         "==".  Parse all "macro" lines in one place.
65384         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
65386         * conform/conformtest.pl: Handle braced types on "constant" lines
65387         instead of handling "typed-constant".
65388         * conform/data/signal.h-data: Use "constant" instead of
65389         "typed-constant".
65391         * conform/conformtest.pl: Handle "optional-" at start of lines in
65392         one place rather than duplicating several cases.  Handle each
65393         format of "macro" line with initial "optional-".
65395         * conform/conformtest.pl: Only accept expected constant or
65396         optional-constant values with "==".  Parse all "constant" lines in
65397         one place.  Parse all "optional-constant" lines in one place.
65398         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
65399         * conform/data/fmtmsg.h-data: Likewise.
65400         * conform/data/netinet/in.h-data: Likewise.
65401         * conform/data/tar.h-data: Likewise.
65402         * conform/data/limits.h-data: Use "==" form on "constant" and
65403         "optional-constant" lines.
65405         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
65406         Use -std=c99 for XOPEN2K.
65407         (@knownproblems): Remove.
65408         (newtoken): Don't check %isknown.
65410         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
65411         Do not expect macro.
65412         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
65413         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
65414         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
65415         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
65416         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
65417         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
65418         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
65419         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
65420         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
65421         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
65422         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
65423         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
65424         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
65425         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
65426         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
65427         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
65428         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
65429         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
65430         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
65431         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
65432         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
65433         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65434         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
65435         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
65436         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
65437         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
65438         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
65439         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
65440         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
65441         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
65442         [XPG3] (acosh): Likewise.
65443         [XPG3] (asinh): Likewise.
65444         [XPG3] (atanh): Likewise.
65445         [XPG3] (cbrt): Likewise.
65446         [XPG3] (expm1): Likewise.
65447         [XPG3] (ilogb): Likewise.
65448         [XPG3] (log1p): Likewise.
65449         [XPG3] (logb): Likewise.
65450         [XPG3] (nextafter): Likewise.
65451         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
65452         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
65453         [XPG3] (remainder): Likewise.
65454         [XPG3] (rint): Likewise.
65455         [XPG3 || XPG4 || UNIX98] (round): Likewise.
65456         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65457         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
65458         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
65459         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
65460         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
65461         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
65462         [UNIX98 || XOPEN2K] (scalb): Expect.
65463         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
65464         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
65465         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
65466         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
65467         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
65468         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
65469         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
65470         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
65471         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
65472         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
65473         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
65474         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
65475         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
65476         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
65477         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
65478         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
65479         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
65480         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
65481         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
65482         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
65483         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
65484         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
65485         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
65486         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
65487         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
65488         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
65489         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
65490         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
65491         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
65492         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
65493         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
65494         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
65495         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
65496         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
65497         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
65498         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
65499         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
65500         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
65501         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
65502         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
65503         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
65504         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
65505         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
65506         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
65507         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
65508         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
65509         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
65510         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
65511         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
65512         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
65513         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
65514         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
65515         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
65516         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
65517         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
65518         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
65519         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
65520         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
65521         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
65522         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
65523         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
65524         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
65525         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
65526         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
65527         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
65528         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
65529         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
65530         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
65531         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
65532         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
65533         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
65534         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
65535         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
65536         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
65537         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
65538         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
65539         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
65540         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
65541         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
65542         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
65543         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
65544         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
65545         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
65546         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
65547         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
65548         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
65549         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
65550         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
65551         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
65552         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
65553         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
65554         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
65555         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
65556         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
65557         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
65558         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
65559         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
65560         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
65561         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
65562         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
65563         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
65564         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
65565         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
65566         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
65567         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
65568         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
65569         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
65570         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
65571         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
65572         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
65573         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
65574         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
65575         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
65576         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
65577         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
65578         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
65579         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
65580         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
65581         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
65582         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
65583         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
65584         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
65585         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
65586         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
65587         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
65588         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
65589         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
65590         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
65591         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
65592         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
65593         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
65594         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
65595         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
65596         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
65597         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
65598         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
65599         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
65601         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
65602         _XOPEN_SOURCE_EXTENDED for XPG4.
65604         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
65606         * Makeconfig (localtime): Remove variable.
65607         (inst_localtime-file): Likewise.
65609 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
65612         Update.
65613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65614         Update.
65615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
65616         Update.
65617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65618         Update.
65619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
65620         Update.
65621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
65622         Update.
65623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65624         Update.
65625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
65626         Update.
65627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65628         Update.
65630 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65632         [BZ #2550]
65633         [BZ #2570]
65634         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
65635         comparisons to determine direction to adjust input.
65636         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
65637         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
65638         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
65639         Likewise.
65640         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
65641         Likewise.
65642         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
65643         Likewise.
65644         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
65645         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
65646         Likewise.
65647         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
65648         Likewise.
65649         * math/libm-test.inc (nexttoward_test): Add more tests.
65651 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65653         [BZ #14040]
65654         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
65655         in version GLIBC_2.1, not GLIBC_2.0.
65656         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
65657         Likewise.
65659 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
65661         [BZ #13942]
65662         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
65663         (1 - x) * (1 + x).
65664         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65665         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65666         * math/libm-test.inc (acos_test): Add more tests.
65667         (asin_test): Likewise.
65668         * sysdeps/i386/fpu/libm-test-ulps: Update.
65669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65671         [BZ #14034]
65672         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
65673         of square root.
65674         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65675         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65676         * math/libm-test.inc (acos_test_tonearest): New function.
65677         (acos_test_towardzero): Likewise.
65678         (acos_test_downward): Likewise.
65679         (acos_test_upward): Likewise.
65680         (asin_test_tonearest): Likewise.
65681         (asin_test_towardzero): Likewise.
65682         (asin_test_downward): Likewise.
65683         (asin_test_upward): Likewise.
65684         (main): Call the new functions.
65685         * sysdeps/i386/fpu/libm-test-ulps: Update.
65686         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65688         [BZ #13884]
65689         [BZ #13924]
65690         * math/e_exp10.c: Include <float.h>.
65691         (__ieee754_exp10): Handle underflow here rather than multiplying
65692         large negative argument by M_LN10.
65693         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65694         of __ieee754_expf.
65695         * math/e_exp10l.c: Include <float.h>.
65696         (__ieee754_exp10l): Handle underflow here rather than multiplying
65697         large negative argument by M_LN10l.
65698         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
65699         spurious overflow exception on underflow.
65701 2012-04-29  Marek Polacek  <polacek@redhat.com>
65703         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65704         (__fortify_function): New macro.
65705         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65706         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65707         __extern_always_inline.
65708         * libio/bits/stdio2.h: Likewise.
65709         * libio/bits/stdio.h: Likewise.
65710         * string/string.h: Likewise.
65711         * string/bits/string3.h: Likewise.
65712         * include/stdio.h: Likewise.
65713         * stdlib/bits/stdlib.h: Likewise.
65714         * stdlib/stdlib.h: Likewise.
65715         * rt/bits/mqueue2.h: Likewise.
65716         * rt/mqueue.h: Likewise.
65717         * posix/bits/unistd.h: Likewise.
65718         * posix/unistd.h: Likewise.
65719         * io/bits/poll2.h: Likewise.
65720         * io/bits/fcntl2.h: Likewise.
65721         * io/fcntl.h: Likewise.
65722         * io/sys/poll.h: Likewise.
65723         * misc/bits/syslog.h: Likewise.
65724         * misc/bits/syslog-ldbl.h: Likewise.
65725         * misc/sys/syslog.h: Likewise.
65726         * socket/bits/socket2.h: Likewise.
65727         * socket/sys/socket.h: Likewise.
65728         * debug/tst-chk1.c: Likewise.
65729         * wcsmbs/bits/wchar2.h: Likewise.
65730         * wcsmbs/bits/wchar-ldbl.h: Likewise.
65731         * wcsmbs/wchar.h: Likewise.
65733 2012-04-29  Andreas Jaeger  <aj@suse.de>
65735         * Makerules (tests): Remove enable-check-abi protection.
65736         (check-abi-warn): Remove.
65737         (check-abi-%): Remove check-abi-warn usage.
65739         * configure.in: Remove check-abi configure option.
65740         * configure: Regenerated.
65741         * config.make.in (enable-check-abi): Remove.
65743 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
65745         [BZ #14033]
65746         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65747         double functions to double *_finite functions.
65749         [BZ #13941]
65750         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65751         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65752         LDBL_MIN_EXP.
65753         * stdio-common/Makefile (tests): Add tst-sprintf3.
65754         * stdio-common/tst-sprintf3.c: New file.
65756         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65757         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65759 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65761         * conform/conformtest.pl: Remove duplicate typed-constant
65762         handling.
65764 2012-04-28  David S. Miller  <davem@davemloft.net>
65766         * Makerules (%.abilist): Add vpath on sysdep_dirs.
65767         (check-abi-%): Remove AWK script prerequisite and explicit
65768         abilist directory.
65769         (check-abi): Rewrite to just diff the symlist with the abilist.
65770         (config-tls, config-abi-config): Delete, no longer used.
65771         (update-abi-%): Remove AWK script and explicit abilist directory.
65772         (update-abi): Rewrite to simply compare and conditionally copy the
65773         symlist and the sysdep abilist file.  Remove update-abi-config
65774         checks.
65775         * abilist/ld.abilist: Remove.
65776         * abilist/libBrokenLocale.abilist: Remove.
65777         * abilist/libanl.abilist: Remove.
65778         * abilist/libcrypt.abilist: Remove.
65779         * abilist/libdl.abilist: Remove.
65780         * abilist/librt.abilist: Remove.
65781         * abilist/libthread_db.abilist: Remove.
65782         * abilist/libutil.abilist: Remove.
65783         * scripts/extract-abilist.awk: Remove.
65784         * scripts/merge-abilist.awk: Remove.
65785         * sysdeps/generic/libcidn.abilist: New file.
65786         * sysdeps/generic/libnss_compat.abilist: New file.
65787         * sysdeps/generic/libnss_db.abilist: New file.
65788         * sysdeps/generic/libnss_dns.abilist: New file.
65789         * sysdeps/generic/libnss_files.abilist: New file.
65790         * sysdeps/generic/libnss_hesiod.abilist: New file.
65791         * sysdeps/generic/libnss_nis.abilist: New file.
65792         * sysdeps/generic/libnss_nisplus.abilist: New file.
65793         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65794         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65795         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65796         file.
65797         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65798         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65799         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65800         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65801         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65802         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65803         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65804         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65805         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65806         file.
65807         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65808         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65809         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65810         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65811         file.
65812         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65813         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65814         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65815         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65816         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65817         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65818         file.
65819         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65820         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65821         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65822         file.
65823         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65824         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65825         New file.
65826         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65827         New file.
65828         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65829         New file.
65830         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65831         New file.
65832         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65833         New file.
65834         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65835         New file.
65836         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65837         New file.
65838         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65839         New file.
65840         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65841         New file.
65842         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65843         New file.
65844         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65845         New file.
65846         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65847         New file.
65848         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65849         New file.
65850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65851         file.
65852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65853         New file.
65854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65855         New file.
65856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65857         file.
65858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65859         New file.
65860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65861         New file.
65862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65863         file.
65864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65865         New file.
65866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65867         New file.
65868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65869         New file.
65870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65871         New file.
65872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65873         New file.
65874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65875         New file.
65876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65878         file.
65879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65880         New file.
65881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65882         file.
65883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65884         file.
65885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65886         file.
65887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65888         file.
65889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65890         file.
65891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65892         New file.
65893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65894         file.
65895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65896         file.
65897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65898         New file.
65899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65900         file.
65901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65903         file.
65904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65905         New file.
65906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65907         file.
65908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65909         file.
65910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65911         file.
65912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65913         file.
65914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65915         file.
65916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65917         New file.
65918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65919         file.
65920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65921         file.
65922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65923         New file.
65924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65925         file.
65926         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65927         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65928         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65929         file.
65930         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65931         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65932         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65933         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65934         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65935         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65936         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65937         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65938         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65939         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65942         file.
65943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65944         New file.
65945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65946         file.
65947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65948         file.
65949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65950         file.
65951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65952         file.
65953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65954         file.
65955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65956         New file.
65957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65958         New file.
65959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65960         file.
65961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65962         New file.
65963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65964         file.
65965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65967         file.
65968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65969         New file.
65970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65971         file.
65972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65973         file.
65974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65975         file.
65976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65977         file.
65978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65979         file.
65980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65981         New file.
65982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65983         New file.
65984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65985         file.
65986         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65987         New file.
65988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65989         file.
65991 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65993         * conform/conformtest.pl: Fix typo in handling typed-constant from
65994         allow-header.
65996 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65998         * README: Cut down references to pre-2.6 Linux kernels and
65999         Linuxthreads.  Update lists of configurations in libc and ports
66000         and sort alphabetically.  Say "or newer" with Linux kernel version
66001         requirements.
66003         * config.h.in [IS_IN_build]: Allow compiling without optimization.
66005 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66007         [BZ #887]
66008         * math/libm-test.inc (logb_test_downward): New test to expose
66009         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
66010         rounding mode.
66012 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66014         [BZ #14027]
66015         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
66016         to be done.
66017         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
66018         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
66020 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
66022         * sysdeps/unix/i386/brk.S: Remove file.
66023         * sysdeps/unix/i386/dl-brk.S: Likewise.
66024         * sysdeps/unix/i386/pipe.S: Likewise.
66025         * sysdeps/unix/i386/sigreturn.S: Likewise.
66026         * sysdeps/unix/i386/syscall.S: Likewise.
66027         * sysdeps/unix/i386/vfork.S: Likewise.
66028         * sysdeps/unix/i386/wait.S: Likewise.
66030         * sysdeps/unix/common/tcsendbrk.c: Move to ...
66031         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
66033         * configure.in (arm*-none*): Do not allow without
66034         --enable-hacker-mode.
66035         (netbsd*): Remove case setting base_os.
66036         (386bsd*): Likewise.
66037         (freebsd*): Likewise.
66038         (bsdi*): Likewise.
66039         (osf*): Likewise.
66040         (sunos*): Likewise.
66041         (ultrix*): Likewise.
66042         (newsos*): Likewise.
66043         (dynix*): Likewise.
66044         (*bsd*): Likewise.
66045         (sysv*): Likewise.
66046         (isc*): Likewise.
66047         (esix*): Likewise.
66048         (sco*): Likewise.
66049         (minix*): Likewise.
66050         (irix4*): Likewise.
66051         (irix6*): Likewise.
66052         (solaris[2-9]*): Likewise.
66053         (none): Likewise.
66054         * configure: Regenerated.
66056 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66058         [BZ #11521]
66059         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
66060         overflow or cancellation in calculating denominator.
66061         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
66062         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
66063         down expression to avoid unexpected rounding in newer GCCs.
66064         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
66066 2012-04-26  David S. Miller  <davem@davemloft.net>
66068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
66069         long-double compat symbols.
66070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
66074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
66076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
66077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
66078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
66079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
66080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
66081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
66082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66084 2012-04-25  David S. Miller  <davem@davemloft.net>
66086         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
66087         HWCAP_* values only after the memory barriers have been defined.
66088         (atomic_full_barrier): Define.
66089         (atomic_read_barrier): Define.
66090         (atomic_write_barrier): Define.
66092 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66094         * shlib-versions: Add libgcc_s version information.
66095         * sysdeps/generic/libgcc_s.h: Remove.
66096         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
66097         libgcc_s.h.
66098         * sysdeps/gnu/unwind-resume.c: Likewise.
66099         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
66101 2012-04-25  David S. Miller  <davem@davemloft.net>
66103         * sysdeps/unix/sparc/brk.S: Delete.
66104         * sysdeps/unix/sparc/dl-brk.S: Delete.
66105         * sysdeps/unix/sparc/pipe.S: Delete.
66106         * sysdeps/unix/sparc/sysdep.S: Delete.
66107         * sysdeps/unix/sparc/sysdep.h: Delete.
66108         * sysdeps/unix/sparc/vfork.S: Delete.
66109         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
66110         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
66111         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
66112         (ret_ERRVAL, r0, r1, MOVE): Define.
66113         (JUMPTARGET): Remove.
66114         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
66115         sysdeps/unix/sparc/sysdep.h
66116         (ENTRY, END): Remove.
66117         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66119 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
66121         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
66122         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
66123         -DIS_IN_build.
66125         * timezone/README: Update upstream location and email address for
66126         tzcode and tzdata.
66127         * timezone/zdump.c: Update from tzcode 2012b.
66128         * timezone/zic.c: Likewise.
66130         * configure.in (libc_cv_as_needed): Remove test.
66131         * configure: Regenerated.
66132         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
66133         conditional definition.
66134         [$(have-as-needed) != yes] (no-as-needed): Likewise.
66135         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
66136         * config.make.in (have-as-needed): Remove variable.
66138 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66139             Paul Pluzhnikov  <ppluzhnikov@google.com>
66141         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
66142         strings correctly.
66144 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
66146         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
66147         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
66148         * sysdeps/sh/strlen.S: Likewise.
66150 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66152         * sysdeps/unix/fork.S: Remove file.
66153         * sysdeps/unix/i386/fork.S: Likewise.
66154         * sysdeps/unix/sparc/fork.S: Likewise.
66156         * sysdeps/unix/system.c: Remove file.
66157         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
66159         * sysdeps/unix/getegid.S: Remove file.
66160         * sysdeps/unix/geteuid.S: Likewise.
66162 2012-04-24  Roland McGrath  <roland@hack.frob.com>
66164         * scripts/check-localplt.awk: New file.
66165         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
66166         of diff.
66167         * scripts/data/localplt-generic.data: Add a comment.
66169         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
66170         NODE when __dir_mkfile failed.
66171         * sysdeps/mach/hurd/symlinkat.c: Likewise.
66172         Reported by Ludovic Courtès <ludo@gnu.org>.
66174 2012-04-24  Andreas Jaeger  <aj@suse.de>
66176         * Makerules (common-clean): Also remove gen-as-const-headers
66177         files.
66179 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66181         * Makerules (native-compile): Do not change working directory for
66182         build.  Use $(OUTPUT_OPTION) in command.
66183         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
66185 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66187         [BZ #13886]
66188         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
66189         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
66190         * math/libm-test.inc (floor_test): Add more tests.
66191         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
66193 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66195         * sysdeps/unix/getdents.c: Remove file.
66196         * sysdeps/unix/sysv/getdents.c: Likewise.
66197         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
66199         * sysdeps/unix/syscalls.list (madvise): Add syscall from
66200         sysdeps/unix/mman/syscalls.list.
66201         (mmap): Likewise.
66202         (mprotect): Likewise.
66203         (msync): Likewise.
66204         (munmap): Likewise.
66205         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
66206         * sysdeps/unix/mman/syscalls.list: Remove.
66207         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
66209         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
66210         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
66211         * configure: Regenerated.
66212         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
66213         $(libgcc_s_suffix).
66214         * config.make.in (libgcc_s_suffix): Remove variable.
66216 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
66218         * sysdeps/unix/sysv/gethostname.c: Move to ...
66219         * sysdeps/posix/gethostname.c: ... here.
66221         * sysdeps/unix/execve.S: Remove file.
66223         * sysdeps/unix/_exit.S: Remove file.
66225 2012-04-23  Andreas Jaeger  <aj@suse.de>
66227         [BZ #13739]
66228         * manual/Makefile: Remove make dist support, there's no
66229         need for a stand-alone documentation tar ball.
66230         (TEXI2DVI): Define always, it's not in Makeconfig.
66231         (dist): Removed.
66232         (tar-it): Removed.
66233         (edition): Removed.
66234         (glibc-doc-$(edition).tar): Removed
66235         (%.Z): Removed.
66236         (%.gz): Removed.
66237         (%.uu): Removed.
66238         (ETAGS): Remove, it's in Makeconfig.
66239         (move-if-change): Remove, it's in Makeconfig.
66241 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
66243         [BZ #13970]
66244         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
66245         (strtod, strtof, strtold, strtol, strtoul, strtoq)
66246         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
66247         (strtod_l, strtof_l, strtold_l): Remove __wur.
66248         It is not necessarily an error to ignore strtol's return value.
66249         One can reliably look at the stored endptr to decide whether
66250         the number had valid syntax.
66252 2012-04-21  Andreas Jaeger  <aj@suse.de>
66254         [BZ #13739]
66255         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
66257 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
66259         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
66260         * sysdeps/unix/sysv/Versions: Remove file.
66262 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
66264         [BZ #13927]
66265         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66267 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
66269         [BZ #7064]
66270         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
66271         version from __vm86.
66273 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
66275         * sysdeps/unix/common/lxstat.c: Remove file.
66276         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
66278         * sysdeps/unix/sysv/Makefile: Remove file.
66280         * sysdeps/unix/sysv/direct.h: Remove file.
66282         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
66283         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
66284         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
66285         * sysdeps/unix/sysv/bits/signum.h: Likewise.
66286         * sysdeps/unix/sysv/bits/stat.h: Likewise.
66287         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
66288         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
66290         * sysdeps/unix/sysv/setrlimit.c: Remove file.
66292         * sysdeps/unix/xmknod.c: Remove file.
66293         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
66295         * sysdeps/unix/sysv/settimeofday.c: Remove file.
66297         * sysdeps/unix/sysv/i386/time.S: Remove file.
66299         * sysdeps/unix/fxstat.c: Remove file.
66300         * sysdeps/unix/xstat.c: Likewise.
66301         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
66303         * sysdeps/unix/sysv/sigaction.c: Remove file.
66305         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
66306         (sysdep_headers): Remove variable.
66307         [termio.h not in sysdep_headers] (generated): Likewise.
66308         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
66309         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
66310         * sysdeps/unix/sysv/tcdrain.c: Likewise.
66311         * sysdeps/unix/sysv/tcflow.c: Likewise.
66312         * sysdeps/unix/sysv/tcflush.c: Likewise.
66313         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
66314         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
66315         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
66316         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
66317         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
66319         * sysdeps/unix/siglist.c: Remove file.
66321         * sysdeps/unix/getppid.S: Remove file.
66323         * sysdeps/unix/mkdir.c: Remove file.
66324         * sysdeps/unix/rmdir.c: Likewise.
66326 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
66328         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
66329         ERR_MAX value.
66330         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
66331         errlist-compat value.
66333 2012-04-18  David S. Miller  <davem@davemloft.net>
66335         * sysdeps/generic/memcopy.h (reg_char): Delete.
66336         * debug/strcat_chk.c: Use char, not reg_char.
66337         * debug/strcpy_chk.c: Likewise.
66338         * debug/strncat_chk.c: Likewise.
66339         * debug/strncpy_chk.c: Likewise.
66340         * string/memchr.c: Likewise.
66341         * string/memrchr.c: Likewise.
66342         * string/rawmemchr.c: Likewise.
66343         * string/strcat.c: Likewise.
66344         * string/strchr.c: Likewise.
66345         * string/strchrnul.c: Likewise.
66346         * string/strcmp.c: Likewise.
66347         * string/strcpy.c: Likewise.
66348         * string/strncat.c: Likewise.
66349         * string/strncmp.c: Likewise.
66350         * string/strncpy.c: Likewise.
66352 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66354         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
66355         __builtin_memcopy is called when src and dest ranges are known to not
66356         overlap.
66358 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66360         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
66361         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
66362         fwd_align_merge macro call.
66363         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
66364         bwd_align_merge macro call.
66365         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66367 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66369         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
66370         bwd_align_merge macros.
66371         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
66372         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
66373         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66375 2012-04-18  David S. Miller  <davem@davemloft.net>
66377         * sysdeps/sparc/sparc64/memcopy.h: Delete.
66379 2012-04-18  Andreas Jaeger  <aj@suse.de>
66381         [BZ# 6794]
66382         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
66383         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
66384         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66386         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
66387         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
66388         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66390         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
66391         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
66392         Adjust for changed ldbl-128 files.
66394         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
66395         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
66396         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66398 2012-04-17  David S. Miller  <davem@davemloft.net>
66400         * sysdeps/sparc/sparc32/memcopy.h: Delete.
66402 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
66404         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
66405         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
66406         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
66407         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
66408         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
66409         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
66411 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66413         [BZ #6794]
66414         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
66415         * math/libm-test.inc: Add ilogb errno and exception tests.
66416         * math/w_ilogb.c: New file: ilogb wrapper.
66417         * math/w_ilogbf.c: New file: ilogbf wrapper.
66418         * math/w_ilogbl.c: New file: ilogbl wrapper.
66419         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
66420         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
66421         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
66422         exception being thrown with 0.0 as argument.
66423         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
66424         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
66425         exception being thrown with 0.0 as argument.
66426         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
66427         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66428         exception being thrown with 0.0 as argument.
66429         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
66430         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66431         exception being thrown with 0.0 as argument.
66432         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
66433         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
66434         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
66435         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
66436         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
66437         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
66438         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
66439         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
66440         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
66442 2012-04-17  Petr Baudis  <pasky@ucw.cz>
66444         * include/sys/uio.h: Change __vector to __iovec to avoid clash
66445         with altivec.
66447 2012-04-16  Marek Polacek  <polacek@redhat.com>
66449         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
66451 2012-04-16  Marek Polacek  <polacek@redhat.com>
66453         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
66454         operands of fdivp instruction.
66456 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66458         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
66459         * elf/tst-auditmod3b.c: Likewise.
66460         * elf/tst-auditmod4b.c: Likewise.
66461         * elf/tst-auditmod5b.c: Likewise.
66462         * elf/tst-auditmod6b.c: Likewise.
66463         * elf/tst-auditmod6c.c: Likewise.
66464         * elf/tst-auditmod7b.c: Likewise.
66465         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
66466         * sysdeps/x86_64/preconfigure.in: Likewise.
66467         * sysdeps/x86_64/preconfigure: Regenerated.
66469 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66471         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
66472         __ILP32__.
66474 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
66476         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66477         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
66479 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
66481         [BZ #13973]
66482         * locale/iso-639.def: Fix gl language name. Spotted by
66483         Yaron Shahrabani.
66485 2012-04-12  Roland McGrath  <roland@hack.frob.com>
66487         [BZ #2074]
66488         * libio/libio.h (__io_write_fn): Update comment.
66490 2012-04-12  Petr Baudis  <pasky@ucw.cz>
66492         [BZ #2074]
66493         * stdio.texi (Hook Functions): The user provided writer function
66494         is not allowed to return -1.
66496 2012-04-11  David S. Miller  <davem@davemloft.net>
66498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66500 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
66502         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
66503         Add a leading slash to rtkaio.
66505 2012-04-11  Jim Meyering  <meyering@redhat.com>
66507         [BZ #11959]
66508         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
66509         It is not necessarily an error to ignore fwrite's return
66510         value.  One can reliably use ferror to test for errors after
66511         the fact.
66513 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66515         * bits/types.h (__snseconds_t): New type.
66516         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
66518         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
66519         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66520         (__SNSECONDS_T_TYPE): Likewise.
66521         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66522         (__SNSECONDS_T_TYPE): Likewise.
66523         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66524         (__SNSECONDS_T_TYPE): Likewise.
66526 2012-04-10  Andreas Jaeger  <aj@suse.de>
66528         [BZ #2636]
66529         * manual/time.texi (Processor Time): Return type of times is
66530         elapsed real time since an arbitrary point in the past.
66531         (CPU Time): Move CLK_TCK from here...
66532         (Processor Time): ...to here.  Correct description.
66533         * manual/conf.texi (Constants for Sysconf): Correct description of
66534         _SC_CLK_TCK.
66536 2012-04-10  David S. Miller  <davem@davemloft.net>
66538         [BZ #13967]
66539         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
66540         where the is a gap between DT_REL(A) and DT_JMPREL.
66542 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66544         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
66545         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66546         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66548 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66550         * elf/dl-support.c (_dl_inhibit_cache): New variable.
66551         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
66552         (dl_main): Handle --inhibit-cache.
66553         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
66554         _dl_inhibit_cache.
66555         * elf/dl-load.c (_dl_map_object): Use it.
66556         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
66558 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66560         [BZ #13872]
66561         * sysdeps/i386/fpu/e_powl.S (p78): New object.
66562         (__ieee754_powl): Saturate large exponents rather than testing for
66563         overflow of y*log2(x).
66564         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66565         * math/libm-test.inc (pow_test): Do not permit spurious overflow
66566         exceptions.
66568         [BZ #11521]
66569         * math/s_ctan.c: Include <float.h>.
66570         (__ctan): Avoid internal overflow or cancellation in calculating
66571         denominator.
66572         * math/s_ctanf.c: Likewise.
66573         * math/s_ctanl.c: Likewise.
66574         * math/s_ctanh.c: Likewise.
66575         * math/s_ctanhf.c: Likewise.
66576         * math/s_ctanhl.c: Likewise.
66577         * math/libm-test.inc (ctan_test): Add more tests.
66578         (ctanh_test): Likewise.
66579         * sysdeps/i386/fpu/libm-test-ulps: Update.
66580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66582 2012-04-09  Andreas Jaeger  <aj@suse.de>
66584         [BZ #6894]
66585         * manual/filesys.texi (Directory Entries): Mention that d_namlen
66586         is an optional BSD extension.
66588         [BZ #10254]
66589         * manual/stdio.texi (Opening Streams): Document additional fopen
66590         parameters.
66592 2012-04-09  Roland McGrath  <roland@hack.frob.com>
66594         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
66595         %eax without telling the compiler.
66597 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
66599         [BZ # 13963]
66600         * manual/install.texi: Use sourceware.org.
66602 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66604         [BZ #13873]
66605         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
66606         (__ieee754_pow): Generate overflow and underflow using huge*huge
66607         and tiny*tiny rather than just returning constant infinity or zero
66608         for large exponents.
66609         * math/libm-test.inc (pow_test): Require overflow exceptions for
66610         applicable cases of large exponents.
66612         [BZ #706]
66613         * sysdeps/i386/fpu/e_pow.S (p10): New object.
66614         (__ieee754_pow): Use iterative multiplication algorithm only for
66615         integer exponents with absolute value below 1024.  Check for odd
66616         integer exponents when using algorithm for real exponents.
66617         * math/libm-test.inc (pow_test): Add more tests.
66618         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66620 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
66622         [BZ #13705]
66623         * math/libm-test.inc (exp_test): Do not allow overflow exception
66624         on underflow test.
66626 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
66628         [BZ #13705]
66629         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
66630         instead of __kernel_standard_f.
66632 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
66634         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
66635         * sysdeps/x86_64/memset_chk.S: Likewise.
66637 2012-04-08  Andreas Jaeger  <aj@suse.de>
66639         [BZ #10153]
66640         * manual/startup.texi (Environment Access): Describe return value
66641         for putenv and setenv.
66643         [BZ #6895]
66644         * manual/filesys.texi (Directory Entries): Add description for
66645         DT_LNK.
66647         [BZ #6890]
66648         * manual/filesys.texi (Directory Entries): Clarify that it's file
66649         system not operating system in the description of DT_UNKNOWN.
66651         [BZ #6578]
66652         * manual/syslog.texi (closelog): Fix reference, it's openlog.
66654 2012-04-08  Stephen Compall  <s11@member.fsf.org>
66656         [BZ #6649]
66657         * manual/llio.texi (Opening and Closing Files): Add cross
66658         reference to explain mode argument.
66660 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
66662         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
66663         * sysdeps/x86_64/memset_chk.S: Likewise.
66665 2012-04-07  David S. Miller  <davem@davemloft.net>
66667         * elf/elf.h (R_SPARC_WDISP10): Define.
66668         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
66669         R_SPARC_SIZE32.
66670         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
66671         R_SPARC_SIZE64 and R_SPARC_H34.
66673 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
66675         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66676         conditions and remove no longer applicable assertion.
66678 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66680         * bits/byteswap.h: Include <features.h>.
66681         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66682         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66684 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66686         * bits/byteswap.h (__bswap_16): Removed.
66687         Include <bits/byteswap-16.h> to get __bswap_16.
66688         * sysdeps/i386/bits/byteswap.h: Likewise.
66689         * sysdeps/s390/bits/byteswap.h: Likewise.
66690         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66691         * bits/byteswap-16.h: New file.
66692         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66693         * sysdeps/s390/bits/byteswap-16.h: Likewise.
66694         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66695         * string/Makefile (headers): Add bits/byteswap-16.h.
66697 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66699         [BZ #13895]
66700         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66701         extra indirection.
66702         * nss/Makefile (tests-static, tests): Add tst-nss-static.
66703         * nss/tst-nss-static.c: New.
66705 2012-04-06  Robert Millan  <rmh@gnu.org>
66707         [BZ #6486]
66708         * manual/llio.texi (File Position Primitive): lseek
66709         refers to WHENCE when it really means OFFSET.
66711 2012-04-06  Andreas Jaeger  <aj@suse.de>
66713         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66714         strncmp declarations.
66716         * abilist/libc.abilist: Add __poll and __ppoll.
66718 2012-04-05  David S. Miller  <davem@davemloft.net>
66720         * scripts/check-local-headers.sh: Accept a host triplet in the
66721         path matched by the exclude regexp.
66723         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66724         definition.
66725         * sysdeps/powerpc/powerpc32/dl-machine.h
66726         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66727         * sysdeps/s390/s390-32/dl-machine.h
66728         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66729         * sysdeps/sparc/sparc32/dl-machine.h
66730         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66731         * sysdeps/sparc/sparc64/dl-machine.h
66732         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66734         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66735         lazy binding.
66736         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66737         undefined symbol errors.
66739         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66740         DT_NEEDED entries.
66742 2012-04-05  Michael Matz  <matz@suse.de>
66744         [BZ #13592]
66745         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66747 2012-04-05  Andreas Jaeger  <aj@suse.de>
66749         [BZ #13908]
66750         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66751         comment.
66753 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66755         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66756         which ROUND is no valid rounding mode.
66758 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66760         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66761         read again.
66762         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66764 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66766         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66767         an exception using FPU order intentionally.
66769 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66771         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66772         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66773         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66774         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66776 2012-04-05  Simon Josefsson  <simon@josefsson.org>
66778         [BZ #12340]
66779         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66780         EINVAL when BUFLEN is too smal.
66782 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66784         [BZ #13553]
66785         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66786         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66788 2012-04-03  Andreas Jaeger  <aj@suse.de>
66790         [BZ #13938]
66791         * manual/setjmp.texi (System V contexts): Fix sentence.
66793         [BZ #13926]
66794         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66795         New macro for this case.
66796         [!__GNUC__] (__bswap_64): New inline function for this case.
66797         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66798         * bits/byteswap.h: Likewise.
66799         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66800         ull, guard with __GLIBC_HAVE_LONG_LONG.
66802         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66803         __GLIBC_HAVE_LONG_LONG.
66805         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66806         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66808 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66810         [BZ #13691]
66811         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66812         inptr and inend, rather than using last_ch.
66814 2012-04-02  David S. Miller  <davem@davemloft.net>
66816         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66817         * stdio-common/printf-parse.h (read_int): Change return type to
66818         'int', return -1 on INT_MAX overflow.
66819         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66820         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
66821         overflows INT_MAX.  Check for overflow of in-format-string precision
66822         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
66823         SIZE_MAX not INT_MAX for integer overflow test.
66824         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66825         skip the construct in the format string but do not record anything.
66826         * stdio-common/bug22.c: Adjust to test both width/prevision
66827         INT_MAX overflow as well as total length INT_MAX overflow.  Check
66828         explicitly for proper errno values.
66830 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66832         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66833         CHAR_MAX.
66834         * string/test-strcmp.c [! WIDE]: Likewise.
66835         * time/tst-mktime2.c: Likewise for INT_MAX.
66836         * string/test-string.h: #include <sys/param.h> for MIN.
66838         * csu/init-first.c (__libc_init_first): Call __ctype_init.
66839         * sysdeps/i386/init-first.c (init): Likewise.
66840         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66841         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66842         * sysdeps/sh/init-first.c (init): Likewise.
66844 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
66846         * po/ru.po: Update from translation team.
66847         * po/vi.po: Likewise.
66849 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66851         * resolv/nss_dns/dns-host.c: Merge copyright years.
66853 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66855         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66856         Optimize memcpy with prefetch if
66857         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
66858         src, dst pointers have unequal 16 byte alignments.
66860 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66862         [BZ #13928]
66863         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66864         from a CNAME entry and return the minimum ttl for the query.
66865         (gaih_getanswer_slice): Likewise.
66867 2012-03-30  Jeff Law  <law@redhat.com>
66869         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66870         due to long keys.
66871         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66872         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66874         * resolv/nss_dns/dns-host.c: Update copyright year.
66876 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
66878         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66879         requests to save a system call.  Fix check that all bytes are sent.
66881         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66882         comments for sendmmsg.
66884 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66886         [BZ #13691]
66887         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66888         with only 1 character between 0x0041 and 0x01b0.
66889         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66890         * wcsmbs/tst-mbsnrtowcs.c: New file.
66892 2012-03-29  David S. Miller  <davem@davemloft.net>
66894         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66895         small copies by hand.
66897 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66899         [BZ #13761]
66900         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66901         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66902         group memberships.
66904 2012-03-28  David S. Miller  <davem@davemloft.net>
66906         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66907         that branches into memcpy.
66908         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66909         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66910         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66911         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66912         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66913         bits.
66914         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66915         implementation too.
66916         * sysdeps/sparc/mempcpy.S: New file.
66918         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66919         the IFUNC routine in the libc case.
66920         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66922         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66923         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66924         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66925         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66926         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66927         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66928         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66929         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66931         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66932         loop to 256 bytes instead of 64 bytes and fix test signedness.
66934         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66935         * sysdeps/sparc/sparc32/Makefile: rather than here...
66936         * sysdeps/sparc/sparc64/Makefile: and here.
66938 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
66940         * malloc/mallocbug.c: Avoid warnings about unused variables.
66942 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66944         [BZ #13760]
66945         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66946         in the right place. Discard and retry query if response is
66947         larger than input buffer size.
66949 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
66951         [BZ #369]
66952         [BZ #2678]
66953         [BZ #3866]
66954         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66955         x for large integer exponent.
66956         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66957         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
66958         sign of result as needed afterwards.
66959         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66960         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66961         result for underflowing pow the same as for overflow.
66962         (__kernel_standard_l): Handle powl overflow and underflow here
66963         rather than calling __kernel_standard.
66964         * math/libm-test.inc (pow_test): Add more tests.
66966         [BZ #3868]
66967         [BZ #13879]
66968         [BZ #13910]
66969         [BZ #13911]
66970         [BZ #13912]
66971         [BZ #13913]
66972         [BZ #13915]
66973         [BZ #13916]
66974         [BZ #13917]
66975         [BZ #13918]
66976         [BZ #13919]
66977         [BZ #13920]
66978         [BZ #13921]
66979         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66980         * sysdeps/ieee754/k_standard.c: Include <float.h>.
66981         (__kernel_standard_l): New function.
66982         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66983         __kernel_standard.
66984         * math/w_acosl.c (__acosl): Likewise.
66985         * math/w_asinl.c (__asinl): Likewise.
66986         * math/w_atan2l.c (__atan2l): Likewise.
66987         * math/w_atanhl.c (__atanhl): Likewise.
66988         * math/w_coshl.c (__coshl): Likewise.
66989         * math/w_exp10l.c (__exp10l): Likewise.
66990         * math/w_exp2l.c (__exp2l): Likewise.
66991         * math/w_fmodl.c (__fmodl): Likewise.
66992         * math/w_hypotl.c (__hypotl): Likewise.
66993         * math/w_j0l.c (__j0l, __y0l): Likewise.
66994         * math/w_j1l.c (__j1l, __y1l): Likewise.
66995         * math/w_jnl.c (__jnl, __ynl): Likewise.
66996         * math/w_lgammal.c (__lgammal): Likewise.
66997         * math/w_log10l.c (__log10l): Likewise.
66998         * math/w_log2l.c (__log2l): Likewise.
66999         * math/w_logl.c (__logl): Likewise.
67000         * math/w_powl.c (__powl): Likewise.
67001         * math/w_remainderl.c (__remainderl): Likewise.
67002         * math/w_scalbl.c (sysv_scalbl): Likewise.
67003         * math/w_sinhl.c (__sinhl): Likewise.
67004         * math/w_sqrtl.c (__sqrtl): Likewise.
67005         * math/w_tgammal.c (__tgammal): Likewise.
67006         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
67007         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
67008         * math/libm-test.inc (acos_test): Add more tests.
67009         (acosh_test): Likewise.
67010         (asin_test): Likewise.
67011         (atanh_test): Likewise.
67012         (exp_test): Likewise.
67013         (exp10_test): Likewise.
67014         (exp2_test): Likewise.
67015         (expm1_test): Likewise.
67016         (lgamma_test): Likewise.
67017         (log_test): Likewise.
67018         (log10_test): Likewise.
67019         (log1p_test): Likewise.
67020         (log2_test): Likewise.
67021         (pow_test): Do not allow some spurious overflow exceptions.
67022         (sqrt_test): Add more tests.
67023         (tgamma_test): Likewise.
67024         (y0_test): Likewise.
67025         (y1_test): Likewise.
67026         (yn_test): Likewise.
67028 2012-03-27  Anton Blanchard  <anton@samba.org>
67030         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
67031         MAP_HUGETLB.
67032         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67033         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67034         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67036 2012-03-27  David S. Miller  <davem@davemloft.net>
67038         * conform/Makefile: Run run-conformtest.sh using $(BASH).
67040         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
67041         have-as-vis3 check.
67043 2012-03-27  Andreas Jaeger  <aj@suse.de>
67045         * sysdeps/x86_64/elf/configure.in: Moved to ...
67046         * sysdeps/x86_64/configure.in: ... here.
67047         * sysdeps/x86_64/elf/start.S: Moved to ...
67048         * sysdeps/x86_64/start.S: ... here.
67049         * sysdeps/x86_64/elf/configure: Delete.
67051         * sysdeps/x86_64/configure.in: Merge contents from
67052         sysdeps/i386/configure.in (without i686 check).
67054         * sysdeps/i386/elf/Versions: Merge into ...
67055         * sysdeps/i386/Versions: ... this.
67056         * sysdeps/i386/elf/Versions: Delete file.
67057         * sysdeps/i386/elf/start.S: Moved to ...
67058         * sysdeps/i386/start.S: ...here.
67059         * sysdeps/i386/elf/configure.in: Merge into...
67060         * sysdeps/i386/configure.in: ...here.
67061         * sysdeps/i386/elf/configure.in: Delete file.
67062         * sysdeps/i386/elf/configure: Delete file.
67064         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
67065         * debug/backtracesyms.c: ... here.
67066         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
67067         * debug/backtracesymsfd.c: ... here.
67068         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
67069         * sysdeps/generic/ifunc-sel.h: ... here.
67071         * sysdeps/unix/i386/start.c: Delete file.
67072         * sysdeps/unix/sparc/start.c: Delete file.
67073         * sysdeps/unix/start.c: Delete file.
67075         * sysdeps/sh/elf/configure.in: Moved to ...
67076         * sysdeps/sh/configure.in: ... here.
67077         * sysdeps/sh/elf/start.S: Moved to ...
67078         * sysdeps/sh/start.S: ... here.
67079         * sysdeps/sh/elf/configure: Delete file.
67081         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
67082         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
67083         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
67084         * sysdeps/powerpc/powerpc64/entry.h: ... here.
67085         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
67086         * sysdeps/powerpc/powerpc64/start.S: here.
67087         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
67088         * sysdeps/powerpc/powerpc64/Makefile: ... this.
67089         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
67090         * sysdeps/powerpc/powerpc64/configure.in: ... this.
67091         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
67093         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
67094         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
67095         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
67096         * sysdeps/powerpc/powerpc32/start.S: ... here.
67097         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
67098         * sysdeps/powerpc/powerpc32/configure.in: ... this.
67099         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
67101         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
67102         * sysdeps/powerpc/ifunc-sel.h: ... here.
67103         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
67104         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
67106         * sysdeps/sparc/elf/configure.in: Moved to ...
67107         * sysdeps/sparc/configure.in: ... here.
67108         * sysdeps/sparc/elf/configure: Delete file.
67109         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
67110         * sysdeps/sparc/sparc32/start.S: ... here.
67111         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
67112         * sysdeps/sparc/sparc64/start.S: ... here.
67113         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
67114         * sysdeps/sparc/sparc32/Makefile: ... this.
67115         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
67116         * sysdeps/sparc/sparc64/Makefile: ... this.
67118         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
67119         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
67120         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
67121         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
67122         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
67123         * sysdeps/s390/s390-32/setjmp.S: ... here.
67124         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
67125         * sysdeps/s390/s390-32/configure.in: ... here.
67126         * sysdeps/s390/s390-32/elf/configure: Delete file.
67127         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
67128         * sysdeps/s390/s390-32/start.S: ... here.
67130         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
67131         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
67132         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
67133         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
67134         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
67135         * sysdeps/s390/s390-64/setjmp.S: ... here.
67136         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
67137         * sysdeps/s390/s390-64/configure.in: ... here
67138         * sysdeps/s390/s390-64/elf/configure: Delete file.
67139         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
67140         * sysdeps/s390/s390-64/start.S: ... here.
67141         * sysdeps/s390/s390-64/elf/configure: Delete.
67143         * configure.in: Remove support for elf directories in sysdeps.
67145         * configure: Regenerated.
67146         * sysdeps/i386/configure: Regenerated.
67147         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67148         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67149         * sysdeps/s390/s390-32/configure: Regenerated.
67150         * sysdeps/s390/s390-64/configure: Regenerated.
67151         * sysdeps/sh/configure: Regenerated.
67152         * sysdeps/sparc/configure: Regenerated.
67153         * sysdeps/x86_64/configure: Regenerated.
67155 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
67157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67159         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
67160         denormal result into account.
67162 2012-03-25  Roland McGrath  <roland@hack.frob.com>
67164         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
67165         Reported by Allan McRae <allan@archlinux.org>.
67167 2012-03-23  Jeff Law  <law@redhat.com>
67169         * nss/getnssent.c (__nss_getent): Fix typo.
67171 2012-03-23  David S. Miller  <davem@davemloft.net>
67173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67175 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
67177         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
67178         to pad to uint64_t for each field.
67179         (dl_tls_index): Replace unsigned long with uint64_t.
67181 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
67182         Paul Pluzhnikov  <ppluzhnikov@google.com>
67184         [BZ #6528]
67185         * grp/Makefile (otherlibs): Don't set it.
67186         * inet/Makefile (otherlibs): Likewise.
67187         * login/Makefile (otherlibs): Likewise.
67188         * nscd/Makefile (otherlibs): Likewise.
67189         * posix/Makefile (otherlibs): Likewise.
67190         * pwd/Makefile (otherlibs): Likewise.
67191         * rt/Makefile (otherlibs): Likewise.
67192         * sunrpc/Makefile (otherlibs): Likewise.
67193         * nss/Makefile (otherlibs): Likewise.
67194         Add libnss_files to routines and static-only-routines.
67195         ($(objpfx)getent): Remove rule.
67196         * resolv/Makefile: Add libnss_dns and libresolv to routines and
67197         static-only-routines.
67199 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67201         [BZ #13892]
67202         * math/s_cexp.c: Include <float.h>.
67203         (__cexp): Handle exp result overflowing not necessarily
67204         overflowing both real and imaginary parts of result.
67205         * math/s_cexpf.c: Likewise.
67206         * math/s_cexpl.c: Likewise.
67207         * math/libm-test.inc (cexp_test): Add more tests.
67208         * sysdeps/i386/fpu/libm-test-ulps: Update.
67209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67211 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67213         * include/link.h (ELFW): New macro.
67214         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
67215         Replace ELF64_R_TYPE with ELFW(R_TYPE).
67217 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67219         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
67220         with uint64_t.
67222 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67224         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
67225         declaration.
67226         (struct La_x32_retval): Likewise.
67228 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67230         * sysdeps/x86_64/preconfigure.in: New file.
67231         * sysdeps/x86_64/preconfigure: New generated file.
67233 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67235         [BZ #13824]
67236         * math/e_exp2l.c: Include <float.h>.
67237         (__ieee754_exp2l): Handle overflow and underflow cases
67238         separately.  Only pass fractional part of argument to
67239         __ieee754_expl.
67240         * math/libm-test.inc (exp2_test): Add more tests.
67242         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
67243         negating x to take absolute value.
67244         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
67245         Likewise.
67246         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
67247         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
67248         Likewise.
67249         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
67250         computing low part if x was negated.
67251         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
67253 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67255         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
67256         la_x32_gnu_pltexit.
67257         (pltexit): Cast int_retval to ptrdiff_t.
67258         * elf/tst-auditmod3b.c: Likewise.
67259         * elf/tst-auditmod4b.c: Likewise.
67260         * elf/tst-auditmod5b.c: Likewise.
67261         * elf/tst-auditmod6b.c: Likewise.
67262         * elf/tst-auditmod6c.c: Likewise.
67263         * elf/tst-auditmod7b.c: Likewise.
67265         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
67266         and x32_gnu_pltexit.
67268         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
67269         __ELF_NATIVE_CLASS.
67270         (La_x32_regs): New macro.
67271         (La_x32_retval): Likewise.
67272         (la_x32_gnu_pltenter): New function prototype.
67273         (la_x32_gnu_pltexit): Likewise.
67275 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
67277         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
67278         exponent.
67280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67282         * configure.in (libc_cv_cc_nofma): Check for option to disable
67283         generation of FMA instructions.
67284         * configure: Regenerate.
67285         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
67286         * sysdeps/ieee754/dbl-64/Makefile: New file.
67287         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
67288         Remove brandred-fma4.
67289         (CFLAGS-brandred-fma4.c): Remove.
67290         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
67291         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
67292         define.
67293         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
67294         define.
67296 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67298         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67299         LLONG_MAX != LONG_MAX.
67300         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67301         (_fitoa_word): Likewise.
67302         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
67303         LLONG_MAX != LONG_MAX.
67304         * stdio-common/_itowa.h: Include <_itoa.h>.
67305         (_itowa_word): Use _ITOA_WORD_TYPE on value.
67306         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
67307         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
67308         only if not defined.
67309         (_ITOA_WORD_TYPE): Likewise.
67310         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67311         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
67313 2012-03-21  David S. Miller  <davem@davemloft.net>
67315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67317 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67319         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
67320         of x86_64 when setting libc_cv_slibdir, libdir and
67321         libc_cv_localedir.
67322         * sysdeps/unix/sysv/linux/configure: Regenerated.
67324 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67326         * manual/lang.texi (Old Varargs): Remove section.
67327         (How Variadic): Update menu.
67328         (va_start): Do not mention varargs.h.
67330 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67331             Joseph Myers  <joseph@codesourcery.com>
67333         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
67334         link test.
67335         * configure: Regenerated.
67337 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67339         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
67340         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
67341         conformtest.pl
67343 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67345         * NOTES: Remove.
67346         * Makefile (files-for-dist): Remove NOTES.
67347         (NOTES): Remove rule.
67348         * README: Don't refer to NOTES.
67349         * manual/creature.texi: Don't include macros.texi.
67350         * manual/intro.texi (creature.texi): Remove comment referring to
67351         NOTES.
67353         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
67354         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
67355         * configure: Regenerated.
67356         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
67357         LIBC_TRY_CC_OPTION.
67358         (libc_cv_as_i686): Likewise.
67359         (libc_cv_cc_avx): Likewise.
67360         (libc_cv_cc_sse2avx): Likewise.
67361         (libc_cv_cc_fma4): Likewise.
67362         (libc_cv_cc_novzeroupper): Likewise.
67363         * sysdeps/i386/configure: Regenerated.
67365         [BZ #13883]
67366         * sysdeps/i386/fpu/s_cexp.S: Remove.
67367         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67368         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67369         * math/libm-test.inc (cexp_test): Add more tests.
67370         * sysdeps/i386/fpu/libm-test-ulps: Update.
67371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67373 2012-03-21  Allan McRae  <allan@archlinux.org>
67375         * timezone/Makefile: Do not install iso3166.tab and zone.tab
67377 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67379         [BZ #13871]
67380         * math/w_exp2.c: Do not include <float.h>.
67381         (o_threshold, u_threshold): Remove.
67382         (__exp2): Calculate result before checking finiteness and calling
67383         __kernel_standard.
67384         * math/w_exp2f.c: Likewise.
67385         * math/w_exp2l.c: Likewise.
67386         * math/libm-test.inc (exp2_test): Require overflow exception for
67387         1e6 input.
67389         [BZ #3866]
67390         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
67391         range of signed 64-bit integers before using fistpll.  Remove
67392         checks for whether integers fit in mantissa bits.
67393         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
67394         the range of signed 32-bit integers before using fistpl.  Remove
67395         checks for whether integers fit in mantissa bits.
67396         * sysdeps/i386/fpu/e_powl.S (p64): New object.
67397         (__ieee754_powl): Test for y outside the range of signed 64-bit
67398         integers before using fistpll.  Reduce 64-bit values to 63-bit
67399         ones as needed.
67400         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
67401         divide-by-zero is raised for zero to large negative powers.
67402         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
67403         (__ieee754_powl): Test for y outside the range of signed 64-bit
67404         integers before using fistpll.  Reduce 64-bit values to 63-bit
67405         ones as needed.
67406         * math/libm-test.inc (pow_test): Add more tests.
67408 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67410         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
67411         <stdio-common/_itoa.h>.
67412         * debug/segfault.c: Likewise.
67413         * elf/dl-cache.c: Likewise.
67414         * elf/dl-minimal.c: Likewise.
67415         * elf/dl-misc.c: Likewise.
67416         * elf/dl-sysdep.c: Likewise.
67417         * elf/dl-version.c: Likewise.
67418         * elf/rtld.c: Likewise.
67419         * hurd/hurdsock.c: Likewise.
67420         * hurd/lookup-retry.c: Likewise.
67421         * malloc/malloc.c: Likewise.
67422         * malloc/mtrace.c: Likewise.
67423         * nscd/nscd_getgr_r.c: Likewise.
67424         * nscd/nscd_getpw_r.c: Likewise.
67425         * nscd/nscd_getserv_r.c: Likewise.
67426         * posix/getopt_init.c: Likewise.
67427         * posix/wordexp.c: Likewise.
67428         * stdio-common/_itoa.c: Likewise.
67429         * stdio-common/printf_fphex.c: Likewise.
67430         * stdio-common/vfprintf.c: Likewise.
67431         * string/_strerror.c: Likewise.
67432         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
67433         * sysdeps/i386/i686/hp-timing.h: Likewise.
67434         * sysdeps/mach/_strerror.c: Likewise.
67435         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
67436         * sysdeps/mach/hurd/sethostid.c: Likewise.
67437         * sysdeps/mach/hurd/xmknodat.c: Likewise.
67438         * sysdeps/mach/xpg-strerror.c: Likewise.
67439         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67440         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67441         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
67442         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
67443         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67444         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
67445         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
67446         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
67447         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
67448         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
67449         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
67450         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
67451         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
67452         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
67453         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
67454         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
67455         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
67456         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
67457         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
67458         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
67459         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
67461         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
67463         * stdio-common/_itoa.h: Moved to ...
67464         * sysdeps/generic/_itoa.h: Here.
67466         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
67468         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
67469         instead of "_itoa.h" and "_itowa.h".
67470         * stdio-common/vfprintf.: Likewise.
67472 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67474         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
67475         <bits/wordsize.h>.
67476         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
67477         (__signbit): Likwise.
67478         (llrintf): Likwise.
67479         (llrint): Likwise.
67481 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67483         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
67484         __WORDSIZE != 64.
67486 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
67488         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
67489         OVERFLOW_EXCEPTION_OK.
67490         * math/libm-test.inc ("Philosophy"): Update comment about
67491         exception testing.
67492         (OVERFLOW_EXCEPTION): Define.
67493         (OVERFLOW_EXCEPTION_OK): Likewise.
67494         (INVALID_EXCEPTION_OK): Renumber.
67495         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67496         (IGNORE_ZERO_INF_SIGN): Likewise.
67497         (test_exceptions): Handle FE_OVERFLOW.
67498         (exp10_test): Expect overflow exceptions.
67499         (exp2_test): Likewise.
67500         (expm1_test): Likewise.
67501         (nextafter_test): Likewise.
67502         (pow_test): Likewise.
67503         (scalbn_test): Likewise.
67504         (scalbln_test): Likewise.
67506 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67508         * sysdeps/x86_64/bits/atomic.h
67509         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
67510         64bit integer.
67511         (atomic_exchange_acq): Likewise.
67512         (__arch_exchange_and_add_body): Likewise.
67513         (__arch_add_body): Likewise.
67514         (atomic_add_negative): Likewise.
67515         (atomic_add_zero): Likewise.
67517 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67519         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
67520         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
67522 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67524         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
67525         Check __x86_64__ instead of __WORDSIZE.
67527 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67529         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
67531 2012-03-19  David S. Miller  <davem@davemloft.net>
67533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67535         * sysdeps/sparc/fpu/fenv_private.h: New file.
67536         * sysdeps/sparc/fpu/math_private.h: Use it.
67537         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
67538         Remove.
67539         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
67540         (libc_feholdexcept_setroundl): Remove.
67541         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
67542         Remove.
67543         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
67544         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
67546 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67548         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
67549         int64_t instead of long int.
67550         (INSERT_WORDS64): Likwise.
67552 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67554         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
67555         _Unwind_GetCFA return to _Unwind_Ptr first.
67557 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
67559         [BZ #13629]
67560         * math/s_clog.c: Include <float.h>.
67561         (__clog): Scale large or subnormal inputs.
67562         * math/s_clogf.c: Likewise.
67563         * math/s_clogl.c: Likewise.
67564         * math/s_clog10.c: Include <float.h>.
67565         (M_LOG10_2): Define.
67566         (__clog10): Scale large or subnormal inputs.
67567         * math/s_clog10f.c: Likewise.
67568         * math/s_clog10l.c: Likewise.
67569         * math/libm-test.inc (clog_test): Add more tests.
67570         (clog10_test): Likewise.
67571         * sysdeps/i386/fpu/libm-test-ulps: Update.
67572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67574         [BZ #11451]
67575         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
67576         x and y.
67577         * math/libm-test.inc (atan2_test): Add another test.
67579         * Makerules (common-objdir-compile): Remove.
67580         * sysdeps/unix/Makefile (config-generated): Do not add
67581         $(unix-generated) to variable.
67582         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
67583         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
67584         Remove rule.
67585         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
67586         Likewise.
67587         [generic bits/local_lim.h] (before-compile): Do not append to
67588         variable.
67589         [generic bits/local_lim.h] (common-generated): Likewise.
67590         [generic sys/param.h] (before-compile): Do not append to variable.
67591         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
67592         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
67593         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
67594         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
67595         include.
67596         [generic sys/param.h] (sys/param.h-includes): Remove variable.
67597         [generic sys/param.h] (sys/param.h-includes): Remove rule.
67598         [generic sys/param.h] ($(addprefix
67599         $(common-objpfx),$(sys/param.h-includes))): Likewise.
67600         [generic sys/param.h] (common-generated): Do not append to
67601         variable.
67602         [generic sys/param.h] (sysdep_headers): Likewise.
67603         [generic bits/errno.h] (before-compile): Do not append to
67604         variable.
67605         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
67606         rule.
67607         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
67608         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
67609         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
67610         [generic bits/errno.h] (common-generated): Do not append to
67611         variable.
67612         [generic bits/ioctls.h] (before-compile): Do not append to
67613         variable.
67614         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
67615         rule.
67616         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
67617         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
67618         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
67619         rule.
67620         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
67621         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
67622         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
67623         [generic bits/ioctls.h] (common-generated): Do not append to
67624         variable.
67625         [generic sys/syscall.h] (syscall.h): Remove variable.
67626         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
67627         rule.
67628         [generic sys/syscall.h] (before-compile): Do not append to
67629         variable.
67630         [generic sys/syscall.h] (common-generated): Likewise.
67631         * sysdeps/unix/errnos-tmpl.c: Remove file.
67632         * sysdeps/unix/errnos.awk: Likewise.
67633         * sysdeps/unix/ioctls-tmpl.c: Likewise.
67634         * sysdeps/unix/ioctls.awk: Likewise.
67635         * sysdeps/unix/mk-local_lim.c: Likewise.
67636         * sysdeps/unix/snarf-ioctls: Likewise.
67638 2012-03-19  Richard Henderson  <rth@twiddle.net>
67640         * sysdeps/i386/fpu/fenv_private.h: New file.
67641         * sysdeps/i386/fpu/math_private.h: Use it.
67642         (math_opt_barrier, math_force_eval): Remove.
67643         (libc_feholdexcept_setround_53bit): Remove.
67644         (libc_feupdateenv_53bit): Remove.
67645         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67646         (math_opt_barrier, math_force_eval): Remove.
67647         (libc_feholdexcept): Remove.
67648         (libc_feholdexcept_setround): Remove.
67649         (libc_fetestexcept, libc_fesetenv): Remove.
67650         (libc_feupdateenv_test): Remove.
67651         (libc_feupdateenv, libc_feholdsetround): Remove.
67652         (libc_feresetround): Remove.
67654         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
67655         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
67657         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
67658         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
67659         (libc_feupdateenv_testl): New.
67660         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
67661         (libc_feupdateenv_testf): New.
67662         (libc_feupdateenv): Use libc_feupdateenv_test.
67663         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
67664         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
67666         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
67667         (libc_feholdsetroundf, libc_feholdsetroundl): New.
67668         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
67669         (libc_feresetround_noex): New.
67670         (libc_feresetround_noexf): New.
67671         (libc_feresetround_noexl): New.
67672         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
67673         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67674         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67675         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67676         SET_RESTORE_ROUND.
67677         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67678         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67679         (__cos): Likewise.
67680         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67681         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67682         SET_RESTORE_ROUND_NOEX.
67683         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67684         SET_RESTORE_ROUND_NOEXF.
67685         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67686         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67687         (libc_feholdsetroundf): New.
67688         (libc_feresetround, libc_feresetroundf): New.
67690         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67691         (libc_feholdexcept_setround_53bit): Convert from macro to function.
67692         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
67694         * sysdeps/generic/math_private.h: Include <fenv.h>.
67695         (default_libc_feholdexcept): New.
67696         (default_libc_feholdexcept_setround): New.
67697         (default_libc_fesetenv, default_libc_feupdateenv): New.
67698         (libc_feholdexcept): Only define if undefined.
67699         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67700         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67701         (libc_feholdexcept_setroundl): Likewise.
67702         (libc_feholdexcept_setround_53bit): Likewise.
67703         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67704         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67705         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67706         (libc_feupdateenv_53bit): Likewise.
67707         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67708         (libc_feholdexcept): Convert from macro to inline function.
67709         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67710         (libc_fesetenv, libc_feupdateenv): Likewise.
67712         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67713         not previously defined.
67714         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67715         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67716         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67717         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67718         * sysdeps/ieee754/flt-32/math_private.h: New file.
67719         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67720         math_private.h below SET_FLOAT_WORD.
67721         (__isnan, __isinf_ns, __finite): Remove.
67722         (__isnanf, __isinf_nsf, __finitef): Remove.
67724 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
67726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67728 2012-03-17  David S. Miller  <davem@davemloft.net>
67730         [BZ #6471]
67731         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67732         for 2.16.
67734 2012-03-16  David S. Miller  <davem@davemloft.net>
67736         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67737         warnings.
67739         [BZ #6471]
67740         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67741         properly.
67742         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67743         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67744         sysdep_routines when subdir is sysvipc.
67745         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67746         __getshmlba helper.
67748         * sysdeps/sparc/fpu/libm-test/ulps: Update.
67750 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67752         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67753         [__LP64__].
67755 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67757         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67758         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67759         (__lround): Renamed to ...
67760         (__llround): This.  Replace long int with long long int.
67761         Define lround functions as aliases of llround functions.
67762         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67764 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67766         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67767         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
67768         adresses to uintptr_t.  Replace "long int" and "unsigned long
67769         int" with "greg_t" on va_arg.
67771 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67773         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67774         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67776         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67777         Move e_machine check before EI_CLASS check.  Handle x32
67778         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67779         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67780         SKIP_EM_IA_64 and include
67781         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67783         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67784         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67785         (add_system_dir): New macro.
67787         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67788         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67790 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67792         [BZ #2551]
67793         [BZ #2552]
67794         [BZ #2553]
67795         [BZ #2554]
67796         [BZ #2562]
67797         [BZ #2563]
67798         [BZ #2565]
67799         [BZ #2566]
67800         [BZ #2576]
67801         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67802         (y0): Likewise.
67803         * math/w_j0f.c (j0f): Likewise.
67804         (y0f): Likewise.
67805         * math/w_j0l.c (__j0l): Likewise.
67806         (__y0l): Likewise.
67807         * math/w_j1.c (j1): Likewise.
67808         (y1): Likewise.
67809         * math/w_j1f.c (j1f): Likewise.
67810         (y1f): Likewise.
67811         * math/w_j1l.c (__j1l): Likewise.
67812         (__y1l): Likewise.
67813         * math/w_jn.c (jn): Likewise.
67814         (yn): Likewise.
67815         * math/w_jnf.c (jnf): Likewise.
67816         (ynf): Likewise.
67817         * math/w_jnl.c (__jnl): Likewise.
67818         (__ynl): Likewise.
67819         * math/libm-test.inc (j0_test): Add more tests.
67820         (j1_test): Likewise.
67821         (jn_test): Likewise.  Add trailing semicolon to existing test.
67822         (y0_test): Likewise.
67823         (y1_test): Likewise.
67824         * sysdeps/i386/fpu/libm-test-ulps: Update.
67825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67827         [BZ #13851]
67828         [BZ #13854]
67829         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67830         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67831         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67832         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67833         (__tanl): Set errno for infinite argument.
67834         * sysdeps/i386/fpu/mptan.c: Remove.
67835         * sysdeps/i386/fpu/s_tan.S: Likewise.
67836         * sysdeps/i386/fpu/s_tanl.S: Likewise.
67837         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67838         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67839         * math/libm-test.inc (tan_test): Add more tests and enable more
67840         tests for double and long double.
67841         * sysdeps/i386/fpu/libm-test-ulps: Update.
67842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67844 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
67846         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67847         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67849 2012-03-16  Roland McGrath  <roland@hack.frob.com>
67851         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67852         * configure.in: Use it for both main tree and add-ons.
67853         * configure: Regenerated.
67855 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67857         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67859 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67861         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67862         in comment.
67864         [BZ #13851]
67865         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67866         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67867         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67868         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67869         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67870         infinite argument.
67871         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67872         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67873         != 0 for prec == 2.
67874         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67875         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67876         * sysdeps/i386/fpu/s_cosl.S: Likewise.
67877         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67878         * sysdeps/i386/fpu/s_sinl.S: Likewise.
67879         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67880         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67881         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67882         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67883         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67884         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67885         * math/libm-test.inc (cos_test): Add more tests and enable more
67886         tests for long double.
67887         (sin_test): Likewise.
67888         (sincos_test): Likewise.
67889         * sysdeps/i386/fpu/libm-test-ulps: Update.
67890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67892 2012-03-16  David S. Miller  <davem@davemloft.net>
67894         * sysdeps/sparc/fpu/math_private.h: New file.
67896 2012-03-15  David S. Miller  <davem@davemloft.net>
67898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67899         file.
67900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67902         file.
67903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67904         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67905         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67906         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67907         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67908         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67909         sysdep routines.
67910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67912         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67913         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67915         * sysdeps/sparc/sparc-ifunc.h: New file.
67916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67917         sparc-ifunc.h
67918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67920         Likewise.
67921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67922         Likewise.
67923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67927         Likewise.
67928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67933         Likewise.
67934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67935         Likewise.
67936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67940         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67941         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67942         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67943         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67944         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67945         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67946         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67947         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67948         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67949         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67950         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67951         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67952         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67953         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67954         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67955         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67956         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67957         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67958         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67959         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67961 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67963         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67964         scaling.
67965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67967 2012-03-15  Andreas Jaeger  <aj@suse.de>
67969         [BZ #13852]
67970         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67971         ieee754/flt-32 implementation for sin, cos and sincos.
67972         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67973         * sysdeps/i386/fpu/s_cosf.S: Likewise.
67974         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67975         * sysdeps/i386/fpu/s_sinf.S: Likewise.
67976         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67977         ieee754/flt-32 implementation for tan.
67979         * math/libm-test.inc (cos_test): Enable some large input tests for
67980         float as well
67981         (sin_test): Likewise.
67982         (sincos_test): Likewise.
67983         (tan_test): Add tests for large input.
67985         * sysdeps/i386/fpu/libm-test-ulps: Update.
67987 2012-03-15  Andreas Jaeger  <aj@suse.de>
67989         [BZ #13658]
67990         * math/libm-test.inc (cos_test): Add more test cases.
67991         (sin_test): Likewise.
67992         (sincos_test): Likewise.
67994 2012-03-15  Andreas Jaeger  <aj@suse.de>
67996         [BZ #13837]
67997         * math/libm-test.inc (cos_test): Add a test case for large input
67998         value.
67999         (sin_test): Likewise.
68000         (sincos_test): Likewise.
68002 2012-03-15  Andreas Jaeger  <aj@suse.de>
68003             Joseph Myers  <joseph@codesourcery.com>
68005         [BZ #13658]
68006         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
68007         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
68008         * sysdeps/i386/fpu/branred.c: Likewise.
68009         * sysdeps/i386/fpu/dosincos.c: Likewise.
68010         * sysdeps/i386/fpu/mpa.c: Likewise.
68011         * sysdeps/i386/fpu/s_cos.S: Likewise.
68012         * sysdeps/i386/fpu/s_sin.S: Likewise.
68013         * sysdeps/i386/fpu/s_sincos.S: Likewise.
68014         * sysdeps/i386/fpu/sincos32.c: Likewise.
68016         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
68017         Define.
68018         (libc_feupdateenv_53bit): Define.
68019         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
68020         Define.
68021         (libc_feupdateenv_53bit): Define.
68023         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
68024         53 bit (without extend i386 double precision).
68026         * math/libm-test.inc (sincos_test): Add tests for large input.
68027         (sin): Likewise.
68028         (cos): Likewise.
68030         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
68032 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68036 2012-03-15  David S. Miller  <davem@davemloft.net>
68038         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
68039         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
68040         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
68041         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
68042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
68043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
68044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
68045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
68046         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
68047         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
68048         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
68049         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
68050         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
68051         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
68052         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
68053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
68054         file.
68055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
68056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
68057         file.
68058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
68059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
68060         file.
68061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
68062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
68063         file.
68064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
68065         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
68066         fmin/fmax sysdep routines.
68067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68069 2012-03-14  David S. Miller  <davem@davemloft.net>
68071         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
68072         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
68073         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
68074         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
68075         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
68076         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
68077         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
68078         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
68079         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
68080         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
68081         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
68082         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
68083         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
68084         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
68085         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
68086         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
68087         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
68088         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
68089         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
68090         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
68091         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
68092         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
68093         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
68094         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
68095         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
68096         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
68097         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
68098         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
68099         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
68100         routines.
68101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
68102         file.
68103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
68104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
68105         file.
68106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
68107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
68108         file.
68109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
68110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
68111         file.
68112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
68113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
68114         file.
68115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
68116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
68117         file.
68118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
68119         file.
68120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
68121         file.
68122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
68123         file.
68124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
68125         New file.
68126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
68127         file.
68128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
68129         file.
68130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
68131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
68132         file.
68133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
68134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
68135         file.
68136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
68137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
68138         file.
68139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
68140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
68141         VIS3 routines.
68143         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68144         New file.
68146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68148         * sysdeps/sparc/configure.in: New file.
68149         * sysdeps/sparc/configure: Generate.
68150         * configure.in (libc_cv_sparc_as_vis3): Substitute.
68151         * configure: Regenerate.
68152         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
68153         * config.make.in (have-as-vis3): New.
68154         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
68155         available use -Av9d instead of -Av9a.
68156         * sysdeps/sparc/sparc64/Makefile: Likewise.
68157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
68158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
68159         New file.
68160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
68161         file.
68162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
68163         New file.
68164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
68165         file.
68166         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
68167         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
68168         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
68169         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
68170         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
68172         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
68173         fzeros/fnegs to load 0x80000000 into a float register instead of
68174         using the stack.
68175         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
68177 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68179         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68180         bits/syscall.h.
68181         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
68182         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
68183         ($(inst_includedir)/bits/syscall.h): Remove rule.
68184         ($(objpfx)bits/syscall.d): Include instead of
68185         $(objpfx)syscall-list.d.
68186         (generated): Change syscall-list.h and syscall-list.d to
68187         bits/syscall.h and bits/syscall.d.
68189 2012-03-14  Roland McGrath  <roland@hack.frob.com>
68191         [BZ #13846]
68192         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
68194 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68196         [BZ #13841]
68197         * math/s_csqrt.c: Include <float.h>.
68198         (__csqrt): Scale large or subnormal inputs.
68199         * math/s_csqrtf.c: Likewise.
68200         * math/s_csqrtl.c: Likewise.
68201         * math/libm-test.inc (csqrt_test): Add more tests.
68202         * sysdeps/i386/fpu/libm-test-ulps: Update.
68203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68205         [BZ #13840]
68206         * math/libm-test.inc (hypot_test): Add more tests.
68208 2012-03-13  David S. Miller  <davem@davemloft.net>
68210         [BZ #13840]
68211         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
68212         double-precision for the calculation instead of scaling.
68214 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
68216         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
68217         manipulate bits before adding and subtracting TWO52[sx].
68218         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
68219         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
68220         Likewise.
68221         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
68223 2012-03-13  David S. Miller  <davem@davemloft.net>
68225         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
68226         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
68227         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
68228         rtld-global-offsets.h
68229         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68231         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
68232         large parameters.
68234         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
68236         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
68237         'err' in the ifdef scope in which it is actually used.
68239         * nss/nss_db/db-init.c: Include string.h
68241 2012-03-12  David S. Miller  <davem@davemloft.net>
68243         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68244         masking out of the most significant byte of random value used.
68245         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68246         Fix coding style in previous change.
68248         * sysdeps/unix/sysv/linux/kernel-features.h
68249         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
68250         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
68251         expression.
68252         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
68253         later.
68255 2012-03-11  David S. Miller  <davem@davemloft.net>
68257         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68258         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
68259         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
68260         for 'resultvar' otherwise things get truncated on 64-bit.
68262         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68263         Fix masking out of the most significant byte of random value used.
68265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68267 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
68269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68271 2012-03-09  David S. Miller  <davem@davemloft.net>
68273         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
68274         variables with appropriate CPP guards.
68275         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
68276         from the frame pointer, not the stack pointer.  Correct layout
68277         comments.  Fix test on resulting framesize and the management of
68278         the outregs buffer for pltexit.  Preserve floating point return
68279         values across _dl_call_pltexit call.
68280         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
68281         framesize and the management of the outregs buffer for pltexit.
68282         Preserve floating point return values across _dl_call_pltexit
68283         call.
68284         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
68285         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
68286         (la_sparc64_gnu_pltexit): New functions.
68287         (print_exit): Fix format string for return register value.
68289 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
68291         * sunrpc/Makefile (others): Add rpcgen.
68292         ($(objpfx)rpcgen): Remove special build rule and dependency on
68293         libc.
68294         * sunrpc/rpcgen.c: New file.
68296 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
68298         [BZ #13673]
68299         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
68300         * stdio-common/bug-vfprintf-nargs.c: Likewise.
68301         * sysdeps/i386/crti.S: Likewise.
68302         * sysdeps/i386/crtn.S: Likewise.
68303         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
68304         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
68305         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
68306         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
68307         * sysdeps/sh/crti.S: Likewise.
68308         * sysdeps/sh/crtn.S: Likewise.
68309         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68311         [BZ #13673]
68312         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
68313         with URL.
68314         * locale/programs/locfile-kw.gperf: Likewise.
68315         * locale/programs/charmap-kw.h: Regenerated.
68316         * locale/programs/locfile-kw.h: Likewise.
68318         [BZ #13673]
68319         * intl/plural.y: Replace FSF snail mail address with URL.
68320         * intl/plural.c: Regenerated.
68322 2012-03-09  Richard Henderson  <rth@twiddle.net>
68324         * include/math_private.h: Remove file.
68325         * math/math_private.h: Move file ...
68326         * sysdeps/generic/math_private.h: ... here.
68328         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
68329         * sysdeps/powerpc/fpu/math_private.h: Likewise.
68330         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68332         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
68333         and <math_private.h>.
68334         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68335         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68336         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68337         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68338         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68339         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
68340         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68341         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68342         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68343         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68344         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68345         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68346         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68347         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68348         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68349         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68350         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68351         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68352         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68353         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68354         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68355         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68356         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68357         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68358         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
68359         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68360         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68361         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68362         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68363         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68364         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68365         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68366         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
68367         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68368         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68369         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68370         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68371         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68372         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68373         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68374         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
68375         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68376         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68377         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
68378         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
68379         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68380         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
68381         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
68382         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68383         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68384         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
68385         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
68386         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
68387         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68388         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
68389         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68390         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68391         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
68392         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
68393         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
68394         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68395         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
68396         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68397         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68398         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
68399         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68400         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68401         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68402         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
68403         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
68404         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
68405         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68406         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
68407         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68408         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
68409         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
68410         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
68411         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68412         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
68413         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
68414         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
68415         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
68416         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
68417         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68418         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68419         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
68420         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
68421         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
68422         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68423         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68424         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68425         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68426         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68427         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68428         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68429         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68430         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68431         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68432         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68433         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68434         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68435         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68436         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68437         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68438         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68439         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68440         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68441         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68442         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68443         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68444         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68445         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68446         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68447         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68448         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
68449         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68450         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68451         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68452         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68453         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68454         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68455         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68456         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68457         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
68458         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68459         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68460         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68461         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
68462         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68463         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
68464         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
68465         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68466         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68467         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
68468         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
68469         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68470         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68471         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68472         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
68473         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68474         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68475         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68476         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68477         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
68478         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
68479         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68480         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68481         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68482         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
68483         * sysdeps/ieee754/k_standard.c: Likewise.
68484         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68485         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68486         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68487         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68488         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68489         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68490         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68491         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68492         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68493         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68494         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68495         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68496         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68497         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68498         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68499         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68500         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
68501         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68502         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68503         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
68504         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
68505         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
68506         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68507         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68508         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
68509         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
68510         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68511         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68512         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68513         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68514         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
68515         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68516         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68517         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68518         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
68519         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68520         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68521         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
68522         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
68523         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68524         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
68525         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
68526         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
68527         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68528         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
68529         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
68530         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68531         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68532         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68533         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68534         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68535         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
68536         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68537         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
68538         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68539         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68540         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
68541         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
68542         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68543         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68544         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68545         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
68546         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68547         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68548         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68549         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68550         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68551         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68552         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68553         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68554         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68555         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68556         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68557         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68558         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68559         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68560         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
68561         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68562         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68563         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
68564         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
68565         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
68566         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68567         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68568         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
68569         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68570         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68571         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
68572         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68573         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68574         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
68575         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68576         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
68577         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
68578         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68579         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68580         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
68581         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
68582         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
68583         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
68584         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68585         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68586         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68587         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68588         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
68589         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68590         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68591         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
68592         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
68593         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68594         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68595         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68596         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68597         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68598         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68599         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68600         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68601         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68602         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68603         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68604         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68605         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68606         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68607         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68608         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68609         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
68610         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68611         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68612         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68613         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68614         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68615         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68616         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68617         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
68618         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68619         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68620         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
68621         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
68622         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68623         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
68624         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
68625         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68626         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
68627         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
68628         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68629         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68630         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68631         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68632         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68633         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
68634         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68635         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68636         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68637         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68638         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
68639         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
68640         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68641         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68642         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68643         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
68644         * sysdeps/ieee754/s_lib_version.c: Likewise.
68645         * sysdeps/ieee754/s_matherr.c: Likewise.
68646         * sysdeps/ieee754/s_signgam.c: Likewise.
68647         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68648         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68649         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
68650         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
68651         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
68652         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68653         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
68654         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
68655         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
68656         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
68657         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
68658         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
68659         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68660         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68661         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
68662         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68663         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68664         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68665         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68666         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68667         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68669 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68671         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
68672         * sunrpc/rpc_main.c: Likewise.
68673         * sunrpc/rpc_svcout.c: Likewise.
68675 2012-03-09  David S. Miller  <davem@davemloft.net>
68677         * include/math_private.h: New file.
68679 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68681         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68682         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68683         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68684         from <bits/socket_type.h>.
68685         (enum __socket_type): Don't define here.
68686         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68687         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68688         bits/socket_type.h.
68690         [BZ #13566]
68691         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68692         checking __USE_GNU.
68694         * Makerules ($(inst_includedir)/%.h): New rule.
68695         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68696         (install-others): Remove variable setting.
68697         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68699 2012-03-08  Richard Henderson  <rth@twiddle.net>
68701         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68702         from macro to inline function; merge with the
68703         !__LIBC_INTERNAL_MATH_INLINES version.
68704         (__ieee754_sqrtf): Likewise.
68706         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68707         to inline function.
68708         (__rintf, __floor, __floorf): Likewise.
68710         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68711         macro to inline function.
68712         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68714         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68715         not <math/math_private.h>.
68717 2012-03-08  David S. Miller  <davem@davemloft.net>
68719         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68720         copyright year.
68721         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68723 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
68725         * resolv/gai_misc.c (handle_requests): Fix struct timespec
68726         normalization.
68727         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68728         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68730 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
68732         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
68733         be defined individually, they must be defined as a block.  Define
68734         S for printing a string instead of hidint the different by using a
68735         macro for adding the 'l'.
68736         * stdio-common/tst-fphex-wide.c: Adjust.
68738 2012-03-07  Marek Polacek  <polacek@redhat.com>
68740         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68742 2012-03-08  Marek Polacek  <polacek@redhat.com>
68744         [BZ #13806]
68745         * stdio-common/Makefile (tests): Add tst-fphex-wide.
68746         * stdio-common/tst-fphex.c: Define a few macros to make the
68747         test reusable.  Use them.
68748         * stdio-common/tst-fphex-wide.c: New file.
68750 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
68752         [BZ #6911]
68753         * manual/macros.texi (gnusystems): New macro.
68754         (nongnusystems): Likewise.
68755         (gnulinuxhurdsystems): Likewise.
68756         (gnuhurdsystems): Likewise..
68757         (gnulinuxsystems): Likewise.
68758         * manual/charset.texi: Use new macros or @theglibc{} to refer to
68759         variants of the GNU system, not "GNU system".
68760         * manual/conf.texi: Likewise.
68761         * manual/errno.texi: Likewise.  Update example of errno macro
68762         expansion.
68763         * manual/filesys.texi: Likewise.
68764         (getumask): Document as specific to GNU/Hurd.
68765         * manual/install.texi: Likewise.  Reword some references to
68766         GNU/Linux.
68767         * manual/intro.texi: Likewise.
68768         * manual/io.texi: Likewise.
68769         (File Name Portability): Detail which constraints are inapplicable
68770         to all GNU systems and which are only inapplicable to GNU/Hurd.
68771         * manual/job.texi: Likewise.
68772         * manual/llio.texi: Likewise.
68773         (O_NOCTTY): Document as present on GNU/Linux.
68774         * manual/maint.texi: Likewise.
68775         * manual/memory.texi: Likewise.
68776         * manual/pattern.texi: Likewise.
68777         * manual/pipe.texi: Likewise.
68778         * manual/process.texi: Likewise.
68779         * manual/resource.texi: Likewise.
68780         (RUSAGE_CHILDREN): Remove statement about specifying a particular
68781         child on GNU/Hurd.
68782         * manual/setjmp.texi: Likewise.
68783         * manual/signal.texi: Likewise.
68784         * manual/startup.texi: Likewise.
68785         * manual/stdio.texi: Likewise.
68786         * manual/terminal.texi: Likewise.
68787         (ONLCR): Document as POSIX.
68788         (OXTABS): Document availability on GNU/Linux as XTABS.
68789         (ONOEOT): Document availability separately from other bits.
68790         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68791         * manual/time.texi: Likewise.
68792         * manual/users.texi: Likewise.
68793         * INSTALL: Regenerated.
68794         * sysdeps/gnu/errlist.c: Regenerated.
68796         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68797         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68798         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
68799         puts.
68800         * configure: Regenerated.
68802 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
68804         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68805         default includes instead of AC_HEADER_CHECK.
68806         * sysdeps/i386/configure: Regenerated.
68808         [BZ #10716]
68809         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68810         * math/s_cacoshf.c (__cacoshf): Likewise.
68811         * math/s_cacoshl.c (__cacoshl): Likewise.
68812         * math/s_casinh.c (__casinh): Set signs of result from argument.
68813         * math/s_casinhf.c (__casinhf): Likewise.
68814         * math/s_casinhl.c (__casinhl): Likewise.
68815         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68816         (casinh_test): Add more tests.
68817         * sysdeps/i386/fpu/libm-test-ulps: Update.
68818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68820 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
68822         * po/zh_TW.po: Update from translation team.
68824         * login/Makefile (distribute): Remove variable.
68825         * catgets/Makefile: Likewise.
68826         * mach/Makefile: Likewise.
68827         * malloc/Makefile: Likewise.
68828         * misc/Makefile: Likewise.
68829         * iconv/Makefile: Likewise.
68830         * nscd/Makefile: Likewise.
68831         * hurd/Makefile: Likewise.
68832         * manual/Makefile: Likewise.
68833         * locale/Makefile: Likewise.
68834         * intl/Makefile: Likewise.
68835         * conform/Makefile: Likewise.
68836         * nss/Makefile: Likewise.
68837         * time/Makefile: Likewise.
68838         * soft-fp/Makefile: Likewise.
68839         * dirent/Makefile: Likewise.
68840         * gmon/Makefile: Likewise.
68841         * po/Makefile: Likewise.
68842         * rt/Makefile: Likewise.
68843         * socket/Makefile: Likewise.
68844         * math/Makefile: Likewise.
68845         * signal/Makefile: Likewise.
68846         * debug/Makefile: Likewise.
68847         * elf/Makefile: Likewise.
68848         * timezone/Makefile: Likewise.
68849         * stdlib/Makefile: Likewise.
68850         * iconvdata/Makefile: Likewise.
68851         * sunrpc/Makefile: Likewise.
68852         * io/Makefile: Likewise.
68853         * argp/Makefile: Likewise.
68854         * inet/Makefile: Likewise.
68855         * hesiod/Makefile: Likewise.
68856         * grp/Makefile: Likewise.
68857         * csu/Makefile: Likewise.
68858         * wctype/Makefile: Likewise.
68859         * crypt/Makefile: Likewise.
68860         * libio/Makefile: Likewise.
68861         * string/Makefile: Likewise.
68862         * nis/Makefile: Likewise.
68863         * resolv/Makefile: Likewise.
68864         * stdio-common/Makefile: Likewise.
68865         * wcsmbs/Makefile: Likewise.
68866         * dlfcn/Makefile: Likewise.
68867         * posix/Makefile: Likewise.
68869         [BZ #6959]
68870         * timezone/Makefile: Don't install timezone files, just the programs
68871         and scripts.
68873 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
68875         * nss/databases.def: Add missing gshadow entry.
68877         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
68879 2012-03-06  Marek Polacek  <polacek@redhat.com>
68881         [BZ #13726]
68882         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68883         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68884         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68885         * stdio-common/tst-long-dbl-fphex.c: New file.
68887 2012-03-06  David S. Miller  <davem@davemloft.net>
68889         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68890         (set_obp_int): New function.
68891         (get_obp_int): New function.
68892         (__get_clockfreq_via_dev_openprom): Likewise.
68893         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68894         Avoid unused variable warnings on 'val' and use builtin_expect.
68895         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68896         __builtin_expect.
68897         (INLINE_CLONE_SYSCALL): Likewise.
68899 2012-03-05  David S. Miller  <davem@davemloft.net>
68901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68903 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
68905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68907         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68908         only for |x| >= 40.
68909         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68911 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
68913         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68914         Replace gettimeofday with __vdso_gettimeofday.
68916         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68917         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68918         __vdso_clock_gettime and __vdso_getcpu.
68920         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68921         time with __vdso_time.
68923 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68925         * manual/lang.texi (size_t): Note types to which size_t may be
68926         equivalent with the GNU C Library, but do not describe when
68927         differences between them are significant.
68929 2012-03-05  Andreas Jaeger  <aj@suse.de>
68931         * sysdeps/i386/fpu/libm-test-ulps: Update.
68933 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68935         [BZ #3976]
68936         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68937         (__ieee754_pow): Save and restore rounding mode and use
68938         round-to-nearest for main computations.
68939         * math/libm-test.inc (pow_test_tonearest): New function.
68940         (pow_test_towardzero): Likewise.
68941         (pow_test_downward): Likewise.
68942         (pow_test_upward): Likewise.
68943         (main): Call the new functions.
68944         * sysdeps/i386/fpu/libm-test-ulps: Update.
68945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68947         [BZ #3976]
68948         * math/libm-test.inc (cosh_test_tonearest): New function.
68949         (cosh_test_towardzero): Likewise.
68950         (cosh_test_downward): Likewise.
68951         (cosh_test_upward): Likewise.
68952         (sinh_test_tonearest): Likewise.
68953         (sinh_test_towardzero): Likewise.
68954         (sinh_test_downward): Likewise.
68955         (sinh_test_upward): Likewise.
68956         (main): Call the new functions.
68957         * sysdeps/i386/fpu/libm-test-ulps: Update.
68958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68960 2012-03-05  Tom de Vries  <tom@codesourcery.com>
68962         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68963         default stack guard is set in last bytes.
68964         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68966 2012-03-05  Kees Cook  <keescook@chromium.org>
68968         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68970         [BZ #13656]
68971         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68972         possibly allocate from heap instead of stack.
68973         * stdio-common/bug-vfprintf-nargs.c: New file.
68974         * stdio-common/Makefile (tests): Add nargs overflow test.
68976 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
68978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68980 2012-03-03  Marek Polacek  <polacek@redhat.com>
68982         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68983         * math/math_private.h: Likewise.
68984         * stdlib/tst-strtod.c: Likewise.
68985         * sysdeps/i386/i486/bits/atomic.h: Likewise.
68986         * sysdeps/x86_64/bits/atomic.h: Likewise.
68988 2012-03-02  David S. Miller  <davem@davemloft.net>
68990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68994         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68995         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68996         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68997         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68999 2012-03-02  Roland McGrath  <roland@hack.frob.com>
69001         [BZ #13792]
69002         * manual/examples/README: New file, says the example source files
69003         can be used under GPL>=2.
69004         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
69005         line containing just "*/".
69006         * manual/examples/add.c: Add copyright header (GPL>=2).
69007         * manual/examples/argp-ex1.c: Likewise.
69008         * manual/examples/argp-ex2.c: Likewise.
69009         * manual/examples/argp-ex3.c: Likewise.
69010         * manual/examples/argp-ex4.c: Likewise.
69011         * manual/examples/atexit.c: Likewise.
69012         * manual/examples/db.c: Likewise.
69013         * manual/examples/dir.c: Likewise.
69014         * manual/examples/dir2.c: Likewise.
69015         * manual/examples/execinfo.c: Likewise.
69016         * manual/examples/filecli.c: Likewise.
69017         * manual/examples/filesrv.c: Likewise.
69018         * manual/examples/fmtmsgexpl.c: Likewise.
69019         * manual/examples/genpass.c: Likewise.
69020         * manual/examples/inetcli.c: Likewise.
69021         * manual/examples/inetsrv.c: Likewise.
69022         * manual/examples/isockad.c: Likewise.
69023         * manual/examples/longopt.c: Likewise.
69024         * manual/examples/memopen.c: Likewise.
69025         * manual/examples/memstrm.c: Likewise.
69026         * manual/examples/mkfsock.c: Likewise.
69027         * manual/examples/mkisock.c: Likewise.
69028         * manual/examples/mygetpass.c: Likewise.
69029         * manual/examples/pipe.c: Likewise.
69030         * manual/examples/popen.c: Likewise.
69031         * manual/examples/rprintf.c: Likewise.
69032         * manual/examples/search.c: Likewise.
69033         * manual/examples/select.c: Likewise.
69034         * manual/examples/setjmp.c: Likewise.
69035         * manual/examples/sigh1.c: Likewise.
69036         * manual/examples/sigusr.c: Likewise.
69037         * manual/examples/stpcpy.c: Likewise.
69038         * manual/examples/strdupa.c: Likewise.
69039         * manual/examples/strftim.c: Likewise.
69040         * manual/examples/strncat.c: Likewise.
69041         * manual/examples/subopt.c: Likewise.
69042         * manual/examples/swapcontext.c: Likewise.
69043         * manual/examples/termios.c: Likewise.
69044         * manual/examples/testopt.c: Likewise.
69045         * manual/examples/testpass.c: Likewise.
69046         * manual/examples/timeval_subtract.c: Likewise.
69048         [BZ #13792]
69049         * manual/time.texi (Elapsed Time): Move timeval_subtract example
69050         function to ...
69051         * manual/timeval_subtract.c.texi: ... here, new file.
69053 2012-03-02  David S. Miller  <davem@davemloft.net>
69055         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
69057 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
69059         [BZ #3976]
69060         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
69061         (__sin): Save and restore rounding mode and use round-to-nearest
69062         for all computations.
69063         (__cos): Save and restore rounding mode and use round-to-nearest
69064         for all computations.
69065         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
69066         <fenv.h>.
69067         (tan): Save and restore rounding mode and use round-to-nearest for
69068         all computations.
69069         * math/libm-test.inc (cos_test_tonearest): New function.
69070         (cos_test_towardzero): Likewise.
69071         (cos_test_downward): Likewise.
69072         (cos_test_upward): Likewise.
69073         (sin_test_tonearest): Likewise.
69074         (sin_test_towardzero): Likewise.
69075         (sin_test_downward): Likewise.
69076         (sin_test_upward): Likewise.
69077         (tan_test_tonearest): Likewise.
69078         (tan_test_towardzero): Likewise.
69079         (tan_test_downward): Likewise.
69080         (tan_test_upward): Likewise.
69081         (main): Call the new functions.
69082         * sysdeps/i386/fpu/libm-test-ulps: Update.
69083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69085         [BZ #10135]
69086         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
69087         small n, then large n, before computing and testing k+n.
69088         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
69089         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
69090         Likewise.
69091         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
69092         Likewise.
69093         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
69094         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
69095         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
69096         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
69097         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
69098         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
69099         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
69100         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
69101         * math/libm-test.inc (scalbn_test): Add more tests.
69102         (scalbln_test): Likewise.
69104         * manual/filesys.texi (mode_t): Describe constraints on size and
69105         signedness, not exact equivalence to a particular type.
69106         (ino_t): Likewise.
69107         (ino64_t): Likewise.
69108         (dev_t): Likewise.
69109         (nlink_t): Likewise.
69110         (blkcnt_t): Likewise.
69111         (blkcnt64_t): Likewise.
69112         * manual/llio.texi (off_t): Likewise.
69114         [BZ #3976]
69115         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
69116         (__ieee754_exp): Save and restore rounding mode and use
69117         round-to-nearest for all computations.
69118         * math/libm-test.inc (exp_test_tonearest): New function.
69119         (exp_test_towardzero): Likewise.
69120         (exp_test_downward): Likewise.
69121         (exp_test_upward): Likewise.
69122         (main): Call the new functions.
69123         * sysdeps/i386/fpu/libm-test-ulps: Update.
69124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69126 2012-03-01  Chris Demetriou  <cgd@google.com>
69128         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
69129         have predictable order.
69131 2012-03-01  David S. Miller  <davem@davemloft.net>
69133         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
69135         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
69136         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
69137         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
69138         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
69140         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
69141         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
69142         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
69143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
69144         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
69145         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
69146         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
69147         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
69148         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
69150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69152         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
69153         * sysdeps/sparc/fpu/libm-test-ulps: to here.
69154         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
69156         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
69157         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69158         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69159         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
69160         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
69161         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
69162         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
69163         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69164         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69165         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
69166         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
69167         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69168         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69169         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69170         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69171         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69172         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
69173         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
69174         * sysdeps/sparc/elf/configure: Regenerated.
69176 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
69178         * configure.in (AS, LD): Require binutils 2.20 or later.
69179         * configure: Regenerated.
69180         * manual/install.texi (Tools for Compilation): Give binutils 2.20
69181         as required minimum version.
69182         * INSTALL: Regenerated.
69184         [BZ #2541]
69185         [BZ #4108]
69186         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
69187         before squaring exponent.
69188         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
69189         bottom long double and 27 bits of top long double before squaring
69190         exponent.
69191         * math/libm-test.inc (erfc_test): Add more tests.
69192         * sysdeps/i386/fpu/libm-test-ulps: Update.
69193         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69196 2012-03-01  Kai Tietz  <ktietz@redhat.com>
69198         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
69199         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
69200         containing bit-fields.
69201         * soft-fp/extended.h (_FP_UNION_E): Likewise.
69202         * soft-fp/single.h (_FP_UNION_S): Likewise.
69203         * soft-fp/double.h (_FP_UNION_D): Likewise.
69205 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69207         [BZ #13786]
69208         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
69209         not include ../strcmp.S.
69210         [USE_AS_STRNCASECMP_L]: Likewise.
69211         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
69212         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
69213         * sysdeps/i386/i686/multiarch/strncase_l-c.c
69214         (__strncasecmp_l_ia32): Define as alias to
69215         __strncasecmp_l_nonascii.
69217         [BZ #5794]
69218         * math/libm-test.inc (expm1_test): Add test for bug 5794.
69219         * sysdeps/i386/fpu/libm-test-ulps: Update.
69220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69222         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
69223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69225 2012-02-29  Jeff Law  <law@redhat.com>
69227         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
69228         out of bounds read.
69230 2012-02-29  Marek Polacek  <polacek@redhat.com>
69232         [BZ #13706]
69233         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
69234         * elf/Makefile: Add rules to run tst-unused-dep.out.
69236 2012-02-28  David S. Miller  <davem@davemloft.net>
69238         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
69239         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
69240         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
69241         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
69242         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
69243         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
69245 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69247         * math/libm-test.inc (llround_test): Move one test from
69248         lround_test.  Use TEST_f_L in moved test.
69249         (lround_test): Move misplaced test to llround_test.  Add testcase
69250         from bug 2561.
69252 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
69254         * sysdeps/x86_64/fpu/e_expf.S: New file.
69255         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
69257 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
69259         [BZ #13637]
69260         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
69261         of remain_len that may cause incomplete multi-byte character and
69262         false match.
69263         * posix/bug-regex33.c: New file.
69264         * posix/Makefile (tests): Add bug-regex33.
69266 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
69268         * manual/macros.texi: New file.
69269         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
69270         * manual/libc.texinfo: Include macros.texi.
69271         * manual/creatute.texi: Likewise.
69272         * manual/install.texi: Likewise.
69273         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
69274         @glibcadj{} in references to the GNU C Library.
69275         * manual/charset.texi: Likewise.
69276         * manual/conf.texi: Likewise.
69277         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
69278         when not using those macros.
69279         * manual/creature.texi: Likewise.
69280         * manual/crypt.texi: Likewise.
69281         * manual/errno.texi: Likewise.
69282         * manual/filesys.texi: Likewise.
69283         * manual/header.texi: Likewise.
69284         * manual/install.texi: Likewise.
69285         * manual/intro.texi: Likewise.
69286         * manual/io.texi: Likewise.
69287         * manual/job.texi: Likewise.
69288         * manual/lang.texi: Likewise.
69289         * manual/libc.texiinfo: Likewise.
69290         * manual/llio.texi: Likewise.
69291         * manual/locale.texi: Likewise.
69292         * manual/maint.texi: Likewise.
69293         * manual/math.texi: Likewise.
69294         * manual/memory.texi: Likewise.
69295         * manual/message.texi: Likewise.
69296         * manual/nss.texi: Likewise.
69297         * manual/pattern.texi: Likewise.
69298         * manual/process.texi: Likewise.
69299         * manual/resource.texi: Likewise.
69300         * manual/search.texi: Likewise.
69301         * manual/setjmp.texi: Likewise.
69302         * manual/signal.texi: Likewise.
69303         * manual/socket.texi: Likewise.
69304         * manual/startup.texi: Likewise.
69305         * manual/stdio.texi: Likewise.
69306         * manual/string.texi: Likewise.
69307         * manual/sysinfo.texi: Likewise.
69308         * manual/syslog.texi: Likewise.
69309         * manual/terminal.texi: Likewise.
69310         * manual/time.texi: Likewise.
69311         * manual/users.texi: Likewise.
69312         * INSTALL: Regenerated.
69313         * NOTES: Regenerated.
69314         * sysdeps/gnu/errlist.c: Regenerated.
69316 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
69318         * include/dirent.h: Include <dirstream.h> before
69319         <dirent/dirent.h>.
69321 2012-02-28  David S. Miller  <davem@davemloft.net>
69323         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
69324         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
69325         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
69326         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
69328 2012-02-27  David S. Miller  <davem@davemloft.net>
69330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
69331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
69332         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
69333         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
69335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
69336         frame pointer instead of stack pointer relative arg slot.
69337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69338         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69339         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69341 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
69343         [BZ #3992]
69344         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
69346 2012-02-27  David S. Miller  <davem@davemloft.net>
69348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
69349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
69352         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69353         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69354         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
69355         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
69357 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69359         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
69360         later.  Allow versions 5-9.
69361         * configure: Regenerated.
69362         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
69363         required minimum version and 4.6 as recommended version.  Do not
69364         mention bugs in GCC 2.7 and 2.8.
69365         * INSTALL: Regenerated.
69367 2012-02-27  David S. Miller  <davem@davemloft.net>
69369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
69370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
69371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
69372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
69373         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
69374         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
69375         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
69376         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
69378         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
69379         manipulate bits before adding and subtracting TWO112[sx].
69380         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69382 2012-02-27  Roland McGrath  <roland@hack.frob.com>
69384         [BZ #13775]
69385         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
69386         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
69387         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
69388         being in POSIX, because they are in 1003.1-2008.
69390         * rt/tst-aio.c: Include <fcntl.h>.
69391         * rt/tst-aio7.c: Likewise.
69392         * rt/tst-aio64.c: Likewise.
69394         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
69396 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69398         * manual/install.texi (--with-headers): Describe headers as
69399         interface headers, not private headers.
69400         (Specific advice for GNU/Linux systems): Describe use of headers
69401         from "make headers_install", not private headers from older
69402         kernels.
69403         * INSTALL: Regenerated.
69404         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
69405         Change to 2.6.19.
69406         * sysdeps/unix/sysv/linux/configure: Regenerated.
69408         * manual/llio.texi (fclean): Remove documentation.
69410         * manual/Makefile (libc-texi-generated): New variable.  Include
69411         version.texi.
69412         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
69413         $(libc-texi-generated), not duplicated list of files.
69414         (version.texi, stamp-version): New rules.
69415         (realclean): Remove $(libc-texi-generated), not individual files
69416         from that list.  Do not remove dir-add.texinfo.
69417         * manual/libc.texinfo: Comment out uses of edition numbers and
69418         references to printed manual.  Remove last-updated dates.
69419         (EDITION): Comment out.
69420         (ISBN): Likewise.
69421         (VERSION, UPDATED): Remove.
69422         (version.texi): Include.
69424 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
69426         * sysdeps/posix/spawni.c: Include <signal.h>.
69427         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
69428         * sysdeps/pthread/aio_fsync.c: Likewise.
69430 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
69432         * conform/Makefile (tests): Run only when not cross-compiling and
69433         when fast-check is not defined.
69435         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
69436         * conform/data/limits.h-data: Fixes for POSIX2008.
69437         * conform/run-conformtest.sh: Run all tests.
69438         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
69439         headers.
69440         * include/bits/dlfcn.h: Likewise.
69441         * include/langinfo.h: Likewise.
69442         * include/monetary.h: Likewise.
69443         * include/sys/poll.h: Likewise.
69445         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
69446         for __USE_GNU.
69447         * posix/spawn.h: Define __need_sigset_t.
69448         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
69449         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
69450         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
69451         to get sigevent_t only.
69452         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
69453         only for __USE_GNU.
69454         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69455         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69456         process_vm_writev only for __USE_GNU.
69457         * termios/termios.h: Declare tcgetsid also for POSIX2008.
69459         * conform/Makefile: For now ignore errors from run-conformtest.
69460         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
69461         POSIX to avoid namespace pollution.  Don't prepend headers.
69462         * conform/data/aio.h-data: Fixes for POSIX testing.
69463         * conform/data/fcntl.h-data: Likewise.
69464         * conform/data/glob.h-data: Likewise.
69465         * conform/data/grp.h-data: Likewise.
69466         * conform/data/pthread.h-data: Likewise.
69467         * conform/data/pwd.h-data: Likewise.
69468         * conform/data/signal.h-data: Likewise.
69469         * conform/data/spawn.h-data: Likewise.
69470         * conform/data/stdio.h-data: Likewise.
69471         * conform/data/stdlib.h-data: Likewise.
69472         * conform/data/stropts.h-data: Likewise.
69473         * conform/data/sys/mman.h-data: Likewise.
69474         * conform/data/sys/stat.h-data: Likewise.
69475         * conform/data/sys/types.h-data: Likewise.
69476         * conform/data/sys/wait.h-data: Likewise.
69477         * conform/data/time.h-data: Likewise.
69478         * conform/data/unistd.h-data: Likewise.
69479         * conform/data/utime.h-data: Likewise.
69481         * io/sys/stat.h: fchmod was always in POSIX.
69482         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
69483         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
69484         * rt/aio.h: Define __need_timespec before including <time.h>.
69485         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
69486         struct.  Add forward declaration of pthread_attr_t and use it in
69487         sigevent.
69488         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69489         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69490         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
69491         always remove CLK_TCK definition.
69493 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
69495         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
69497 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
69499         * conform/run-conformtest.sh: New file.
69500         * conform/Makefile: Run run-conformtest for tests.
69501         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
69502         support.
69504         * conform/data/uchar.h-data: New file.
69505         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
69506         * conform/data/arpa/inet.h-data: Likewise.
69507         * conform/data/assert.h-data: Likewise.
69508         * conform/data/complex.h-data: Likewise.
69509         * conform/data/cpio.h-data: Likewise.
69510         * conform/data/ctype.h-data: Likewise.
69511         * conform/data/dirent.h-data: Likewise.
69512         * conform/data/dlfcn.h-data: Likewise.
69513         * conform/data/errno.h-data: Likewise.
69514         * conform/data/fcntl.h-data: Likewise.
69515         * conform/data/float.h-data: Likewise.
69516         * conform/data/fmtmsg.h-data: Likewise.
69517         * conform/data/fnmatch.h-data: Likewise.
69518         * conform/data/ftw.h-data: Likewise.
69519         * conform/data/glob.h-data: Likewise.
69520         * conform/data/grp.h-data: Likewise.
69521         * conform/data/iconv.h-data: Likewise.
69522         * conform/data/inttypes.h-data: Likewise.
69523         * conform/data/langinfo.h-data: Likewise.
69524         * conform/data/libgen.h-data: Likewise.
69525         * conform/data/limits.h-data: Likewise.
69526         * conform/data/locale.h-data: Likewise.
69527         * conform/data/math.h-data: Likewise.
69528         * conform/data/monetary.h-data: Likewise.
69529         * conform/data/mqueue.h-data: Likewise.
69530         * conform/data/ndbm.h-data: Likewise.
69531         * conform/data/net/if.h-data: Likewise.
69532         * conform/data/netdb.h-data: Likewise.
69533         * conform/data/netinet/in.h-data: Likewise.
69534         * conform/data/nl_types.h-data: Likewise.
69535         * conform/data/poll.h-data: Likewise.
69536         * conform/data/pthread.h-data: Likewise.
69537         * conform/data/pwd.h-data: Likewise.
69538         * conform/data/regex.h-data: Likewise.
69539         * conform/data/sched.h-data: Likewise.
69540         * conform/data/search.h-data: Likewise.
69541         * conform/data/semaphore.h-data: Likewise.
69542         * conform/data/setjmp.h-data: Likewise.
69543         * conform/data/signal.h-data: Likewise.
69544         * conform/data/spawn.h-data: Likewise.
69545         * conform/data/stdarg.h-data: Likewise.
69546         * conform/data/stdio.h-data: Likewise.
69547         * conform/data/stdlib.h-data: Likewise.
69548         * conform/data/string.h-data: Likewise.
69549         * conform/data/strings.h-data: Likewise.
69550         * conform/data/stropts.h-data: Likewise.
69551         * conform/data/sys/ipc.h-data: Likewise.
69552         * conform/data/sys/mman.h-data: Likewise.
69553         * conform/data/sys/msg.h-data: Likewise.
69554         * conform/data/sys/resource.h-data: Likewise.
69555         * conform/data/sys/select.h-data: Likewise.
69556         * conform/data/sys/sem.h-data: Likewise.
69557         * conform/data/sys/shm.h-data: Likewise.
69558         * conform/data/sys/socket.h-data: Likewise.
69559         * conform/data/sys/stat.h-data: Likewise.
69560         * conform/data/sys/statvfs.h-data: Likewise.
69561         * conform/data/sys/time.h-data: Likewise.
69562         * conform/data/sys/timeb.h-data: Likewise.
69563         * conform/data/sys/times.h-data: Likewise.
69564         * conform/data/sys/types.h-data: Likewise.
69565         * conform/data/sys/uio.h-data: Likewise.
69566         * conform/data/sys/un.h-data: Likewise.
69567         * conform/data/sys/utsname.h-data: Likewise.
69568         * conform/data/sys/wait.h-data: Likewise.
69569         * conform/data/syslog.h-data: Likewise.
69570         * conform/data/tar.h-data: Likewise.
69571         * conform/data/termios.h-data: Likewise.
69572         * conform/data/utime.h-data: Likewise.
69573         * conform/data/utmpx.h-data: Likewise.
69574         * conform/data/varargs.h-data: Likewise.
69575         * conform/data/wchar.h-data: Likewise.
69576         * conform/data/wctype.h-data: Likewise.
69577         * conform/data/wordexp.h-data: Likewise.
69579         * include/stropts.h: New file.
69580         * include/uchar.h: New file.
69581         * include/aio.h: Changes to allow conformtest.pl to use the headers.
69582         * include/assert.h: Likewise.
69583         * include/ctype.h: Likewise.
69584         * include/dirent.h: Likewise.
69585         * include/dlfcn.h: Likewise.
69586         * include/fcntl.h: Likewise.
69587         * include/fnmatch.h: Likewise.
69588         * include/glob.h: Likewise.
69589         * include/grp.h: Likewise.
69590         * include/libio.h: Likewise.
69591         * include/locale.h: Likewise.
69592         * include/math.h: Likewise.
69593         * include/net/if.h: Likewise.
69594         * include/netdb.h: Likewise.
69595         * include/netinet/in.h: Likewise.
69596         * include/pthread.h: Likewise.
69597         * include/pwd.h: Likewise.
69598         * include/regex.h: Likewise.
69599         * include/sched.h: Likewise.
69600         * include/search.h: Likewise.
69601         * include/setjmp.h: Likewise.
69602         * include/signal.h: Likewise.
69603         * include/stdio.h: Likewise.
69604         * include/stdlib.h: Likewise.
69605         * include/string.h: Likewise.
69606         * include/sys/cdefs.h: Likewise.
69607         * include/sys/mman.h: Likewise.
69608         * include/sys/msg.h: Likewise.
69609         * include/sys/resource.h: Likewise.
69610         * include/sys/select.h: Likewise.
69611         * include/sys/socket.h: Likewise.
69612         * include/sys/stat.h: Likewise.
69613         * include/sys/statvfs.h: Likewise.
69614         * include/sys/time.h: Likewise.
69615         * include/sys/times.h: Likewise.
69616         * include/sys/uio.h: Likewise.
69617         * include/sys/utsname.h: Likewise.
69618         * include/sys/wait.h: Likewise.
69619         * include/termios.h: Likewise.
69620         * include/time.h: Likewise.
69621         * include/ulimit.h: Likewise.
69622         * include/unistd.h: Likewise.
69623         * include/utime.h: Likewise.
69624         * include/wchar.h: Likewise.
69625         * include/wctype.h: Likewise.
69626         * include/wordexp.h: Likewise.
69628         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
69630         * time/time.h: TIME_UTC must be a macro.
69631         Make timespec_get available for ISO C11 only as well.
69633 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
69635         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
69636         Reported by Peng Haitao <penght@cn.fujitsu.com>.
69638 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69640         * configure.in: Use -o not -a in test for unsupported multi-arch.
69642 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69644         * manual/texinfo.tex: Update to version 2012-01-19.16.
69646 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69648         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
69650 2012-02-24  Roland McGrath  <roland@hack.frob.com>
69652         [BZ #13738]
69653         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
69654         * manual/fdl-1.3.texi: New file.
69655         * manual/fdl-1.1.texi: File removed.
69657         [BZ #13738]
69658         * manual/libc.texinfo (FDL_VERSION): New @set.
69659         Use it for mention of FDL in cover text.
69660         (Documentation License): Use it in @include file name.
69662 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69663             Roland McGrath  <roland@hack.frob.com>
69665         [BZ #5461]
69666         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
69667         (not LONG_LONG_MAX and LONG_LONG_MIN.
69668         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
69669         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
69670         name.
69671         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
69673 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69675         [BZ #2547]
69676         [BZ #11365]
69677         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69678         manipulate bits before adding and subtracting TWO23[sx].
69679         * math/libm-test.inc (nearbyint_test): Add more tests.
69681 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69683         [BZ #2548]
69684         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69685         bits before adding and subtracting TWO23[sx].
69686         * math/libm-test.inc (rint_test): Add more tests.
69687         (rint_test_tonearest): Likewise.
69688         (rint_test_towardzero): Likewise.
69689         (rint_test_downward): Likewise.
69690         (rint_test_upward: Likewise.
69692 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69694         [BZ #10110]
69695         * include/stdc-predef.h: New file.  Extracted from features.h.
69696         * include/features.h: Include stdc-predef.h.
69697         * Makefile (headers): Add stdc-predef.h.
69698         * CONFORMANCE (Compiler limitations): Update.
69700 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69702         * manual/libc.texinfo (VERSION, UPDATED): Revert.
69704 2012-02-21  David S. Miller  <davem@davemloft.net>
69706         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69707         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69709 2012-02-20  David S. Miller  <davem@davemloft.net>
69711         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69712         using a normal save/restore sequence, rather than allocating a
69713         dummy stack frame just to store a frame pointer and restore.
69714         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69716 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69718         * manual/install.texi: Fix stray word in line-wrapped comment.
69720 2012-02-20  David S. Miller  <davem@davemloft.net>
69722         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69723         both binutils and gcc support GOTDATA.
69725         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69726         "rd %pc" in the PIC register setup sequences.
69728         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69729         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69730         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69731         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69732         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69733         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69734         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69735         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69736         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69737         (SYSCALL_ERROR_HANDLER): Likewise.
69738         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69739         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69740         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69741         (SYSCALL_ERROR_HANDLER): Likewise.
69743         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69744         (HAVE_GCC_GOTDATA): New.
69745         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69746         relocation support in both binutils and gcc.
69747         * sysdeps/sparc/elf/configure: Regenerate.
69749         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69750         * sysdeps/sparc/sparc32/elf/configure: Delete.
69751         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69752         * sysdeps/sparc/sparc64/elf/configure: Delete.
69753         * sysdeps/sparc/elf/configure.in: New file.
69754         * sysdeps/sparc/elf/configure: Generate.
69756         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69757         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69758         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69759         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69760         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69762 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69764         * manual/install.texi: Do not mention specific glibc version
69765         numbers.
69766         * manual/libc.texinfo (VERSION, UPDATED): Update.
69767         (@copying): Use @copyright{} and range of years.
69769 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69771         [BZ #13695]
69772         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69773         [crti.S not in sysdirs] (generated): Do not append.
69774         [crti.S not in sysdirs] (omit-deps): Likewise.
69775         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69776         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69777         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69778         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69779         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69780         Likewise.
69781         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69782         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69783         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69784         * csu/defs.awk: Remove file.
69785         * sysdeps/generic/initfini.c: Likewise.
69786         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69787         variable.
69788         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69789         Likewise.
69791 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69793         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69794         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69795         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69796         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69797         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69798         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69799         <bits/epoll.h>.
69800         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69801         (__EPOLL_PACKED): Define to empty if not defined by
69802         <bits/epoll.h>.
69803         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69804         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69805         bits/epoll.h.
69807 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69809         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69810         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69811         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69812         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69813         <bits/timerfd.h>.
69814         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69815         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69816         bits/timerfd.h.
69818 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69820         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69821         in C locale.
69822         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69823         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69824         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69827 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
69829         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69830         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69832 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
69834         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69835         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69836         defined.
69837         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69838         Likewise.
69839         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69840         entry for 2.16.
69842 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
69844         * math/w_acos.c: Use non-signaling floating-point comparisons.
69845         * math/w_acosf.c: Likewise.
69846         * math/w_acosh.c: Likewise.
69847         * math/w_acoshf.c: Likewise.
69848         * math/w_acoshl.c: Likewise.
69849         * math/w_acosl.c: Likewise.
69850         * math/w_asin.c: Likewise.
69851         * math/w_asinf.c: Likewise.
69852         * math/w_asinl.c: Likewise.
69853         * math/w_atanh.c: Likewise.
69854         * math/w_atanhf.c: Likewise.
69855         * math/w_atanhl.c: Likewise.
69856         * math/w_exp2.c: Likewise.
69857         * math/w_exp2f.c: Likewise.
69858         * math/w_exp2l.c: Likewise.
69859         * math/w_j0.c: Likewise.
69860         * math/w_j0f.c: Likewise.
69861         * math/w_j0l.c: Likewise.
69862         * math/w_j1.c: Likewise.
69863         * math/w_j1f.c: Likewise.
69864         * math/w_j1l.c: Likewise.
69865         * math/w_jn.c: Likewise.
69866         * math/w_jnf.c: Likewise.
69867         * math/w_log.c: Likewise.
69868         * math/w_log10.c: Likewise.
69869         * math/w_log10f.c: Likewise.
69870         * math/w_log10l.c: Likewise.
69871         * math/w_log2.c: Likewise.
69872         * math/w_log2f.c: Likewise.
69873         * math/w_log2l.c: Likewise.
69874         * math/w_logf.c: Likewise.
69875         * math/w_logl.c: Likewise.
69876         * math/w_sqrt.c: Likewise.
69877         * math/w_sqrtf.c: Likewise.
69878         * math/w_sqrtl.c: Likewise.
69879         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69880         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69881         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69882         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69883         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69885 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69887         [BZ #9739]
69888         * manual/string.texi (strnlen): Use correct parameter name in
69889         equivalent expression.
69891 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69893         [BZ #11174]
69894         * manual/users.texi (seteuid): Consistently use neweuid for
69895         argument name.
69897 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69899         [BZ #13704]
69900         * manual/nss.texi (Services in the NSS configuration): Correct
69901         list of services in example configuration file.
69903 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
69905         [BZ #11322]
69906         * manual/arith.texi: Remove statements about negative zero
69907         behaving identically to zero.
69909 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69911         [BZ #5993]
69912         * manual/install.texi: Do not document upgrading from libc5.
69914 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69916         [BZ #4596]
69917         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69919 2012-02-18  David S. Miller  <davem@davemloft.net>
69921         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69922         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69923         %o7 across the call.
69924         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69925         instead.
69926         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69927         SETUP_PIC_REG_LEAF.
69928         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69929         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69930         * sysdeps/sparc/crtn.S: Likewise.
69932 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
69934         * aout/Makefile: Remove.
69936 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
69938         [BZ #13058]
69939         * manual/examples/argp-ex1.c (main): Format definition in GNU
69940         style.
69941         * manual/examples/argp-ex2.c (main): Likewise.
69942         * manual/examples/argp-ex3.c (main): Likewise.
69943         * manual/examples/argp-ex4.c (main): Likewise.
69944         * manual/examples/longopt.c (main): Use new-style prototype
69945         definition.
69946         * manual/examples/strncat.c (main): Specify return type and use
69947         (void) for arguments.
69948         * manual/examples/subopt.c (main): Use char **argv argument.
69950 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69952         [BZ #5077]
69953         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69954         rounding modes.
69956 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
69958         [BZ #6907]
69959         * manual/string.texi (strchr): Change when strchrnul is
69960         recommended.
69962 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
69964         [BZ #174]
69965         * manual/locale.texi (setlocale): Document LOCPATH.
69967 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69969         [BZ #10210]
69970         * manual/process.texi (execle): Move @dots{} before last argument.
69972 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
69974         [BZ #12047]
69975         * manual/charset.texi (Generic Charset Conversion): Fix typo
69976         (LC_TYPE -> LC_CTYPE).
69978 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
69980         [BZ #5805]
69981         * manual/arith.texi (scalbn): Use @var{} on parameter names.
69982         (scalbnf): Likewise.
69983         (scalbnl): Likewise.
69984         (scalbln): Likewise.
69985         (scalblnf): Likewise.
69986         (scalblnl): Likewise.
69987         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69988         (vwarnx): Likewise.
69989         (verr): Likewise.
69990         (verrx): Likewise.
69991         * manual/filesys.texi (telldir): Use braces around return type.
69992         * manual/llio.texi (mmap): Add space after comma.
69993         (mmap64): Likewise.
69994         * manual/math.texi (jn): Use @var{} on parameter names.
69995         (jnf): Likewise.
69996         (jnl): Likewise.
69997         (yn): Likewise.
69998         (ynf): Likewise.
69999         (ynl): Likewise.
70000         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
70001         line.
70002         * manual/resource.texi (ulimit): Use @dots{} instead of literal
70003         "...".
70004         (sched_get_priority_min): Remove semicolon on @deftypefun line.
70005         (sched_get_priority_max): Likewise.
70006         * manual/signal.texi (sigvec): Add space after comma.
70007         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
70008         names.
70009         (if_indextoname): Likewise.
70010         (if_freenameindex): Likewise.
70011         (sendto): Use ',' instead of '.' in prototype.
70012         * manual/startup.texi (syscall): Use @dots{} instead of literal
70013         "...".
70014         * manual/stdio.texi (__fpending): Separate initial words of
70015         paragraph from @deftypefun line.
70016         * manual/syslog.texi (syslog): Use @dots{} instead of literal
70017         "...".
70018         (vsyslog): Use @var{} on parameter names.
70019         * manual/terminal.texi (stty): Use @var{} on parameter names.
70020         * manual/users.texi (getutmp): Use @var{} on parameter names.
70021         (getutmpx): Likewise.
70023 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70025         [BZ #6884]
70026         * manual/stdio.texi (fopen): Fix typos in description of
70027         ",ccs=STRING".
70029 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
70031         [BZ #4026]
70032         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
70033         get clock_id definition.
70035 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
70037         [BZ #4822]
70038         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
70039         (madvise): Cast every argument to void on its own.
70041 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70043         [BZ #9902]
70044         * manual/startup.texi (Exit Status): Fix typo.
70046 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70048         [BZ #10140]
70049         * manual/examples/argp-ex1.c: Include <stdlib.h>.
70050         * manual/examples/argp-ex2.c: Likewise.
70051         * manual/examples/argp-ex3.c: Likewise.
70053 2012-02-16  Richard Henderson  <rth@redhat.com>
70055         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
70056         * sysdeps/s390/s390-32/initfini.c: Remove.
70057         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
70058         * sysdeps/s390/s390-64/initfini.c: Remove.
70060 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70062         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
70063         compiler output for sysdeps/generic/initfini.c.
70064         * sysdeps/sh/elf/initfini.c: Remove file.
70066 2012-02-16  David S. Miller  <davem@davemloft.net>
70068         [BZ #11494]
70069         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
70071         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
70072         * sysdeps/sparc/crti.S: New file.
70073         * sysdeps/sparc/crtn.S: New file.
70074         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
70075         * sysdeps/sparc/sparc64/Makefile: Likewise.
70077 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
70079         [BZ #3335]
70080         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
70082 2012-02-15  Roland McGrath  <roland@hack.frob.com>
70084         [BZ #4822]
70085         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
70087         * mach/devstream.c (cookie_io_functions_t): Macro removed.
70088         (write, read, close): Likewise.
70089         Patch by Aurelien Jarno <aurelien@aurel32.net>.
70091 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
70093         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
70094         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
70095         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
70096         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
70097         <bits/signalfd.h>.
70098         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
70099         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70100         bits/signalfd.h.
70102 2012-02-14  Marek Polacek  <polacek@redhat.com>
70104         * sysdeps/x86_64/crti.S: New file.
70105         * sysdeps/x86_64/crtn.S: New file.
70106         * sysdeps/x86_64/elf/initfini.c: Remove file.
70108 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70110         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
70111         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
70112         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
70113         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
70114         <bits/inotify.h>.
70115         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
70116         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70117         bits/inotify.h.
70119 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70121         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
70122         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
70123         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
70124         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
70125         <bits/eventfd.h>.
70126         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
70127         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70128         bits/eventfd.h.
70130 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
70132         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
70133         __feraiseexcept instead of feraiseexcept.
70135         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
70136         nanosleep invocations.
70137         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
70138         strings, and add error checking for a nanosleep invocations.
70140 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
70142         Replace FSF snail mail address with URLs, as per GNU coding standards.
70143         Most of the snail mail addresses were wrong anyway, and omitting
70144         them makes the source code easier to maintain.  Almost all of the
70145         changes are to license notices and to locale LC_IDENTIFICATION
70146         addresses, except for this one:
70147         * manual/libc.texinfo: In "Published by", give the FSF's URL,
70148         not its snail mail address.
70150 2012-02-09  Richard Henderson  <rth@twiddle.net>
70152         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
70153         of kernel-features.h.
70155         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
70157 2012-02-08  Marek Polacek  <polacek@redhat.com>
70159         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
70160         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
70161         * sysdeps/gnu/_G_config.h: Likewise.
70162         * sysdeps/generic/_G_config.h: Likewise.
70164 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
70166         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
70167         tests.
70168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70170         * sysdeps/powerpc/powerpc32/crti.S: New file.
70171         * sysdeps/powerpc/powerpc32/crtn.S: New file.
70172         * sysdeps/powerpc/powerpc64/crti.S: New file.
70173         * sysdeps/powerpc/powerpc64/crtn.S: New file.
70175         * Makeconfig (have-initfini): Don't set.
70176         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
70177         * configure.in (nopic_initfini): Don't substitute.
70178         * config.h.in (HAVE_INITFINI): Don't #undef.
70179         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
70180         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
70182 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
70184         Support crti.S and crtn.S provided directly by architectures.
70185         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
70186         [crti.S in sysdirs] (omit-deps): Likewise.
70187         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
70188         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
70189         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
70190         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
70191         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
70192         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
70193         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
70194         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
70195         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
70196         compiler output for sysdeps/generic/initfini.c.
70197         * sysdeps/i386/elf/Makefile: Remove file.
70198         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
70200 2012-02-07  Marek Polacek  <polacek@redhat.com>
70202         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
70203         * sysdeps/gnu/_G_config.h: Likewise.
70204         * sysdeps/mach/hurd/_G_config.h: Likewise.
70206 2012-02-07  Marek Polacek  <polacek@redhat.com>
70208         * math/Makefile (tests): Add tst-CMPLX2.
70209         * math/tst-CMPLX2.c: New file.
70211 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
70213         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70215         * math/libm-test.inc (jn_test): Add missing L suffix.
70217 2012-02-06  Marek Polacek  <polacek@redhat.com>
70219         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
70220         * sysdeps/i386/fpu/e_powf.S: Likewise.
70221         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70222         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70223         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70224         * sysdeps/i386/fpu/e_pow.S: Likewise.
70225         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70226         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70227         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70228         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70229         * sysdeps/i386/fpu/e_log2.S: Likewise.
70230         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70231         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70232         * sysdeps/i386/fpu/e_powl.S: Likewise.
70233         * sysdeps/i386/fpu/s_log1p.S: Likewise.
70234         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70235         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70236         * sysdeps/i386/fpu/e_logl.S: Likewise.
70237         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70238         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
70239         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70240         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70241         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70242         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70243         * sysdeps/i386/fpu/e_log.S: Likewise.
70244         * sysdeps/i386/fpu/s_cexp.S: Likewise.
70245         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70246         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
70247         * sysdeps/i386/fpu/e_logf.S: Likewise.
70248         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70249         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70250         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
70251         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70252         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70253         * sysdeps/i386/fpu/e_log10.S: Likewise.
70254         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70255         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70256         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70257         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70258         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70259         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70260         * sysdeps/i386/asm-syntax.h: Likewise.
70261         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70262         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70263         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70264         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
70265         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
70266         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70267         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70268         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70269         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70270         * sysdeps/powerpc/sysdep.h: Likewise.
70271         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
70272         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70274 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70276         [BZ #411]
70277         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
70279 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70281         * sysdeps/i386/sysdep.h: Include <features.h>.
70282         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
70283         version.
70285 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
70287         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
70288         Define.
70289         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
70290         LOAD_PIC_REG_STR.
70292 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70294         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
70295         (SETUP_PIC_REG): Use GET_PC_THUNK.
70296         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
70297         macro.
70299 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70301         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
70302         for non-PIC compilation.
70303         (SETUP_PIC_REG): Add .p2align directive.
70304         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
70305         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
70306         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70307         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70308         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
70309         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70310         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
70311         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70312         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70313         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70314         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70315         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70316         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70317         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70318         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70319         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
70320         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
70321         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70322         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70323         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70324         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70325         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
70326         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70327         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70328         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
70329         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
70330         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70331         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
70332         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70333         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70334         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70335         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70336         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70337         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70338         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70339         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70340         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70341         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70342         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70343         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70344         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70346 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70348         * math/tst-CMPLX.c: Include <stdio.h>.
70350 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
70352         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
70353         float.
70354         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70355         * sysdeps/sparc/bits/mathdef.h: Likewise.
70357 2012-01-31  Marek Polacek  <polacek@redhat.com>
70359         * libio/libio.h: Don't define _PARAMS.
70360         * locale/programs/config.h: Don't define PARAMS.
70361         * stdlib/strtol_l.c: Likewise.
70362         (__strtol_l): Remove PARAMS from the prototype.
70364 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
70366         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
70367         names.  Just use the correct names.  Remove unnecessary wrapper
70368         functions.
70369         * malloc/arena.c: Likewise.
70370         * malloc/hooks.c: Likewise.
70372         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
70373         ARENA_TEST says not to.  Simplify test for creation of a new arena.
70374         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
70376 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
70378         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
70379         into tail calls.
70380         (update_get_addr): New function.
70381         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
70382         GET_ADDR_MODULE parameter.
70384 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70386         * crypt/cert.c: Remove __STDC__ conditionals.
70387         * crypt/crypt-entry.c: Likewise.
70388         * crypt/crypt_util.c: Likewise.
70389         * libio/filedoalloc.c: Likewise.
70390         * libio/fileops.c: Likewise.
70391         * libio/genops.c: Likewise.
70392         * libio/iofclose.c: Likewise.
70393         * libio/iofdopen.c: Likewise.
70394         * libio/iofopen.c: Likewise.
70395         * libio/iofopen64.c: Likewise.
70396         * libio/iogetdelim.c: Likewise.
70397         * libio/iopopen.c: Likewise.
70398         * libio/obprintf.c: Likewise.
70399         * libio/oldfileops.c: Likewise.
70400         * libio/oldiofclose.c: Likewise.
70401         * libio/oldiofdopen.c: Likewise.
70402         * libio/oldiofopen.c: Likewise.
70403         * libio/oldiopopen.c: Likewise.
70404         * libio/wfiledoalloc.c: Likewise.
70405         * libio/wgenops.c: Likewise.
70406         * locale/programs/xmalloc.c: Likewise.
70407         * misc/syslog.c: Likewise.
70408         * stdio-common/xbug.c: Likewise.
70409         * string/memchr.c: Likewise.
70410         * string/memcmp.c: Likewise.
70411         * string/memrchr.c: Likewise.
70412         * string/rawmemchr.c: Likewise.
70413         * sysdeps/posix/getcwd.c: Likewise.
70414         * time/strftime_l.c: Likewise.
70416 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70418         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
70419         * config.make.in (config-cflags-sse2avx): Define.
70420         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
70421         Fix typo.
70423 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
70425         * scripts/config.guess: Update from upstream config git repository.
70426         * scripts/config.sub: Likewise.
70428 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
70430         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
70431         (EM_NUM): Update.
70432         (R_TILEPRO_*, R_TILEGX_*): New macros.
70434         * scripts/firstversions.awk: Fix bug in version range handling.
70436         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
70438         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
70440         * include/sys/epoll.h: New file.
70441         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
70442         libc_hidden_def.
70444 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
70446         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
70447         Avoid unnecessary __WORDSIZE == 64 test.
70448         (fmaxf): Use VEX format if possible.
70449         (fmax): Likewise.
70450         (fminf): Likewise.
70451         (fmin): Likewise.
70453         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
70454         * math/math_private.h: Remove libc_fegetround* and
70455         libc_fesetround*.
70456         * sysdeps/i386/configure.in: Check for -msse2avx.
70457         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
70458         also if SSE2AVX is defined.
70459         Remove libc_fegetround* and libc_fesetround*.
70460         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
70461         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
70462         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
70463         of HAS_YMM_USABLE.
70464         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70465         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70466         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70467         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70468         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70470         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
70472 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70474         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
70475         size is not set.
70476         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70478 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
70480         [BZ #13618]
70481         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
70482         relocation.
70483         * Makeconfig (libm): Define.
70484         * elf/Makefile: Add rules to build and run tst-relsort1.
70485         * elf/tst-relsort1.c: New file.
70486         * elf/tst-relsort1mod1.c: New file.
70487         * elf/tst-relsort1mod2.c: New file.
70489 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
70491         * math/s_ldexp.c: Remove __STDC__ conditionals.
70492         * math/s_ldexpf.c: Likewise.
70493         * math/s_ldexpl.c: Likewise.
70494         * math/s_nextafter.c: Likewise.
70495         * math/s_nexttowardf.c: Likewise.
70496         * math/s_significand.c: Likewise.
70497         * math/s_significandf.c: Likewise.
70498         * math/s_significandl.c: Likewise.
70499         * math/w_jnl.c: Likewise.
70500         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70501         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70502         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70503         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70504         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70505         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70506         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
70507         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70508         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70509         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70510         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70511         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70512         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70513         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70514         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70515         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70516         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70517         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70518         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70519         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70520         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70521         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70522         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70523         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70524         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70525         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70526         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70527         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70528         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70529         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70530         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70531         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70532         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70533         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70534         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70535         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70536         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70537         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70538         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70539         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70540         * sysdeps/ieee754/k_standard.c: Likewise.
70541         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70542         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70543         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70544         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70545         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70546         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70547         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70548         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70549         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70550         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70551         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70552         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70553         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70554         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70555         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70556         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70557         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70558         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70559         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70560         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70561         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70562         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70563         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70564         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70565         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70566         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70567         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70568         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70569         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70570         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70571         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70572         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
70573         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70574         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70575         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70576         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70577         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
70578         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70579         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70580         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
70581         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
70582         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70583         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
70584         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
70585         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70586         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
70587         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
70588         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70589         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70590         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
70591         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
70592         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70593         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70594         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70595         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70596         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70597         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
70598         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70599         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70600         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70601         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70602         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70603         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70604         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70605         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70606         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70607         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70608         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70609         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70610         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70611         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70612         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70613         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70614         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70615         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70616         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70617         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70618         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70619         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70620         * sysdeps/ieee754/s_matherr.c: Likewise.
70621         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70622         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70623         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70624         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70626 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70628         * crypt/md5.h: Remove __STDC__ conditionals.
70629         * libio/libioP.h: Likewise.
70630         * locale/programs/config.h: Likewise.
70631         * sysdeps/generic/sysdep.h: Likewise.
70632         * sysdeps/i386/asm-syntax.h: Likewise.
70633         * sysdeps/s390/asm-syntax.h: Likewise.
70634         * sysdeps/unix/sysdep.h: Likewise.
70635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
70636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70638 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70640         * libio/libio.h: Remove __STDC__ conditionals.
70641         * malloc/obstack.h: Likewise.
70642         * math/complex.h: Likewise.
70643         * math/math.h: Likewise.
70644         * sysdeps/generic/_G_config.h: Likewise.
70645         * sysdeps/gnu/_G_config.h: Likewise.
70646         * sysdeps/mach/hurd/_G_config.h: Likewise.
70647         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70648         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70649         * sysdeps/sparc/bits/mathdef.h: Likewise.
70651 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
70653         [BZ #13583]
70654         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
70655         Clean up HAS_* macros.
70656         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
70657         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
70658         possible.
70659         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
70660         HAS_AVX.
70661         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70662         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70663         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70664         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70665         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70667 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
70669         * elf/tst-unique3.cc (gets): Remove declaration.
70670         * elf/tst-unique3lib.cc (gets): Likewise.
70671         * elf/tst-unique3lib2.cc (gets): Likewise.
70672         * elf/tst-unique4.cc (gets): Likewise.
70674 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
70676         * include/stdio.h: Add C++ protection.  Add gets declarations and
70677         definitions.
70678         * debug/tst-chk1.c: Don't declare gets here.
70679         * stdio-common/tst-gets.c: Likewise.
70681 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70683         * posix/glob: Remove directory.
70685 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70687         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70689 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
70691         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70692         of the non-standard EPFNOSUPPORT.
70694 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70696         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70697         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70698         ANYWHERE set to 1 only on KERN_NO_SPACE error.
70700 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
70702         * wcsmbs/uchar.h: Test __STDC_VERSION__.
70704 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
70706         * nscd/aicache.c (addhstaiX): Do not cache negative results of
70707         transient errors.
70708         * nscd/grpcache.c (cache_addgr): Likewise.
70709         * nscd/hstcache.c (cache_addhst): Likewise.
70710         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70711         * nscd/pwdcache.c (cache_addpw): Likewise.
70712         * nscd/servicescache.c (cache_addserv): Likewise.
70714 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
70716         * malloc/malloc.c: Various cleanups.
70717         * malloc/hooks.c: Likewise.
70719         * stdlib/Makefile (tests): Add bug-fmtmsg1.
70720         * stdlib/bug-fmtmsg1.c: New file.
70722         * stdlib/fmtmsg.c (init): Add missing unlock.
70723         Patch by Peng Haitao <penght@cn.fujitsu.com>.
70725 2012-01-12  Marek Polacek  <polacek@redhat.com>
70727         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70728         and _GNU_SOURCE.
70730 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70732         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70733         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70734         macro to ensure uniqueness of label name.
70735         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70736         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70738 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
70740         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70742         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70743         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70744         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70745         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70747 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
70749         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70751         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70752         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70753         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70755         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70757         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70758         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70759         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70760         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70762         * math/bits/math-finite.h: Add ldexp support.
70764 2012-01-10  Marek Polacek  <polacek@redhat.com>
70766         * locale/programs/localedef.h (show_archive_content): Add noreturn
70767         attribute.
70769 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
70771         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70773 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70775         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70777         * io/Makefile (headers): Add bits/poll2.h.
70779 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
70781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70782         typo #include statement.
70784 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70786         * include/sys/cdefs.h: Define __attribute_alloc_size.
70787         * catgets/gencat.c: Add alloc_size attribute and apply consistently
70788         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70789         * elf/pldd.c: Likewise.
70790         * iconv/iconv_charmap.c: Likewise.
70791         * iconv/iconvconfig.c: Likewise.
70792         * iconv/strtab.c: Likewise.
70793         * locale/programs/locale.c: Likewise.
70794         * locale/programs/localedef.h: Likewise.
70795         * locale/programs/simple-hash.c: Likewise.
70796         * nscd/nscd.h: Likewise.
70797         * nss/makedb.c: Likewise.
70798         * sysdeps/generic/ldconfig.h: Likewise.
70799         * locale/programs/localedef.c: Remove xmalloc prototype.
70800         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70802 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70804         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70805         appropriate.
70807 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70809         * math/Makefile (tests): Add tst-CMPLX.
70810         * math/tst-CMPLX.c: New file.
70812         * math/complex.h (CMPLXL): Fix typo.
70814         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70815         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70816         GLIBC_2.16.
70817         * debug/tst-chk1.c: Add poll and ppoll tests.
70818         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70819         * include/sys/poll.h: Add hidden proto for ppoll.
70820         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70821         * sysdeps/mach/hurd/ppoll.c: Likewise.
70822         * io/ppoll.c: Likewise.
70823         * debug/poll_chk.c: New file.
70824         * debug/ppoll_chk.c: New file.
70825         * include/bits/poll2.h: New file.
70826         * io/bits/poll2.h: New file.
70828         [BZ #1350]
70829         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70831         * configure.in: static is always set to yes.  Remove.
70832         * config.make.in: Don't set build-static.
70833         * Makeconfig: Remove use of build-static.
70834         * dlfcn/Makefile: Likewise.
70835         * elf/Makefile: Likewise.
70836         * math/Makefile: Likewise.
70837         * misc/Makefile: Likewise.
70838         * nptl/Makefile: Likewise.
70839         * sysdeps/mach/hurd/Makefile: Likewise.
70841         * configure.in: PWD_P is not used anymore.
70842         * config.make.in: Remove PWD_P entry.
70844         * configure.in: Remove last remnants of RANLIB.
70845         No need to check for signed size_t anymore.
70846         Don't set libc_commonpagesize and libc_relro_required here for Alpha
70847         and IA-64.
70848         Remove __builtin_expect test because we require at least gcc 3.4.
70849         * aclocal.m4: Likewise.
70851         * wcsmbs/mbrtoc16.c: Implement using towc function.
70852         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70853         * wcsmbs/wcsmbsload.c: Likewise.
70854         * iconv/gconv_simple.c: Likewise.
70855         * iconv/gconv_int.h: Likewise.
70856         * iconv/gconv_builtin.h: Likewise.
70857         * iconv/iconv_prog.c: Remove CHAR16 handling.
70859         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70861         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70863         * configure.in: Remove --with-elf and --enable-bounded options.
70864         Dont set base_machine for ia64.  More non-ELF conditions removed.
70865         Remove testing and setting of leading underscore information.
70866         * config.make.in (build-bounded): Set to no.
70867         * config.h.in: Remove NO_UNDERSCORES entry.
70868         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
70869         them.
70870         * csu/start.c: Remove !NO_UNDERSCORE code.
70871         * locale/localeinfo.h: Likewise.
70872         * sysdeps/generic/machine-gmon.h: Likewise.
70873         * sysdeps/generic/sysdep.h: Likewise.
70874         * sysdeps/i386/sysdep.h: Likewise.
70875         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70876         * sysdeps/mach/sysdep.h: Likewise.
70877         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70878         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70879         * sysdeps/sh/sysdep.h: Likewise.
70880         * sysdeps/sparc/sparc32/alloca.S: Likewise.
70881         * sysdeps/unix/i386/sysdep.S: Likewise.
70882         * sysdeps/unix/sparc/start.c: Likewise.
70883         * sysdeps/unix/sparc/sysdep.S: Likewise.
70884         * sysdeps/unix/sparc/sysdep.h: Likewise.
70885         * sysdeps/unix/start.c: Likewise.
70886         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70887         * sysdeps/x86_64/sysdep.h: Likewise.
70889 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
70891         [BZ #13553]
70892         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70893         for non-gcc.
70894         * argp/argp-fmtstream.h: Use const instead __const.
70895         * argp/argp.h: Likewise.
70896         * assert/assert.h: Likewise.
70897         * bits/fenv.h: Likewise.
70898         * bits/sched.h: Likewise.
70899         * bits/sigset.h: Likewise.
70900         * bits/sigthread.h: Likewise.
70901         * catgets/nl_types.h: Likewise.
70902         * conform/data/pthread.h-data: Likewise.
70903         * crypt/crypt-private.h: Likewise.
70904         * crypt/crypt.h: Likewise.
70905         * crypt/crypt_util.c: Likewise.
70906         * ctype/ctype.h: Likewise.
70907         * debug/execinfo.h: Likewise.
70908         * debug/mbsnrtowcs_chk.c: Likewise.
70909         * debug/mbsrtowcs_chk.c: Likewise.
70910         * debug/wcsnrtombs_chk.c: Likewise.
70911         * debug/wcsrtombs_chk.c: Likewise.
70912         * debug/wcstombs_chk.c: Likewise.
70913         * dirent/dirent.h: Likewise.
70914         * dlfcn/dlfcn.h: Likewise.
70915         * elf/neededtest4.c: Likewise.
70916         * grp/grp.h: Likewise.
70917         * gshadow/gshadow.h: Likewise.
70918         * iconv/gconv.h: Likewise.
70919         * iconv/gconv_int.h: Likewise.
70920         * iconv/gconv_simple.c: Likewise.
70921         * iconv/iconv.h: Likewise.
70922         * iconv/loop.c: Likewise.
70923         * iconv/skeleton.c: Likewise.
70924         * include/aio.h: Likewise.
70925         * include/aliases.h: Likewise.
70926         * include/argz.h: Likewise.
70927         * include/arpa/inet.h: Likewise.
70928         * include/assert.h: Likewise.
70929         * include/dirent.h: Likewise.
70930         * include/dlfcn.h: Likewise.
70931         * include/execinfo.h: Likewise.
70932         * include/fcntl.h: Likewise.
70933         * include/fenv.h: Likewise.
70934         * include/glob.h: Likewise.
70935         * include/grp.h: Likewise.
70936         * include/libintl.h: Likewise.
70937         * include/mntent.h: Likewise.
70938         * include/netdb.h: Likewise.
70939         * include/pwd.h: Likewise.
70940         * include/rpc/netdb.h: Likewise.
70941         * include/sched.h: Likewise.
70942         * include/search.h: Likewise.
70943         * include/shadow.h: Likewise.
70944         * include/signal.h: Likewise.
70945         * include/stdio.h: Likewise.
70946         * include/stdlib.h: Likewise.
70947         * include/string.h: Likewise.
70948         * include/sys/socket.h: Likewise.
70949         * include/sys/stat.h: Likewise.
70950         * include/sys/statfs.h: Likewise.
70951         * include/sys/statvfs.h: Likewise.
70952         * include/sys/syslog.h: Likewise.
70953         * include/sys/time.h: Likewise.
70954         * include/sys/uio.h: Likewise.
70955         * include/time.h: Likewise.
70956         * include/unistd.h: Likewise.
70957         * include/utmp.h: Likewise.
70958         * include/wchar.h: Likewise.
70959         * include/wctype.h: Likewise.
70960         * inet/aliases.h: Likewise.
70961         * inet/arpa/inet.h: Likewise.
70962         * inet/netinet/ether.h: Likewise.
70963         * inet/netinet/in.h: Likewise.
70964         * intl/libintl.h: Likewise.
70965         * io/bits/fcntl2.h: Likewise.
70966         * io/fcntl.h: Likewise.
70967         * io/ftw.h: Likewise.
70968         * io/sys/poll.h: Likewise.
70969         * io/sys/stat.h: Likewise.
70970         * io/sys/statfs.h: Likewise.
70971         * io/sys/statvfs.h: Likewise.
70972         * io/utime.h: Likewise.
70973         * libio/bits/stdio.h: Likewise.
70974         * libio/bits/stdio2.h: Likewise.
70975         * libio/libio.h: Likewise.
70976         * libio/libioP.h: Likewise.
70977         * libio/stdio.h: Likewise.
70978         * locale/lc-ctype.c: Likewise.
70979         * locale/locale.h: Likewise.
70980         * login/utmp.h: Likewise.
70981         * malloc/arena.c: Likewise.
70982         * malloc/malloc.c: Likewise.
70983         * malloc/malloc.h: Likewise.
70984         * malloc/mcheck.c: Likewise.
70985         * malloc/mtrace.c: Likewise.
70986         * math/bits/mathcalls.h: Likewise.
70987         * math/fenv.h: Likewise.
70988         * math/math_private.h: Likewise.
70989         * misc/bits/error.h: Likewise.
70990         * misc/bits/syslog.h: Likewise.
70991         * misc/err.h: Likewise.
70992         * misc/error.h: Likewise.
70993         * misc/fstab.h: Likewise.
70994         * misc/mntent.h: Likewise.
70995         * misc/regexp.h: Likewise.
70996         * misc/search.h: Likewise.
70997         * misc/sgtty.h: Likewise.
70998         * misc/sys/mman.h: Likewise.
70999         * misc/sys/syslog.h: Likewise.
71000         * misc/sys/uio.h: Likewise.
71001         * misc/sys/xattr.h: Likewise.
71002         * misc/ttyent.h: Likewise.
71003         * nis/rpcsvc/ypclnt.h: Likewise.
71004         * nss/nss.h: Likewise.
71005         * posix/bits/unistd.h: Likewise.
71006         * posix/fnmatch.h: Likewise.
71007         * posix/glob.h: Likewise.
71008         * posix/sched.h: Likewise.
71009         * posix/spawn.h: Likewise.
71010         * posix/sys/wait.h: Likewise.
71011         * posix/unistd.h: Likewise.
71012         * posix/wordexp.h: Likewise.
71013         * pwd/pwd.h: Likewise.
71014         * resolv/netdb.h: Likewise.
71015         * resource/sys/resource.h: Likewise.
71016         * rt/aio.h: Likewise.
71017         * rt/bits/mqueue2.h: Likewise.
71018         * rt/mqueue.h: Likewise.
71019         * shadow/shadow.h: Likewise.
71020         * signal/signal.h: Likewise.
71021         * socket/send.c: Likewise.
71022         * socket/sendto.c: Likewise.
71023         * socket/sys/socket.h: Likewise.
71024         * stdio-common/printf.h: Likewise.
71025         * stdlib/bits/stdlib.h: Likewise.
71026         * stdlib/fmtmsg.h: Likewise.
71027         * stdlib/monetary.h: Likewise.
71028         * stdlib/stdlib.h: Likewise.
71029         * stdlib/ucontext.h: Likewise.
71030         * streams/stropts.h: Likewise.
71031         * string/argz.h: Likewise.
71032         * string/bits/string2.h: Likewise.
71033         * string/string.h: Likewise.
71034         * string/strings.h: Likewise.
71035         * sunrpc/rpc/auth.h: Likewise.
71036         * sunrpc/rpc/auth_des.h: Likewise.
71037         * sunrpc/rpc/clnt.h: Likewise.
71038         * sunrpc/rpc/netdb.h: Likewise.
71039         * sunrpc/rpc/pmap_clnt.h: Likewise.
71040         * sunrpc/rpc/xdr.h: Likewise.
71041         * sysdeps/generic/inttypes.h: Likewise.
71042         * sysdeps/generic/net/if.h: Likewise.
71043         * sysdeps/generic/sys/swap.h: Likewise.
71044         * sysdeps/gnu/net/if.h: Likewise.
71045         * sysdeps/gnu/utmpx.h: Likewise.
71046         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
71047         * sysdeps/i386/i486/bits/string.h: Likewise.
71048         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
71049         * sysdeps/s390/bits/string.h: Likewise.
71050         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
71051         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
71052         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
71053         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
71054         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
71055         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
71056         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
71057         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
71058         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
71059         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
71060         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
71061         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
71062         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
71063         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
71064         * sysdeps/unix/sysv/linux/readv.c: Likewise.
71065         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
71066         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
71067         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71068         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
71069         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
71070         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71071         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
71072         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
71073         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
71074         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
71075         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
71076         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
71077         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71078         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
71079         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
71080         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
71081         * sysvipc/sys/ipc.h: Likewise.
71082         * sysvipc/sys/msg.h: Likewise.
71083         * sysvipc/sys/sem.h: Likewise.
71084         * sysvipc/sys/shm.h: Likewise.
71085         * termios/termios.h: Likewise.
71086         * time/sys/time.h: Likewise.
71087         * time/time.h: Likewise.
71088         * wcsmbs/bits/wchar2.h: Likewise.
71089         * wcsmbs/uchar.h: Likewise.
71090         * wcsmbs/wchar.h: Likewise.
71091         * wctype/wctype.h: Likewise.
71093         [BZ #13551]
71094         * Makeconfig: Remove all but ELF support including AIX support.
71095         * Makerules: Likewise.
71096         * config.h.in: Likewise.
71097         * config.make.in: Likewise.
71098         * configure: Likewise.
71099         * configure.in: Likewise.
71100         * csu/Makefile: Likewise.
71101         * csu/version.c: Likewise.
71102         * debug/Makefile: Likewise.
71103         * dlfcn/Makefile: Likewise.
71104         * elf/Makefile: Likewise.
71105         * extra-lib.mk: Likewise.
71106         * iconv/Makefile: Likewise.
71107         * include/libc-symbols.h: Likewise.
71108         * include/shlib-compat.h: Likewise.
71109         * resolv/Makefile: Likewise.
71110         * resolv/res_libc.c: Likewise.
71111         * rt/Makefile: Likewise.
71112         * sysdeps/i386/asm-syntax.h: Likewise.
71113         * sysdeps/i386/sysdep.h: Likewise.
71114         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71115         * sysdeps/mach/sysdep.h: Likewise.
71116         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
71117         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
71118         * sysdeps/s390/asm-syntax.h: Likewise.
71119         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71120         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71121         * sysdeps/sh/sysdep.h: Likewise.
71122         * sysdeps/unix/sparc/sysdep.h: Likewise.
71123         * sysdeps/wordsize-32/divdi3.c: Likewise.
71124         * sysdeps/x86_64/sysdep.h: Likewise.
71126         * argp/Versions: Remove _argp_unlock_xxx.
71128         [BZ #13559]
71129         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
71130         * abilist/libBrokenLocale.abilist: Likewise.
71131         * abilist/libanl.abilist: Likewise.
71132         * abilist/libc.abilist: Likewise.
71133         * abilist/libcrypt.abilist: Likewise.
71134         * abilist/libdl.abilist: Likewise.
71135         * abilist/libm.abilist: Likewise.
71136         * abilist/libnsl.abilist: Likewise.
71137         * abilist/libpthread.abilist: Likewise.
71138         * abilist/libresolv.abilist: Likewise.
71139         * abilist/librt.abilist: Likewise.
71140         * abilist/libthread_db.abilist: Likewise.
71141         * abilist/libutil.abilist: Likewise.
71142         * abilist/libnss_db.abilist: New file.
71144         * scripts/abilist.awk: Add support for indirect functions.
71146         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
71148         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
71150         * shlib-versions: Remove entries for ports architectures.
71152         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
71153         files in ports.
71154         * elf/stackguard-macros.h: Remove support for IA-64.
71155         * elf/tst-auditmod1.c: Likewise.
71156         * sysdeps/generic/ldsodefs.h: Likewise.
71158         * sysdeps/unix/sysv/linux/configure.in: Ports should define
71159         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
71160         configure files.
71162         [BZ #13552]
71163         * configure.in: Remove --enable-omitfp support.
71164         * FAQ.in: Adjust.
71165         * config.make.in: Likewise.
71166         * Makeconfig: Likewise.
71167         * manual/install.texi: Likewise.
71169         In case anyone cares, the IA-64 architecture could move to ports.
71170         * sysdeps/ia64/*: Removed.
71171         * sysdeps/unix/sysv/linux/ia64/*: Removed.
71172         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
71174         [BZ #13555]
71175         * configure.in: Remove entries for unsupported architectures.
71177         [BZ #13533]
71178         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
71179         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
71180         routines.
71181         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
71182         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
71183         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
71184         fall back to using wcrtomb.
71185         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
71186         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
71187         renaming.
71188         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
71189         * wcsmbs/tst-c16c32-1.c: New file.
71191         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
71192         local variable.
71194         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
71196         * elf/tst-unique3.cc: Add explicit declaration of gets.
71197         * elf/tst-unique3lib.cc: Likewise.
71198         * elf/tst-unique3lib2.cc: Likewise.
71199         * elf/tst-unique4.cc: Likewise.
71201         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
71203 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
71205         [BZ #13566]
71206         * assert/assert.h (static_assert): Don't define for C++.
71207         * libio/stdio.h (gets): Do declare for C++ <= C++11.
71208         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
71210 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
71212         * iconv/loop.c (single loop): Fix assertion in storing of
71213         remaining bytes.
71215         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
71217 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
71219         * posix/getconf.c: Update copyright year.
71220         * nss/getent.c: Likewise.
71221         * nss/makedb.c: Likewise.
71222         * iconv/iconvconfig.c: Likewise.
71223         * iconv/iconv_prog.c: Likewise.
71224         * elf/ldconfig.c: Likewise.
71225         * elf/pldd.c: Likewise.
71226         * elf/sotruss.ksh: Likewise.
71227         * catgets/gencat.c: Likewise.
71228         * csu/version.c: Likewise.
71229         * elf/ldd.bash.in: Likewise.
71230         * elf/sprof.c (print_version): Likewise.
71231         * locale/programs/locale.c: Likewise.
71232         * locale/programs/localedef.c: Likewise.
71233         * login/programs/pt_chown.c: Likewise.
71234         * nscd/nscd.c (print_version): Likewise.
71235         * debug/xtrace.sh: Likewise.
71236         * malloc/memusage.sh: Likewise.
71237         * malloc/mtrace.pl: Likewise.
71238         * debug/catchsegv.sh: Likewise.
71240 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
71242         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
71243         pure attribute.
71245 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
71247         [BZ #13533]
71248         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
71249         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
71250         transformations.
71251         * iconv/gconv_int.h: Likewise.
71252         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
71253         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
71254         from libc for GLIBC_2.16.
71255         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
71256         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
71257         * wcsmbs/uchar.h: Really define mbstate_t.
71258         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
71259         * wcsmbs/c16rtomb.c: New file.
71260         * wcsmbs/mbrtoc16.c: New file.
71261         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
71262         for C/POSIX locale.
71263         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
71264         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
71266         * wcsmbs/wchar.h: Add missing __restrict.
71268 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71270         [BZ #13532]
71271         * time/Makefile (routines): Add timespec_get.
71272         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
71273         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
71274         timespec for ISO C11.
71275         * time/timespec_get.c: New file.
71276         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
71277         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
71279         [BZ #13531]
71280         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
71281         * stdlib/stdlib.h: Declare aligned_alloc.
71282         * Versions.def: Add GLIBC_2.16 for libc.
71283         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
71285         [BZ 13527]
71286         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
71287         ISO C11.
71289         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
71290         code.
71292         [BZ #13528]
71293         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
71295         [BZ #13529]
71296         * assert/assert.h (static_assert): Define.
71298         * version.h: Update for 2.16 development version.
71300         [BZ #13526]
71301         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
71302         _ISOC11_SOURCE.
71304         * version.h (RELEASE): Bump for 2.15 release.
71305         * include/features.h (__GLIBC_MINOR__): Bump to 15.
71307         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
71308         Patch by Marek Polacek <mpolacek@redhat.com>.
71310         * bits/byteswap.h: Protect long long constants with __extension__.
71311         * sysdeps/i386/bits/byteswap.h: Likewise.
71312         * sysdeps/ia64/bits/byteswap.h: Likewise.
71313         * sysdeps/s390/bits/byteswap.h: Likewise.
71314         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71316 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71318         [BZ #13540]
71319         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
71320         destination buffer.
71321         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
71323 2011-12-23  Marek Polacek  <polacek@redhat.com>
71325         * elf/dl-addr.c (determine_info): Add inline keyword.
71326         * elf/tst-auditmod4b.c (check_avx): Likewise.
71327         * elf/tst-auditmod6b.c (check_avx): Likewise.
71328         * elf/tst-auditmod6c.c (check_avx): Likewise.
71329         * elf/tst-auditmod7b.c (check_avx): Likewise.
71331 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71333         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
71334         !__SSE_MATH__.
71336 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71338         [BZ #13540]
71339         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
71340         processing for last bytes.
71342 2011-08-06  Bruno Haible  <bruno@clisp.org>
71344         [BZ #13061]
71345         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
71346         U+0385, not to U+1FEE.
71348         [BZ #13062]
71349         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
71350         entry for U+00A5 U+0301.
71352 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71354         [BZ #13166]
71355         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
71356         buffer for the output is too small.
71358         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
71359         optimization.
71361         [BZ #13185]
71362         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
71363         SSE flags if possible.
71365 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71367         [BZ #13540]
71368         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
71369         processing for last bytes.
71371 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
71373         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
71374         (syscall-list-default-options, syscall-list-default-condition)
71375         (syscall-list-includes): Define.
71376         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
71377         list of ABIs and options and #if conditions for each ABI.  Do not
71378         handle common syscalls between ABIs specially.
71379         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
71380         Remove.
71381         (syscall-list-variants, syscall-list-32bit-options)
71382         (syscall-list-32bit-condition, syscall-list-64bit-options)
71383         (syscall-list-64bit-condition): Define.
71384         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
71385         (syscall-list-variants, syscall-list-32bit-options)
71386         (syscall-list-32bit-condition, syscall-list-64bit-options)
71387         (syscall-list-64bit-condition): Define.
71388         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
71389         Remove.
71390         (syscall-list-variants, syscall-list-32bit-options)
71391         (syscall-list-32bit-condition, syscall-list-64bit-options)
71392         (syscall-list-64bit-condition): Define.
71393         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
71394         Remove.
71395         (syscall-list-variants, syscall-list-32bit-options)
71396         (syscall-list-32bit-condition, syscall-list-64bit-options)
71397         (syscall-list-64bit-condition): Define.
71399 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71401         * locale/iso-639.def: Add brx entry.
71403         [BZ #13328]
71404         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
71405         Proposed by Mariusz_Cukr <marcukr@op.pl>.
71407         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
71408         __feraiseexcept_renamed.
71410 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71412         [BZ #13538]
71413         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
71414         EPOLLET with unsigned values.
71415         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71416         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71418         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
71419         to large cancellation.
71420         * math/s_cacoshf.c: Likewise.
71421         * math/s_cacoshl.c: Likewise.
71423 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
71425         [BZ #13305]
71426         [BZ #12786]
71427         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
71428         * math/s_cacoshf.c: Likewise.
71429         * math/s_cacoshl.c: Likewise.
71431 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71433         [BZ #13439]
71434         * iconv/gconv.h: Define __GCONV_SWAP.
71435         * iconvdata/unicode.c: The swap bit must be stored in __flags.
71436         * iconvdata/utf-16.c: Likewise.
71437         * iconvdata/utf-32.c: Likewise.
71439 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
71441         [BZ #13524]
71442         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
71443         numerator after shifting it by one limb.
71445 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
71447         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
71448         under [__USE_EXTERN_INLINES].
71450 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71452         [BZ #13446]
71453         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
71455 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71457         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
71458         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
71459         optimized code.
71460         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
71461         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
71462         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
71463         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
71464         for strncasecmp/strncasecmp_l compilation.
71465         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
71466         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
71468 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
71470         [BZ #13484]
71471         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
71472         of __asm__.
71474 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71476         [BZ #13506]
71477         * time/tzfile.c (__tzfile_read): Check values from file header.
71479 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71481         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
71482         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
71483         * powerpc/powerpc32/dl-start.S: Likewise.
71484         * powerpc/powerpc32/elf/start.S: Likewise.
71485         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
71486         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
71487         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
71488         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
71489         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
71490         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
71491         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
71492         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
71493         * powerpc/powerpc32/fpu/s_round.S: Likewise.
71494         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
71495         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
71496         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
71497         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
71498         * powerpc/powerpc32/memset.S: Likewise.
71499         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
71500         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71501         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71502         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71503         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71504         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
71505         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
71506         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
71507         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
71508         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
71509         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
71510         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71511         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71513 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71515         * math/libm-test.inc: Added more nearbyint tests.
71516         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
71517         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
71518         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
71519         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
71521 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
71523         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
71524         FD_CLOEXEC.
71526 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71528         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
71529         Add wcscpy-ssse3 wcscpy-c.
71530         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
71531         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
71532         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
71533         * sysdeps/x86_64/wcschr.S: New file.
71534         * sysdeps/x86_64/wcsrchr.S: New file.
71535         * string/test-strcmp.c: Remove checking of wcscmp function for
71536         wrong alignments.
71537         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
71538         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
71539         wcsrchr-sse2 wcsrchr-c.
71540         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
71541         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
71542         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
71543         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
71544         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
71545         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
71546         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
71547         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
71548         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
71549         * wcsmbc/wcschr.c (WCSCHR): New macro.
71551 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71553         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
71554         * wcsmbs/test-wcsrchr.c: New file.
71555         * string/test-strrchr.c: Add wcsrchr support.
71556         (WIDE): New macro.
71557         * wcsmbs/test-wcscpy.c: New file.
71558         * string/test-strcpy.c: Add wcscpy support.
71559         (WIDE): New macro.
71561 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
71563         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
71564         the inner loop.
71566 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
71568         [BZ #13472]
71569         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
71571 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
71573         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
71574         Minor optimizations.
71576         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
71577         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
71578         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
71580 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
71582         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
71583         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
71584         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
71585         for gcc to avoid warnings.
71586         * inet/Makefile (tests): Add tst-checks.
71587         * inet/tst-checks.c: New file.
71589         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
71590         warning.
71592         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
71593         __wmemcmp_sse2.
71595         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
71596         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
71598         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
71600 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
71602         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
71603         problem.
71605         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
71607 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
71609         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
71610         conditional on GCC version.
71611         (__arch_compare_and_exchange_val_8_acq)
71612         (__arch_compare_and_exchange_val_16_acq)
71613         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
71614         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
71615         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
71617 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
71619         * sysdeps/sh/backtrace.c: New file.
71621 2011-12-02  Andreas Schwab  <schwab@redhat.com>
71623         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
71624         parenthesis.
71626 2011-12-01  Andreas Schwab  <schwab@redhat.com>
71628         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
71629         falling back to utime.
71631 2011-11-30  Andreas Schwab  <schwab@redhat.com>
71633         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
71634         expectations for float.
71636 2011-11-29  Andreas Schwab  <schwab@redhat.com>
71638         * locale/weight.h (findidx): Add parameter len.
71639         * locale/weightwc.h (findidx): Likewise.
71640         * posix/fnmatch_loop.c (FCT): Adjust caller.
71641         * posix/regcomp.c (build_equiv_class): Likewise.
71642         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
71643         * posix/regexec.c (check_node_accept_bytes): Likewise.
71644         * string/strcoll_l.c (STRCOLL): Likewise.
71645         * string/strxfrm_l.c (STRXFRM): Likewise.
71647 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
71649         * Makefile.in: Remove CVSOPT handling.
71650         * configure.in: Remove use of AC_REVISION.
71651         * iconvdata/Makefile (distribute): No need to filter out CVS.
71652         * scripts/list-sources.sh: Remove CVS, subversion and monotone
71653         handling.
71655 2011-11-16  Andreas Schwab  <schwab@redhat.com>
71657         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
71658         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
71659         [USE_AS_STRNCASECMP_L]: Likewise.
71660         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
71661         NO_TLS_DIRECT_SEG_REFS.
71662         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
71663         Fix argument offsets for non-PIC.
71664         [USE_AS_STRNCASECMP_L]: Likewise.
71665         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
71666         NO_TLS_DIRECT_SEG_REFS.
71668 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71670         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
71671         O_CLOEXEC.
71672         * locale/loadlocale.c (_nl_load_locale): Likewise.
71674 2011-11-15  Andreas Schwab  <schwab@redhat.com>
71676         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71677         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71678         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71679         (SYSCALL_GETTIME): Set errno on error.
71681         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71682         count references to noai6ai_cached.
71684 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71686         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71688         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71689         FD_CLOEXEC for /proc/self/maps.
71691         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71692         FD_CLOEXEC for /proc/meminfo.
71694         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71695         gai.conf.
71697         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
71698         FD_CLOEXEC for given file.
71700         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71702         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71703         FD_CLOEXEC for /etc/hosts.
71704         (_gethtent): Likewise.
71706         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71708         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71709         cancellation and set FD_CLOEXEC for /etc/netgroup.
71711         * nss/nss_files/files-key.c (search): Don't allow cancellation when
71712         reading /etc/publickey.
71714         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71715         allow cancellation when reading /etc/group.
71717         * nss/nss_files/files-alias.c (internal_setent): Don't allow
71718         cancellation.
71719         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
71721         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71722         when using data file.
71724         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71726         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71727         (write_nis_obj): Use "c" and "e" in fopen.
71729         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71731         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71733         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71735         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71737         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71738         locale.alias.
71740         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71742         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71744         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71746         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71747         file parsing and set FD_CLOEXEC.
71749 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71751         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71753 2011-11-14  Andreas Schwab  <schwab@redhat.com>
71755         * malloc/arena.c (arena_get2): Don't call reused_arena when
71756         _int_new_arena failed.
71758 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71760         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71761         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71762         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71763         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71764         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71765         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71766         to compile strcasecmp and strncasecmp.
71767         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71768         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71770         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71772 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
71774         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71775         locale-defines.sym to gen-as-const-headers.
71776         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71777         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71778         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71779         to compile strcasecmp and strncasecmp.
71780         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71781         strcasecmp_l and strncasecmp_l.
71782         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71783         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71784         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71785         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71786         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71787         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71788         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71789         * sysdeps/i386/i686/multiarch/strncase.S: New file.
71790         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71791         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71792         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71794 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
71796         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71797         result of SYSDEP_GETTIME_CPU to retval.
71798         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71799         parameter list to macro.  Remove trailing semicolon.  Adjust users.
71801         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71802         variable.
71804         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71805         mantissa words.
71806         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71808         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71809         from unused variable.
71811         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71812         DWARF definitions.
71813         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71814         for assembling.
71816         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71817         over namespaces.
71819         * sunrpc/rpc_prot.c (rejected): Fix case value.
71821         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71822         unsigned long long int to avoid warnings in shift.
71824         * posix/regex_internal.c (re_string_reconstruct): Actually use result
71825         of use of trans.
71826         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71827         variable tmp.
71829         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71830         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71831         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71833         * nis/nis_table.c (nis_list): Use variable of correct type for
71834         result of __follow_path call.
71836 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71838         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71839         of math functions ceil, trunc, floor, round, and sqrt, when
71840         avaliable on the platform.
71841         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71842         name clash.
71843         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71844         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71845         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71847 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
71849         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71850         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71852 2011-11-11  Roland McGrath  <roland@hack.frob.com>
71854         * include/unistd.h: Fix __readlink return type.
71855         Reported by Chris Metcalf <cmetcalf@tilera.com>.
71857 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
71859         * stdlib/ucontext.h: Undo last change for makecontext.
71861 2011-11-11  Andreas Schwab  <schwab@redhat.com>
71863         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71865         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71866         * setjmp/setjmp.h: Mark functions as non-leaf.
71867         * setjmp/bits/setjmp2.h: Likewise.
71868         * stdlib/ucontext.h: Likewise.
71870 2011-11-10  Andreas Schwab  <schwab@redhat.com>
71872         * malloc/arena.c (_int_new_arena): Don't increment narenas.
71873         (reused_arena): Don't check arena limit.
71874         (arena_get2): Atomically check arena limit.
71876 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
71878         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71879         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71881         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71882         instructions.
71884 2011-11-07  Andreas Schwab  <schwab@redhat.com>
71886         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71887         handler when locking.
71889         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71890         Fix size of allocated buffer.
71892 2011-11-04  Andreas Schwab  <schwab@redhat.com>
71894         [BZ #10103]
71895         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71896         declarations for long double functions.
71897         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71899         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71901 2011-11-03  Andreas Schwab  <schwab@redhat.com>
71903         * nscd/nscd.c (main): Don't start AVC thread until credentials are
71904         installed.
71906         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71907         is disabled.
71909 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71911         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71913 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71915         * include/alloca.h (stackinfo_alloca_round): Define.
71916         (extend_alloca): Use it.
71917         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71918         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71919         here.
71921         * scripts/check-local-headers.sh: Ignore libaudit.h.
71923         * nscd/Makefile (extra-objs): Make recursively expanded.
71925 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
71927         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71928         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71930         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71931         * posix/tst-rfc3484-2.c: Likewise.
71932         * posix/tst-rfc3484-3.c: Likewise.
71934         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71935         process_vm_writev.
71936         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71937         process_vm_writev.
71938         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71939         process_vm_writev from libc using GLIBC_2.15 version.
71941         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71943 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
71945         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71946         stack usage.
71948 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
71950         [BZ #13367]
71951         * nss/getent.c (initgroups_keys): Show error message in case no group
71952         names are given.
71954         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71955         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71956         __bump_nl_timestamp.
71957         * nscd/connections (nscd_init): When host database is served open
71958         netlink socket and request notification about configuration changes.
71959         (main_loop_poll): Track netlink file descriptor and bump timestamp
71960         in case data becomes available.
71961         (main_loop_epoll): Likewise.
71962         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71963         (database_pers_head): Add extra_data fileds.
71964         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71965         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71966         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71967         Adjust caller.
71968         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71969         in6ai data, call __free_in6ai.
71970         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71971         Add -DHAVE_NETLINK.
71972         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
71973         interface information.  Reuse previous data if netlink timestamp
71974         is not changed.
71975         (__bump_nl_timestamp): New function.
71976         (__free_in6ai): New function.
71978 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
71980         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71981         close_not_cancel_no_status here.
71982         (__check_pf): Reorganize code a bit to not call close twice if OOM.
71984 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71986         [BZ #13276]
71987         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71988         return value.
71990         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71991         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71992         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71994 2011-07-03  Andreas Jaeger  <aj@suse.de>
71996         [BZ #10709]
71997         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71998         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71999         * math/libm-test.inc (sin_test): Add test case.
72001 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72003         [BZ #13337]
72004         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
72005         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72007         * elf/chroot_canon.c (chroot_canon): Cleanups.
72009         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
72011         [BZ #13335]
72012         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
72013         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72015         * string/test-strchr.c: Make usable for strchrnul testing.
72016         * string/test-strchrnul.c: New file.
72017         * string/Makefile (strop-tests): Add strchrnul.
72019         * po/it.po: Update from translation team.
72020         * po/es.po: Likewise.
72022 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
72024         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
72025         the three constants needed as parameters.  Drop the others.
72026         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
72027         __m128i_strloadu_tolower.
72028         Create and initialize variable zero and use it in all the places
72029         where _mm_setzero_si128 was used.
72031         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
72032         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
72033         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
72034         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
72035         anymore.
72036         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
72037         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
72038         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
72039         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
72040         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
72041         __mpranred, __mptan.
72042         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
72043         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
72044         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
72045         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
72046         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
72047         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
72048         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
72049         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
72050         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
72052 2011-10-28  Andreas Schwab  <schwab@redhat.com>
72054         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
72055         redefine if SHARED.
72056         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
72058         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
72059         wide char related routines to wcsmbs subdir.
72061 2011-10-27  Andreas Schwab  <schwab@redhat.com>
72063         [BZ #13344]
72064         * misc/sys/cdefs.h (__THROWNL): Define.
72065         * posix/unistd.h: Use __THREADNL instead of __THREAD
72066         for memory synchronization functions.
72068 2011-10-26  Roland McGrath  <roland@hack.frob.com>
72070         [BZ #13349]
72071         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
72072         doesn't exist.
72073         * manual/stdio.texi (Obstack Streams): Node removed.
72075 2011-10-26  Andreas Schwab  <schwab@redhat.com>
72077         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
72078         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72079         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72081         * math/math_private.h (math_force_eval): Allow non-addressable
72082         arguments.
72083         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
72085 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72087         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
72088         file is not needed.
72090         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
72091         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
72092         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72093         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72094         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72095         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72096         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72097         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
72098         Add AVX variants.
72099         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
72100         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
72101         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
72102         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
72103         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
72104         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
72105         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
72106         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
72107         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
72108         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
72109         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
72110         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
72111         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
72112         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
72113         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
72114         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
72115         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
72116         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
72117         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
72119         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
72120         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
72122         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
72123         place.  Use VEX encoding when compiling for AVX.
72125 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72127         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
72128         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
72130         * string/test-strchr.c (do_test): Don't generate NUL bytes.
72132 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72134         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
72135         useless if() expression.
72136         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72137         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72138         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72139         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72140         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72141         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72142         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72143         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72144         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72145         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72146         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72147         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72148         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72149         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72150         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72151         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72152         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72153         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72154         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72156         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
72158 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72160         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
72161         condition.
72162         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72164 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72166         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
72167         .text section.  Avoid duplicate constants.
72168         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72169         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72170         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72171         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72172         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72173         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72174         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72175         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72176         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72177         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
72178         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72179         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72180         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72181         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72182         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72183         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72184         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72185         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72186         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72187         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72188         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72189         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72190         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72191         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
72192         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
72193         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
72194         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
72195         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
72196         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
72197         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
72198         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
72199         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
72200         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72201         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
72202         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
72203         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
72204         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
72205         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
72206         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
72207         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
72208         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
72209         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
72210         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
72211         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
72212         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
72214 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
72216         * sysdeps/x86_64/dla.h: Move to ...
72217         * sysdeps/x86_64/fpu/dla.h: ...here.
72218         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
72219         situations.  Use __builtin_fma only for gcc 4.6 and up.
72221         * config.make.in: Add have-mfma4 entry.
72222         * configure.in: Substitute libc_cv_cc_fma4.
72223         * math/Makefile (dbl-only-routines): Add sincostab.
72224         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
72225         Use __sincostab not sincos.
72226         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
72227         name is a macro.
72228         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72229         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72230         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72231         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
72232         using __copysign.
72233         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
72234         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
72235         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
72236         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
72237         and __inv.
72238         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
72239         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
72240         __copysign.
72241         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
72242         define aliases when function name is a macro.
72243         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
72244         sysdeps/ieee754/dbl-64/sincos.tbl.
72245         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
72246         fma4-enabled routines.
72247         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
72248         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
72249         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
72250         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
72251         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
72252         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
72253         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
72254         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
72255         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
72256         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
72257         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
72258         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
72259         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
72260         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
72261         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
72262         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
72263         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
72264         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
72265         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
72266         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
72267         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
72268         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
72269         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
72270         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
72271         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
72272         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
72273         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
72274         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
72275         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
72276         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
72278         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
72279         rename.
72280         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72281         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72282         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72283         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72284         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72285         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72286         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72287         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72289 2011-10-24  Andreas Schwab  <schwab@redhat.com>
72291         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
72293 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72295         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
72297         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
72298         prediction.
72299         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
72301         * string/strnlen.c: Don't define STRNLEN, reverse logic.
72302         Remove unused variable magic_bits.
72303         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
72305         * string/strnlen.c: Define and use STRNLEN macro.
72306         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
72307         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
72308         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
72309         * wcsmbs/wcslen.c: Define and use WCSLEN.
72310         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
72311         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
72312         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
72313         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
72314         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
72315         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
72316         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72318 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72321         strnlen-sse2-no-bsf.
72322         Rename strlen-no-bsf to strlen-sse2-no-bsf.
72323         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
72324         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
72325         Add strnlen support.
72326         (USE_AS_STRNLEN): New macro.
72327         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
72328         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
72329         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
72330         * sysdeps/x86_64/wcslen.S: New file.
72332 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
72334         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72335         XMM-moves are used for copying on small sizes.
72337 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72339         * wcsmbs/Makefile (strop-tests): Add wcschr.
72340         * wcsmbs/test-wcschr.c: New file.
72341         * string/test-strchr.c: Update.
72342         Add wcschr support.
72343         (WIDE): New macro.
72345 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72347         * wcsmbs/Makefile (strop-tests): Add wcslen.
72348         * wcsmbs/test-wcslen.c: New file.
72349         * string/test-strlen.c: Update.
72350         Add wcslen support.
72351         (WIDE): New macro.
72353 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72355         * po/it.po: Update from translation team.
72357 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72359         * sysdeps/x86_64/wcscmp.S: Update.
72360         Fix wrong comparison semantics.
72361         wcscmp shall use signed comparison not unsigned.
72362         Don't use substraction to avoid overflow bug.
72363         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
72364         * wcsmbc/wcscmp.c: Likewise.
72365         * string/test-strcmp.c: Likewise.
72366         Add new tests to check cases with negative values.
72368 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72370         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
72371         * sysdeps/x86_64/dla.h: ...here.  New file.
72372         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
72373         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72374         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72375         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72376         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72377         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72378         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72379         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72380         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72382 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
72384         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
72385         __ynl_finite aliases.
72387 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72389         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72391         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
72392         define DLA_FMA.
72393         [DLA_FMA] (EMULV): Use DLA_FMA.
72394         [DLA_FMA] (MUL12): Use EMULV.
72395         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
72396         that are not needed.
72397         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72398         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72399         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72400         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72401         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72402         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72403         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72405 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
72407         * math/s_nan.c: Undef __nan.
72408         * math/s_nanf.c: Undef __nanf.
72409         * math/s_nanl.c: Undef __nanl.
72410         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
72411         "math_private.h".
72413 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72415         * math/s_catan.c: Add branch predictions.
72416         * math/s_catanf.c: Likewise.
72417         * math/s_catanh.c: Likewise.
72418         * math/s_catanhf.c: Likewise.
72419         * math/s_catanhl.c: Likewise.
72420         * math/s_catanl.c: Likewise.
72421         * math/s_cexp.c: Likewise.
72422         * math/s_cexpf.c: Likewise.
72423         * math/s_cexpl.c: Likewise.
72424         * math/s_clog.c: Likewise.
72425         * math/s_clog10.c: Likewise.
72426         * math/s_clog10f.c: Likewise.
72427         * math/s_clog10l.c: Likewise.
72428         * math/s_clogf.c: Likewise.
72429         * math/s_clogl.c: Likewise.
72430         * math/s_csqrt.c: Likewise.
72431         * math/s_csqrtf.c: Likewise.
72432         * math/s_csqrtl.c: Likewise.
72433         * math/s_ctanf.c: Likewise.
72434         * math/s_ctanh.c: Likewise.
72435         * math/s_ctanhf.c: Likewise.
72436         * math/s_ctanhl.c: Likewise.
72437         * math/s_ctanl.c: Likewise.
72439         * math/math_private.h: Define __nan, __nanf, __nanl.
72440         * math/s_cacosh.c: Include <math_private.h>.
72441         * math/s_cacoshl.c: Likewise.
72442         * math/s_casinh.c: Likewise.
72443         * math/s_casinhf.c: Likewise.
72444         * math/s_casinhl.c: Likewise.
72445         * math/s_ccos.c: Rely entire on ccosh.
72446         * math/s_ccosf.c: Rely entire on ccoshf.
72447         * math/s_ccosl.c: Rely entirely on ccoshl.
72448         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
72449         Remove tests for FE_INVALID.
72450         * math/s_ccoshf.c: Likewise.
72451         * math/s_ccoshl.c: Likewise.
72452         * math/s_csin.c: Likewise.
72453         * math/s_csinf.c: Likewise.
72454         * math/s_csinh.c Likewise.
72455         * math/s_csinhf.c: Likewise.
72456         * math/s_csinhl.c: Likewise.
72457         * math/s_csinl.c: Likewise.
72458         * math/s_ctan.c: Likewise.
72459         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
72460         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
72461         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
72463 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
72465         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
72466         compilation problems.
72468         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
72469         __builtin_expect.
72471 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
72473         * sysdeps/i386/configure.in: Test for -mfma4 option.
72474         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
72475         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
72476         COMMON_CPUID_INDEX_80000001.
72477         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
72478         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
72479         use it if FMA3 is not supported.
72480         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
72482         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
72483         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72485 2011-10-20  Andreas Schwab  <schwab@redhat.com>
72487         [BZ #12892]
72488         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
72489         it would create a cycle with a link time dependency.
72491 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
72493         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
72494         instruction.
72495         * string/Makefile (strop-tests): Add rawmemchr.
72496         * string/test-rawmemchr.c: New file.
72498         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
72499         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
72500         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
72501         when compiling str{,n}casecmp and when AVX is available.  Hook up
72502         new optimized code in initializers.
72504 2011-10-19  Andreas Schwab  <schwab@redhat.com>
72506         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
72507         __feraiseexcept instead of feraiseexcept.
72509 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
72511         * math/math_private.h: Define defaults for libc_fetestexcept and
72512         libc_feupdateenv.
72513         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
72514         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
72515         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72516         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72517         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72518         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72519         libc_fetestexcept and libc_feupdateenv.
72521         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
72522         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
72523         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
72524         * sysdeps/x86_64/fpu/math_private.h: Define special version of
72525         libc_feholdexcept_setround.
72527         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
72528         Add s_nearbyint-c and s_nearbyintf-c.
72529         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
72530         nearbyintf inlines.
72531         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
72532         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
72533         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
72534         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
72536         * math/math_private.h: Define defaults for libc_fegetround,
72537         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
72538         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
72539         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
72540         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
72541         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
72542         standard functions.
72543         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72544         Remove comments and hacks for old compiler versions.
72545         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72546         libc_fegetround, libc_fesetround, libc_feholdexcept, and
72547         libc_feholdexceptl.
72549 2011-10-18  Andreas Schwab  <schwab@redhat.com>
72551         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
72552         (__feraiseexcept_renamed): Add __NTH.
72553         (feraiseexcept): Add __NTH.  Rename local variables to fix
72554         namespace violations.
72556 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
72558         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
72560         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
72562         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
72563         recently added interfaces.
72564         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
72566         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
72567         about macro parameter expansion.
72569         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
72570         __NO_MATH_INLINES is defined.  Cleanups.
72572         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
72573         and __floorf is target has SSE4.1.
72574         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
72575         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
72576         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
72577         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
72579         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
72580         name.
72581         (floorf): Likewise.
72583         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
72585 2011-10-17  Andreas Schwab  <schwab@redhat.com>
72587         * misc/sys/cdefs.h: Fix last change.
72589         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
72590         database lookup.
72592 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
72594         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
72596         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
72597         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72598         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72599         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72600         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72601         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72602         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72603         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72604         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72605         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
72606         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
72607         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
72608         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
72609         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
72610         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
72611         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
72612         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
72613         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
72614         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
72615         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
72616         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
72617         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
72619         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
72620         ceil, ceilf, floor, floorf.
72622         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
72623         Perform IRELATIVE relocations last.
72625         * elf/do-rel.h: Add another parameter nrelative, replacing the
72626         local variable with the same name.  Change name of the function
72627         to end in Rel or Rela (uppercase).
72628         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
72629         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
72630         elf_dynamic_do_##reloc function.
72632 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72634         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
72635         is sufficient, at least on modern CPUs.
72637         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
72639         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
72640         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
72642         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
72643         __expl_finite.
72644         * math/bits/math-finite.h: Add entries for exp.
72645         * math/e_expl.c: Add __*_finite alias.
72646         * sysdeps/i386/fpu/e_exp.S: Likewise.
72647         * sysdeps/i386/fpu/e_expf.S: Likewise.
72648         * sysdeps/i386/fpu/e_expl.c: Likewise.
72649         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72650         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72651         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
72652         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
72653         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
72654         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72655         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72657         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
72658         is sufficient, at least on modern CPUs.
72660         * ctype/ctype-info.c (__ctype_init): Define.
72661         * include/ctype.h (__ctype_init): Declare.
72662         (__ctype_b_loc): The variable is always initialized.
72663         (__ctype_toupper_loc): Likewise.
72664         (__ctype_tolower_loc): Likewise.
72665         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
72666         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
72668 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
72670         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
72672         * configure.in: Also look in $cxxmachine/include for C++ system
72673         headers.
72675 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72677         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72678         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72679         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72680         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
72681         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72682         (USE_AS_WMEMCMP): New macro.
72683         Fixing indents.
72684         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72685         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72686         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72687         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72688         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72689         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72690         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72691         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72692         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72693         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72694         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72695         (USE_AS_WMEMCMP): New macro.
72696         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72697         * sysdeps/string/test-memcmp.c: Update.
72698         Fix simple_wmemcmp.
72699         Add new tests.
72700         * wcsmbs/wmemcmp.c: Update.
72701         (WMEMCMP): New macro.
72702         Fix overflow bug.
72704 2011-10-12  Andreas Jaeger  <aj@suse.de>
72706         [BZ #13268]
72707         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72709 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72711         * libio/iofwide.c (do_length): Avoid warning.
72713         * ctype/ctype.h (__isctype_f): Add missing __THROW.
72715 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
72717         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72719         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72720         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72721         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72722         * sysdeps/i386/i686/fpu/e_log.S: New file.
72723         * sysdeps/i386/i686/fpu/e_logf.S: New file.
72724         * sysdeps/i386/i686/fpu/e_logl.S: New file.
72726         * ctype/ctype.h: Add support for inlined isXXX functions when
72727         compiling C++ code.
72729 2011-10-14  Andreas Schwab  <schwab@redhat.com>
72731         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72733         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72735 2011-10-13  Roland McGrath  <roland@hack.frob.com>
72737         [BZ #13291]
72738         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72740 2011-10-13  Andreas Schwab  <schwab@redhat.com>
72742         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72743         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72744         feraiseexcept.
72746         * sysdeps/x86_64/memrchr.S: Check for zero size.
72748         * string/stratcliff.c: Add memrchr tests.
72750 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72752         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72753         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72754         rawmemchr-sse2 rawmemchr-sse2-bsf.
72755         * sysdeps/i386/i686/multiarch/memchr.S: New file.
72756         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72757         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72758         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72759         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72760         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72761         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72762         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72763         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72764         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72765         * string/memrchr.c (MEMRCHR): New macro.
72767 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
72769         Add integration with gcc's -ffinite-math-only and optimize wrapper
72770         functions in libm.
72771         * Versions.def: Define GLIBC_2.15 version for libm.
72772         * math/Makefile (headers): Add bits/math-finite.h.
72773         * math/bits/math-finite.h: New file.
72774         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72775         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72776         * math/e_acoshl.c: Add __*_finite alias.
72777         * math/e_acosl.c: Likewise.
72778         * math/e_asinl.c: Likewise.
72779         * math/e_atan2l.c: Likewise.
72780         * math/e_atanhl.c: Likewise.
72781         * math/e_coshl.c: Likewise.
72782         * math/e_exp10.c: Likewise.
72783         * math/e_exp10f.c: Likewise.
72784         * math/e_exp10l.c: Likewise.
72785         * math/e_exp2l.c: Likewise.
72786         * math/e_fmodl.c: Likewise.
72787         * math/e_gammal_r.c: Likewise.
72788         * math/e_hypotl.c: Likewise.
72789         * math/e_j0l.c: Likewise.
72790         * math/e_j1l.c: Likewise.
72791         * math/e_jnl.c: Likewise.
72792         * math/e_lgammal_r.c: Likewise.
72793         * math/e_log10l.c: Likewise.
72794         * math/e_log2l.c: Likewise.
72795         * math/e_logl.c: Likewise.
72796         * math/e_powl.c: Likewise.
72797         * math/e_sinhl.c: Likewise.
72798         * math/e_sqrtl.c: Likewise.
72799         * math/e_scalb.c: Completely rewritten and optimized.
72800         * math/e_scalbf.c: Likewise.
72801         * math/e_scalbl.c: Likewise.
72802         * math/w_acos.c: Likewise.
72803         * math/w_acosf.c: Likewise.
72804         * math/w_acosl.c: Likewise.
72805         * math/w_acosh.c: Likewise.
72806         * math/w_acoshf.c: Likewise.
72807         * math/w_acoshl.c: Likewise.
72808         * math/w_asin.c: Likewise.
72809         * math/w_asinf.c: Likewise.
72810         * math/w_asinl.c: Likewise.
72811         * math/w_atan2.c: Likewise.
72812         * math/w_atan2f.c: Likewise.
72813         * math/w_atan2l.c: Likewise.
72814         * math/w_atanh.c: Likewise.
72815         * math/w_atanhf.c: Likewise.
72816         * math/w_atanhl.c: Likewise.
72817         * math/w_exp10.c: Likewise.
72818         * math/w_exp10f.c: Likewise.
72819         * math/w_exp10l.c: Likewise.
72820         * math/w_fmod.c: Likewise.
72821         * math/w_fmodf.c: Likewise.
72822         * math/w_fmodl.c: Likewise.
72823         * math/w_j0.c: Likewise.
72824         * math/w_j0f.c: Likewise.
72825         * math/w_j0l.c: Likewise.
72826         * math/w_j1.c: Likewise.
72827         * math/w_j1f.c: Likewise.
72828         * math/w_j1l.c: Likewise.
72829         * math/w_jn.c: Likewise.
72830         * math/w_jnf.c: Likewise.
72831         * math/w_log.c: Likewise.
72832         * math/w_logf.c: Likewise.
72833         * math/w_logl.c: Likewise.
72834         * math/w_log10.c: Likewise.
72835         * math/w_log10f.c: Likewise.
72836         * math/w_log10l.c: Likewise.
72837         * math/w_log2.c: Likewise.
72838         * math/w_log2f.c: Likewise.
72839         * math/w_log2l.c: Likewise.
72840         * math/w_pow.c: Likewise.
72841         * math/w_powf.c: Likewise.
72842         * math/w_powl.c: Likewise.
72843         * math/w_remainder.c: Likewise.
72844         * math/w_remainderf.c: Likewise.
72845         * math/w_remainderl.c: Likewise.
72846         * math/w_scalb.c: Likewise.
72847         * math/w_scalbf.c: Likewise.
72848         * math/w_scalbl.c: Likewise.
72849         * math/w_sqrt.c: Likewise.
72850         * math/w_sqrtf.c: Likewise.
72851         * math/w_sqrtl.c: Likewise.
72852         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72853         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
72854         used.
72855         * math/math_private.h: Declare __kernel_standard_f.
72856         * math/w_cosh.c: Remove cruft and optimize a bit.
72857         * math/w_coshf.c: Likewise.
72858         * math/w_coshl.c: Likewise.
72859         * math/w_exp2.c: Likewise.
72860         * math/w_exp2f.c: Likewise.
72861         * math/w_exp2l.c: Likewise.
72862         * math/w_hypot.c: Likewise.
72863         * math/w_hypotf.c: Likewise.
72864         * math/w_hypotl.c: Likewise.
72865         * math/w_lgamma.c: Likewise.
72866         * math/w_lgamma_r.c: Likewise.
72867         * math/w_lgammaf.c: Likewise.
72868         * math/w_lgammaf_r.c: Likewise.
72869         * math/w_lgammal.c: Likewise.
72870         * math/w_lgammal_r.c: Likewise.
72871         * math/w_sinh.c: Likewise.
72872         * math/w_sinhf.c: Likewise.
72873         * math/w_sinhl.c: Likewise.
72874         * math/w_tgamma.c: Likewise.
72875         * math/w_tgammaf.c: Likewise.
72876         * math/w_tgammal.c: Likewise.
72877         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72878         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72879         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72880         Minor optimizations.  Pretty printing.  Remove cruft.
72881         * sysdeps/i386/fpu/e_acosf.S: Likewise.
72882         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72883         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72884         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72885         * sysdeps/i386/fpu/e_acosl.c: Likewise.
72886         * sysdeps/i386/fpu/e_asin.S: Likewise.
72887         * sysdeps/i386/fpu/e_asinf.S: Likewise.
72888         * sysdeps/i386/fpu/e_atan2.S: Likewise.
72889         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72890         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72891         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72892         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72893         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72894         * sysdeps/i386/fpu/e_exp10.S: Likewise.
72895         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72896         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72897         * sysdeps/i386/fpu/e_exp2.S: Likewise.
72898         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72899         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72900         * sysdeps/i386/fpu/e_fmod.S: Likewise.
72901         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72902         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72903         * sysdeps/i386/fpu/e_hypot.S: Likewise.
72904         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72905         * sysdeps/i386/fpu/e_log.S: Likewise.
72906         * sysdeps/i386/fpu/e_log10.S: Likewise.
72907         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72908         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72909         * sysdeps/i386/fpu/e_log2.S: Likewise.
72910         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72911         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72912         * sysdeps/i386/fpu/e_logf.S: Likewise.
72913         * sysdeps/i386/fpu/e_logl.S: Likewise.
72914         * sysdeps/i386/fpu/e_pow.S: Likewise.
72915         * sysdeps/i386/fpu/e_powf.S: Likewise.
72916         * sysdeps/i386/fpu/e_powl.S: Likewise.
72917         * sysdeps/i386/fpu/e_remainder.S: Likewise.
72918         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72919         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72920         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72921         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72922         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72923         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72924         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72925         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72926         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72927         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72928         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72929         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72930         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72931         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72932         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72933         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72934         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72935         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72936         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72937         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72938         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72939         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72940         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72941         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72942         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72943         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72944         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72945         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72946         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72947         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72948         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72949         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72950         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72951         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72952         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72953         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72954         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72955         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72956         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72957         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72958         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72959         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72960         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72961         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72962         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72963         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72964         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72965         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72966         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72967         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72968         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72969         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72970         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72971         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72972         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72973         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72974         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72975         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72976         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72977         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72978         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72979         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72980         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72981         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72982         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72983         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72984         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72985         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72986         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72987         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72988         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72989         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72990         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72991         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72992         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72993         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72994         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72995         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72996         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72997         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72998         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72999         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73000         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73001         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73002         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73003         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73004         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73005         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73006         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73007         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73008         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
73009         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73010         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73011         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73012         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73013         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73014         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73015         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73016         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73017         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73018         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73019         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
73020         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73021         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73022         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73023         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
73024         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
73025         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
73026         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
73027         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
73028         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
73029         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
73030         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73031         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73032         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73033         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73034         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
73035         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73036         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
73037         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
73038         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
73039         (__isnanf): Likewise.
73040         (__isinf_ns): Likewise.
73041         (__isinf_nsf): Likewise.
73042         (__finite): Likewise.
73043         (__finitef): Likewise.
73044         (__ieee754_sqrt): Define as macro.
73045         (__ieee754_sqrtf): Define as macro.
73046         (__ieee754_sqrtl): Define as macro.
73047         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
73048         inlined copy.
73049         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
73050         __FINITE_MATH_ONLY__ consistent.
73051         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
73053 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
73055         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
73056         of rawmemchr.
73058         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
73060 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
73062         * po/ja.po: Update from translation team.
73064 2011-10-08  Roland McGrath  <roland@hack.frob.com>
73066         * locale/programs/locarchive.c (prepare_address_space): New function.
73067         (create_archive, enlarge_archive, open_archive): Use it.
73069         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
73070         inside [SHARED], where it is used.
73072         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
73074         * nss/getent.c (netgroup_keys): Remove unused variable.
73075         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73077 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
73079         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
73080         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
73081         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
73082         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
73083         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
73084         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
73085         * math/Makefile (libm-calls): Add s_isinf_ns.
73086         * math/divtc3.c: Use __isinf_nsl instead of isinf.
73087         * math/multc3.c: Likewise.
73088         * math/s_casin.c: Likewise.
73089         * math/s_casinf.c: Likewise.
73090         * math/s_casinl.c: Likewise.
73091         * math/s_ccos.c: Likewise.
73092         * math/s_ccosf.c: Likewise.
73093         * math/s_ccosl.c: Likewise.
73094         * math/s_ctan.c: Likewise.
73095         * math/s_ctanf.c: Likewise.
73096         * math/s_ctanh.c: Likewise.
73097         * math/s_ctanhf.c: Likewise.
73098         * math/s_ctanhl.c: Likewise.
73099         * math/s_ctanl.c: Likewise.
73100         * math/w_fmod.c: Likewise.
73101         * math/w_fmodf.c: Likewise.
73102         * math/w_fmodl.c: Likewise.
73103         * math/w_remainder.c: Likewise.
73104         * math/w_remainderf.c: Likewise.
73105         * math/w_remainderl.c: Likewise.
73106         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
73107         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
73108         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
73109         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
73110         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
73111         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
73112         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
73113         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
73115         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
73116         of the number.
73117         * stdio-common/printf_fphex.c: Likewise.
73118         * stdio-common/printf_size.c: Likewise.
73120         * math/e_exp10.c: Include math_private.h using <...> not "...".
73121         * math/e_exp10f.c: Likewise.
73122         * math/e_exp10l.c: Likewise.
73123         * math/e_exp2l.c: Likewise.
73124         * math/e_j0l.c: Likewise.
73125         * math/e_j1l.c: Likewise.
73126         * math/e_jnl.c: Likewise.
73127         * math/e_lgammal_r.c: Likewise.
73128         * math/e_rem_pio2l.c: Likewise.
73129         * math/e_scalb.c: Likewise.
73130         * math/e_scalbf.c: Likewise.
73131         * math/e_scalbl.c: Likewise.
73132         * math/k_cosl.c: Likewise.
73133         * math/k_sinl.c: Likewise.
73134         * math/k_tanl.c: Likewise.
73135         * math/s_cacoshf.c: Likewise.
73136         * math/s_catan.c: Likewise.
73137         * math/s_catanf.c: Likewise.
73138         * math/s_catanh.c: Likewise.
73139         * math/s_catanhf.c: Likewise.
73140         * math/s_catanhl.c: Likewise.
73141         * math/s_catanl.c: Likewise.
73142         * math/s_ccosh.c: Likewise.
73143         * math/s_ccoshf.c: Likewise.
73144         * math/s_ccoshl.c: Likewise.
73145         * math/s_cexp.c: Likewise.
73146         * math/s_cexpf.c: Likewise.
73147         * math/s_cexpl.c: Likewise.
73148         * math/s_clog.c: Likewise.
73149         * math/s_clog10.c: Likewise.
73150         * math/s_clog10f.c: Likewise.
73151         * math/s_clog10l.c: Likewise.
73152         * math/s_clogf.c: Likewise.
73153         * math/s_clogl.c: Likewise.
73154         * math/s_csin.c: Likewise.
73155         * math/s_csinf.c: Likewise.
73156         * math/s_csinh.c: Likewise.
73157         * math/s_csinhf.c: Likewise.
73158         * math/s_csinhl.c: Likewise.
73159         * math/s_csinl.c: Likewise.
73160         * math/s_csqrt.c: Likewise.
73161         * math/s_csqrtf.c: Likewise.
73162         * math/s_csqrtl.c: Likewise.
73163         * math/s_ctan.c: Likewise.
73164         * math/s_ctanf.c: Likewise.
73165         * math/s_ctanh.c: Likewise.
73166         * math/s_ctanhf.c: Likewise.
73167         * math/s_ctanhl.c: Likewise.
73168         * math/s_ctanl.c: Likewise.
73169         * math/s_ldexp.c: Likewise.
73170         * math/s_ldexpf.c: Likewise.
73171         * math/s_ldexpl.c: Likewise.
73172         * math/s_significand.c: Likewise.
73173         * math/s_significandf.c: Likewise.
73174         * math/s_significandl.c: Likewise.
73175         * math/w_acos.c: Likewise.
73176         * math/w_acosf.c: Likewise.
73177         * math/w_acosh.c: Likewise.
73178         * math/w_acoshf.c: Likewise.
73179         * math/w_acoshl.c: Likewise.
73180         * math/w_acosl.c: Likewise.
73181         * math/w_asin.c: Likewise.
73182         * math/w_asinf.c: Likewise.
73183         * math/w_asinl.c: Likewise.
73184         * math/w_atan2.c: Likewise.
73185         * math/w_atan2f.c: Likewise.
73186         * math/w_atan2l.c: Likewise.
73187         * math/w_atanh.c: Likewise.
73188         * math/w_atanhf.c: Likewise.
73189         * math/w_atanhl.c: Likewise.
73190         * math/w_cosh.c: Likewise.
73191         * math/w_coshf.c: Likewise.
73192         * math/w_coshl.c: Likewise.
73193         * math/w_dremf.c: Likewise.
73194         * math/w_exp10.c: Likewise.
73195         * math/w_exp10f.c: Likewise.
73196         * math/w_exp10l.c: Likewise.
73197         * math/w_exp2.c: Likewise.
73198         * math/w_exp2f.c: Likewise.
73199         * math/w_fmod.c: Likewise.
73200         * math/w_fmodf.c: Likewise.
73201         * math/w_fmodl.c: Likewise.
73202         * math/w_hypot.c: Likewise.
73203         * math/w_hypotf.c: Likewise.
73204         * math/w_hypotl.c: Likewise.
73205         * math/w_j0.c: Likewise.
73206         * math/w_j0f.c: Likewise.
73207         * math/w_j0l.c: Likewise.
73208         * math/w_j1.c: Likewise.
73209         * math/w_j1f.c: Likewise.
73210         * math/w_j1l.c: Likewise.
73211         * math/w_jn.c: Likewise.
73212         * math/w_jnf.c: Likewise.
73213         * math/w_jnl.c: Likewise.
73214         * math/w_lgamma.c: Likewise.
73215         * math/w_lgamma_r.c: Likewise.
73216         * math/w_lgammaf.c: Likewise.
73217         * math/w_lgammaf_r.c: Likewise.
73218         * math/w_lgammal.c: Likewise.
73219         * math/w_lgammal_r.c: Likewise.
73220         * math/w_log.c: Likewise.
73221         * math/w_log10.c: Likewise.
73222         * math/w_log10f.c: Likewise.
73223         * math/w_log10l.c: Likewise.
73224         * math/w_log2.c: Likewise.
73225         * math/w_log2f.c: Likewise.
73226         * math/w_log2l.c: Likewise.
73227         * math/w_logf.c: Likewise.
73228         * math/w_logl.c: Likewise.
73229         * math/w_pow.c: Likewise.
73230         * math/w_powf.c: Likewise.
73231         * math/w_powl.c: Likewise.
73232         * math/w_remainder.c: Likewise.
73233         * math/w_remainderf.c: Likewise.
73234         * math/w_remainderl.c: Likewise.
73235         * math/w_scalb.c: Likewise.
73236         * math/w_scalbf.c: Likewise.
73237         * math/w_scalbl.c: Likewise.
73238         * math/w_sinh.c: Likewise.
73239         * math/w_sinhf.c: Likewise.
73240         * math/w_sinhl.c: Likewise.
73241         * math/w_sqrt.c: Likewise.
73242         * math/w_sqrtf.c: Likewise.
73243         * math/w_sqrtl.c: Likewise.
73244         * math/w_tgamma.c: Likewise.
73245         * math/w_tgammaf.c: Likewise.
73246         * math/w_tgammal.c: Likewise.
73248         * po/ja.po: Update from translation team.
73250 2011-09-29  Andreas Jaeger  <aj@suse.de>
73252         [BZ #13179]
73253         * sunrpc/netname.c (netname2host): Fix logic.
73255         [BZ #6779]
73256         [BZ #6783]
73257         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
73258         correctly.
73259         * math/w_remainder.c (__remainder): Likewise.
73260         * math/w_remainderf.c (__remainderf): Likewise.
73261         * math/libm-test.inc (remainder_test): Add test cases.
73263 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73265         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
73266         sdiv_qrnnd.
73268 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73270         * string/test-memcmp.c: Avoid unncessary #defines.
73271         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73273 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73275         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
73276         Use new sse2 version for core i3 - i7 as it's faster
73277         than sse42 version.
73278         (bit_Prefer_PMINUB_for_stringop): New.
73279         * sysdeps/x86_64/rawmemchr.S: Update.
73280         Replace with faster SSE2 version.
73281         * sysdeps/x86_64/memrchr.S: New file.
73282         * sysdeps/x86_64/memchr.S: Update.
73283         Replace with faster SSE2 version.
73285 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
73287         * elf/dl-load.c (lose): Add cast to avoid warning.
73289 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73291         * po/ca.po: Update from translation team.
73293         * inet/getnetgrent_r.c: Hook up nscd.
73294         * nscd/Makefile (routines): Add nscd_netgroup.
73295         (nscd-modules): Add netgroupcache.
73296         (CFLAGS-netgroupcache.c): Define.
73297         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
73298         (cache_search): Add const to second parameter.
73299         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
73300         INNETGR.
73301         (dbs): Add netgrdb entry.
73302         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
73303         (verify_persistent_db): Handle netgrdb.
73304         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
73305         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
73306         GETFDNETGR.
73307         (netgroup_response_header): Define.
73308         (innetgroup_response_header): Define.
73309         (datahead): Add netgroup_response_header and innetgroup_response_header
73310         elements.
73311         * nscd/nscd.conf: Add entries for netgroup cache.
73312         * nscd/nscd.h (dbtype): Add netgrdb.
73313         (_PATH_NSCD_NETGROUP_DB): Define.
73314         (netgroup_iov_disabled): Declare.
73315         (xmalloc, xcalloc, xrealloc): Move declarations here.
73316         (cache_search): Adjust prototype.
73317         Add netgroup-related prototypes.
73318         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
73319         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
73320         (__nscd_innetgr): Declare.
73321         * nscd/selinux.c (perms): Use access_vector_t as element type and
73322         add netgroup-related initializers.
73323         * nscd/netgroupcache.c: New file.
73324         * nscd/nscd_netgroup.c: New file.
73325         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
73326         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
73327         For four parameters use innetgr.
73328         * nss/nss_files/files-init.c: Add definition and callback for netgr.
73329         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
73330         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
73331         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
73333         * nscd/connections.c (register_traced_file): Don't register file
73334         for disabled databases.
73336 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
73338         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
73340         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
73341         from tree and freeing node.
73343 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
73345         * nss/nsswitch.c (__nss_database_lookup): Handle
73346         nss_parse_service_list out of memory case.
73348 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
73350         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
73351         out of memory case.
73353 2011-10-04  Andreas Schwab  <schwab@redhat.com>
73355         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
73356         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
73357         pass it down.
73358         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
73359         elf_machine_rela, elf_machine_lazy_rel.
73360         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
73361         (ELF_DYNAMIC_DO_REL): Likewise.
73362         (ELF_DYNAMIC_DO_RELA): Likewise.
73363         (ELF_DYNAMIC_RELOCATE): Likewise.
73364         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
73365         to ELF_DYNAMIC_DO_REL.
73366         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
73367         (dl_main): In trace mode always set __RTLD_NOIFUNC.
73368         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
73369         elf_machine_rela.
73370         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
73371         skip_ifunc, don't call ifunc function if non-zero.
73372         (elf_machine_rela): Likewise.
73373         (elf_machine_lazy_rel): Likewise.
73374         (elf_machine_lazy_rela): Likewise.
73375         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
73376         (elf_machine_lazy_rel): Likewise.
73377         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
73378         Likewise.
73379         (elf_machine_lazy_rel): Likewise.
73380         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73381         Likewise.
73382         (elf_machine_lazy_rel): Likewise.
73383         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
73384         (elf_machine_lazy_rel): Likewise.
73385         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
73386         (elf_machine_lazy_rel): Likewise.
73387         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
73388         (elf_machine_lazy_rel): Likewise.
73389         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
73390         (elf_machine_lazy_rel): Likewise.
73391         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
73392         (elf_machine_lazy_rel): Likewise.
73393         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
73394         (elf_machine_lazy_rel): Likewise.
73396 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
73398         * nss/nss_files/files-init.c (_nss_files_init): Use static
73399         initialization for all the *_traced_file variables.
73401 2011-09-28  Andreas Schwab  <schwab@redhat.com>
73403         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73405 2011-09-27  Roland McGrath  <roland@hack.frob.com>
73407         [BZ #13226]
73408         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
73410 2011-09-27  Andreas Schwab  <schwab@redhat.com>
73412         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73413         Reread the line before reparsing it.
73415 2011-09-26  Andreas Schwab  <schwab@redhat.com>
73417         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
73419 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
73420             Maxim Kuvyrkov  <maxim@codesourcery.com>
73421             Joseph Myers  <joseph@codesourcery.com>
73423         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
73424         if needed for __stack_chk_guard.
73426 2011-09-19  Roland McGrath  <roland@hack.frob.com>
73428         * sysdeps/posix/spawni.c (script_execute): Always define it.
73429         It will be optimized away if unused.
73430         (maybe_script_execute): New function.
73431         (__spawni): Call it.
73433         * Makerules: Don't include tls.make.
73434         (config-tls): Always set to thread.
73435         * tls.make.c: File removed.
73437 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
73439         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
73440         * config.make.in (CPPFLAGS-config): New substituted variable.
73442 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73444         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
73446         [BZ #13192]
73447         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
73448         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
73450 2011-09-15  Roland McGrath  <roland@hack.frob.com>
73452         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
73453         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
73454         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73455         (CALL_FAIL): Likewise.
73456         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
73457         (CALL_FAIL): Macro removed.
73458         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
73460 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73462         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
73463         for __FINITE_MATH_ONLY__ == 1.
73465 2011-09-15  Andreas Schwab  <schwab@redhat.com>
73467         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
73468         __ieee754_sqrt instead of sqrt.
73469         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
73470         __ieee754_sqrtf instead of sqrtf.
73471         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
73472         __floorf instead of floorf.
73473         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
73474         __floorf, __truncf instead of floorf, truncf.
73476 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
73478         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
73480         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
73481         __extern_always_inline.
73482         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
73483         32-bit.
73485 2011-09-14  Andreas Schwab  <schwab@redhat.com>
73487         * elf/rtld.c (dl_main): Also relocate in dependency order when
73488         doing symbol dependency testing.
73490 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
73492         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73493         Always define `refsym'.
73495 2011-09-13  Andreas Schwab  <schwab@redhat.com>
73497         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
73498         (__FD_ELT): Renamed from __FDELT.
73499         * misc/bits/select2.h (__FD_ELT): Likewise.
73500         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
73501         __FD_MASK instead of __FDELT, __FDMASK.
73502         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73503         Likewise.
73504         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73505         Likewise.
73507         * elf/Makefile (gen-ldd): Fix pattern.
73509         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
73510         (init_tls): Likewise.
73512 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
73514         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
73516 2011-09-12  Andreas Schwab  <schwab@redhat.com>
73518         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
73519         `struct cmsghdr *' instead of `void *'.
73520         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
73521         Likewise.
73523 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
73525         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
73526         if non-absolute.
73527         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
73528         ldd_rewrite_script.
73530 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
73532         * configure.in: Remove --with-tls option.
73533         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
73534         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
73535         out in case it is missing.
73536         * sysdeps/ia64/elf/configure.in: Likewise.
73537         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
73538         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
73539         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
73540         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
73541         * sysdeps/sh/elf/configure.in: Likewise.
73542         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
73543         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73544         * sysdeps/x86_64/elf/configure.in: Likewise.
73545         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
73546         * sysdeps/mach/hurd/tls.h: Likewise.
73548         [BZ #13067]
73549         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
73551         [BZ #13090]
73552         * configure.in: Fix use of AC_INIT.
73554         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
73556 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
73558         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
73559         __set_errno.
73560         * malloc/hooks.c: Likewise.
73562         [BZ #11929]
73563         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
73564         variables statically.
73565         (narenas): Initialize.
73566         (list_lock): Initialize.
73567         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
73568         initializtion of main_arena and list_lock.  Small cleanups.
73569         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
73570         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
73571         Add initializers to main_arena and mp_.
73572         (malloc_state): Remove pagesize member.  Change all users to use
73573         GLRO(dl_pagesize).
73575         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
73576         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
73577         is always initialized.
73579         * malloc/malloc.c: Removed unused configurations and dead code.
73580         * malloc/arena.c: Likewise.
73581         * malloc/hooks.c: Likewise.
73582         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
73584         * include/tls.h: Removed.  USE___THREAD must always be defined.
73585         * bits/libc-tsd.h: Don't handle !USE___THREAD.
73586         * elf/dl-libc.c: Likewise.
73587         * elf/dl-tsd.c: Likewise.
73588         * include/errno.h: Likewise.
73589         * include/netdb.h: Likewise.
73590         * include/resolv.h: Likewise.
73591         * inet/herrno-loc.c: Likewise.
73592         * inet/herrno.c: Likewise.
73593         * malloc/arena.c: Likewise.
73594         * malloc/hooks.c: Likewise.
73595         * malloc/malloc.c: Likewise.
73596         * resolv/res-state.c: Likewise.
73597         * resolv/res_libc.c: Likewise.
73598         * sysdeps/i386/dl-machine.h: Likewise.
73599         * sysdeps/ia64/dl-machine.h: Likewise.
73600         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
73601         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
73602         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
73603         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
73604         * sysdeps/sh/dl-machine.h: Likewise.
73605         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73606         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73607         * sysdeps/unix/i386/sysdep.S: Likewise.
73608         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
73609         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
73610         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
73611         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
73612         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
73613         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
73614         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
73615         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73616         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73617         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
73618         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73619         * sysdeps/x86_64/dl-machine.h: Likewise.
73620         * tls.make.c: Likewise.
73622         * configure.in: Remove --with-__thread option.  Make tests for
73623         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
73624         tls_model attribute fail if no support is available.  Remove
73625         USE_IN_LIBIO.
73626         * Makeconfig: Adjust for dropped configure option.  All features are
73627         now mandatory.
73628         * Makerules: Likewise.
73629         * Versions.def: Likewise.
73630         * argp/argp-fmtstream.c: Likewise.
73631         * argp/argp-fmtstream.h: Likewise.
73632         * argp/argp-help.c: Likewise.
73633         * assert/assert.c: Likewise.
73634         * config.h.in: Likewise.
73635         * config.make.in: Likewise.
73636         * configure: Likewise.
73637         * configure.in: Likewise.
73638         * csu/Versions: Likewise.
73639         * csu/init.c: Likewise.
73640         * elf/tst-audit2.c: Likewise.
73641         * elf/tst-tls10.c: Likewise.
73642         * elf/tst-tls10.h: Likewise.
73643         * elf/tst-tls11.c: Likewise.
73644         * elf/tst-tls12.c: Likewise.
73645         * elf/tst-tls14.c: Likewise.
73646         * elf/tst-tlsmod11.c: Likewise.
73647         * elf/tst-tlsmod12.c: Likewise.
73648         * elf/tst-tlsmod13.c: Likewise.
73649         * elf/tst-tlsmod13a.c: Likewise.
73650         * elf/tst-tlsmod14a.c: Likewise.
73651         * elf/tst-tlsmod15b.c: Likewise.
73652         * elf/tst-tlsmod16a.c: Likewise.
73653         * elf/tst-tlsmod16b.c: Likewise.
73654         * elf/tst-tlsmod7.c: Likewise.
73655         * elf/tst-tlsmod8.c: Likewise.
73656         * elf/tst-tlsmod9.c: Likewise.
73657         * gmon/gmon.c: Likewise.
73658         * grp/fgetgrent_r.c: Likewise.
73659         * grp/putgrent.c: Likewise.
73660         * hurd/fopenport.c: Likewise.
73661         * include/libc-symbols.h: Likewise.
73662         * include/tls.h: Likewise.
73663         * intl/gettextP.h: Likewise.
73664         * intl/loadinfo.h: Likewise.
73665         * locale/global-locale.c: Likewise.
73666         * locale/localeinfo.h: Likewise.
73667         * mach/devstream.c: Likewise.
73668         * malloc/arena.c: Likewise.
73669         * malloc/set-freeres.c: Likewise.
73670         * misc/err.c: Likewise.
73671         * misc/getttyent.c: Likewise.
73672         * misc/mntent_r.c: Likewise.
73673         * posix/getopt.c: Likewise.
73674         * posix/wordexp.c: Likewise.
73675         * pwd/fgetpwent_r.c: Likewise.
73676         * resolv/Versions: Likewise.
73677         * resolv/res_hconf.c: Likewise.
73678         * shadow/fgetspent_r.c: Likewise.
73679         * shadow/putspent.c: Likewise.
73680         * stdio-common/printf_fphex.c: Likewise.
73681         * stdio-common/tmpfile.c: Likewise.
73682         * stdlib/abort.c: Likewise.
73683         * stdlib/fmtmsg.c: Likewise.
73684         * sunrpc/auth_unix.c: Likewise.
73685         * sunrpc/clnt_perr.c: Likewise.
73686         * sunrpc/clnt_tcp.c: Likewise.
73687         * sunrpc/clnt_udp.c: Likewise.
73688         * sunrpc/clnt_unix.c: Likewise.
73689         * sunrpc/openchild.c: Likewise.
73690         * sunrpc/svc_simple.c: Likewise.
73691         * sunrpc/svc_tcp.c: Likewise.
73692         * sunrpc/svc_udp.c: Likewise.
73693         * sunrpc/svc_unix.c: Likewise.
73694         * sunrpc/xdr.c: Likewise.
73695         * sunrpc/xdr_array.c: Likewise.
73696         * sunrpc/xdr_rec.c: Likewise.
73697         * sunrpc/xdr_ref.c: Likewise.
73698         * sunrpc/xdr_stdio.c: Likewise.
73700 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73702         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73704 2011-07-03  Andreas Jaeger  <aj@suse.de>
73706         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73707         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73708         regenerate with gen-libm-tests.pl.
73710 2010-05-12  Petr Baudis  <pasky@suse.cz>
73712         [BZ #11589]
73713         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73714         around j0() zero points by switching to j1().
73715         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73716         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73717         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73718         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73720 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73722         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73723         instead of 0.
73724         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73725         instead of 0.
73726         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73727         Patch in part by Pavel Roskin <proski@gnu.org>.
73729         [BZ #13138]
73730         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73731         realloc.
73732         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
73733         Free memory block if necessary.
73735         [BZ #12847]
73736         * libio/genops.c (INTDEF): For string streams the _lock pointer can
73737         be NULL.  Don't lock in this case.
73739 2011-09-09  Roland McGrath  <roland@hack.frob.com>
73741         * elf/elf.h (ELFOSABI_GNU): New macro.
73742         (ELFOSABI_LINUX): Define to that.
73744 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
73746         * string/strncat.c (strncat): Undef the symbol in case it has been
73747         defined in bits/string.h.
73749 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73751         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73753         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73754         link map.
73756 2011-08-17  Andreas Jaeger  <aj@suse.de>
73758         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73760 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
73761             Ian Lance Taylor  <iant@google.com>
73763         * math/libm-test.inc (lround_test): New testcase.
73764         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73766 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
73768         * Makefile: Remove support for automatic cvs check-ins.
73769         * Makerules: Likewise.
73770         * config.make.in: Likewise.
73771         * configure.in: Likewise.
73772         * intl/Makefile: Likewise.
73773         * locale/Makefile: Likewise.
73774         * po/Makefile: Likewise.
73775         * posix/Makefile: Likewise.
73776         * sysdeps/gnu/Makefile: Likewise.
73777         * sysdeps/mach/hurd/Makefile: Likewise.
73778         * sysdeps/sparc/sparc32/Makefile: Likewise.
73780         [BZ #13118]
73781         * posix/Makefile (bug-regex32-ENV): Define.
73782         Patch by John Stanley <jpsinthemix@verizon.net>.
73784         * misc/Makefile (headers): Add bits/select2.h.
73785         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73786         * misc/bits/select2.h: New file.
73787         * include/bits/select2.h: New file.
73788         * debug/Makefile (routines): Add fdelt_chk.
73789         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73790         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73791         FD_ISSET.
73792         * debug/fdelt_chk.c: New file.
73794         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
73795         * wcsmbs/test-wmemcmp.c: Likewise.
73796         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73797         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73799 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73801         * string/Makefile (strop-tests): Add memcmp.
73802         * string/test-wmemcmp.c: New file.
73803         * string/test-memcmp.c: Add wmemcmp support.
73805 2011-09-08  Roland McGrath  <roland@hack.frob.com>
73807         [BZ #13153]
73808         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73809         2011-07-19 change.
73811         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73812         garbage value in a __mach_port_mod_refs call in the cases of the
73813         task-self and thread-self ports.
73815 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73817         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73819 2011-09-08  Andreas Schwab  <schwab@redhat.com>
73821         * elf/dl-load.c (lose): Check for non-null L.
73823 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73825         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73827         * elf/dl-libc.c (dlerror_run): Pass back error code from
73828         dl_catch_error.
73830         [BZ #13123]
73831         * elf/dl-load.c (lose): Free l_origin if it is valid.
73833         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73834         names.
73835         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73836         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73837         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73838         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73839         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73840         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73842 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73844         * sysdeps/powerpc/fpu/e_hypot.c: New file.
73845         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73846         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73847         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73848         * sysdeps/powerpc/fpu/k_cosf.c: New file.
73849         * sysdeps/powerpc/fpu/k_sinf.c: New file.
73850         * sysdeps/powerpc/fpu/s_cosf.c: New file.
73851         * sysdeps/powerpc/fpu/s_sinf.c: New file.
73852         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73853         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73855 2011-08-15  Alan Modra  <amodra@gmail.com>
73857         [BZ #13092]
73858         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73859         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73860         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
73861         ppc_mcount to static-only-routines.
73862         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73863         __mcount_internal.
73864         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73865         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
73867 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
73869         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73870         for finite and infinity parameters.
73872 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73874         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73875         and add nop instructions for throughput optimization.
73876         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73878 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
73880         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73881         aligned copy for power7 with vector-scalar instructions.
73882         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73884 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
73886         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73887         AVX check.
73889 2011-09-07  Andreas Schwab  <schwab@redhat.com>
73891         [BZ #13144]
73892         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73893         last change.
73895 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73897         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73898         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73899         syscall wrapper around clock_gettime in __vdso_clock_gettime.
73900         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73901         clock_gettime.
73903 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73905         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73906         Forgot to demangle the pointer.
73908         * sysdeps/i386/sysdep.h: Define atom_text_section.
73909         * sysdeps/x86_64/sysdep.h: Likewise.
73910         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73911         section with atom_text_section.
73912         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73913         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73914         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73915         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73916         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73918         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73919         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73920         already be defined.  Change to take two parameters and don't assign
73921         result to variable.  Adjust all users.
73922         Define INTERNAL_GETTIME if not already defined.
73923         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73924         call.
73925         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73926         HAVE_CLOCK_GETTIME_VSYSCALL.
73927         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73929         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73930         gettimeofday vsyscall, just use time.
73932 2011-09-06  Andreas Schwab  <schwab@redhat.com>
73934         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73935         <errno.h>.
73937 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73939         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73940         syscall on x86-64.
73941         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73942         syscall.
73943         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73944         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73945         syscall if possible.
73947 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73949         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73950         e_ident.  Don't pass to find_mapsXX.
73951         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73953 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73955         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73956         strchr-sse2-no-bsf strrchr-sse2-no-bsf
73957         * sysdeps/x86_64/multiarch/strchr.S: Update.
73958         Check bit_slow_BSF bit.
73959         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73960         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73961         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73963 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73965         [BZ #13134]
73966         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73967         before glibc 2.15.
73968         (tryshell): Define.
73969         (__spawni): Change last parameter to be flag.  Test
73970         SPAWN_XFLAGS_USE_PATH flag to use path or not.
73971         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73972         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73973         * posix/spawni.c: Likewise.
73974         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73975         * posix/spawnp.c: Likewise.  Change normal version to use
73976         SPAWN_XFLAGS_USE_PATH.
73977         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73978         SPAWN_XFLAGS_TRY_SHELL.
73980         [BZ #13150]
73981         * posix/glob.h: Remove gcc 1.x support.
73983         [BZ #13068]
73984         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73986 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73988         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73989         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73990         strrchr-sse2-bsf
73991         * sysdeps/i386/i686/multiarch/strchr.S: New file.
73992         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73993         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73994         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73995         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73996         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73998 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74000         * sysdeps/x86_64/wcscmp.S: New file.
74002         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
74003         wcscmp-c wcscmp-sse2
74004         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
74005         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
74006         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
74007         * wcsmbs/wcscmp.c: Allow renaming.
74009 2011-09-05  David S. Miller  <davem@davemloft.net>
74011         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
74012         stack slot, rather than the struct return pointer slot.
74013         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
74014         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
74015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
74016         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
74018 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74020         * po/ja.po: Update from translation team.
74022         [BZ #13144]
74023         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
74024         kernel in 64-bit binaries.
74026 2011-09-01  David S. Miller  <davem@davemloft.net>
74028         * elf/elf.h (HWCAP_SPARC_*): Move to..
74029         * sysdeps/sparc/sysdep.h: this new file and add new values.
74030         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
74031         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
74032         _DL_HWCAP_COUNT to 24.
74033         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74034         entries.
74035         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
74036         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
74037         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
74038         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
74039         instead of magic constants.
74040         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74042 2011-08-31  David S. Miller  <davem@davemloft.net>
74044         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
74045         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
74046         Reimplement to do errno handling inline.
74047         (SYSCALL_ERROR_HANDLER): New macro.
74048         (__SYSCALL_STRING): Do not do errno handling in asm.
74049         (__CLONE_SYSCALL_STRING): Delete.
74050         (__INTERNAL_SYSCALL_STRING): Delete.
74051         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
74052         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
74053         (PSEUDO): Reimplement to do errno handling inline.
74054         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
74055         (SYSCALL_ERROR_HANDLER): New macro.
74056         (__SYSCALL_STRING): Do not do errno handling in asm.
74057         (__CLONE_SYSCALL_STRING): Delete.
74058         (__INTERNAL_SYSCALL_STRING): Delete.
74059         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
74060         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
74061         i386.
74062         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
74063         (inline_syscall*): Add 'err' argument.
74064         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
74065         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
74066         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
74067         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
74069         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
74070         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74072 2011-08-30  Andreas Schwab  <schwab@redhat.com>
74074         * elf/rtld.c (dl_main): Relocate objects in dependency order.
74076 2011-08-29  Jiri Olsa <jolsa@redhat.com>
74078         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
74079         directive.
74081 2011-08-24  David S. Miller  <davem@davemloft.net>
74083         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
74085 2011-08-24  Andreas Schwab  <schwab@redhat.com>
74087         * elf/Makefile: Add rules to build and run unload8 test.
74088         * elf/unload8.c: New file.
74089         * elf/unload8mod1.c: New file.
74090         * elf/unload8mod1x.c: New file.
74091         * elf/unload8mod2.c: New file.
74092         * elf/unload8mod3.c: New file.
74094         * elf/dl-close.c (_dl_close_worker): Reset private search list if
74095         it wasn't used.
74097 2011-08-23  David S. Miller  <davem@davemloft.net>
74099         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
74100         subtract stack bias.
74101         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
74102         %sp not %fp in calculations.
74103         (_JMPBUF_UNWINDS_ADJ): Likewise.
74105         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
74106         (aio_suspend): Call it to force an exception region around the
74107         AIO_MISC_WAIT() invocation.
74109 2011-08-23  Andreas Schwab  <schwab@redhat.com>
74111         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
74112         backslash.
74114 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
74116         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
74117         protection macro.
74118         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
74119         and <dl-machine.h>.
74120         (Elf64_FuncDesc): Remove.
74122 2011-08-22  David S. Miller  <davem@davemloft.net>
74124         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
74125         sigaltstack check, add missing cfi directives.
74126         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
74127         missing cfi directives, and sigaltstack handling.
74129 2011-08-16  Andreas Schwab  <schwab@redhat.com>
74131         [BZ #11724]
74132         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
74133         object is seen twice.
74134         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74136         * elf/Makefile (distribute): Add tst-initorder2.c.
74137         (tests): Add tst-initorder2.
74138         (modules-names): Add tst-initorder2a tst-initorder2b
74139         tst-initorder2c tst-initorder2d.  Add rules to build them.
74140         ($(objpfx)tst-initorder2.out): New rule.
74141         * elf/tst-initorder2.c: New file.
74142         * elf/tst-initorder2.exp: New file.
74144 2011-08-22  Andreas Schwab  <schwab@redhat.com>
74146         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
74148         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
74149         dependencies back to end of function.
74151         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74152         $(elfobjdir)/ld.so.
74154 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
74156         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
74157         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
74158         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
74159         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
74160         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
74161         of __vdso_gettimeofday.
74162         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
74163         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
74164         attribute_hidden.
74165         (_libc_vdso_platform_setup): Remove initialization of
74166         __vdso_gettimeofday and __vdso_time.
74168 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74170         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
74171         and fgetc_unlocked.
74172         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
74173         getc_unlocked.
74175         * elf/dl-open.c (add_to_global): Report additions to the global scope
74176         for LD_DEBUG=scopes.
74177         (dl_open_worker): Also print scope of newly loaded dependencies.
74178         (_dl_show_scope): Indicate if there is no scope.
74180         [BZ #13114]
74181         * stdio-common/Makefile (tests): Add bug24.
74182         * stdio-common/bug24.c: New file.
74184 2011-08-19  Andreas Jaeger  <aj@suse.de>
74186         [BZ #13114]
74187         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
74188         non-existant file when using close-on-exec mode.
74190 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74192         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
74193         the very first instruction.
74195         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
74196         the CFI state in the end.
74197         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
74198         inclusion of dl-trampoline.h.
74199         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
74201 2011-08-19  Andreas Schwab  <schwab@redhat.com>
74203         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
74204         expectations for long double.
74206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
74207         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
74209 2011-08-14  David S. Miller  <davem@davemloft.net>
74211         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
74212         artificual limit depends upon the system page size.
74214 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74216         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
74217         * resolv/Makefile: Define CFLAGS-libresolv.
74219 2011-08-17  Andreas Schwab  <schwab@redhat.com>
74221         * nss/makedb.c (compute_tables): Make variables used in nested
74222         function static.
74224 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74226         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
74227         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
74228         if buffer was too small.
74230         * elf/pldd.c (main): Attach to all threads in the process.
74231         Rewrite /proc handling to use *at functions.
74233 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
74235         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
74236         specifies first scope to show.
74237         (dl_open_worker): Update callers.  Move printing scope of new
74238         object to before the relocation.
74239         * elf/rtld.c (dl_main): Update _dl_show_scope call.
74240         * sysdeps/generic/ldsodefs.h: Update declaration.
74242         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
74243         string for the scope number.
74245 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
74247         * nscd/servicescache.c (cache_addserv): Make sure written is always
74248         initialized.
74250 2011-08-14  Roland McGrath  <roland@hack.frob.com>
74252         * sysdeps/i386/i486/bits/atomic.h
74253         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
74254         statement expression, so as to suppress "set but not used" warning.
74255         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
74257         * string/strncat.c (STRNCAT): Use prototype definition.
74259         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
74260         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
74261         -Iprograms here.
74262         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
74263         (localedef-modules): Add localedef.
74264         (locale-modules): Add locale.
74266         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
74267         * elf/rtld.c (dl_main): Invert order of assignment in last change,
74268         to avoid a warning.
74270 2011-08-14  David S. Miller  <davem@davemloft.net>
74272         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
74273         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
74275 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
74277         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
74278         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
74279         * elf/rtld.c (dl_main): Set l_name of vDSO.
74280         Call _dl_show_scope when DL_DEBUG_SCOPES.
74281         (process_dl_debug): Recognize scopes flag and also set it for all.
74282         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
74283         Declare _dl_show_scope.
74285         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
74286         (do_dlopen): Pass caller_dlopen to dl_open.
74287         (__libc_dlopen_mode): Initialize caller_dlopen.
74289         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
74290         of libc.  Make tolower call locale-independent.  Optimize a bit by
74291         using isdigit instead of isalnum.
74292         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
74294 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
74296         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
74297         was a dependency or dynamically loaded.
74299 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
74301         * intl/l10nflist.c: Allow architecture-specific pop function.
74302         * sysdeps/x86_64/l10nflist.c: New file.
74304         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
74305         classification.
74307 2011-08-10  Andreas Schwab  <schwab@redhat.com>
74309         * include/dirent.h: Add libc_hidden_proto for scandirat and
74310         scandirat64.  Don't declare __scandirat64.
74311         * dirent/scandirat.c: Add libc_hidden_def.
74312         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
74313         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
74315 2011-08-10  David S. Miller  <davem@davemloft.net>
74317         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
74318         enum.
74319         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74320         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74321         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74323 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
74325         * Versions.def [libc]: Add GLIBC_2.15.
74326         * dirent/Makefile (routines): Add scandirat and scandirat64.
74327         * dirent/Versions [libc]: Export scandirat and scandirat64 for
74328         GLIBC_2.15.
74329         * dirent/dirent.h: Declare scandirat and scandirat64.
74330         * dirent/scandirat.c: New file.
74331         * dirent/scandirat64.c: New file.
74332         * sysdeps/wordsize-64/scandirat.c: New file.
74333         * sysdeps/wordsize-64/scandirat64.c: New file.
74334         * dirent/opendir.c: Define opendirat.
74335         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
74336         using scandirat.
74337         * dirent/scandir64.c: Adjust for scandir.c change.
74338         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
74339         __scandirat64, and __scandir_cancel_handler.
74340         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
74341         additional parameter and use openat instead of open (outside of ld.so).
74342         Add new __opendir as wrapper around __opendirat.
74343         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
74344         here without requiring old scandirat implementation.
74346 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
74348         * dirent/scandir.c (cancel_handler): Renamed to
74349         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
74350         defined.  Adjust users.
74351         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
74352         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
74354 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
74356         * string/test-string.h (IMPL): Use __STRING to expand name and then
74357         stringify it.
74359         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
74360         of cleanups.
74362 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74364         * string/Makefile: Update.
74365         (strop-tests): Append strncat.
74366         * string/test-wcscmp.c: New file.
74367         New comprehensive test for wcscmp.
74368         * string/test-strcmp.c: Update.
74369         (WIDE): New define.
74371 2011-07-22  Andreas Schwab  <schwab@redhat.com>
74373         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
74374         line.
74376 2011-07-26  Andreas Schwab  <schwab@redhat.com>
74378         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74379         encoding to ACE if AI_IDN.
74381 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
74383         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
74384         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
74386 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74388         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
74389         Fix overflow bug in strncat.
74390         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
74392         * string/test-strncat.c: Update.
74393         Add new tests for checking overflow bugs.
74395 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74397         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74398         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
74399         * sysdeps/i386/i686/multiarch/strcat.S: New file.
74400         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
74401         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
74402         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
74403         * sysdeps/i386/i686/multiarch/strncat.S: New file.
74404         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
74405         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
74407         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
74408         (USE_AS_STRCAT): Define.
74409         Add strcat and strncat support.
74410         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74412 2011-07-25  Andreas Schwab  <schwab@redhat.com>
74414         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
74415         __n bigger than INT_MAX+1.
74416         (__strncmp_g): Likewise.
74418 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
74420         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
74421         * libio/stido.h: Likewise.
74423         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
74424         (AF_NFC): Define.
74425         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
74426         (AF_NFC): Define.
74428         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
74429         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74430         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74431         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
74432         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74434         [BZ #13021]
74435         * scripts/test-installation.pl: Don't expect libnss_test1 to be
74436         installed.
74438         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
74439         typo.
74440         (_dl_x86_64_save_sse): Likewise.
74442 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
74444         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
74445         OSXSAVE.
74446         (_dl_x86_64_save_sse): Likewise.
74448         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
74450         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
74452 2011-07-21  Andreas Schwab  <schwab@redhat.com>
74454         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
74455         change.
74456         (_dl_x86_64_save_sse): Use correct AVX check.
74458 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74460         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
74461         bug in strncpy/strncat.
74462         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
74464 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
74466         * string/tester.c (test_strcat): Add tests for different alignments
74467         of source and destination.
74468         (test_strncat): Likewise.
74470 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74472         [BZ #12852]
74473         * posix/glob.c (glob): Check passed in values before using them in
74474         expressions to avoid some overflows.
74475         (glob_in_dir): Likewise.
74477         [BZ #13007]
74478         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
74479         check for AVX enablement so that we don't crash with old kernels and
74480         new hardware.
74481         * elf/tst-audit4.c: Add same checks here.
74482         * elf/tst-audit6.c: Likewise.
74484         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
74486 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
74488         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
74490 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74492         * po/cs.po: Update from translation team.
74493         * po/bg.po: Likewise.
74495 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
74497         * misc/sys/cdefs.h: Add support for const attribute.
74498         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
74499         to gnu_dev_{major,minor,makedev} functions.
74501 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
74503         * intl/dcigettext.c (get_output_charset): Add missing bracket.
74505 2011-07-20  Andreas Schwab  <schwab@redhat.com>
74507         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
74508         strlen results.
74510 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74512         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
74513         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
74514         register in order to avoid conflicts with the soft frame pointer
74515         being held in r11 when necessary.
74516         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
74517         (INTERNAL_VSYSCALL_NCS): Likewise.
74519 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
74521         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
74522         * elf/dl-fini.c (_dl_fini): Adjust caller.
74523         * elf/dl-close.c (_dl_close_worker): Likewise.
74524         * sysdeps/generic/ldsodefs.h: Adjust declaration.
74526 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74528         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
74529         "aux_cache->nlibs < 0".
74531         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
74532         in the reload-count case.
74534 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74536         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74537         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
74538         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
74539         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
74540         * sysdeps/x86_64/multiarch/strcat.S: New file.
74541         * sysdeps/x86_64/multiarch/strncat.S: New file.
74542         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
74543         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
74544         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
74545         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
74546         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
74547         (USE_AS_STRCAT): Define.
74548         Add strcat and strncat support.
74549         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74550         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
74551         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
74552         * string/strncat.c: Update.
74553         (USE_AS_STRNCAT): Define.
74554         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74555         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
74556         and i7.
74557         * sysdeps/x86_64/multiarch/init-arch.h
74558         (bit_Prefer_PMINUB_for_stringop): New.
74559         (index_Prefer_PMINUB_for_stringop): Likewise.
74560         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
74561         bit_Prefer_PMINUB_for_stringop.
74563 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74565         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
74566         buffer64.
74567         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
74568         of casting of buffer.
74569         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
74570         buffer32 and buffer64.
74571         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
74572         writes instead of casting of buffer.
74573         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
74574         buffer32.
74575         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
74576         casting of buffer.
74578 2011-07-19  Andreas Schwab  <schwab@redhat.com>
74580         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
74582 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74584         * nscd/nscd.c (termination_handler): Don't do anything for a database
74585         if it has not yet been initialized.
74587 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74589         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74591 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74593         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74595 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74597         * po/nl.po: Update from translation team.
74598         * po/sv.po: Likewise.
74600 2011-07-16  Roland McGrath  <roland@hack.frob.com>
74602         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
74603         now disallowed by GCC.
74605         * configure.in (use-default-link): Default to yes if a test -shared
74606         link meets our qualifications.
74607         * configure: Regenerated.
74609         * config.make.in (output-format): New variable.
74610         * configure.in: Check for ld --print-output-format support.
74611         * configure: Regenerated.
74612         * Makerules ($(common-objpfx)format.lds)
74613         [$(output-format) != unknown]: Just use $(output-format),
74614         instead of the linker-script munging.
74616 2011-07-14  Roland McGrath  <roland@hack.frob.com>
74618         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
74619         of $(common-objpfx)shlib.lds.
74620         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
74622         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
74623         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
74625         * configure.in (-z relro check): Adjust test code to add a large
74626         writable data section after it.
74627         * configure: Regenerated.
74629 2011-07-11  Roland McGrath  <roland@hack.frob.com>
74631         * configure.in (-z relro check): Fix test code to make the variable
74632         truly const.
74633         * configure: Regenerated.
74635 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
74637         * nscd/nscd.h (struct traced_file): Define.
74638         (struct database_dyn): Remove inotify_descr, reset_res, and filename
74639         elements.  Add traced_files.
74640         (inotify_fd): Declare.
74641         (register_traced_file): Declare.
74642         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
74643         (inotify_fd): Export.
74644         (resolv_conf_descr): Remove.
74645         (nscd_init): Move inotify descriptor creation to main.
74646         Don't register files for notification here.
74647         (register_traced_file): New function.
74648         (invalidate_cache): Don't use reset_res to determine whether to call
74649         res_init, go through the list of registered files.
74650         (main_loop_poll): The inotify descriptors are now stored in the
74651         structures for the traced files.
74652         (main_loop_epoll): Likewise.
74653         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
74654         to __nss_disable_nscd.
74655         * nscd/cache.c (prune_cache): There is no single inotify descriptor
74656         for a database anymore.  Check the records for all the registered
74657         files instead.
74658         * nss/Makefile (libnss_files-routines): Add files-init.
74659         (libnss_db-routines): Add db-init.
74660         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
74661         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
74662         * nss/nss_db/db-init.c: New file.
74663         * nss/nss_files/files-init.c: New file.
74664         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
74665         __nss_lookup_function.
74666         (__nss_lookup_function): Call nss_load_library.
74667         (nss_load_all_libraries): New function.
74668         (__nss_disable_nscd): Take parameter with callback function for files
74669         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
74670         used for the cached services.
74671         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
74672         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
74673         options for features to all the files in nscd.
74675         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74677 2011-07-10  Roland McGrath  <roland@hack.frob.com>
74679         * csu/elf-init.c (__libc_csu_init): Comment typo.
74681 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
74683         * po/pl.po: Update from translation team.
74684         * po/ja.po: Likewise.
74685         * po/ru.po: Likewise.
74686         * po/ko.po: Likewise.
74687         * po/fr.po: Likewise.
74689 2011-07-09  Roland McGrath  <roland@hack.frob.com>
74691         * configure.in (.ctors/.dtors header and trailer check):
74692         Use an empirical test on a built program.
74693         * configure: Regenerated.
74695         * configure.in (-z relro check): Use an empirical test on a built DSO.
74696         Detect, but do not require, on ia64.
74697         * configure: Regenerated.
74699         * configure.in (READELF): Find it with AC_CHECK_TOOL.
74700         Update tests that use readelf to use $READELF instead.
74701         * configure: Regenerated.
74703 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
74705         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74706         if the result is not used.
74708 2011-07-05  Andreas Jaeger  <aj@suse.de>
74710         [BZ#9696]
74711         * stdlib/tst-strtod.c: Add testcase.
74713 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
74715         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74716         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74717         The latter has a higher limit.  Take additional parameter to pass to
74718         the new function.
74719         (__pathconf): Pass file to __statfs_link_max.
74720         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74721         __statfs_link_max.
74722         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74723         __statfs_link_max.
74725         [BZ #12868]
74726         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74727         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74728         Handle Lustre.
74729         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74730         (__statfs_filesize_max): Likewise.
74731         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74733 2011-07-05  Andreas Jaeger  <aj@suse.de>
74735         * resolv/res_comp.c (dn_skipname): Remove unused variable.
74737 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
74739         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74740         `status' variable.
74741         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74742         Likewise.
74744 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
74746         * Makefile (strop-tests): Add strncat.
74747         * string/test-strncat.c: New file.
74749 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
74751         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74753 2011-06-21  Andreas Jaeger  <aj@suse.de>
74755         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74756         Copy rule from iconvdata/Makefile.
74758 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74760         [BZ #12922]
74761         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74762         but no long options are defined, just return 'W'.
74764 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
74766         [BZ #9696]
74767         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74769 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74771         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74772         netgroups to read.
74773         (innetgr): Likewise.
74775 2011-07-05  Roland McGrath  <roland@hack.frob.com>
74777         * config.make.in (install_root): Default to $(DESTDIR).
74779 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
74781         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74783 2011-07-02  Roland McGrath  <roland@hack.frob.com>
74785         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74787         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74788         containing directory rather than embedding absolute directory names.
74790         * scripts/check-local-headers.sh: Rewritten using awk.
74791         Match by word, not by line.  Print error messages for matches.
74792         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74794         * Makerules [shlib-lds-flags empty]:
74795         ($(common-objpfx)libc_pic.opts): New target.
74796         ($(common-objpfx)libc_pic.os.clean): New target.
74797         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74799         * config.make.in (OBJCOPY): New variable.
74800         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74801         * configure: Regenerated.
74803         * config.make.in (use-default-link): New variable.
74804         * configure.in (use_default_link): Grok --with-default-link to set it.
74805         * configure: Regenerated.
74806         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74807         (shlib-lds, shlib-lds-flags): Define to empty.
74809         * Makerules (shlib-lds): New variable.
74810         (shlib-lds-flags): New variable.
74811         (build-shlib, build-moduile, build-module-asneeded): Use it.
74812         ($(common-objpfx)libc.so): Use $(shlib-lds).
74813         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74814         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74816         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74817         DT_FLAGS/DT_FLAGS_1 with zero flags.
74819         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74820         linker script munging.
74822 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
74824         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74825         as 128-bit value.
74826         * crypt/sha512.c (sha512_process_block): Perform total addition using
74827         128-bit if possible.
74828         (__sha512_finish_ctx): Likewise.
74829         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74830         as 64-bit value.
74831         * crypt/sha256.c (SWAP64): Define.
74832         (sha256_process_block): Perform total addition using 64-bit if
74833         possible.
74834         (__sha256_finish_ctx): Likewise.
74836 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
74838         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
74839         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74840         * nscd/hstcache.c (cache_addhst): Likewise.
74841         * nscd/grpcache.c (cache_addgr): Likewise.
74842         * nscd/aicache.c (addhstaiX): Likewise.
74843         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74845 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
74847         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74848         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74849         * nscd/hstcache.c (cache_addhst): Likewise.
74850         * nscd/grpcache.c (cache_addgr): Likewise.
74851         * nscd/aicache.c (addhstaiX): Likewise.
74853 2011-07-01  Andreas Schwab  <schwab@redhat.com>
74855         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74856         domain only when needed.
74858 2011-06-30  Andreas Schwab  <schwab@redhat.com>
74860         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74861         is always restored.
74863 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
74865         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74866         are re-adding the entry.
74867         * nscd/servicescache.c (cache_addserv): Likewise.
74869 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
74871         * sysdeps/generic/dl-irel.h: fix protection against multiple
74872         inclusions.
74873         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74875 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
74877         [BZ #12935]
74878         * malloc/memusage.sh: Fix quoting in message.
74879         * debug/xtrace.sh: Likewise.
74881         * configure.in: Remove support for --experimental-malloc option, make
74882         it the default.
74883         * config.make.in: Likewise.
74884         * malloc/Makefile: Likewise.
74886 2011-06-27  Andreas Schwab  <schwab@redhat.com>
74888         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74889         two-byte characters.
74891 2011-06-27  Roland McGrath  <roland@hack.frob.com>
74893         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74894         AC_CACHE_CHECK invocation.
74895         * configure: Regenerated.
74897         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74899 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
74901         [BZ #12350]
74902         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
74903         bit from old_res_options.
74905         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74907         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74908         value type for setfct.
74910 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
74912         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74913         __gettimeofday instead of gettimeofday.
74915 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
74917         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74919 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
74921         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74923         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74924         info.
74926 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74928         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74929         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74930         strcpy-sse2-unaligned strncpy-sse2-unaligned
74931         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74932         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74933         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74934         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74935         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74936         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74937         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74938         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74939         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74940         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74941         (STRCPY): Support SSE2 and SSSE3 versions.
74943 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
74945         [BZ #12874]
74946         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74947         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74948         kernels which artificially limit size of requests.
74950 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74952         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74953         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74954         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74955         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74956         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74957         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74958         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74959         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74960         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74961         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74962         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74963         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74964         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74965         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74966         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74967         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74968         Enable unaligned load optimization for Intel Core i3, i5 and i7
74969         processors.
74970         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74971         Define.
74972         (index_Fast_Unaligned_Load): Define.
74973         (HAS_FAST_UNALIGNED_LOAD): Define.
74975 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
74977         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74979 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74981         [BZ #12907]
74982         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74983         until it is clear that the information is realy needed.
74984         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74986 2011-06-22  Andreas Schwab  <schwab@redhat.com>
74988         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74990 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74992         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74993         /sys/devices/system/cpu/online if it is usable.
74995         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74996         reading the information from the /proc filesystem to once a second.
74998 2011-06-21  Andreas Jaeger  <aj@suse.de>
75000         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
75001         NULL after inclusion of kernel headers.
75003 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
75005         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
75006         calls to internal_setent.
75008         [BZ #12885]
75009         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
75010         addresses using gethostbyname4_r ignore IPv4 addresses.
75012         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
75013         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
75015         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
75017 2011-06-20  David S. Miller  <davem@davemloft.net>
75019         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
75020         inclusions.
75021         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
75023         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
75024         (elf_irel): Use it.
75025         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
75026         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
75027         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
75028         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
75029         * sysdeps/x86_64/dl-irel.h: Likewise.
75031         * elf/dl-runtime.c: Use elf_ifunc_invoke.
75032         * elf/dl-sym.c: Likewise.
75034 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75036         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
75037         need to dereference resplen2.
75039 2011-06-14  Andreas Schwab  <schwab@redhat.com>
75041         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
75043 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75045         * Makeconfig: Define vardbdir and inst_vardbdir.
75046         * nss/Makefile: Add rules to install db-Makefile.
75048         * nss/nss_db/db-XXX.c: Cleanup.
75050         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
75051         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
75052         GLIBC_PRIVATE.
75053         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
75054         * nss/makedb.c: Implement -g option to specify that value strings
75055         are generated and should not be added to table iterated over for
75056         get*ent calls.
75057         * nss/nss_db/db-initgroups.c: New file.
75059         * nss/getent.c: Add support for initgroups lookups through getgrouplist
75060         interface.
75062         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
75063         (internal_getgrouplist): Adjust to name change.
75064         Update use_initgroups_entry if this is not the first call.
75065         * nss/databases.def: Add initgroups entry.
75067         * nss/makedb.c (compute_tables): Check result of multiple hash table
75068         sizes to minimize maximum chain length.
75070 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
75072         * Versions.def: Add entry for libnss_db.
75073         * shlib-versions: Likewise.
75074         * nss/Makefile: Add rules to build libnss_db.
75075         * nss/Versions: Add libnss_db information.  Organize libnss_files
75076         entries better.
75077         * nss/db-Makefile: Add gshadow support.  Change rules for the new
75078         makedb progra.  Some minor improvements to generate smaller files.
75079         * nss/nss_db/nss_db.h: Move NSS database header data structures to
75080         here from...
75081         * nss/makedb.c: ...here.
75082         Improve database format to be smaller and require less memory at
75083         runtime.
75084         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
75085         db anymore.
75086         * nss/nss_db/db-netgrp.c: Likewise.
75087         * nss/nss_db/db-open.c: Likewise.
75088         * nss/nss_files/flies-XXX.x: Adjust comments.
75089         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
75090         * nss/nss_files/files-grp.c: Likewise.
75091         * nss/nss_files/files-hosts.c: Likewise.
75092         * nss/nss_files/files-network.c: Likewise.
75093         * nss/nss_files/files-proto.c: Likewise.
75094         * nss/nss_files/files-pwd.c: Likewise.
75095         * nss/nss_files/files-rpc.c: Likewise.
75096         * nss/nss_files/files-service.c: Likewise.
75097         * nss/nss_files/files-sgrp.c: Likewise.
75098         * nss/nss_files/files-spwd.c: Likewise.
75099         * nss/nss_db/db-alias.c: Removed.
75100         * nss/nss_db/dummy-db.h: Removed.
75102 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
75104         * nss/makedb.c: Rewritten to not use database library.
75105         * nss/Makefile: Update to build new makedb program.
75107 2011-06-14  Andreas Jaeger  <aj@suse.de>
75109         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
75110         memset declaration.
75112 2011-06-10  Andreas Schwab  <schwab@redhat.com>
75114         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
75115         tmpbuf.
75117 2011-06-10  Roland McGrath  <roland@hack.frob.com>
75119         * Makerules (shlib.lds): Fail if the linker script comes out empty.
75120         * elf/Makefile ($(objpfx)ld.so): Likewise.
75122         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
75123         Don't list ld.so twice in dependencies.
75125         * posix/bug-regex31.c: Include <stdlib.h>.
75127         * nscd/hstcache.c (cache_addhst): Remove unused variable.
75129         * nis/nss_compat/compat-spwd.c
75130         (getspent_next_nss_netgr): Remove unused variable.
75131         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
75133         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
75134         nonmembers" output to use the right array.
75136         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
75138         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
75140         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
75141         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
75142         * catgets/gencat.c (read_input_file): Likewise.
75143         * locale/programs/locarchive.c (enlarge_archive): Likewise.
75145         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
75146         variable definition inside #if's controlling its use.
75148         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
75150         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
75152         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
75154         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
75155         unreachable code.
75157         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
75159         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
75160         * configure: Regenerated.
75162         * Makerules: Revert last change.
75163         * elf/Makefile: Likewise.
75165 2011-06-09  Roland McGrath  <roland@hack.frob.com>
75167         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
75168         * elf/Makefile ($(objpfx)librtld.os): Likewise.
75169         (reloc-link): Likewise.
75171 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
75173         * elf/Makefile: Add rules to build pldd.
75174         * elf/pldd.c: New file.
75175         * elf/pldd-xx.c: New file.
75177 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
75179         * version.h: Update for 2.15 development version.
75181 2011-06-07  David S. Miller  <davem@davemloft.net>
75183         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
75184         ifuncs.
75185         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
75186         elf_machine_lazy_rel): Likewise.
75187         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
75188         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
75189         elf_machine_lazy_rel): Likewise.
75190         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
75191         dl_hwcap via passed in argument.
75192         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
75193         Likewise.
75195 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75197         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
75199 2011-06-06  Roland McGrath  <roland@hack.frob.com>
75201         [BZ #12849]
75202         * manual/fdl-1.1.texi: New file, verbatim from:
75203         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
75204         * manual/lgpl-2.1.texi: New file, verbatim from:
75205         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
75206         * manual/Makefile (licenses): New variable, list those new file names.
75207         (texis): Use it.
75208         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
75210         * manual/fdl.texi: File removed.
75211         * manual/lesser.texi: File removed.
75212         * manual/libc.texinfo (Copying, Documentation License):
75213         Use new @include file names, put @appendix directive before @include.
75215 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
75217         [BZ #12841]
75218         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
75219         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
75220         (mq_open): Add __NTH.
75222 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
75224         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75225         Assume Intel Core i3/i5/i7 processor if AVX is available.
75227 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75229         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75230         typo.
75232 2011-05-31  Andreas Schwab  <schwab@redhat.com>
75234         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
75235         memory.  Use alloca_account.  Fix memory leak when retrying.
75237 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75239         * version.h (RELEASE): Bump for 2.14 release.
75240         * include/features.h (__GLIBC_MINOR__): Bump to 14.
75242         * config.make.in (RANLIB): Remove entry.
75244 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
75246         * po/Makefile (po-sed-cmd): Add ksh to extensions.
75247         (libc.pot): Work around missing support for .ksh extension in xgettext.
75249         [BZ #12684]
75250         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
75251         if both request failed.
75252         (send_dg): In case of server errors clear resplen or *resplen2.
75254         [BZ #12454]
75255         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
75256         when there are multiple maps.
75257         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
75258         (_dl_fini): Remove test here.
75260         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
75262 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
75264         [BZ #12350]
75265         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
75266         bit from old_res_options.
75267         (gaih_inet): Likewise.
75269         [BZ #11099]
75270         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
75271         as signed.
75273         * resolv/res_init.c (res_setoptions): Make the code more compact.
75275         [BZ #11558]
75276         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
75277         set RES_USEVC.
75279         [BZ #11634]
75280         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
75282         * malloc/malloc.h: Mark malloc hook variables as deprecated.
75284         [BZ #11781]
75285         * malloc/malloc.h: Declare malloc hook variables as volatile.
75287         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
75288         in last patch.
75290         [BZ #11799]
75291         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
75292         raise in the comment.
75293         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75294         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75295         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
75297 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
75299         [BZ #12811]
75300         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
75301         grow the buffers more if it already has to be sufficient.
75302         (build_wcs_upper_buffer): Likewise.
75303         * posix/regexec.c (check_matching): Likewise.
75304         (clean_state_log_if_needed): Likewise.
75305         (extend_buffers): Don't enlarge buffers beyond size of the input
75306         buffer.
75307         Patches mostly by Emil Wojak <emil@wojak.eu>.
75308         * posix/bug-regex32.c: New file.
75309         * posix/Makefile (tests): Add bug-regex32.
75311         * locale/findlocale.c (_nl_find_locale): Return right away if
75312         _nl_explode_name failed.
75313         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
75315         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
75317         * debug/xtrace.sh: Unify messages.
75318         * malloc/memusage.sh: Likewise.
75320         [BZ #12813]
75321         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
75322         time symbol from vDSO.  Substitute with vsyscall if not available.
75323         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
75324         __vdso_time.
75326         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
75327         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
75328         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
75329         Add sendmmsg and internal_sendmmsg.
75330         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
75331         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
75332         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
75334         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
75335         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
75336         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
75338 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
75340         [BZ #12813]
75341         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
75342         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
75343         available.
75344         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
75345         __vdso_getcpu.
75347         [BZ #12814]
75348         * iconvdata/Makefile (tests): Add bug-iconv9.
75349         * iconvdata/bug-iconv9.c: New file.
75351 2011-05-27  Andreas Schwab  <schwab@redhat.com>
75353         [BZ #12814]
75354         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
75356 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
75358         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75359         (struct user_regs_struct): Change intcs field back to cs.
75361 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
75363         * po/ja.po: Update from translation team.
75365 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
75367         [BZ #12795]
75368         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
75369         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
75371 2011-05-20  Andreas Schwab  <schwab@redhat.com>
75373         * stdlib/longlong.h: Update from GCC.
75375 2011-05-23  Andreas Schwab  <schwab@redhat.com>
75377         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
75378         parameter name.
75379         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
75380         Add parameter name.
75381         (__sysconf): Pass it down.
75383 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
75385         [BZ #12671]
75386         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
75387         some situations.
75388         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
75389         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
75390         add in in __libc_use_alloca calls.  Adjust callers.
75391         (glob): Use malloc in some situations.
75393         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
75394         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
75395         pltexit.
75397 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
75399         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
75400         and CLOCK_BOOTTIME_ALARM.
75402         [BZ #12782]
75403         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
75404         is returned.
75406         * string/_strerror.c (__strerror_r): Print negative errors as signed
75407         numbers.
75409         [BZ #12777]
75410         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
75411         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
75412         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
75414         * configure.in: Fix typo in redirection and correct removal of test
75415         files in two cases.
75417         [BZ #12788]
75418         * locale/setlocale.c (new_composite_name): Fix test to check for
75419         identical name of all categories.
75421         [BZ #12792]
75422         * libio/filedoalloc.c (local_isatty): New function.
75423         (_IO_file_doallocate): Use local_isatty.
75424         * stdio-common/perror.c (perror): In case a new stream is used
75425         forward the stream error.
75426         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
75427         error flag.
75429 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
75431         [BZ #11884]
75432         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
75433         alloca.
75434         * include/alloca.h (extend_alloca_account): Define.
75436         [BZ #11857]
75437         * posix/regex.h: Fix comments with documentation of user-accessible
75438         fields after compilation and describe correct free'ing of pattern
75439         after re_compile_pattern.
75440         Patch by Reuben Thomas <rrt@sc3d.org>.
75442 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
75444         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
75445         and -mno-altivec to prevent the compiler from using Altivec and/or
75446         VSX instructions when the corresponding registers are not available.
75448 2011-05-19  Andreas Schwab  <schwab@redhat.com>
75450         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
75452 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
75454         * libio/freopen.c (freopen): Use __dup2, not dup2.
75455         * libio/freopen64.c (freopen64): Likewise.
75457 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75459         [BZ #12775]
75460         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
75461         * math/Makefile (tests): Add test-powl.
75462         (CFLAGS-test-powl.c): Define.
75463         * math/test-powl.c: New file.
75465 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75467         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
75469 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
75471         [BZ #11837]
75472         * iconvdata/gb18030.c: Update to GB18020-2005.
75474 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
75476         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
75477         RE_SYNTAX_POSIX_AWK): Update to match recent development.
75478         Patch by Aharon Robbins <arnold@skeeve.com>.
75480         [BZ #11892]
75481         * stdlib/putenv.c (putenv): Don't always create copy of the variable
75482         on the stack.
75484         [BZ #11895]
75485         * misc/pselect.c (__pselect): Handle timeout value errors hidden
75486         through underflows.
75488         [BZ #12766]
75489         * misc/error.c (error_at_line): Ensure file_name and old_file_name
75490         point to strings before performing equality test for error_one_per_line
75491         mode.
75493         [BZ #11697]
75494         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
75496         [BZ #11820]
75497         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75498         (struct user_fpregs_struct): Avoid __uint*_t types.
75500         [BZ #6420]
75501         * malloc/mtrace.c (tr_where): Add additional parameter to point to
75502         symbol info.  Use it instead of calling _dl_addr locally.
75503         (lock_and_info): New function.
75504         (tr_freehook): Call lock_and_info and pass symbol info as additional
75505         parameter to tr_where.
75506         (tr_mallochook): Likewise.
75507         (tr_reallochook): Likewise.
75508         (tr_memalignhook): Likewise.
75510         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
75511         used and couldn't be at all thread-safe.
75513 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
75515         * libio/freopen.c (freopen): Don't close old file descriptor
75516         before the new one is opened.  Instead dup the new file descriptor
75517         to the old one after the new stream is created.
75518         * libio/freopen64.c (freopen64): Likewise.
75519         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
75520         * libio/fileops.c (_IO_new_file_close_it): Handle new
75521         _IO_FLAGS2_NOCLOSE flag.
75522         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
75523         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
75524         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
75525         _IO_FLAGS2_NOCLOSE flag.
75526         * include/unistd.h: Add hidden_proto for dup3.
75527         Define __have_dup3.
75528         * io/dup3.c: Define hidden symbol.
75529         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
75531         [BZ #7101]
75532         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
75533         when an incomplete long option is used.
75534         * posix/tst-getopt_long1.c: New file.
75535         * posix/Makefile (tests): Add tst-getopt_long1.
75537         [BZ #10138]
75538         * scripts/config.guess: Update from autoconf-2.68.
75539         * scripts/config.sub: Likewise.
75541         [BZ #10157]
75542         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
75543         tests into ...
75544         (has_cpuclock): ...this.  New function.
75545         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
75546         macro here based on has_cpuclock code.
75548         [BZ #10149]
75549         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75550         First byte (not low byte) is now always NUL.
75551         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
75553         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75554         Use non-cancelable interfaces.
75556         [BZ #9809]
75557         * locale/iso-639.def: Add entry for Sorani.
75559         [BZ #11901]
75560         * include/stdlib.h: Move include protection to the right place.
75561         Define abort_msg_s.  Declare __abort_msg with it.
75562         * stdlib/abort.c (__abort_msg): Adjust type.
75563         * assert/assert.c (__assert_fail_base): New function.  Majority
75564         of code from __assert_fail.  Allocate memory for __abort_msg with
75565         mmap.
75566         (__assert_fail): Now call __assert_fail_base.
75567         * assert/assert-perr.c: Remove bulk of implementation.  Use
75568         __assert_fail_base.
75569         * include/assert.hL Declare __assert_fail_base.
75570         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
75571         mmap.
75572         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
75574 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
75576         [BZ #11952]
75577         [BZ #12453]
75578         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
75579         until all modules are registered in the DTV.
75580         * elf/Makefile: Add rules to build and run tst-tls19.
75581         * elf/tst-tls19.c: New file.
75582         * elf/tst-tls19mod1.c: New file.
75583         * elf/tst-tls19mod2.c: New file.
75584         * elf/tst-tls19mod3.c: New file.
75585         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
75587         [BZ #12083]
75588         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
75589         correctly.
75591         [BZ #12601]
75592         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
75593         two-byte sequence errors.
75594         * iconvdata/Makefile (tests): Add bug-iconv8.
75595         * iconvdata/bug-iconv8.c: New file.
75597         [BZ #12626]
75598         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
75599         buf2 definition.
75601         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
75603         [BZ #12432]
75604         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
75605         (dummy_getcfa): New function.
75606         (init): Get _Unwind_GetCFA address, use dummy if not found.
75607         (backtrace_helper): In recursion check, also check whether CFA changes.
75608         (__backtrace): Completely initialize arg.
75610         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
75611         storing incomplete byte sequence in state object.  Avoid testing for
75612         guaranteed too small input if we know there is enough data available.
75614 2011-05-11  Andreas Schwab  <schwab@redhat.com>
75616         * Makeconfig (+link-pie): Indent.
75617         * Rules (binaries-pie): Define if $(have-fpie) and
75618         $(build-shared).
75619         (binaries-shared): Also filter out $(binaries-pie).
75620         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
75621         * nscd/Makefile (others-pie): Add nscd.
75622         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
75623         ($(objpfx)nscd): Remove command override.
75624         * login/Makefile (others-pie): Add pt_chown.
75625         ($(objpfx)pt_chown): Remove command override.
75626         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
75627         remove command overrides.
75629 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
75631         * libio/tst_putwc.c: Fix error messages.
75633         [BZ #12724]
75634         * libio/fileops.c (_IO_new_file_close_it): Always flush when
75635         currently writing and seek to current position when not.
75636         * libio/Makefile (tests): Add bug-fclose1.
75637         * libio/bug-fclose1.c: New file.
75639 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
75641         [BZ #12511]
75642         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
75643         don't set DF_1_NODELETE here.
75644         (do_lookup_x): When entering new entry test for copy relocation
75645         and if necessary set DF_1_NODELETE flag.
75646         * elf/tst-unique4.cc: New file.
75647         * elf/tst-unique4.h: New file.
75648         * elf/tst-unique4lib.cc: New file.
75649         * elf/Makefile: Add rules to build and run tst-unique4.
75650         Patch by Piotr Bury <pbury@goahead.com>.
75652 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
75654         [BZ #12052]
75655         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
75657         [BZ #12625]
75658         * misc/mntent_r.c (addmntent): Flush the stream after the output
75660         [BZ #12393]
75661         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
75662         (is_trusted_path_normalize): Skip initial colon.  Append slash
75663         to empty buffer.  Duplicate is_trusted_path code but allow
75664         constructed patch to be prefix.
75665         (is_dst): Allow $ORIGIN followed by /.
75666         (_dl_dst_substitute): Correct clearing of check_for_trusted.
75667         Correct testing of result of is_trusted_path_normalize
75668         (decompose_rpath): Fix warning.
75670 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
75672         [BZ #11257]
75673         * grp/initgroups.c (internal_getgrouplist): When we found the service
75674         list through the initgroups entry in nsswitch.conf do not always
75675         continue on a successful lookup.  Don't always use the
75676         __nss_group_database value if it is set.
75677         * nss/nsswitch.conf (initgroups): Change action for successful db
75678         lookup to continue for compatibility.
75680 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
75682         [BZ #11532]
75683         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75684         and CP774 modules.
75685         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75686         and CP774 modules.
75687         * iconvdata/tst-tables.sh: Likewise.
75688         * iconvdata/cp770.c: New file.
75689         * iconvdata/cp771.c: New file.
75690         * iconvdata/cp772.c: New file.
75691         * iconvdata/cp773.c: New file.
75692         * iconvdata/cp774.c: New file.
75693         * iconvdata/testdata/CP770: New file.
75694         * iconvdata/testdata/CP770..UTF8: New file.
75695         * iconvdata/testdata/CP771: New file.
75696         * iconvdata/testdata/CP771..UTF8: New file.
75697         * iconvdata/testdata/CP772: New file.
75698         * iconvdata/testdata/CP772..UTF8: New file.
75699         * iconvdata/testdata/CP773: New file.
75700         * iconvdata/testdata/CP773..UTF8: New file.
75701         * iconvdata/testdata/CP774: New file.
75702         * iconvdata/testdata/CP774..UTF8: New file.
75704         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75705         END CHARMAP line.
75706         * iconvdata/gen-8bit-gap.sh: Likewise.
75707         * iconvdata/gen-8bit.sh: Likewise.
75709         * locale/iso-639.def: Add ary entry.
75711         [BZ #11258]
75712         * locale/C-translit.h.in: Add U20A1 transliteration.
75714         [BZ #12178]
75715         * locale/iso-639.def: Add wae entry.
75716         Patch by Kevin Bortis <bortis@translate-wae.ch>.
75718         [BZ #12545]
75719         * locale/programs/localedef.c (construct_output_path): Use ssize_t
75720         for n.
75722         [BZ #12711]
75723         * locale/C-translit.h.in: Add entry for U20B9.
75724         Patch by pravin.d.s@gmail.com.
75726 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
75728         [BZ #12713]
75729         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75730         ENAMETOOLONG use generic getcwd.
75731         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
75732         in rtld.  Use *stat64.
75733         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75734         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75735         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75736         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75737         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75738         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75739         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75740         __fstatat64 macros.
75741         * include/dirent.h: Add libc_hidden_proto for rewinddir.
75742         * dirent/rewinddir.c: Add libc_hidden_def.
75743         * sysdeps/mach/hurd/rewinddir.c: Likewise.
75744         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
75746         * include/dirent.h (__alloc_dir): Add flags parameter.
75747         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75748         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75749         __alloc_dir.
75750         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
75751         from fdopendir if O_CLOEXEC is already set.
75753 2011-03-15  Alan Modra  <amodra@gmail.com>
75755         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75756         l_tls_firstbyte_offset non-zero.  Save padding offset in
75757         l_tls_firstbyte_offset for later use.
75758         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75759         freeing static tls block.
75761 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
75763         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75764         where #ifdef was intended.  The intent is to prevent ARG_MAX from
75765         being defined by the kernel headers.
75767 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
75769         [BZ #12734]
75770         * resolv/resolv.h: Define RES_NOTLDQUERY.
75771         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75772         no-tld-query and set RES_NOTLDQUERY.
75773         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75774         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75775         modern BIND to search name as TLD unless forbidden.
75777 2011-05-07  Petr Baudis  <pasky@suse.cz>
75778             Ulrich Drepper  <drepper@gmail.com>
75780         [BZ #12393]
75781         * elf/dl-load.c (fillin_rpath): Move trusted path check...
75782         (is_trusted_path): ...to here.
75783         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75784         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75785         using is_trusted_path_normalize() in setuid scripts.
75787 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
75789         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75790         __BEGIN/__END_DECLS.
75792 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
75794         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75795         NSS_STATUS_NOTFOUND if no record was found.
75797 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75799         * sunrpc/Makefile (headers): Add rpc/netdb.h.
75800         (headers-not-in-tirpc): Remove rpc/netdb.h
75801         * resolv/netdb.h: Revert last change.
75803 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75805         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75806         circular dependency between libgcc.a and libc.a.
75808 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75810         * resolv/netdb.h: Don't include <rpc/netdb.h>.
75811         * nis/Makefile: Don't install rpcsvc/*.
75812         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75813         instead of <rpc/types.h>.
75814         (MAXHOSTNAMELEN): Define.
75816 2011-05-03  Andreas Schwab  <schwab@redhat.com>
75818         * elf/ldconfig.c (add_dir): Don't crash on empty path.
75820 2011-04-28  Maciej Babinski  <mbabinski@google.com>
75822         [BZ #12714]
75823         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75824         gethostbyname4_r when IPv6 results are possible.
75826 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
75828         [BZ #12723]
75829         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75830         _PC_PIPE_BUF handling.
75832 2011-04-30  Bruno Haible  <bruno@clisp.org>
75834         [BZ #12717]
75835         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75836         * resolv/netdb.h (getnameinfo): Change type of flags parameter
75837         to 'int'.
75838         * inet/getnameinfo.c (getnameinfo): Likewise.
75840 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
75842         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75843         to groups setting in database lookup.
75844         * nss/nsswitch.conf: Add initgroups entry.
75846 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
75848         [BZ #12685]
75849         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75850         mode string.
75851         Patch by Eric Blake <eblake@redhat.com>.
75853 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
75855         * sunrpc/Makefile (need-export-routines): Add svc_run.
75856         (routines): Remove svc_run.
75857         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75858         * sunrpc/clnt_perr.c (clnt_perrno): Export.
75859         * sunrpc/svc_run.c (svc_run): Likewise.
75860         * sunrpc/svc_udp.c (svcudp_create): Likewise.
75862 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
75864         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75865         problem in reallocation in last patch.
75867 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
75869         * sunrpc/Makefile: Move inclusion of Rules.
75871 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75873         * nss/nss_files/files-initgroups.c: New file.
75874         * nss/Makefile (libnss_files-routines): Add files-initgroups.
75875         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75876         _nss_files_initgroups_dyn.
75878 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
75880         * elf/elf.h (R_ARM_IRELATIVE): Define.
75882 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75884         * po/ru.po: Update from translation team.
75886 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75888         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75889         dependencies.
75891 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
75893         [BZ #12653]
75894         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75895         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75896         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75897         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75898         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75900 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
75902         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75903         differing bytes.
75904         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75905         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75906         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75908 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75910         [BZ #12420]
75911         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75912         storing it.
75913         * stdlib/bug-getcontext.c: New file.
75914         * stdlib/Makefile: Add rules to build and run bug-getcontext.
75916 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75918         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75919         instructions into .machine "z9-109".
75920         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75921         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75923 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75925         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75926         between environment variables and auxiliary vector.
75928 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
75930         * Makefile: Add rules to build linkobj/libc.so.
75931         * include/libc-symbols.h: Define libc_hidden_nolink.
75932         * include/rpc/auth.h: Mark functions which are to be hidden.
75933         * include/rpc/auth_des.h: Likewise.
75934         * include/rpc/auth_unix.h: Likewise.
75935         * include/rpc/clnt.h: Likewise.
75936         * include/rpc/des_crypt.h: Likewise.
75937         * include/rpc/key_prot.h: Likewise.
75938         * include/rpc/pmap_clnt.h: Likewise.
75939         * include/rpc/pmap_prot.h: Likewise.
75940         * include/rpc/pmap_rmt.h: Likewise.
75941         * include/rpc/rpc_msg.h: Likewise.
75942         * include/rpc/svc.h: Likewise.
75943         * include/rpc/svc_auth.h: Likewise.
75944         * include/rpc/xdr.h: Likewise.
75945         * nis/Makefile: Link all DSOs against linkobj/libc.so.
75946         * nss/Makefile: Likewise.
75947         * sunrpc/Makefile: Don't install headers.  Build library with normal
75948         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
75949         * sunrpc/auth_des.c: Hide exported symbols by default, export some
75950         for the compat linking library.  Remove use of INTDEF/INTUSE.
75951         * sunrpc/auth_none.c: Likewise.
75952         * sunrpc/auth_unix.c: Likewise.
75953         * sunrpc/authdes_prot.c: Likewise.
75954         * sunrpc/authuxprot.c: Likewise.
75955         * sunrpc/clnt_gen.c: Likewise.
75956         * sunrpc/clnt_perr.c: Likewise.
75957         * sunrpc/clnt_raw.c: Likewise.
75958         * sunrpc/clnt_simp.c: Likewise.
75959         * sunrpc/clnt_tcp.c: Likewise.
75960         * sunrpc/clnt_udp.c: Likewise.
75961         * sunrpc/clnt_unix.c: Likewise.
75962         * sunrpc/des_crypt.c: Likewise.
75963         * sunrpc/des_soft.c: Likewise.
75964         * sunrpc/get_myaddr.c: Likewise.
75965         * sunrpc/key_call.c: Likewise.
75966         * sunrpc/key_prot.c: Likewise.
75967         * sunrpc/netname.c: Likewise.
75968         * sunrpc/pm_getmaps.c: Likewise.
75969         * sunrpc/pm_getport.c: Likewise.
75970         * sunrpc/pmap_clnt.c: Likewise.
75971         * sunrpc/pmap_prot.c: Likewise.
75972         * sunrpc/pmap_prot2.c: Likewise.
75973         * sunrpc/pmap_rmt.c: Likewise.
75974         * sunrpc/publickey.c: Likewise.
75975         * sunrpc/rpc_cmsg.c: Likewise.
75976         * sunrpc/rpc_common.c: Likewise.
75977         * sunrpc/rpc_dtable.c: Likewise.
75978         * sunrpc/rpc_prot.c: Likewise.
75979         * sunrpc/rpc_thread.c: Likewise.
75980         * sunrpc/rtime.c: Likewise.
75981         * sunrpc/svc.c: Likewise.
75982         * sunrpc/svc_auth.c: Likewise.
75983         * sunrpc/svc_authux.c: Likewise.
75984         * sunrpc/svc_raw.c: Likewise.
75985         * sunrpc/svc_run.c: Likewise.
75986         * sunrpc/svc_simple.c: Likewise.
75987         * sunrpc/svc_tcp.c: Likewise.
75988         * sunrpc/svc_udp.c: Likewise.
75989         * sunrpc/svc_unix.c: Likewise.
75990         * sunrpc/svcauth_des.c: Likewise.
75991         * sunrpc/xcrypt.c: Likewise.
75992         * sunrpc/xdr.c: Likewise.
75993         * sunrpc/xdr_array.c: Likewise.
75994         * sunrpc/xdr_float.c: Likewise.
75995         * sunrpc/xdr_intXX_t.c: Likewise.
75996         * sunrpc/xdr_mem.c: Likewise.
75997         * sunrpc/xdr_rec.c: Likewise.
75998         * sunrpc/xdr_ref.c: Likewise.
75999         * sunrpc/xdr_sizeof.c: Likewise.
76000         * sunrpc/xdr_stdio.c: Likewise.
76002 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
76004         [BZ #12650]
76005         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
76006         * sysdeps/ia64/dl-tls.h: Likewise.
76007         * sysdeps/powerpc/dl-tls.h: Likewise.
76008         * sysdeps/s390/dl-tls.h: Likewise.
76009         * sysdeps/sh/dl-tls.h: Likewise.
76010         * sysdeps/sparc/dl-tls.h: Likewise.
76011         * sysdeps/x86_64/dl-tls.h: Likewise.
76012         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
76014 2011-03-14  Andreas Schwab  <schwab@redhat.com>
76016         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
76017         rpath element also skip the following colon.
76018         (expand_dynamic_string_token): Add is_path parameter and pass
76019         down to DL_DST_REQUIRED and _dl_dst_substitute.
76020         (decompose_rpath): Call expand_dynamic_string_token with
76021         non-zero is_path.  Ignore empty rpaths.
76022         (_dl_map_object_from_fd): Call expand_dynamic_string_token
76023         with zero is_path.
76025 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
76027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
76028         Make cancelable.
76030 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
76032         [BZ #12655]
76033         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
76034         Patch by Filipe David Manana <fdmanana@apache.org>.
76036 2011-04-07  Andreas Schwab  <schwab@redhat.com>
76038         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
76039         Maintain aligned stack.
76040         (CHECK_RSP): Remove unused macro.
76042 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
76044         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
76045         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
76047 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
76049         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
76051         * include/features.h: Mention __USE_XOPEN2K8 in comment.
76053 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
76055         [BZ #12518]
76056         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
76057         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
76058         * sysdeps/x86_64/memmove.c: New file.
76059         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
76060         (memcpy): Renamed to ...
76061         (__new_memcpy): This.
76062         (memcpy): Provide GLIBC_2_14 memcpy.
76063         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
76064         (memcpy): Provide GLIBC_2_2_5 memcpy.
76066 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76068         [BZ #12631]
76069         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
76071 2011-03-30  Andreas Schwab  <schwab@redhat.com>
76073         * misc/syncfs.c: New file.
76074         * misc/Makefile (routines): Add syncfs.
76075         * posix/unistd.h: Declare syncfs.
76076         * sysdeps/unix/syscalls.list: Add syncfs.
76078 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76080         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
76081         open_by_handle_at.
76082         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76083         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76084         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76085         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76086         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76087         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
76088         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76090 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76092         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
76093         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76094         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
76095         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76096         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76097         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76098         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76100         * io/Makefile: Compile fallocate.c, fallocate64.c, and
76101         sync_file_range.c with -fexceptions.
76102         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
76103         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
76104         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
76105         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
76106         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
76107         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
76108         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
76109         sync_file_range as cancellation point
76110         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
76111         now a wrapper around __call_sync_file_range with cancellation handling.
76112         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
76113         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
76114         function name to __call_sync_file_range.
76115         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
76116         Add call_sync_file_range.
76118 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76120         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76121         bits/timex.h.
76123 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76125         * iconv/iconv.h: Fix typo in comment.
76126         * io/fcntl.h: Likewise.
76127         * libio/stdio.h: Likewise.
76128         * posix/spawn.h: Likewise.
76129         * posix/unistd.h: Likewise.
76130         * stdlib/stdlib.h: Likewise.
76131         * time/time.h: Likewise.
76132         * wcsmbs/wchar.h: Likewise.
76134         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
76135         open_by_handle): Add.
76136         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
76137         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
76138         Augment a few comments.
76139         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76140         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76141         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76142         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76143         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76144         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
76145         open_by_handle.
76147         * io/fcntl.h (AT_EMPTY_PATH): Define.
76149 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
76151         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
76152         * sysdeps/unix/sysv/linux/bits/time.h: New file.
76153         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
76154         to...
76155         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
76156         * Versions.def: Add GLIBC_2.14.
76157         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
76158         Export.
76160 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
76162         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
76163         round counter.
76164         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76166 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76168         [BZ #12597]
76169         * string/test-strncmp.c (do_page_test): New function.
76170         (check2): Likewise.
76171         (test_main): Call check2.
76172         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
76174 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
76176         [BZ #12587]
76177         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
76178         Handle cache information in CPU leaf 4.
76179         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76181 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
76183         [BZ #12583]
76184         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
76185         character representation.
76186         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
76188 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
76190         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
76191         END(__isnan) to END(__isnanf) to match function entry point/label
76192         EALIGN(__isnanf,...).
76194 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
76196         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
76198 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
76200         [BZ #12510]
76201         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
76202         copy from the symbol referenced in the relocation to initialize the
76203         used variable.
76204         Patch by Piotr Bury <pbury@goahead.com>.
76205         * elf/Makefile: Add rules to build and tst-unique3.
76206         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
76207         * elf/tst-unique3.cc: New file.
76208         * elf/tst-unique3.h: New file.
76209         * elf/tst-unique3lib.cc: New file.
76210         * elf/tst-unique3lib2.cc: New file.
76212         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
76214 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
76216         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
76217         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
76218         to _start.
76220 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
76222         * elf/dl-load.c (_dl_map_object): If we are looking for the first
76223         to-be-loaded object along a path to loader is ld.so.
76225 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76226             Ulrich Drepper  <drepper@gmail.com>
76228         * sysdeps/x86_64/memset.S: After aligning destination, code
76229         branches to different locations depending on the value of
76230         misalignment, when multiarch is enabled. Fix this.
76232 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76234         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
76235         Set _x86_64_preferred_memory_instruction for AMD processsors.
76236         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76237         Set bit_Prefer_SSE_for_memop for AMD processors.
76239 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
76241         * libio/fmemopen.c (fmemopen): Optimize a bit.
76243 2011-03-03  Andreas Schwab  <schwab@redhat.com>
76245         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
76247 2011-03-03  Roland McGrath  <roland@redhat.com>
76249         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
76251 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
76253         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
76254         __bzero_ultra1 instead of __memset_ultra1.
76256 2011-02-23  Andreas Schwab  <schwab@redhat.com>
76257             Ulrich Drepper  <drepper@gmail.com>
76259         [BZ #12509]
76260         * include/link.h (struct link_map): Add l_orig_initfini.
76261         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
76262         returning unsuccessfully.
76263         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
76264         close of a file loaded at startup, restore the original l_initfini
76265         list.
76266         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
76267         list, store the pointer.
76268         * elf/Makefile ($(objpfx)noload-mem): New rule.
76269         (noload-ENV): Define.
76270         (tests): Add $(objpfx)noload-mem.
76271         * elf/noload.c: Include <memcheck.h>.
76272         (main): Call mtrace.  Close all opened handles.
76274 2011-02-17  Andreas Schwab  <schwab@redhat.com>
76276         [BZ #12454]
76277         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
76278         dependencies are missing.
76280 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76282         Fix __if_freereq crash: Unlike the generic version which uses free,
76283         Hurd needs munmap.
76284         * sysdeps/mach/hurd/ifreq.h: New file.
76286 2011-01-27  Petr Baudis  <pasky@suse.cz>
76287             Ulrich Drepper  <drepper@gmail.com>
76289         [BZ 12445]#
76290         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
76291         to extend_alloca().
76292         * stdio-common/bug23.c: New file.
76293         * stdio-common/Makefile (tests): Add bug23.
76295 2010-09-28  Andreas Schwab  <schwab@redhat.com>
76296             Ulrich Drepper  <drepper@gmail.com>
76298         [BZ #12489]
76299         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
76300         before performing relro protection.  At old place add assertion
76301         to make sure nothing changed.
76303 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
76304             Glauber de Oliveira Costa  <glommer@gmail.com>
76306         * elf/elf.h: Add new ARM TLS relocs.
76308 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
76310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76311         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
76312         cast from r3.
76313         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
76314         'tests' variable.
76315         * sysdeps/wordsize-64/tst-writev.c: New file.
76317 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
76319         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
76320         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
76321         insns in _dl_start to prevent a TOC reference before relocs are
76322         resolved.
76324 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
76326         [BZ #12469]
76327         * Makeconfig: Remove RANLIB definition.
76328         * Makerules: Don't use RANLIB.
76329         * aclocal.m4: Remove ranlib test.
76330         * configure.in: No need to check for ranlib.
76331         * elf/rtld-Rules: Don't use RANLIB.
76333 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76335         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
76336         protection macro.
76337         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
76338         inclusion protection macro.
76340         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
76341         SIGRTMIN and SIGRTMAX and print information in that case only when
76342         SIGRTMIN is defined.
76344 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
76346         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
76347         arginfo fn returning -1.
76349         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
76350         and thousands string is zero terminated.
76352 2011-02-03  Andreas Schwab  <schwab@redhat.com>
76354         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
76355         sysdeps/unix/sysv/linux/bits/socket.h.
76357 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76359         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
76360         (__CPU_COUNT): Remove old macros.
76361         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
76362         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
76363         (__CPU_ALLOC, __CPU_FREE): Add macros.
76364         (__sched_cpualloc, __sched_cpufree): Add declarations.
76366 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
76368         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
76369         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
76370         * nscd/aicache.c (addhstaiX): Return timeout of added value.
76371         (readdhstai): Return value of addhstaiX call.
76372         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
76373         (addgrbyX): Return value returned by cache_addgr.
76374         (readdgrbyname): Return value returned by addgrbyX.
76375         (readdgrbygid): Likewise.
76376         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
76377         (addpwbyX): Return value returned by cache_addpw.
76378         (readdpwbyname): Return value returned by addhstbyX.
76379         (readdpwbyuid): Likewise.
76380         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
76381         (addservbyX): Return value returned by cache_addserv.
76382         (readdservbyname): Return value returned by addservbyX:
76383         (readdservbyport): Likewise.
76384         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
76385         (addhstbyX): Return value returned by cache_addhst.
76386         (readdhstbyname): Return value returned by addhstbyX.
76387         (readdhstbyaddr): Likewise.
76388         (readdhstbynamev6): Likewise.
76389         (readdhstbyaddrv6): Likewise.
76390         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
76391         (readdinitgroups): Return value returned by addinitgroupsX.
76392         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
76393         (prune_cache): Keep track of timeout value of re-added entries.
76394         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
76395         * nscd/nscd.h: Adjust prototypes of readd* functions.
76397 2011-02-04  Roland McGrath  <roland@redhat.com>
76399         * nis/nis_server.c (nis_servstate): Use the right name for 0.
76400         (nis_stats): Likewise.
76401         * nis/nis_modify.c (nis_modify): Likewise.
76402         * nis/nis_remove.c (nis_remove): Likewise.
76403         * nis/nis_add.c (nis_add): Likewise.
76405         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
76407         * posix/fnmatch_loop.c: Add some consts.
76409         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
76411 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
76413         [BZ #12460]
76414         * config.make.in (config-cflags-novzeroupper): Define.
76415         * configure.in: Substitute libc_cv_cc_novzeroupper.
76416         * elf/Makefile (AVX-CFLAGS): Define.
76417         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
76418         (CFLAGS-tst-auditmod4a.c): Likewise.
76419         (CFLAGS-tst-auditmod4b.c): Likewise.
76420         (CFLAGS-tst-auditmod6b.c): Likewise.
76421         (CFLAGS-tst-auditmod6c.c): Likewise.
76422         (CFLAGS-tst-auditmod7b.c): Likewise.
76423         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
76425 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
76427         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
76428         function to the callback.
76429         Patch partly by Jiri Olsa <jolsa@redhat.com>.
76431 2011-02-02  Andreas Schwab  <schwab@redhat.com>
76433         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
76434         of errno.
76436 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
76438         [BZ #11724]
76439         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
76440         of constructors.
76441         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
76442         of destructors.
76443         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
76445         [BZ #11724]
76446         * elf/Makefile: Add rules to build and run new test.
76447         * elf/tst-initorder.c: New file.
76448         * elf/tst-initorder.exp: New file.
76449         * elf/tst-initordera1.c: New file.
76450         * elf/tst-initordera2.c: New file.
76451         * elf/tst-initordera3.c: New file.
76452         * elf/tst-initordera4.c: New file.
76453         * elf/tst-initorderb1.c: New file.
76454         * elf/tst-initorderb2.c: New file.
76455         * elf/tst-order-a1.c: New file.
76456         * elf/tst-order-a2.c: New file.
76457         * elf/tst-order-a3.c: New file.
76458         * elf/tst-order-a4.c: New file.
76459         * elf/tst-order-b1.c: New file.
76460         * elf/tst-order-b2.c: New file.
76461         * elf/tst-order-main.c: New file.
76462         New test case by George Gensure <werkt0@gmail.com>.
76464 2010-10-01  Andreas Schwab  <schwab@redhat.com>
76466         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76467         decoding ACE if AI_CANONIDN.
76469 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
76471         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
76473 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
76475         * version.h (RELEASE): Bump for 2.13 release.
76476         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
76478         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
76480         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
76481         MADV_NOHUGEPAGE.
76482         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
76483         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
76484         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76485         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76486         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76487         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76489         * posix/getconf.c: Update copyright year.
76490         * catgets/gencat.c: Likewise.
76491         * csu/version.c: Likewise.
76492         * debug/catchsegv.sh: Likewise.
76493         * debug/xtrace.sh: Likewise.
76494         * elf/ldconfig.c: Likewise.
76495         * elf/ldd.bash.in: Likewise.
76496         * elf/sprof.c (print_version): Likewise.
76497         * iconv/iconv_prog.c: Likewise.
76498         * iconv/iconvconfig.c: Likewise.
76499         * locale/programs/locale.c: Likewise.
76500         * locale/programs/localedef.c: Likewise.
76501         * malloc/memusage.sh: Likewise.
76502         * malloc/mtrace.pl: Likewise.
76503         * nscd/nscd.c (print_version): Likewise.
76504         * nss/getent.c: Likewise.
76506         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
76507         PF_CAIF, and PF_ALG.
76508         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76510 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
76512         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
76513         (modules-names): Use them.
76514         (ifunc-test-modules, ifunc-pie-tests): Define.
76515         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
76516         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
76517         (test-extras): Likewise.
76518         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
76519         $(compile-command.c).
76520         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
76521         (all-built-dso): Define.
76522         (check-textrel.out, check-execstack.out): Depend on it.
76524         * configure.in: Don't override --enable-multi-arch.
76526 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
76528         [BZ #6812]
76529         * nscd/hstcache.c (tryagain): Define.
76530         (cache_addhst): Return tryagain not notfound for temporary errors.
76531         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
76532         failed.
76534 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
76536         [BZ #10563]
76537         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
76538         to make the syscall.
76539         * sysdeps/unix/sysv/linux/setgroups.c: New file.
76541         [BZ #12378]
76542         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
76543         and fall back to matching as normal character if the string ends before
76544         the matching ']' is found.  This is what POSIX requires.
76545         * posix/testfnm.c: Adjust test result.
76546         * posix/globtest.sh: Adjust test result.  Add new test.
76547         * posix/tst-fnmatch.input: Likewise.
76548         * posix/tst-fnmatch2.c: Add new test.
76550 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
76552         * elf/Makefile (check-execstack): Revert last change.  Depend on
76553         check-execstack.h.
76554         (check-execstack.h): New target.
76555         (generated): Add check-execstack.h.
76556         * elf/check-execstack.c: Include "check-execstack.h".
76557         (main): Revert last change.
76558         (handle_file): Return zero if GNU_STACK is absent and
76559         DEFAULT_STACK_PERMS doesn't include PF_X.
76561 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
76563         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
76564         in child fails because the descriptor is already closed.
76565         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
76566         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
76567         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
76569         [BZ #12397]
76570         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
76571         syscall.
76573         [BZ #10484]
76574         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
76575         temporary buffer used to handle multi lookups locally.
76576         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
76578 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76580         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
76581         loader is ld.so.
76583 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
76585         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
76586         alignment for SSE2.
76588 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76590         [BZ #12394]
76591         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
76592         characters.  When rounding increased number of integer digits recompute
76593         number of groups.
76594         * stdio-common/tst-grouping.c: New file.
76595         * stdio-common/Makefile: Add rules to build and run tst-grouping.
76597 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
76599         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
76600         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
76602         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
76603         void.
76604         * bits/select.h: Likewise.
76606 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
76608         * po/ja.po: Update from translation team.
76610 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
76612         [BZ #11155]
76613         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
76614         implementation just like for lxstat, fxstatat, et al.
76616 2010-12-27  Jim Meyering  <meyering@redhat.com>
76618         [BZ #12348]
76619         * posix/regexec.c (build_trtable): Return failure indication upon
76620         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
76622 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
76624         [BZ #12201]
76625         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
76626         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
76627         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
76628         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
76630         [BZ #12207]
76631         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
76633         [BZ #12204]
76634         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
76635         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
76637 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
76639         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
76640         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
76641         script has SORT_BY_INIT_PRIORITY.
76642         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
76643         NO_CTORS_DTORS_SECTIONS is defined.
76644         * elf/soinit.c: Likewise.
76645         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
76646         NO_CTORS_DTORS_SECTIONS is defined.
76647         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
76648         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
76649         * sysdeps/sh/init-first.c: Likewise.
76650         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
76652 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
76654         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
76655         always use the slow path.
76657 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
76659         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
76660         similar rule which adds the sysdep directories to the header search in
76661         order to pick up the correct platform stackinfo.h.
76662         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
76663         perform test if it is, otherwise return successfully without testing.
76664         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
76665         DEFAULT_STACK_PERMS define in stackinfo.h.
76666         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
76667         defined in stackinfo.h.
76668         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
76669         DEFAULT_STACK_PERMS defined in stackinfo.h.
76670         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
76671         * sysdeps/ia64/stackinfo.h: Likewise.
76672         * sysdeps/s390/stackinfo.h: Likewise.
76673         * sysdeps/sh/stackinfo.h: Likewise.
76674         * sysdeps/sparc/stackinfo.h: Likewise.
76675         * sysdeps/x86_64/stackinfo.h: Likewise.
76676         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76677         PF_X for powerpc64.  Retain PF_X for powerpc32.
76679 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
76681         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76682         accurately.
76683         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76684         GETDENTS_64BIT_ALIGNED.
76686 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
76688         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76690 2010-12-10  Andreas Schwab  <schwab@redhat.com>
76692         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76693         _GNU_SOURCE.
76695         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76696         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76697         Remove __restrict.
76698         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76699         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76701 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
76703         [BZ #11655]
76704         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76705         are initialized.
76707 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
76709         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76711 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
76713         * po/it.po: Update from translation team.
76715 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
76717         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76718         unused codes.
76720 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
76722         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76724 2010-11-24  Andreas Schwab  <schwab@redhat.com>
76726         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76727         specially.
76728         (gaih_getanswer_slice): Likewise.
76730 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
76732         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76734 2010-05-31  Petr Baudis  <pasky@suse.cz>
76736         [BZ #11149]
76737         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76738         silently even in the chroot mode.
76740 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
76742         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76743         last patch a bit.  Pretty printing
76745 2010-05-31  Petr Baudis <pasky@suse.cz>
76747         [BZ #10085]
76748         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76749         initialization of skip_initgroups_dyn.
76751 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
76753         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76754         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76756 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
76758         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76760 2010-11-11  Andreas Schwab  <schwab@redhat.com>
76762         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76763         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76764         (tst-fnmatch-ENV): Set MALLOC_TRACE.
76765         ($(objpfx)tst-fnmatch-mem): New rule.
76766         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76767         * posix/tst-fnmatch.c (main): Call mtrace.
76769 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
76771         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76772         Support Intel processor model 6 and model 0x2c.
76774 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
76776         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76777           signed comparison.
76779 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
76781         [BZ #12205]
76782         * string/test-strncasecmp.c (check_result): New function.
76783         (do_one_test): Use it.
76784         (check1): New function.
76785         (test_main): Use it.
76786         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76787         Support strcasecmp and strncasecmp.
76789 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
76791         [BZ #12194]
76792         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76793         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76795 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
76797         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76798         IFUNC support.
76799         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76800         memset-x86-64.
76801         * sysdeps/x86_64/multiarch/bzero.S: New file.
76802         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76803         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76804         * sysdeps/x86_64/multiarch/memset.S: New file.
76805         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76806         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76807         Set bit_Prefer_SSE_for_memop for Intel processors.
76808         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76809         Define.
76810         (index_Prefer_SSE_for_memop): Define.
76811         (HAS_PREFER_SSE_FOR_MEMOP): Define.
76813 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
76815         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76816         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76818 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
76820         [BZ #12191]
76821         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76822         (__x86_64_raw_data_cache_size_half): Likewise.
76823         (__x86_64_raw_shared_cache_size): Likewise.
76824         (__x86_64_raw_shared_cache_size_half): Likewise.
76826         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76827         (__x86_64_raw_data_cache_size_half): Likewise.
76828         (__x86_64_raw_shared_cache_size): Likewise.
76829         (__x86_64_raw_shared_cache_size_half): Likewise.
76830         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76831         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76832         and __x86_64_raw_shared_cache_size_half.  Round
76833         __x86_64_data_cache_size_half, __x86_64_data_cache_size
76834         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76835         to multiple of 256 bytes.
76837 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
76839         [BZ #12167]
76840         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76841         of inacessible symlinks.  Verify result of symlink before returning it.
76842         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76843         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76845 2010-10-28  Erich Ritz  <erichritz@gmail.com>
76847         * math/math.h (isinf): Fix typo in comment.
76849 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
76851         * po/da.po: Update from translation team.
76853 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
76855         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76856         is added to the list.
76858 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76859             Ulrich Drepper  <drepper@gmail.com>
76861         * elf/dl-object.c (_dl_new_object): Don't append the new object to
76862         the global list here.  Move code to...
76863         (_dl_add_to_namespace_list): ...here.  New function.
76864         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76865         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76866         * elf/dl-load.c (lose): Don't remove the element from the list.
76867         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76868         (_dl_map_object): Likewise.
76870 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
76872         [BZ #12159]
76873         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76874         into all bytes of SSE register.
76875         Patch by Richard Li <richardpku@gmail.com>.
76877 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
76879         [BZ #12140]
76880         * malloc/malloc.c (_int_free): Fill correct number of bytes when
76881         perturbing.
76883 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
76885         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76886         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76887         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76888         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76890         submachine.
76891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76893 2010-10-22  Andreas Schwab  <schwab@redhat.com>
76895         * include/dlfcn.h (__RTLD_SECURE): Define.
76896         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
76897         mode & __RTLD_SECURE instead.
76898         (open_path): Rename preloaded parameter to secure.
76899         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76900         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76901         * elf/dl-deps.c (openaux): Likewise.
76902         * elf/rtld.c (struct map_args): Remove is_preloaded.
76903         (map_doit): Don't use it.
76904         (dl_main): Likewise.
76905         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76906         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76908 2010-09-09  Andreas Schwab  <schwab@redhat.com>
76910         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76911         (sysd-rules-targets): Remove duplicates.
76912         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76913         rtld-%.$o dependency.
76915 2010-10-18  Andreas Schwab  <schwab@redhat.com>
76917         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76918         _dl_map_object do it.
76920 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
76922         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76923         fast fma builtins, define the macros in the C99 standard.
76924         (FP_FAST_FMAF): Likewise.
76925         (FP_FAST_FMAL): Likewise.
76926         * sysdeps/x86_64/bits/mathdef.h: Likewise.
76928         * bits/mathdef.h: Update copyright year.
76929         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76931 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
76933         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76934         builtins, define the macros in the C99 standard.
76935         (FP_FAST_FMAF): Likewise.
76936         (FP_FAST_FMAL): Likewise.
76937         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76938         multiply/add.
76939         (FP_FAST_FMAF): Likewise.
76941 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
76943         [BZ #3268]
76944         * math/libm-test.inc (fma_test): Some new testcases.
76945         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76946         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76947         y and infinite z.  Do multiplication by C already in long double.
76948         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76949         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76950         y and infinite z.  Do bitwise or of inexact bit into u.d.
76951         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76952         * sysdeps/i386/fpu/s_fmaf.S: Removed.
76953         * sysdeps/i386/fpu/s_fma.S: Removed.
76954         * sysdeps/i386/fpu/s_fmal.S: Removed.
76956 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
76958         [BZ #3268]
76959         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76960         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76961         computation is not scheduled after fetestexcept.  Fix value
76962         of minimum denormal long double.
76964 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
76966         [BZ #3268]
76967         * math/libm-test.inc (fma_test): Add some more tests.
76968         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76969         correctly.
76971 2010-10-15  Andreas Schwab  <schwab@redhat.com>
76973         * scripts/data/localplt-s390-linux-gnu.data: New file.
76974         * scripts/data/localplt-s390x-linux-gnu.data: New file.
76976 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
76978         [BZ #3268]
76979         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76980         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76981         instead of dbl-64.
76982         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76983         inlines.
76984         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76985         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76986         if one of x and y is very large and the other is subnormal.
76987         * sysdeps/s390/fpu/s_fmaf.c: New file.
76988         * sysdeps/s390/fpu/s_fma.c: New file.
76989         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76990         * sysdeps/powerpc/fpu/s_fma.S: New file.
76991         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76992         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76993         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76995 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
76997         [BZ #3268]
76998         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76999         fma tests.
77000         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
77001         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
77002         * sysdeps/i386/i686/multiarch/s_fma.c: Include
77003         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
77004         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
77005         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
77006         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
77008 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
77010         [BZ #12078]
77011         * posix/regcomp.c (parse_branch): One more memory leak plugged.
77012         * posix/bug-regex31.input: Add test case.
77014 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77016         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
77017         * posix/bug-regex31.input: New file.
77019         [BZ #12078]
77020         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
77021         (parse_sub_exp): Fix last change, use postorder.
77023         * posix/bug-regex31.c: New file.
77024         * posix/Makefile: Add rules to build and run bug-regex31.
77026         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
77028         [BZ #12078]
77029         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
77031         [BZ #12108]
77032         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
77033         to have entries in sys_siglist.
77035         [BZ #12093]
77036         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
77037         be NULL.
77039 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
77041         [BZ #3268]
77042         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
77043         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
77044         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
77045         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
77046         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77047         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
77048         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
77049         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
77050         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
77051         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
77052         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
77053         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
77054         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
77055         * math/ftestexcept.c (fetestexcept): Likewise.
77056         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
77057         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
77058         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
77059         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
77060         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
77061         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
77062         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77064 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77066         [BZ #12107]
77067         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
77068         newline.
77070 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
77072         * string/bug-strstr1.c: New file.
77073         * string/Makefile: Add rules to build and run bug-strstr1.
77075 2010-10-05  Eric Blake  <eblake@redhat.com>
77077         [BZ #12092]
77078         * string/str-two-way.h (two_way_long_needle): Always clear memory
77079         when skipping input due to the shift table.
77081 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
77083         [BZ #12005]
77084         * malloc/mcheck.c: Handle large requests.
77086         [BZ #12077]
77087         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
77088         for strncmp and strncasecmp.
77089         * string/stratcliff.c: Add tests for strcmp and strncmp.
77090         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
77092 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77094         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
77095         __set_fpscr.
77097 2010-09-30  Andreas Jaeger  <aj@suse.de>
77099         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
77100         (CGROUP_SUPER_MAGIC): Define.
77101         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77102         Handle btrfs and cgroup file systems.
77103         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
77104         Likewise.
77106 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
77108         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
77109         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
77111 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77113         [BZ #12067]
77114         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
77115         trying to locate the ELF header.
77117 2010-09-27  Andreas Schwab  <schwab@redhat.com>
77119         [BZ #11611]
77120         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
77121         Mask out sign-bit copies when constructing f_fsid.
77123 2010-09-24  Petr Baudis <pasky@suse.cz>
77125         * debug/stack_chk_fail_local.c: Add missing licence exception.
77126         * debug/warning-nop.c: Likewise.
77128 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
77130         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
77131         implementing getdents64 using getdents syscall, set d_type if
77132         __ASSUME_GETDENTS32_D_TYPE.
77134 2010-09-16  Andreas Schwab  <schwab@redhat.com>
77136         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
77137         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
77139 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
77141         [BZ #12037]
77142         * posix/unistd.h: Undo change of feature selection for ftruncate from
77143         2010-01-11.
77145 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
77147         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
77148         detection.
77150 2010-09-20  Andreas Schwab  <schwab@redhat.com>
77152         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
77153         fanotify_mark.
77154         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77156 2010-09-14  Andreas Schwab  <schwab@redhat.com>
77158         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
77159         variables after CHECK_SP call.
77160         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
77162 2010-09-13  Andreas Schwab  <schwab@redhat.com>
77163             Ulrich Drepper  <drepper@redhat.com>
77165         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
77166         re-relocationg ld.so.
77167         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
77168         _dl_init_paths call.
77169         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
77170         here anymore.
77172 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
77174         * resolv/res_init.c (__res_vinit): Count the default server we added.
77176 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
77177             Ulrich Drepper  <drepper@redhat.com>
77179         [BZ #11968]
77180         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77181         (____longjmp_chk): Use %ebx for saving value across system call.
77182         Add unwind info.
77184 2010-09-06  Andreas Schwab  <schwab@redhat.com>
77186         * manual/Makefile: Don't mix pattern rules with normal rules.
77188 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77190         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
77191         operation.
77192         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
77193         * libio/iofopncook.c (_IO_cookie_init): Likewise.
77194         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
77195         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
77196         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77197         Likewise.
77199 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
77201         [BZ #11979]
77202         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
77203         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
77205 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
77207         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
77208         * sysdeps/x86_64/addmul_1.S: Likewise.
77209         * sysdeps/x86_64/lshift.S: Likewise.
77210         * sysdeps/x86_64/mul_1.S: Likewise.
77211         * sysdeps/x86_64/rshift.S: Likewise.
77212         * sysdeps/x86_64/sub_n.S: Likewise.
77213         * sysdeps/x86_64/submul_1.S: Likewise.
77215 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77217         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
77218         Define __sched_param instead of SCHED_* and sched_param when
77219         <bits/sched.h> is included with __need_schedparam defined.
77220         * bits/sched.h [__need_schedparam]
77221         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
77222         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
77223         (__defined_schedparam): Define to 1.
77224         (__sched_param): New structure, identical to sched_param.
77225         (__need_schedparam): Undefine.
77227 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
77229         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
77230         (epoll_create1): Declare.
77232         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
77234 2010-08-31  Andreas Schwab  <schwab@redhat.com>
77236         [BZ #7066]
77237         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
77238         shifting retval into place.
77240 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
77242         * nis/rpcsvc/nis.h: Update copyright notice.
77243         * nis/rpcsvc/nis.x: Likewise.
77244         * nis/rpcsvc/nis_callback.h: Likewise.
77245         * nis/rpcsvc/nis_callback.x: Likewise.
77246         * nis/rpcsvc/nis_object.x: Likewise.
77247         * nis/rpcsvc/nis_tags.h: Likewise.
77248         * nis/rpcsvc/yp.h: Likewise.
77249         * nis/rpcsvc/yp.x: Likewise.
77250         * nis/rpcsvc/ypupd.h: Likewise.
77251         * nis/yp_xdr.c: Likewise.
77252         * nis/ypupdate_xdr.c: Likewise.
77254         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
77255         mainly the body of pmap_getport.  Add parameters to specify timeouts.
77256         (pmap_getport): Use __libc_rpc_getport.
77257         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
77258         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
77259         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
77261 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
77263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
77264         fanotify_mark.
77266 2010-08-27  Roland McGrath  <roland@redhat.com>
77268         * sysdeps/i386/i686/multiarch/Makefile
77269         (CFLAGS-varshift.c): New variable.
77271 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
77273         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
77274         * sysdeps/i386/i686/multiarch/varshift.c: New file.
77276         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
77278         * sysdeps/x86_64/strlen.S: Minimal code improvement.
77280 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
77282         * sysdeps/x86_64/strlen.S: Unroll the loop.
77283         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77284         strlen-sse2 strlen-sse2-bsf.
77285         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
77286         __strlen_no_bsf if bit_Slow_BSF is set.
77287         (__strlen_sse42): Removed.
77288         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
77289         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
77291 2010-08-25  Roland McGrath  <roland@redhat.com>
77293         * sysdeps/x86_64/multiarch/varshift.S: File removed.
77294         * sysdeps/x86_64/multiarch/varshift.c: New file.
77295         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
77296         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
77297         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
77298         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
77300 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
77302         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77303         strlen-sse2 strlen-sse2-bsf.
77304         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
77305         __strlen_sse2_bsf if bit_Slow_BSF is unset.
77306         (__strlen_sse2): Removed.
77307         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
77308         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
77309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
77310         bit_Slow_BSF for Atom.
77311         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
77312         (index_Slow_BSF): Define.
77313         (HAS_SLOW_BSF): Define.
77315 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
77317         [BZ #10851]
77318         * resolv/res_init.c (__res_vinit): When no server address at all
77319         is given default to loopback.
77321 2010-08-24  Roland McGrath  <roland@redhat.com>
77323         * configure.in: Remove config-name.h generation.
77324         * configure: Regenerated.
77325         * config-name.in: File removed.
77326         * scripts/config-uname.sh: New file.
77327         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
77328         ($(objdir)config-name.h): New target.
77330         * sunrpc/rpc_parse.h: Avoid nested comment.
77332 2010-08-24  Richard Henderson  <rth@redhat.com>
77333             Ulrich Drepper  <drepper@redhat.com>
77334             H.J. Lu  <hongjiu.lu@intel.com>
77336         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
77337         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
77338         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
77339         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
77340         _mm_alignr_epi8 with _mm_loadu_si128.
77341         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
77342         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
77343         (__m128i_shift_right): Removed.
77344         * sysdeps/i386/i686/multiarch/varshift.h: New file.
77345         * sysdeps/i386/i686/multiarch/varshift.S: New file.
77346         * sysdeps/x86_64/multiarch/varshift.h: New file.
77347         * sysdeps/x86_64/multiarch/varshift.S: New file.
77349 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
77351         * configure.in: Move assembler checks to before sysdep dir checking.
77353 2010-08-20  Petr Baudis  <pasky@suse.cz>
77355         * LICENSES: Sync the sunrpc license.
77357 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
77359         * sunrpc/auth_des.c: Update copyright notice once again.
77360         * sunrpc/auth_none.c: Likewise.
77361         * sunrpc/auth_unix.c: Likewise.
77362         * sunrpc/authdes_prot.c: Likewise.
77363         * sunrpc/authuxprot.c: Likewise.
77364         * sunrpc/bindrsvprt.c: Likewise.
77365         * sunrpc/clnt_gen.c: Likewise.
77366         * sunrpc/clnt_perr.c: Likewise.
77367         * sunrpc/clnt_raw.c: Likewise.
77368         * sunrpc/clnt_simp.c: Likewise.
77369         * sunrpc/clnt_tcp.c: Likewise.
77370         * sunrpc/clnt_udp.c: Likewise.
77371         * sunrpc/clnt_unix.c: Likewise.
77372         * sunrpc/des_crypt.c: Likewise.
77373         * sunrpc/des_soft.c: Likewise.
77374         * sunrpc/get_myaddr.c: Likewise.
77375         * sunrpc/getrpcport.c: Likewise.
77376         * sunrpc/key_call.c: Likewise.
77377         * sunrpc/key_prot.c: Likewise.
77378         * sunrpc/openchild.c: Likewise.
77379         * sunrpc/pm_getmaps.c: Likewise.
77380         * sunrpc/pm_getport.c: Likewise.
77381         * sunrpc/pmap_clnt.c: Likewise.
77382         * sunrpc/pmap_prot.c: Likewise.
77383         * sunrpc/pmap_prot2.c: Likewise.
77384         * sunrpc/pmap_rmt.c: Likewise.
77385         * sunrpc/rpc/auth.h: Likewise.
77386         * sunrpc/rpc/auth_unix.h: Likewise.
77387         * sunrpc/rpc/clnt.h: Likewise.
77388         * sunrpc/rpc/des_crypt.h: Likewise.
77389         * sunrpc/rpc/key_prot.h: Likewise.
77390         * sunrpc/rpc/netdb.h: Likewise.
77391         * sunrpc/rpc/pmap_clnt.h: Likewise.
77392         * sunrpc/rpc/pmap_prot.h: Likewise.
77393         * sunrpc/rpc/pmap_rmt.h: Likewise.
77394         * sunrpc/rpc/rpc.h: Likewise.
77395         * sunrpc/rpc/rpc_des.h: Likewise.
77396         * sunrpc/rpc/rpc_msg.h: Likewise.
77397         * sunrpc/rpc/svc.h: Likewise.
77398         * sunrpc/rpc/svc_auth.h: Likewise.
77399         * sunrpc/rpc/types.h: Likewise.
77400         * sunrpc/rpc/xdr.h: Likewise.
77401         * sunrpc/rpc_clntout.c: Likewise.
77402         * sunrpc/rpc_cmsg.c: Likewise.
77403         * sunrpc/rpc_common.c: Likewise.
77404         * sunrpc/rpc_cout.c: Likewise.
77405         * sunrpc/rpc_dtable.c: Likewise.
77406         * sunrpc/rpc_hout.c: Likewise.
77407         * sunrpc/rpc_main.c: Likewise.
77408         * sunrpc/rpc_parse.c: Likewise.
77409         * sunrpc/rpc_parse.h: Likewise.
77410         * sunrpc/rpc_prot.c: Likewise.
77411         * sunrpc/rpc_sample.c: Likewise.
77412         * sunrpc/rpc_scan.c: Likewise.
77413         * sunrpc/rpc_scan.h: Likewise.
77414         * sunrpc/rpc_svcout.c: Likewise.
77415         * sunrpc/rpc_tblout.c: Likewise.
77416         * sunrpc/rpc_util.c: Likewise.
77417         * sunrpc/rpc_util.h: Likewise.
77418         * sunrpc/rpcinfo.c: Likewise.
77419         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
77420         * sunrpc/rpcsvc/key_prot.x: Likewise.
77421         * sunrpc/rpcsvc/klm_prot.x: Likewise.
77422         * sunrpc/rpcsvc/mount.x: Likewise.
77423         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
77424         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
77425         * sunrpc/rpcsvc/rex.x: Likewise.
77426         * sunrpc/rpcsvc/rstat.x: Likewise.
77427         * sunrpc/rpcsvc/rusers.x: Likewise.
77428         * sunrpc/rpcsvc/sm_inter.x: Likewise.
77429         * sunrpc/rpcsvc/spray.x: Likewise.
77430         * sunrpc/rpcsvc/yppasswd.x: Likewise.
77431         * sunrpc/rtime.c: Likewise.
77432         * sunrpc/svc.c: Likewise.
77433         * sunrpc/svc_auth.c: Likewise.
77434         * sunrpc/svc_authux.c: Likewise.
77435         * sunrpc/svc_raw.c: Likewise.
77436         * sunrpc/svc_run.c: Likewise.
77437         * sunrpc/svc_simple.c: Likewise.
77438         * sunrpc/svc_tcp.c: Likewise.
77439         * sunrpc/svc_udp.c: Likewise.
77440         * sunrpc/svc_unix.c: Likewise.
77441         * sunrpc/svcauth_des.c: Likewise.
77442         * sunrpc/xcrypt.c: Likewise.
77443         * sunrpc/xdr.c: Likewise.
77444         * sunrpc/xdr_array.c: Likewise.
77445         * sunrpc/xdr_float.c: Likewise.
77446         * sunrpc/xdr_mem.c: Likewise.
77447         * sunrpc/xdr_rec.c: Likewise.
77448         * sunrpc/xdr_ref.c: Likewise.
77449         * sunrpc/xdr_sizeof.c: Likewise.
77450         * sunrpc/xdr_stdio.c: Likewise.
77452         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
77453         handling.
77455 2010-08-19  Andreas Schwab  <schwab@redhat.com>
77457         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
77459 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
77461         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
77462         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
77463         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
77464         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
77465         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
77466         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
77467         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
77468         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
77469         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
77470         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
77471         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
77472         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
77473         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
77474         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
77476 2010-07-26  Anton Blanchard  <anton@samba.org>
77478         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
77479         * malloc/arena.c (heap_trim): Likewise.
77481 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
77483         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
77484         here.  Not...
77485         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
77486         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
77488 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
77490         * sysdeps/i386/elf/Makefile: New file.
77492 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77494         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
77495         from fanotify_init.
77496         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
77497         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77499 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
77501         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
77502         of strncasecmp_l.
77503         * sysdeps/multiarch/strcmp.S: Likewise.
77505 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
77507         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77508         strncase_l-nonascii.
77509         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77510         Add strncase_l-ssse3.
77511         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
77512         * sysdeps/x86_64/strcmp.S: Likewise.
77513         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
77514         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
77515         * sysdeps/x86_64/strncase.S: New file.
77516         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
77517         * sysdeps/x86_64/strncase_l.S: New file.
77518         * string/Makefile (strop-tests): Add strncasecmp.
77519         * string/test-strncasecmp.c: New file.
77521         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
77522         warning.
77524         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
77525         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
77527 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77529         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
77531 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
77533         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
77534         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
77535         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
77537 2010-05-01  Alan Modra  <amodra@gmail.com>
77539         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
77540         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
77541         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
77542         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
77543         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
77544         tidying.  Don't tail-call __sigjmp_save for static lib.
77545         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
77546         save location.
77547         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
77548         (CALL_MCOUNT): Add eh info, and nop after bl.
77549         (TAIL_CALL_SYSCALL_ERROR): New macro.
77550         (PSEUDO_RET): Use it.
77551         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
77552         Correct save location of integer regs and cr.
77553         (_dl_profile_resolve): Correct cr save location.  Delete nops
77554         after bl when SHARED.  Reduce cfi size a little by better
77555         placement of cfi directives.
77556         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
77557         make a stack frame.  Instead use parm save area as a temp.
77558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
77559         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
77560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
77561         Don't make a stack frame for parent, use parm save area.
77562         Increase child stack frame to 112 bytes.  Don't save unused reg,
77563         and adjust reg usage.  Set up cfi on error recovery and
77564         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
77565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77566         (__makecontext): Add dummy nop after jump to exit.
77567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
77568         Use correct parm save area and cr save, reduce stack frame.
77569         Correct cfi for possible PSEUDO_RET frame setup.
77570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
77571         Branch to local label emitted by PSEUDO_RET rather than
77572         __syscall_error.
77574 2010-08-12  Andreas Schwab  <schwab@redhat.com>
77576         [BZ #11904]
77577         * locale/programs/locale.c (print_assignment): New function.
77578         (show_locale_vars): Use it.
77580 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
77582         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
77583         field.
77584         (struct statfs64): Likewise.
77585         (_STATFS_F_FLAGS): Define.
77586         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
77587         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77588         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
77589         (ST_VALID): Define locally.
77590         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
77591         __statvfs_getflags, use the provided value.
77592         * sysdeps/unix/sysv/linux/kernel-features.h: Define
77593         __ASSUME_STATFS_F_FLAGS.
77595         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
77597         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
77598         Add sys/fanotify.h.
77599         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
77600         fanotify_mask for GLIBC_2.13.
77601         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
77602         fanotify_init and fanotify_mark.
77603         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77604         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
77606         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
77607         Add prlimit.
77608         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
77609         prlimit64 for GLIBC_2.13.
77610         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
77611         prlimit64.
77612         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
77613         syscall.
77614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
77615         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77616         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
77617         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
77618         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
77619         add prlimit alias.
77620         * sysdeps/unix/sysv/linux/prlimit.c: New file.
77622         [BZ #11903]
77623         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
77624         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
77626         * nss/Makefile: Add rules to build and run tst-nss-test1.
77627         * shlib-versions: Add entry for libnss_test1.
77628         * nss/nss_test1.c: New file.
77629         * nss/tst-nss-test1.c: New file.
77631         * nss/nsswitch.c (__nss_database_custom): Define new variable.
77632         (__nss_configure_lookup): Set appropriate entry in
77633         __nss_configure_lookup to true.
77634         * nss/nsswitch.h: Define enum with indeces of databases in
77635         databases and __nss_database_custom arrays.  Declare
77636         __nss_database_custom.
77637         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
77638         to avoid using nscd when custom rules are installed.
77639         * nss/getXXbyYY_r.c: Likewise.
77640         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
77642         * nss/nss_files/files-parse.c: Whitespace fixes.
77644 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
77646         [BZ #11883]
77647         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
77648         * posix/fnmatch_loop.c: Likewise.
77650 2010-07-17  Andi Kleen  <ak@linux.intel.com>
77652         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
77653         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
77654         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
77655         * Versions.def [GLIBC_2.13]: Add.
77657 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
77659         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77660         Also fail if tpwd after pwuid call is NULL.
77662 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77664         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
77665         when converting to ms.
77667 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77669         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
77670         EOPNOTSUPP errors with ENOTTY.
77671         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
77672         EOPNOTSUPP errors with ENOTTY.
77674 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
77676         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77677         Add strcasecmp_l-ssse3.
77678         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77679         strcasecmp.
77680         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77681         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77682         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77684 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
77686         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77688         * string/Makefile (strop-tests): Add strcasecmp.
77689         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77690         strcasecmp_l-nonascii.
77691         (gen-as-const-headers): Add locale-defines.sym.
77692         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77693         * sysdeps/x86_64/strcasecmp.S: New file.
77694         * sysdeps/x86_64/strcasecmp_l.S: New file.
77695         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77696         * sysdeps/x86_64/locale-defines.sym: New file.
77697         * string/test-strcasecmp.c: New file.
77699         * string/test-strcasestr.c: Test both ends of the range of characters.
77700         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77702 2010-07-29  Roland McGrath  <roland@redhat.com>
77704         [BZ #11856]
77705         * manual/locale.texi (Yes-or-No Questions): Fix example code.
77707 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
77709         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77710         for ld.so.
77712 2010-07-27  Andreas Schwab  <schwab@redhat.com>
77714         * manual/memory.texi (Malloc Tunable Parameters): Document
77715         M_PERTURB.
77717 2010-07-26  Roland McGrath  <roland@redhat.com>
77719         [BZ #11840]
77720         * configure.in (-fgnu89-inline check): Set and substitute
77721         gnu89_inline, not libc_cv_gnu89_inline.
77722         * configure: Regenerated.
77723         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77725 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
77727         * string/test-strnlen.c: New file.
77728         * string/Makefile (strop-tests): Add strnlen.
77729         * string/tester.c (test_strnlen): Add a few more test cases.
77730         * string/tst-strlen.c: Better error reporting.
77732         * sysdeps/x86_64/strnlen.S: New file.
77734 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
77736         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77737         lower-latency instructions.
77739 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
77741         * string/test-strcasestr.c: New file.
77742         * string/test-strstr.c: New file.
77743         * string/Makefile (strop-tests): Add strstr and strcasestr.
77744         * string/str-two-way.h: Don't undefine MAX.
77745         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77747 2010-07-21  Andreas Schwab  <schwab@redhat.com>
77749         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77750         strcasestr-nonascii.
77751         (CFLAGS-strcasestr-nonascii.c): Define.
77752         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77753         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77754         Remove unused attribute.
77756 2010-07-20  Roland McGrath  <roland@redhat.com>
77758         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77759         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
77760         ld.so.cache was broken.  With it, there is no way to disable dsocaps
77761         like LD_HWCAP_MASK can disable hwcaps.
77763 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77765         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77767 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
77769         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77770         call in strcasestr.
77771         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77772         __strcasestr_sse42_nonascii.
77773         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77774         strcasestr-nonascii.c.
77775         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77777 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
77779         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77780         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77781         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77782         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77784 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
77786         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77787         fcntl.
77789 2010-07-06  Andreas Schwab  <schwab@redhat.com>
77791         [BZ #11577]
77792         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77793         dl_signal_cerror.
77795 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
77797         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77798         _PC_PIPE_BUF using F_GETPIPE_SZ.
77800 2010-07-05  Roland McGrath  <roland@redhat.com>
77802         * manual/arith.texi (Rounding Functions): Fix rint description
77803         implicit in round description.
77805 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
77807         * elf/Makefile: Fix linking for a few tests to make recent linker
77808         happy.
77810 2010-06-30  Andreas Schwab  <schwab@redhat.com>
77812         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77813         $(common-objpfx)libc_nonshared.a.
77815 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
77817         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77818         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77819         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77820         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77821         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77822         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77823         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77824         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77839         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77840         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77841         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77842         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77843         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77844         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77845         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77846         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77847         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77848         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77849         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77850         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77866 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
77868         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77869         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
77870         * string/memmove.c (memmove): Renamed to ...
77871         (MEMMOVE): ...this.  Default to memmove.
77872         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77873         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77874         (END_CHK): Define.
77875         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77876         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77877         mempcpy-ssse3-back memmove-ssse3-back.
77878         * sysdeps/x86_64/multiarch/bcopy.S: New file .
77879         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77880         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77881         * sysdeps/x86_64/multiarch/memcpy.S: New file.
77882         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77883         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77884         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77885         * sysdeps/x86_64/multiarch/memmove.c: New file.
77886         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77887         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77888         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77889         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77890         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77891         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77892         Define.
77893         (index_Fast_Copy_Backward): Define.
77894         (HAS_ARCH_FEATURE): Define.
77895         (HAS_FAST_REP_STRING): Define.
77896         (HAS_FAST_COPY_BACKWARD): Define.
77898 2010-06-21  Andreas Schwab  <schwab@redhat.com>
77900         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77901         Restore proper fallback handling.
77903 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
77905         [BZ #11701]
77906         * posix/group_member.c (__group_member): Correct checking loop.
77908         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77909         OOM in getpwuid_r correctly.  Return error number when the caller
77910         should return, otherwise -1.
77911         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77912         call returning > 0 value.
77913         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77915 2010-06-07  Andreas Schwab  <schwab@redhat.com>
77917         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77918         libc_nonshared.a from targets in modules-names.
77920 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
77922         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77923         requires it.
77925 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
77927         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77928         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77929         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77930         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77932 2010-06-02  Andreas Schwab  <schwab@redhat.com>
77934         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77936 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
77938         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77939         and F_GETPIPE_SZ.
77940         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77941         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77942         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77943         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77944         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77945         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77947 2010-06-14  Roland McGrath  <roland@redhat.com>
77949         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77951 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
77953         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77954         __REDIRECT followed by __THROW.
77955         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77956         * posix/getopt.h (getopt): Likewise.
77958 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77960         * hurd/lookup-at.c (__file_name_lookup_at): Accept
77961         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
77962         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77963         in AT_FLAGS.
77964         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77965         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77967 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
77969         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77971 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
77973         [BZ #11640]
77974         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77975         Properly check family and model.
77977 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
77979         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77981 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
77983         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77985 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
77987         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77988         symbol reference.
77990 2010-05-19  Andreas Schwab  <schwab@redhat.com>
77992         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77993         symbol reference.
77995 2010-05-21  Andreas Schwab  <schwab@redhat.com>
77997         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77998         and internal_recvmmsg.
77999         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
78000         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
78001         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
78002         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
78004         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
78005         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
78006         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
78008 2010-05-20  Andreas Schwab  <schwab@redhat.com>
78010         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
78012 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
78014         POWER7 optimizations.
78015         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
78016         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
78018 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
78020         * version.h: Update for 2.13 development version.
78022 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
78024         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
78025         exceptions.  Return 0.
78027 2010-05-07  Roland McGrath  <roland@redhat.com>
78029         * elf/ldconfig.c (main): Add a const.
78031 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
78033         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
78034         (args_options): Add no-idn option.
78035         (ahosts_keys_int): Add idn_flags to ai_flags.
78036         (parse_option): Handle 'i' option to clear idn_flags.
78038         * malloc/malloc.c (_int_free): Possible race in the most recently
78039         added check.  Only act on the data if no current modification
78040         happened.
78042 See ChangeLog.17 for earlier changes.