Support __STDC_WANT_IEC_60559_BFP_EXT__ feature test macro.
[glibc.git] / ChangeLog
blobbd751f26d06b8f28d2a40163b00ac549a8447f01
1 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
4         macro.
5         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
6         * manual/arith.texi (issignaling): Document as ISO from TS
7         18661-1:2014.
8         (nextup): Likewise.
9         (nextupf): Likewise.
10         (nextupl): Likewise.
11         (nextdown): Likewise.
12         (nextdownf): Likewise.
13         (nextdownl): Likewise.
14         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
15         macro.
16         * math/math.h: Define
17         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18         <bits/libc-header-start.h> instead of including <features.h>.
19         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
20         [__USE_GNU].
21         * math/bits/mathcalls.h (nextdown): Declare if
22         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
23         (nextup): Likewise.
24         (__issignaling): Likewise.
26 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
29         check, and remove __glibc_likely hint
30         from FP_INFINITE check.
31         * s_csinhf.c (__csinhf): Likewise.
33         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
34         hint from FP_INFINITE check.
35         * s_csinhl.c (__csinhl): Likewise.
37 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
39         * math/Makefile (libm-calls): Insert F placeholder into
40         object names.  Move w_lgamma_compat* routines into
41         (libm-compat-calls): New variable.
42         (libm-compat-calls-ldouble-yes): New variable.
43         (calls): Insert F placeholder.
44         (generated): Redefine using new type-foreach macro call.
45         (routines): Likewise.
47         (types): New variable to hold a list of symbolic names
48         for each type supported by the target machine.
49         (libm-routines): Redefine using new types variable.
50         (type-foreach): macro to replace fooF with the
51         appropriately suffixed foo for each types.
53         (type-ldouble-suffix): New variable.
54         (type-ldouble-routines): Likewise.
55         (type-ldouble-yes): Likewise.
56         (type-double-suffix): Likewise.
57         (type-double-routines): Likewise.
58         (type-float-suffix): Likewise.
59         (type-float-routines): Likewise.
61         (dbl-only-routines): Remove.
62         (long-c-yes): Likewise.
63         (long-m-routines): Likewise.
64         (long-m-support): Likewise.
65         (long-m-yes): Likewise.
66         (test-longdouble-yes): Likewise.
68         (test-float.o): Simplify by increasing the scope of the
69         recipe which adds libm-test.stmp to the vector types.
70         (test-ifloat.o): Likewise.
71         (test-float-finite.o): Likewise.
72         (test-double.o): Likewise
73         (test-idouble.o): Likewise.
74         (test-double-finite.o): Likewise.
75         (test-ldouble.o): Likewise
76         (test-ildoubl.o): Likewise.
77         (test-ldouble-finite.o): Likewise.
79         (libm-tests): Redefine type tests using foreach and the
80         list of types in types.
82         (CPPFLAGS-test-ildoubl.c): Rename to
83         (CPPFLAGS-test-ildouble.c): New variable
85         * math/test-ildoubl.c: Rename to
86         * math/test-ildouble.c: New file.
88 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
90         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
91         Use fabsl instead of fabs.
92         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
93         Likewise.
94         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
95         Add long double suffix to constant to ensure proper
96         promotion to long double.
98 2016-08-03  Tom Tromey  <tom@tromey.com>
100         [BZ #20311]
101         * nptl_db/Makefile (headers): Add proc_service.h.
102         * nptl_db/proc_service.h: Add include guard.  Use
103         __BEGIN/__END_DECLS.
104         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
105         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
106         arguments.
109 2016-08-03  Florian Weimer  <fweimer@redhat.com>
111         [BZ #17730]
112         Avoid using memalign for TCB allocations.
113         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
114         (_dl_allocate_tls_storage): Use malloc and manual alignment.
115         Avoid alignment gap in the TLS_DTV_AT_TP case.
116         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
117         determine the pointer to free.
118         * nptl/tst-tls3-malloc.c: New test.
119         * nptl/Makefile (tests): Add it.
120         (tst-tls3-malloc): Link with libdl, libpthread.
121         (LDFLAGS-tst-tls3-malloc): Set.
122         (tst-tls3-malloc.out): Depend on DSO used in test.
124 2016-08-03  Florian Weimer  <fweimer@redhat.com>
126         [BZ #17730]
127         Avoid using memalign for TLS allocations.
128         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
129         is_static member with to_free member.
130         (union dtv): Use struct dtv_pointer.
131         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
132         dtv_pointer instead of is_static.
133         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
134         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
135         instead of val.
136         (allocate_dtv_entry): New function.
137         (allocate_and_init): Return struct dtv_pointer.  Call
138         allocate_dtv_entry instead of __libc_memalign.
139         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
140         instead of val.
141         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
142         instead of is_static.  Adjust call to allocate_and_init.
143         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
144         struct dtv_pointer instead of val.
146 2016-08-03  Florian Weimer  <fweimer@redhat.com>
148         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
149         (MALLOC_ALIGN_MASK): Move ...
150         * malloc/malloc-internal.h: ... to here.
151         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
153 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
155         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
156         (UDP_ENCAP_GTP1U): Likewise.
158         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
159         (PF_MAX): Update value.
160         (AF_QIPCRTR): New macro.
162 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
164         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
165         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
166         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
167         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
168         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
169         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
170         s_truncf-vis3, s_trunc-vis3.
171         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
172         (CFLAGS-s_ceil-vis3.c): Likewise.
173         (CFLAGS-s_floorf-vis3.c): Likewise.
174         (CFLAGS-s_floor-vis3.c): Likewise.
175         (CFLAGS-s_truncf-vis3.c): Likewise.
176         (CFLAGS-s_trunc-vis3.c): Likewise.
177         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
178         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
179         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
180         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
181         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
182         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
183         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
184         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
185         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
186         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
187         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
188         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
190 2016-08-02  David S. Miller  <davem@davemloft.net>
192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
193         (__nearbyint_vis3): Don't check for sNaN before float register is
194         loaded with the incoming argument.
195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
196         (__nearbyintf_vis3): Likewise.
197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
198         Likewise.
199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
200         Likewise.
202         * string/test-strncmp.c (do_test_limit): Make sure the test data
203         stream is aligned as required for the type "CHAR".
204         (do_test): Likewise.
206 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
208         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
209         by beq instructions jumping to the end of the function.
210         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
211         clobber list. Use "i" constraint instead of "X".
212         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
213         of "X".
215 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
217         * bits/libc-header-start.h: New file.
218         * Makefile (headers): Add bits/libc-header-start.h.
219         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
220         (__GLIBC_USE): New macro.
221         * libio/stdio.h: Define
222         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
223         <bits/libc-header-start.h> instead of including <features.h>.
224         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
225         (open_memstream): Likewise.
226         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
227         (__asprintf): Likewise.
228         (asprintf): Likewise.
229         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
230         (getdelim): Likewise.
231         (getline): Likewise.
232         * string/string.h: Define
233         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
234         <bits/libc-header-start.h> instead of including <features.h>.
235         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
236         (strndup): Likewise.
237         * wcsmbs/wchar.h: Define
238         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
239         <bits/libc-header-start.h> instead of including <features.h>.
240         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
241         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
243 2016-08-02  Florian Weimer  <fweimer@redhat.com>
245         Support linking against compatibility symbols, for use in tests.
246         * include/libc-symbols.h (symbol_version_reference): New macro.
247         (symbol_version): Use it.
248         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
249         (compat_symbol): Use compat_symbol_reference.
250         (compat_symbol_1, compat_symbol_2): Remove.
251         (compat_symbol_reference, compat_symbol_reference_1)
252         (compat_symbol_reference_2): New macro.  Use
253         symbol_version_reference.
255 2016-08-02  Florian Weimer  <fweimer@redhat.com>
257         [BZ #19469]
258         * malloc/Makefile (CPPFLAGS): Compile tests with
259         -DTEST_NO_MALLOPT.
260         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
262 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
264         [BZ #20033]
265         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
266         finite version.
267         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
268         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
269         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
270         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
271         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
272         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
273         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
274         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
275         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
276         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
277         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
278         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
279         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
280         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
281         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
282         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
283         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
284         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
285         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
286         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
287         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
288         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
289         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
290         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
291         in zero power.
293 2016-08-02  Florian Weimer  <fweimer@redhat.com>
295         [BZ #20370]
296         * malloc/arena.c (get_free_list): Update comment.  Assert that
297         arenas on the free list have no attached threads.
298         (remove_from_free_list): New function.
299         (reused_arena): Call it.
301 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
303         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
304         when it is a NaN.
305         [_IEEE_FP_INEXACT] Remove.
306         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
307         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
308         when it is a NaN.
309         [_IEEE_FP_INEXACT] Remove.
310         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
311         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
312         when it is a NaN.
313         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
314         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
315         when its absolute value is greater than 0x1.0p52.
316         [_IEEE_FP_INEXACT] Remove.
317         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
318         when its absolute value is greater than 0x1.0p23.
319         [_IEEE_FP_INEXACT] Remove.
321 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
323         * version.h (RELEASE): Set to "development"
324         (VERSION): Set to 2.24.90.
325         * NEWS: Add 2.25 section.
327         * version.h (RELEASE): Set to "stable"
328         (VERSION): Set to 2.24.
329         * include/features.h (__GLIBC_MINOR__): Set to 24.
331         * NEWS: Add 2.24 fixed bugs.
332         * po/libc.pot: Regenerate.
334 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
337         [$(subdir) = math] (libm-sysdep_routines): Remove.
338         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
339         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
340         s_truncf-vis3, s_trunc-vis3.
341         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
343         file.
344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
365         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
366         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
367         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
368         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
369         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
370         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
371         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
372         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
373         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
374         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
375         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
376         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
377         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
378         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
379         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
380         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
381         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
382         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
383         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
384         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
385         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
386         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
388 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
390         [BZ #20384]
391         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
392         test-double-libmvec-sincos-avx-main.o,
393         test-double-libmvec-sincos-avx2-main.o,
394         test-double-libmvec-sincos-main.o,
395         test-float-libmvec-sincosf-avx-main.o,
396         test-float-libmvec-sincosf-avx2-main.o and
397         test-float-libmvec-sincosf-main.o.
398         test-float-libmvec-sincosf-avx512-main.o.
399         ($(objpfx)test-double-libmvec-sincos): Also link with
400         $(objpfx)test-double-libmvec-sincos-main.o.
401         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
402         $(objpfx)test-double-libmvec-sincos-avx-main.o.
403         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
404         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
405         ($(objpfx)test-float-libmvec-sincosf): Also link with
406         $(objpfx)test-float-libmvec-sincosf-main.o.
407         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
408         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
409         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
410         test-double-libmvec-sincos-avx512-main.o and
411         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
412         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
413         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
414         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
415         (CFLAGS-test-double-libmvec-sincos.c): Removed.
416         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
417         (CFLAGS-test-double-libmvec-sincos-main.c): New.
418         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
419         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
420         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
421         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
422         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
423         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
424         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
425         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
426         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
427         -DREQUIRE_AVX2.
428         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
429         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
430         -DREQUIRE_AVX512F.
431         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
432         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
433         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
434         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
435         file.
436         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
437         Likewise.
438         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
439         Likewise.
440         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
441         Likewise.
442         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
443         Likewise.
444         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
445         Likewise.
446         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
447         Likewise.
448         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
449         Likewise.
451 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
453         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
455 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
457         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
458         and typo in a comment about AT_HWCAP entry.
460 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
462         * sysdeps/aarch64/libm-test-ulps: Updated.
464 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
466         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
467         of r13 as it is not restored in mvcle case.
469 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
471         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
472         Rename "ret" to "__ret".
473         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
474         inline_syscall5, inline_syscall6): Likewise.
476 2016-07-19   Will Newton  <will.newton@gmail.com>
478         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
479         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
480         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
481         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
482         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
484 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
486         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
487         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
488         -mfpmath=387 with $(rtld-CFLAGS).
489         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
490         $(rtld-CFLAGS).
492 2016-07-18   Ross Burton  <ross.burton@intel.com>
493              Khem Raj  <raj.khem@gmail.com>
495         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
496         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
497         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
498         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
499         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
500         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
501         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
502         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
503         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
504         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
505         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
506         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
507         R_METAG_TLS_DTPOFF): New.
509 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
510             Matt Clay  <mclay@lycos.com>
512         [BZ #20357]
513         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
514         to call __mpsin/__mpcos and to negate values.
515         * math/auto-libm-test-in: Add test.
516         * math/auto-libm-test-out: Regenerate.
518 2016-07-18  Zack Weinberg  <zackw@panix.com>
520         * grp/Makefile: Don't install the internal header grp-merge.h.
522 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
524         * sysdeps/aarch64/libm-test-ulps: Regenerated.
526 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
528         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
530 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
532         [BZ #15368]
533         * sysdeps/unix/sysv/linux/nptl-signals.h
534         (__nptl_clear_internal_signals): New function.
535         (__libc_signal_block_all): Likewise.
536         (__libc_signal_block_app): Likewise.
537         (__libc_signal_restore_set): Likewise.
538         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
539         implementation.
540         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
541         the cached pid/tid value in pthread structure.
543 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
545         [BZ #20347]
546         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
548 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
550         [BZ #20348]
551         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
552         preadv64, pwrite64 and pwritev64.
554 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
556         [BZ #20350]
557         * posix/tst-preadwrite.c: Renamed to ...
558         * posix/tst-preadwrite-common.c: This.
559         (PREAD): Removed.
560         (PWRITE): Likewise.
561         (STRINGIFY): Likewise.
562         (STRINGIFY2): Likewise.
563         (do_prepare): Make it static and remove function arguments.
564         (do_test): Likewise.
565         (PREPARE): Updated.
566         (TEST_FUNCTION): New.
567         (name): Make it static.
568         (fd): Likewise.
569         (do_prepare): Use create_temp_file.
570         (do_test): Renamed to ...
571         (do_test_with_offset): This.  Make it static and accept offset.
572         Properly check return value of PWRITE and PREAD.  Return bytes
573         read.  Don't close fd nor unlink name.
574         * posix/tst-preadwrite.c: Rewrite.
575         * posix/tst-preadwrite64.c: Likewise.
577 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
579         [BZ #20309]
580         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
581         -mtls-dialect=gnu2 works.
582         * configure: Regenerated.
583         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
584         (tests): Add tst-gnu2-tls1.
585         (modules-names): Add tst-gnu2-tls1mod.
586         ($(objpfx)tst-gnu2-tls1): New.
587         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
588         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
589         * elf/tst-gnu2-tls1.c: New file.
590         * elf/tst-gnu2-tls1mod.c: Likewise.
591         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
592         bytes for push in the PLT entry to align the stack.
594 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
596         [BZ #20349]
597         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
599 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
601         [BZ #18707]
602         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
603         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
605 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
607         * sysdeps/unix/sysv/linux/sysdep.h
608         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
609         guards.
610         * misc/tst-preadvwritev-common.c: New file.
611         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
612         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
613         a check for files larger than 2GB.
615         * sysdeps/unix/sysv/linux/mips/kernel-features.h
616         (__ASSUME_OFF_DIFF_OFF64): Remove define.
617         * sysdeps/unix/sysv/linux/pread.c
618         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
619         __OFF_T_MATCHES_OFF64_T.
620         * sysdeps/unix/sysv/linux/pread64.c
621         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
622         * sysdeps/unix/sysv/linux/preadv.c
623         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
624         * sysdeps/unix/sysv/linux/preadv64.c
625         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
626         * sysdeps/unix/sysv/linux/pwrite.c
627         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
628         * sysdeps/unix/sysv/linux/pwrite64.c
629         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
630         * sysdeps/unix/sysv/linux/pwritev.c
631         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
632         * sysdeps/unix/sysv/linux/pwritev64.c
633         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
635 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
637         * sysdeps/unix/sysv/linux/tile/kernel-features.h
638         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
640 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
642         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
644 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
646         [BZ #20240]
647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
648         (CFLAGS-s_modf-ppc32.c): New variable.
649         (CFLAGS-s_modff-ppc32.c): Likewise.
650         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
651         (CFLAGS-s_modf-ppc64.c): Likewise.
652         (CFLAGS-s_modff-ppc64.c): Likewise.
654 2016-07-07  Andreas Schwab  <schwab@suse.de>
656         [BZ #20263]
657         * nptl/tst-robust10.c: New test.
658         * nptl/Makefile (tests): Add tst-robust10.
660 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
662         [BZ #20263]
663         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
665 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
667         * sysdeps/s390/linkmap.h (struct link_map_machine):
668         Remove member gotplt and add member jmprel.
669         * sysdeps/s390/s390-32/dl-machine.h
670         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
671         instead of gotplt with &got[3].
672         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
673         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
675 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
677         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
679 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
681         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
682         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
683         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
684         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
685         * libio/vtables.c (_IO_vtable_check)
686         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
687         * libio/libioP.h (IO_set_accept_foreign_vtables)
688         [!PTR_MANGLE]: Do not call PTR_MANGLE.
690 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
692         [BZ #20314]
693         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
694         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
695         $(common-objpfx)cmath.
696         ($(common-objpfx)cstdlib): New target.
697         ($(common-objpfx)cmath): Likewise.
699 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
701         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
703 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
705         [BZ #20327]
706         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
707         are not part of the string.
709 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
711         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
712         * nptl/tst-cancel4-common.h (fifoname): New variable.
713         (fifofd): Likewise.
714         (cl_fifo): New function.
715         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
716         SIGINT.
717         (tf_open): Add early cancel test.
719 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
721         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
723 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
725         * sysdeps/generic/ldsodefs.h
726         (dl_symbol_visibility_binds_local_p): New inline function.
727         * elf/dl-addr.c (determine_info): Treat hidden and internal
728         symbols as local.
729         * elf/dl-lookup.c (do_lookup_x): Likewise.
730         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
732 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
734         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
735         invalid exception for a sNaN input.
736         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
737         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
738         (__nearbyint_vis3): Likewise
739         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
740         (__nearbyintf_vis3): Likewise
741         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
742         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
743         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
744         Likewise.
745         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
746         Likewise.
748 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
750         [BZ #20139]
751         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
752         (HAVE_AVX512DQ_ASM_SUPPORT): This.
753         * sysdeps/x86_64/configure.ac: Require assembler from binutils
754         2.24 or above.
755         (HAVE_AVX512_ASM_SUPPORT): Removed.
756         (HAVE_AVX512DQ_ASM_SUPPORT): New.
757         * sysdeps/x86_64/configure: Regenerated.
758         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
759         check unconditional.
760         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
761         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
762         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
763         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
764         Likewise.
765         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
766         Likewise.
767         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
768         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
769         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
770         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
771         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
772         Likewise.
773         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
774         Likewise.
775         * sysdeps/x86_64/multiarch/memset.S: Likewise.
776         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
777         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
778         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
779         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
780         Likewise.
781         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
782         Likewise.
783         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
784         Likewise.
785         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
786         Likewise.
787         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
788         Likewise.
789         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
790         Likewise.
791         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
792         Likewise.
793         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
794         Likewise.
795         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
796         Likewise.
797         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
798         Likewise.
799         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
800         Likewise.
802 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
804         [BZ #20024]
805         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
806         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
807         of this implementation of vector function.
808         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
809         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
810         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
811         Likewise.
812         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
813         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
814         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
815         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
816         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
817         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
818         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
819         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
820         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
821         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
822         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
823         for testing vector sincos with fixed ABI.
824         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
825         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
826         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
827         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
828         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
829         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
830         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
831         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
832         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
833         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
834         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
835         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
836         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
837         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
838         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
839         * sysdeps/x86_64/fpu/Makefile: Added new tests.
841 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
843         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
845 2016-06-30  Anton Blanchard  <anton@samba.org>
847         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
848         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
849         s_sinf-ppc64.
850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
853         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
855 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
858         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
859         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
860         e_expf-ppc64.
861         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
862         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
863         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
864         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
866 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
868         [BZ #20277]
869         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
870         when SHARED is defined.
872 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
874         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
875         (index_arch_Prefer_ERMS): Likewise.
876         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
877         __memcpy_erms for Prefer_ERMS.
878         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
879         (__memmove_erms): Enabled for libc.a.
880         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
881         __memmove_erms or Prefer_ERMS.
882         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
883         __mempcpy_erms for Prefer_ERMS.
884         * sysdeps/x86_64/multiarch/memset.S (memset): Return
885         __memset_erms for Prefer_ERMS.
887 2016-06-30  Andreas Schwab  <schwab@suse.de>
889         [BZ #20262]
890         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
891         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
892         of memory.
894 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
896         [BZ #18645]
897         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
898         (test-extras): Add tst-cleanupx4aux.
899         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
900         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
901         tst-cleanupx4aux.o.
902         * nptl/tst-cleanupx4aux.c: New file.
904 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
906         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
908 2016-06-29  Andreas Schwab  <schwab@suse.de>
910         [BZ #20260]
911         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
912         address before the beginning of the string as an integer to avoid
913         array-bounds warning.
915 2016-06-28  Richard Henderson  <rth@redhat.com>
917         * elf/elf.h (EM_BPF): New.
918         (EM_NUM): Update.
919         (R_BPF_NONE, R_BPF_MAP_FD): New.
921         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
922         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
923         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
924         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
925         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
926         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
927         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
928         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
929         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
930         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
931         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
932         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
933         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
934         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
935         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
936         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
937         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
938         (EM_NUM): Update.
940 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
942         [BZ #18960]
943         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
944         Set _nl_current_LC_CATEGORY_used to two instead of one.
946 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
948         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
949         (do_test): ... this.
950         (TEST_FUNCTION): New macro.
951          Include test-skeleton.c.
952         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
953         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
955 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
957         [BZ #15479]
958         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
959         floating-point environment rather than just control word.
960         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
961         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
962         floating-point environment, with "invalid" exceptions merged in,
963         rather than just control word.
964         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
965         * math/libm-test.inc (trunc_test_data): Do not allow spurious
966         "inexact" exceptions.
968         [BZ #15479]
969         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
970         floating-point environment rather than just control word.
971         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
972         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
973         floating-point environment, with "invalid" exceptions merged in,
974         rather than just control word.
975         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
976         * math/libm-test.inc (floor_test_data): Do not allow spurious
977         "inexact" exceptions.
979         [BZ #15479]
980         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
981         floating-point environment rather than just control word.
982         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
983         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
984         floating-point environment, with "invalid" exceptions merged in,
985         rather than just control word.
986         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
987         * math/libm-test.inc (ceil_test_data): Do not allow spurious
988         "inexact" exceptions.
990 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
992         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
993         __libc_vfork.
994         (__vfork) [IS_IN (libc)]: Remove alias.
995         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
996         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
997         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
999 2016-06-24  Torvald Riegel  <triegel@redhat.com>
1001         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
1002         of atomic_compare_and_exchange_bool_rel.
1003         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1004         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
1005         catomic_compare_and_exchange_bool_rel): Remove.
1006         * sysdeps/aarch64/atomic-machine.h
1007         (atomic_compare_and_exchange_bool_rel): Likewise.
1008         * sysdeps/alpha/atomic-machine.h
1009         (atomic_compare_and_exchange_bool_rel): Likewise.
1010         * sysdeps/arm/atomic-machine.h
1011         (atomic_compare_and_exchange_bool_rel): Likewise.
1012         * sysdeps/mips/atomic-machine.h
1013         (atomic_compare_and_exchange_bool_rel): Likewise.
1014         * sysdeps/microblaze/atomic-machine.h
1015         ( __arch_compare_and_exchange_bool_8_rel,
1016         __arch_compare_and_exchange_bool_16_rel): Likewise.
1017         * sysdeps/powerpc/atomic-machine.h
1018         ( __arch_compare_and_exchange_bool_8_rel,
1019         __arch_compare_and_exchange_bool_16_rel): Likewise.
1020         * sysdeps/powerpc/powerpc32/atomic-machine.h
1021         ( __arch_compare_and_exchange_bool_32_rel,
1022         __arch_compare_and_exchange_bool_64_rel): Likewise.
1023         * sysdeps/powerpc/powerpc64/atomic-machine.h
1024         ( __arch_compare_and_exchange_bool_32_rel,
1025         __arch_compare_and_exchange_bool_64_rel): Likewise.
1026         * sysdeps/tile/atomic-machine.h
1027         (atomic_compare_and_exchange_bool_rel): Likewise.
1029 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
1031         [BZ #20296]
1032         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
1033         when either argument is a NaN.
1034         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1035         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
1037         * math/libm-test.inc (snan_value_ld): New macro.
1038         (isgreater_test_data): Add sNaN tests.
1039         (isgreaterequal_test_data): Likewise.
1040         (isless_test_data): Likewise.
1041         (islessequal_test_data): Likewise.
1042         (islessgreater_test_data): Likewise.
1043         (isunordered_test_data): Likewise.
1044         (nextafter_test_data): Likewise.
1045         (nexttoward_test_data): Likewise.
1046         (remainder_test_data): Likewise.
1047         (remquo_test_data): Likewise.
1048         (significand_test_data): Likewise.
1049         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
1051 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1053         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
1054         environment macros are defined.
1055         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
1057 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1059         [BZ #20191]
1060         Implement vtable verification in libio.
1061         * Makerules (shlib.lds): Place __libc_IO_vtables section.
1062         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
1063         * debug/vdprintf_chk.c (__vdprintf_chk): Call
1064         _IO_new_file_init_internal instead of _IO_file_init.
1065         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
1066         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
1067         * libio/Makefile (routines): Add vtables.
1068         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
1069         (_IO_init): Remove, not for internal use.
1070         (_IO_init_internal): Declare, internal replacement for _IO_init.
1071         (_IO_file_init): Remove, not for internal use.
1072         (_IO_new_file_init): Remove, not for internal use.
1073         (_IO_new_file_init_internal): Declare, internal replacement for
1074         _IO_new_file_init.
1075         (_IO_old_file_init): Remove, not for internal use.
1076         (_IO_old_file_init_internal): Declare, internal replacement for
1077         _IO_old_file_init.
1078         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
1079         internal use.
1080         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
1081         Declare.
1082         (libio_vtable): New macro.
1083         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
1084         functions.
1085         * libio/fileops.c (_IO_new_file_init_internal): Rename from
1086         _IO_new_file_init.
1087         (_IO_new_file_init): New externally visible wrapper which disables
1088         vtable verification.
1089         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
1090         Define as vtables.
1091         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
1092         (_IO_init): New externally visible wrapper which disables
1093         vtable verification.
1094         * libio/iofdopen.c (_IO_new_fdopen): Call
1095         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
1096         comment.
1097         * libio/iofopen.c (__fopen_internal): Call
1098         _IO_new_file_init_internal instead of _IO_file_init.
1099         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
1100         Define as vtables.
1101         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
1102         _IO_new_file_init_internal instead of _IO_file_init.
1103         * libio/iopopen.c (_IO_new_popen): Likewise.
1104         (_IO_proc_jumps): Define as vtable.
1105         * libio/iovdprintf.c (_IO_vdprintf): Call
1106         _IO_new_file_init_internal instead of _IO_file_init.
1107         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
1108         (__open_memstream): Call _IO_init_internal instead of _IO_init.
1109         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
1110         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
1111         _IO_old_file_init.
1112         (_IO_old_file_init): New externally visible wrapper which disables
1113         vtable verification.
1114         (_IO_old_file_jumps): Define as vtable.
1115         * libio/oldiofdopen.c (_IO_old_fdopen): Call
1116         _IO_old_file_init_internal instead of _IO_old_file_init.
1117         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1118         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1119         (_IO_old_proc_jumps): Define as vtable.
1120         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
1121         Define as vtables.
1122         * libio/vtables.c: New file.
1123         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
1124         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
1125         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
1126         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
1127         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
1128         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
1129         instead of _IO_init.
1131 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1133         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
1135 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1137         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
1138         potentially unused.
1140 2016-06-22  Florian Weimer  <fweimer@redhat.com>
1142         * test-skeleton.c (write_message): New function.
1143         * malloc/tst-mallocfork2.c (write_message): Remove.
1144         * debug/tst-longjmp_chk2.c (write_indented): New function.
1145         (write_message): Remove.
1146         (stackoverflow_handler): Call write_indented.
1148 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
1150         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
1151         "inexact" exceptions after fnstenv.
1152         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1153         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1154         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1156 2015-06-22  Zack Weinberg  <zackw@panix.com>
1158         * sysdeps/generic/bits/hwcap.h: Moved to ...
1159         * bits/hwcap.h: Here.
1161 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
1163         * sysdeps/aarch64/memcpy.S (memcpy):
1164         Further tuning for performance.
1166 2016-06-21  Florian Weimer  <fweimer@redhat.com>
1168         [BZ #20284]
1169         * malloc/arena.c (reused_arena): Do not return NULL if we start
1170         out with a non-corrupted arena.
1172 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1174         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
1175         * misc/tst-preadvwritev.c: New file.
1176         * misc/tst-preadvwritev64.c: Likewise.
1177         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
1178         usage.
1179         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1180         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1181         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1182         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
1184 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
1186         [BZ #19654]
1187         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1188         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
1189         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
1190         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
1191         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
1192         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
1193         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
1194         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
1195         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
1196         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
1197         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
1198         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
1199         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
1200         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
1201         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
1202         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
1203         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
1204         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
1205         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
1206         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
1207         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
1208         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
1209         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
1210         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
1211         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
1212         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
1214 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1216         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
1217         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
1219 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1221         * sysdeps/aarch64/memcpy.S (memcpy):
1222         Rewrite of optimized memcpy and memmove.
1223         * sysdeps/aarch64/memmove.S (memmove): Remove
1224         memmove code (merged into memcpy.S).
1226 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1228         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
1229         * sysdeps/generic/dl-dtv.h: New file.
1230         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1231         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
1232         (dtv_t): Remove.
1233         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1234         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
1235         (dtv_t): Remove.
1236         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1237         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
1238         (dtv_t): Remove.
1239         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1240         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
1241         (dtv_t): Remove.
1242         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1243         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
1244         (dtv_t): Remove.
1245         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1246         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
1247         (dtv_t): Remove.
1248         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1249         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
1250         (dtv_t): Remove.
1251         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
1252         (dtv_t): Remove.
1253         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1254         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
1255         (dtv_t): Remove.
1256         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1257         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
1258         (dtv_t): Remove.
1259         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1260         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
1261         (dtv_t): Remove.
1262         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1263         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
1264         (dtv_t): Remove.
1265         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1266         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
1267         (dtv_t): Remove.
1268         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1269         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
1270         (dtv_t): Remove.
1271         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1272         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
1273         (dtv_t): Remove.
1274         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1275         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
1276         (dtv_t): Remove.
1278 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1280         Revert symbol poisoning of  __malloc_initialize_hook.
1281         * include/stdc-predef.h (__malloc_initialize_hook): Remove
1282         poisoning.
1283         * malloc/Makefile: Remove un-poisoning.
1284         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
1285         instead of old__malloc_initialize_hook.
1286         * malloc/malloc-hooks.h: Likewise.
1287         * malloc/malloc.c: Likewise.
1288         * malloc/mcheck-init.c: Likewise.
1290 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
1292         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
1294 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
1296         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
1297         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
1298         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1299         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1301 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1303         * NEWS: Mention addition of nextup and nextdown.
1304         * manual/arith.texi: Document nextup and nextdown.
1305         * manual/libm-err-tab.pl: Add nextup and nextdown.
1306         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
1307         * math/Versions (libm): Add GLIBC_2.24.
1308         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
1309         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1310         Add new test.
1311         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
1312         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
1313         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
1314         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
1315         (nextup_test_data): Likewise.
1316         (nextdown_test_data): Likewise.
1317         * math/s_nextdown.c: New file.
1318         * math/s_nextdownf.c: Likewise.
1319         * math/s_nextdownl.c: Likewise.
1320         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
1321         F(nextup): New function.
1322         F(nextdown): Likewise.
1323         * math/tgmath.h: Add nextup and nextdown.
1324         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
1325         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
1326         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1327         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
1328         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
1329         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
1330         Add nextup and nextdown.
1331         (CFLAGS-nldbl-nextup.c): New variable.
1332         (CFLAGS-nldbl-nextdown.c): Likewise.
1333         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
1334         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
1335         * sysdeps/nacl/libm.abilist: Update.
1336         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1337         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1338         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1339         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1340         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1341         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1342         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1343         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1344         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1345         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1346         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1347         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1350         Likewise.
1351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1353         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1354         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1355         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1356         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1357         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
1359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
1360         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1361         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1362         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
1363         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1365 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1367         * manual/pattern.texi: Fix typos & grammar errors.
1369 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1371         * manual/search.texi: Fix typos & grammar errors.
1373 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1375         * manual/message.texi: Fix typos & grammar errors.
1377 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
1379         * manual/contrib.texi: Fix spelling typos.
1380         * manual/crypt.texi: Likewise.
1381         * manual/filesys.texi: Likewise.
1382         * manual/locale.texi: Likewise.
1383         * manual/message.texi: Likewise.
1384         * manual/nss.texi: Likewise.
1385         * manual/string.texi: Likewise.
1387 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1389         * manual/locale.texi: Fix typos & grammar errors.
1391 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1393         * manual/charset.texi: Fix typos & grammar errors.
1395 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1397         * manual/string.texi: Fix typos.
1399 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1401         * manual/ctype.texi: Fix typos.
1403 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1405         * manual/memory.texi: Fix various typos & grammar errors.
1407 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
1409         [BZ #20255]
1410         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
1411         * math/libm-test.inc (fdim_test_data): Add another test.
1413         [BZ #6796]
1414         [BZ #20255]
1415         [BZ #20256]
1416         * math/s_fdim.c: Include <math_private.h>.
1417         (__fdim): Use math_narrow_eval on result.
1418         * math/s_fdimf.c: Include <math_private.h>.
1419         (__fdimf): Use math_narrow_eval on result.
1420         * sysdeps/i386/fpu/s_fdim.S: Remove file.
1421         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
1422         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
1423         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
1424         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
1425         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
1426         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
1427         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
1428         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
1429         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
1430         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
1431         * math/libm-test.inc (fdim_test_data): Expect errno setting on
1432         overflow.  Add sNaN tests.
1434         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
1435         fpclassify.
1436         * math/s_fdimf.c (__fdimf): Likewise.
1437         * math/s_fdiml.c (__fdiml): Likewise.
1439 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1441         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1442         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
1443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1444         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1445         ifunc'ed strcasecmp/strncasecmp.
1446         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
1447         [EALIGN]: Removed.
1448         [END]: Likewise.
1449         [__strcasecmp]: Define instead of the above to control symbol name.
1450         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
1451         for __strcasecmp_power8.
1452         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
1453         for __strncasecmp_power8.
1454         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
1455         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
1456         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1457         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
1458         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
1459         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
1461 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
1463         [BZ #20252]
1464         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
1465         arguments when second argument is a NaN.
1466         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
1467         qNaN tests.
1469         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
1470         (conj_test_data): Likewise.
1471         (copysign_test_data): Likewise.
1472         (creal_test_data): Likewise.
1473         (fma_test_data): Likewise.
1474         (fmod_test_data): Likewise.
1476         [BZ #20250]
1477         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
1478         itself.
1479         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
1480         zero input to itself.
1481         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
1482         Likewise.
1483         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
1484         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
1485         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1486         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
1487         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
1489 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1491         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
1492         * nptl/tst-cancel4-common.c: New file.
1493         * nptl/tst-cancel4-common.h: Likewise.
1494         * nptl/tst-cancel4.c: Move common definitions to
1495         tst-cancel4-common.{c,h} file.
1496         * nptl/tst-cancel4_1.c: New test.
1497         * nptl/tst-cancel4_2.c: New test.
1499 2016-06-13  Florian Weimer  <fweimer@redhat.com>
1501         [BZ #20248]
1502         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
1503         (write_message): New function.
1504         (stackoverflow_handler): Call it instead of printf, to avoid
1505         excessive stack usage by printf.
1506         (do_test): Restore SIGSEGV, SIGBUS default handlers.
1508 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1510         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
1511         (prio_inherit_missing): Remove define.
1512         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1513         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1514         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
1515         Likewise.
1516         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1517         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1518         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1519         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1520         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1521         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1523 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1525         [BZ #19670]
1526         [BZ #19672]
1528         * io/test-lfs.c (do_prepare): Use xmalloc.
1529         * io/tst-fcntl.c (do_prepare): Likewise.
1530         * libio/tst-fopenloc.c (do_bz17916): Likewise.
1531         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
1532         * login/tst-utmp.c (do_prepare): Likewise.
1533         * posix/tst-exec.c (do_prepare): Likewise.
1534         * posix/tst-pathconf.c (prepare): Likewise.
1535         * posix/tst-spawn.c (do_prepare): Likewise.
1536         * posix/tst-truncate.c (do_prepare): Likewise.
1537         * rt/tst-aio.c (do_prepare): Likewise.
1538         * rt/tst-aio64.c (do_prepare): Likewise.
1540 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1542         [BZ #20237]
1543         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
1544         (get*ent): Set entidx to NULL during initialization.  If entidx is
1545         NULL, start iteration from the beginning.
1547 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1549         * malloc/malloc.c (musable): Return correct size for dumped fake
1550         mmapped chunk.
1552 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1554         [BZ #20222]
1555         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
1556         (_IO_cookie_write): Likewise.
1557         (_IO_cookie_seek): Likewise.
1558         (_IO_cookie_close): Likewise.
1559         (_IO_old_cookie_seek): Likewise.
1560         (set_callbacks): New function.
1561         (_IO_cookie_init): Call set_callbacks to copy callbacks.
1563 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
1565         * locale/programs/localedef.c (oldstyle_tables): Remove.
1566         * locale/programs/localedef.h (oldstyle_tables): Likewise.
1568 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
1570         [BZ #20240]
1571         * math/Makefile (CFLAGS-s_modf.c): New variable.
1572         (CFLAGS-s_modff.c): Likewise.
1573         (CFLAGS-s_modfl.c): Likewise.
1574         * math/libm-test.inc (modf_test_data): Add sNaN tests.
1576 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
1578         [BZ #20215]
1579         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
1580         [!__GNUC_PREREQ (3,2)]: Likewise.
1582 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1584         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1585         (msghdr.msg_controllen): Likewise.
1586         (cmsghdr.cmsg_len): Likewise.
1587         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1588         ptw-oldsendmsg.
1589         (CFLAGS-oldrecvmsg.c): Remove rule.
1590         (CFLAGS-oldsendmsg.c): Likewise.
1591         (CFLAGS-recvmsg.c): Add rule.
1592         (CFLAGS-sendmsg.c): Likewise.
1593         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1594         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1595         (CFLAGS-recvmsg.c): Remove rule.
1596         (CFLAGS-sendmsg.c): Likewise.
1597         (CFLAGS-oldrecvmsg.c): Likewise.
1598         (CFLAGS-oldsendmsg.c): Likewise.
1599         (CFLAGS-recvmmsg.c): Likewise.
1600         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1601         to kernel defined interfaces.
1602         (msghdr.msg_controllen): Likewise.
1603         (cmsghdr.cmsg_len): Likewise.
1604         (msghdr.__glibc_reserved1): Remove member.
1605         (msghdr.__glibc_reserved2): Likewise.
1606         (cmsghdr.__glibc_reserved1): Likewise.
1607         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1608         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1609         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1610         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1611         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1612         version.
1613         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1614         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1615         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1616         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1617         Remove recvmsg and sendmsg.
1618         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1619         Likewise.
1620         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1621         Likewise.
1622         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1623         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1624         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1625         Likewise.
1626         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1627         Likewise.
1628         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1629         [libc] (GLIBC_2.24): Likewise.
1630         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1631         Likewise.
1632         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1633         Likewise.
1634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1635         [libc] (GLIBC_2.24): Likewise.
1636         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1637         Likewise.
1638         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1639         Likewise.
1640         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1641         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1642         Likewise.
1643         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1644         Likewise.
1645         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1646         Likewise.
1647         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1648         Likewise.
1649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1650         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1651         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1652         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1653         version for {recv,send,recm,sendm}msg.
1654         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1655         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1656         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1657         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1658         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1659         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1660         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1661         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1662         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1663         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1664         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1665         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1667         Likewise.
1668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1669         Likewise.
1670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1672         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1673         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1674         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1675         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1676         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1677         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1680         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1681         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1682         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1684 2016-06-10  Florian Weimer  <fweimer@redhat.com>
1686         [BZ #19564]
1687         Remove __malloc_initialize_hook from the API.
1688         * malloc/malloc.h (__malloc_initialize_hook): Remove.
1689         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1690         #pragma GCC poison.
1691         * malloc/malloc-hooks.h: New file.
1692         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1693         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1694         (old__malloc_initialize_hook): Rename from
1695         __malloc_initialize_hook to evade poisoning.  Turn into compat
1696         symbol.
1697         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1698         __malloc_initialize_hook.
1699         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1700         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1701         * manual/memory.texi (Hooks for Malloc): Remove
1702         __malloc_initialize_hook.  Adjust hook example.
1704 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
1706         [BZ #20235]
1707         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1708         itself.
1709         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1710         * math/libm-test.inc (log2_test_data): Add sNaN tests.
1712         [BZ #20234]
1713         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1714         infinity or NaN input to itself.
1716         [BZ #20233]
1717         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1718         to itself.
1720         [BZ #20232]
1721         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1722         itself.
1724 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1726         * sysdeps/x86_64/start.S (_start): Always indirect branch to
1727         __libc_start_main via GOT.
1729 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1731         * sysdeps/x86_64/memcopy.h: New file.
1732         * sysdeps/x86_64/wordcopy.c: Likewise.
1734 2016-06-09  Florian Weimer  <fweimer@redhat.com>
1736         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1737         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1738         <cstdlib>.
1739         (optimization_barrier): New.
1740         (do_test): Use it.  Call quick_exit in the global namespace.
1741         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1742         instead of <cstdlib>, <thread>.
1743         (optimization_barrier): New.
1744         (non_main_thread): Adjust declaration.  Call optimization_barrier.
1745         Call quick_exit in the global namespace.
1746         (do_test): Call optimization_barrier.  Use pthread_create,
1747         pthread_join instead of std::thread.
1749 2016-06-09  Andreas Schwab  <schwab@suse.de>
1751         [BZ #19755]
1752         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1753         new entries in auto-propagate mode.
1754         * nscd/grpcache.c (cache_addgr): Likewise.
1756 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1758         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1759         New functions.
1760         (add_temp_file): Use them.
1762 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
1764         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1766 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
1768         [BZ #20229]
1769         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1770         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1771         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1773         [BZ #20228]
1774         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1775         itself.
1776         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1777         * math/libm-test.inc (log10_test_data): Add sNaN tests.
1779         [BZ #20227]
1780         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1781         itself.
1782         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1783         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1784         * math/libm-test.inc (log_test_data): Add sNaN tests.
1786         [BZ #20226]
1787         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1788         itself.
1789         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1790         * math/libm-test.inc (exp_test_data): Add sNaN tests.
1791         (exp10_test_data): Likewise.
1792         (expm1_test_data): Likewise.
1794         [BZ #20225]
1795         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1796         itself.
1797         * math/s_ldexpf.c (__ldexpf): Likewise.
1798         * math/s_ldexpl.c (__ldexpl): Likewise.
1799         * math/w_scalbln.c (__w_scalbln): Likewise.
1800         * math/w_scalblnf.c (__w_scalblnf): Likewise.
1801         * math/w_scalblnl.c (__w_scalblnl): Likewise.
1802         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1803         (scalbln_test_data): Likewise.
1805         [BZ #20224]
1806         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1807         argument to itself.
1808         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1810 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1812         [BZ #19776]
1813         * sysdeps/x86_64/memcpy.S: Make it dummy.
1814         * sysdeps/x86_64/mempcpy.S: Likewise.
1815         * sysdeps/x86_64/memmove.S: New file.
1816         * sysdeps/x86_64/memmove_chk.S: Likewise.
1817         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1818         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1819         * sysdeps/x86_64/memmove.c: Removed.
1820         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1821         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1822         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1823         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1824         Likewise.
1825         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1826         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1827         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1828         memcpy-sse2-unaligned, memmove-avx-unaligned,
1829         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1830         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1831         (__libc_ifunc_impl_list): Replace
1832         __memmove_chk_avx512_unaligned_2 with
1833         __memmove_chk_avx512_unaligned.  Remove
1834         __memmove_chk_avx_unaligned_2.  Replace
1835         __memmove_chk_sse2_unaligned_2 with
1836         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
1837         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
1838         with __memmove_avx512_unaligned.  Replace
1839         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1840         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
1841         with __memcpy_chk_avx512_unaligned.  Remove
1842         __memcpy_chk_avx_unaligned_2.  Replace
1843         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1844         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
1845         Replace __memcpy_avx512_unaligned_2 with
1846         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
1847         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
1848         with __mempcpy_chk_avx512_unaligned.  Remove
1849         __mempcpy_chk_avx_unaligned_2.  Replace
1850         __mempcpy_chk_sse2_unaligned_2 with
1851         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
1852         Replace __mempcpy_avx512_unaligned_2 with
1853         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
1854         Replace __mempcpy_sse2_unaligned_2 with
1855         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
1856         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1857         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1858         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1859         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
1860         (ENTRY): Removed.
1861         (END): Likewise.
1862         (ENTRY_CHK): Likewise.
1863         (libc_hidden_builtin_def): Likewise.
1864         Don't include ../memcpy.S.
1865         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1866         __memcpy_chk_avx512_unaligned_erms and
1867         __memcpy_chk_avx512_unaligned.  Use
1868         __memcpy_chk_avx_unaligned_erms and
1869         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1870         Default to __memcpy_chk_sse2_unaligned.
1871         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1872         Change function suffix from unaligned_2 to unaligned.
1873         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1874         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1875         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1876         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
1877         (ENTRY): Removed.
1878         (END): Likewise.
1879         (ENTRY_CHK): Likewise.
1880         (libc_hidden_builtin_def): Likewise.
1881         Don't include ../mempcpy.S.
1882         (mempcpy): New.  Add a weak alias.
1883         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1884         __mempcpy_chk_avx512_unaligned_erms and
1885         __mempcpy_chk_avx512_unaligned.  Use
1886         __mempcpy_chk_avx_unaligned_erms and
1887         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1888         Default to __mempcpy_chk_sse2_unaligned.
1890 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1892         [BZ #19881]
1893         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1894         into ...
1895         * sysdeps/x86_64/memset.S: This.
1896         (__bzero): Removed.
1897         (__memset_tail): Likewise.
1898         (__memset_chk): Likewise.
1899         (memset): Likewise.
1900         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1901         defined.
1902         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1903         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1904         (__memset_zero_constant_len_parameter): Check SHARED instead of
1905         PIC.
1906         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1907         memset-avx2 and memset-sse2-unaligned-erms.
1908         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1909         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1910         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1911         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1912         (__bzero): Enabled.
1913         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1914         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1915         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
1916         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
1917         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1918         (memset): Removed.
1919         (__memset_chk): Likewise.
1920         (MEMSET_SYMBOL): New.
1921         (libc_hidden_builtin_def): Replace __memset_sse2 with
1922         __memset_sse2_unaligned.
1923         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1924         __memset_chk_sse2 and __memset_chk_avx2 with
1925         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1926         Use __memset_chk_sse2_unaligned_erms or
1927         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
1928         __memset_chk_avx512_unaligned_erms and
1929         __memset_chk_avx512_unaligned.
1931 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1933         * math/gen-auto-libm-test.c (fp_format_desc): remove
1934         suffix member.
1935         (output_generic_value): Remove usage of suffix member,
1936         and the resulting unuse of the fp_format argument.
1937         (output_for_one_input_case): Remove unused fp_format
1938         parameter.
1940         * math/auto-libm-test-out: Regenerate.
1942         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1943         usage with TEST_COND_ibm128.
1944         (TEST_COND_flt_32): Remove.
1945         (TEST_COND_dbl_64): Remove.
1946         (TEST_COND_ldbl_96_intel): Remove.
1947         (TEST_COND_ldbl_96_m68k): Remove.
1948         (TEST_COND_ldbl_128): Remove.
1950 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1952         * auto-libm-test-in:
1953         Replace flt-32 usage with binary32.
1954         Replace dbl-64 usage with binary64.
1955         Replace ldbl-intel-96 usage with intel96.
1956         Replace ldbl-m68k-96 usage with m68k96.
1957         Replace ldbl-128ibm usage with ibm128.
1958         Replace ldbl-128 usage with binary128.
1960         * auto-libm-test-out: Regenerate.
1962 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1964         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1965         (parse_ulps): Dynamically generate type name matching
1966         string from all_floats.
1967         (get_ulps): Generate the ulps as an array instead.
1968         (output_ulps): Dynamically compose the type based
1969         on the number of supported formats, and print
1970         the indices as type specific helper macros.
1972         * math/libm-test.inc: Remove comment about CHOOSE.
1973         (ulp_data): Generate the type in libm-test-ulps.h.
1974         (ULP_IDX): New macro.
1975         (find_ulps): Update usage of max_ulp.
1977         * math/test-double-vlen2.h (CHOOSE): Remove.
1978         * math/test-double-vlen4.h (CHOOSE): Likewise.
1979         * math/test-double-vlen8.h (CHOOSE): Likewise.
1980         * math/test-float.c (CHOOSE): Likewise.
1981         * math/test-float-finite.c (CHOOSE): Likewise.
1982         * math/test-double.c (CHOOSE): Likewise.
1983         * math/test-double-finite.c (CHOOSE): Likewise.
1984         * math/test-idouble.c (CHOOSE): Likewise.
1985         * math/test-ifloat.c (CHOOSE): Likewise.
1986         * math/test-ildoubl.c (CHOOSE): Likewise.
1987         * math/test-ldouble-finite.c (CHOOSE): Likewise.
1988         * math/test-ldouble.c (CHOOSE): Likewise.
1990         * math/test-float.h (TEST_FLOAT): Remove.
1991         * math/test-double.h (TEST_DOUBLE): Likewise.
1992         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1994 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1996         * math/gen-libm-test.pl: (apply_lit): New subroutine.
1997         (parse_args): Strip C suffix from floating point literals
1998         typed with 'f' and wrap them with LIT().
2000         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
2001         (test_ff_f_data_nexttoward): Rename to
2002         (test_fj_f_data): New struct.
2003         (nexttoward_test_data): Relabel tests as
2004         TEST_fj_f instead of TEST_ff_f.
2006 2016-06-08  Florian Weimer  <fweimer@redhat.com>
2008         Emacs bug 23726.
2009         * malloc/malloc.c (dumped_main_arena_start): Update comment.
2010         (__libc_realloc): Correct size computation for dumped fake mmapped
2011         chunks.
2013 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
2015         [BZ #20219]
2016         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
2017         to itself.
2018         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
2020         [BZ #20218]
2021         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
2022         to itself.
2023         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
2025 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2027         [BZ #20195]
2028         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
2029         check to ...
2030         (init_cpu_features): Here.
2032 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
2034         [BZ #20214]
2035         * sysdeps/unix/sysv/linux/bits/in.h
2036         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2037          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
2038         Define to 1.
2039         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2040          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
2041         Define to 0.
2042         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
2043         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
2045 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
2047         [BZ #20198]
2048         * stdlib/Makefile (tests): Add tst-quick_exit, and
2049         tst-thread-quick_exit.
2050         [ifeq ($(have-cxx-thread_local),yes)]
2051         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
2052         (CFLAGS-tst-thread-quick_exit.o): Likewise.
2053         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
2054         (LDLIBS-tst-thread-quick_exit): Likewise.
2055         [ifneq ($(have-cxx-thread_local),yes)]
2056         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
2057         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
2058         If run_dtors is true call __call_tls_dtors.
2059         (exit): Call __run_exit_handlers with run_dtors set to true.
2060         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
2061         definition.
2062         * stdlib/quick_exit.c (quick_exit): Remove function.
2063         (__new_quick_exit): New function.
2064         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
2065         function.
2066         * stdlib/tst-quick_exit.cc: New file.
2067         * stdlib/tst-thread-quick_exit.cc: New file.
2068         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
2069         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
2070         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
2071         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
2072         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
2073         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
2074         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
2075         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
2076         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
2077         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
2078         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
2079         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
2080         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
2081         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
2082         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
2083         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
2085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
2086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
2087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
2088         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
2089         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
2090         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
2091         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
2092         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
2093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
2094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
2095         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
2096         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
2097         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
2099 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2101         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
2102         a typo in comments.
2104 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2106         [BZ #20213]
2107         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
2108         argument to itself.
2109         * math/libm-test.inc (asin_test_data): Add sNaN tests.
2111 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2113         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
2114         required flags.
2115         (CFLAGS-pwritev64.c): Likewise.
2116         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
2117         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2118         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
2119         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2120         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
2121         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
2122         syscall from auto-generation.
2123         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
2124         [WORDSIZE == 64] (pwritev64): Remove macro.
2125         [!PWRITEV] (PWRITEV): Likewise.
2126         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2127         [!PWRITEV] (PWRITE): Likewise.
2128         [!PWRITEV] (OFF_T): Likewise.
2129         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2130         (LO_HI_LONG): Remove macro.
2131         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
2132         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
2133         (PWRITEV): Remove macro.
2134         (PWRITEV_REPLACEMENTE): Likewise.
2135         (PWRITE): Likewise.
2136         (OFF_T): Likewise.
2137         (pwritev64): New function.
2138         * nptl/tst-cancel4.c (tf_writev): Add test.
2140         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
2141         required flags.
2142         (CFLAGS-preadv64.c): Likewise.
2143         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
2144         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2145         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
2146         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
2147         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
2148         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
2149         syscall from auto-generation.
2150         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
2151         [WORDSIZE == 64] (preadv64): Remove macro.
2152         [!PREADV] (PREADV): Likewise.
2153         [!PREADV] (PREADV_REPLACEMENT): Likewise.
2154         [!PREADV] (PREAD): Likewise.
2155         [!PREADV] (OFF_T): Likewise.
2156         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
2157         (LO_HI_LONG): Remove macro.
2158         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
2159         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
2160         (PREADV): Remove macro.
2161         (PREADV_REPLACEMENTE): Likewise.
2162         (PREAD): Likewise.
2163         (OFF_T): Likewise.
2164         (preadv64): New function.
2165         * nptl/tst-cancel4.c (tf_preadv): Add test.
2167 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2169         [BZ #20212]
2170         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
2171         argument to itself.
2172         * math/libm-test.inc (acos_test_data): Add sNaN tests.
2174 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2176         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
2177         New symbol defined as libc_hidden_def.
2178         (strcasestr): Became a weak alias to __strcasestr.
2179         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
2180         according to multi-arch support.  Move __stpncpy hidden
2181         definition from here to...
2182         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
2183         symbol stpncpy.
2184         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
2185         libc_hidden_builtin_def.
2186         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
2187         memset symbol to use when multi-arch support is available.
2189 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2191         * dlfcn/tst-rec-dlopen.c: Include string.h.
2193 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2195         * manual/install.texi: Remove mention of --without-tls
2196         * INSTALL: Regenerate.
2198 2016-06-05  Florian Weimer  <fweimer@redhat.com>
2200         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
2201         Remove.
2202         (call_function, interposed_malloc_called): New variables.
2203         (malloc): New function.
2204         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
2205         and clear call_function as needed.
2207 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
2209         * include/wchar.h (__wmemset): Use __typeof.
2211 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
2213         * include/wchar.h (__wmemset): Declare function without typeof.
2215 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
2217         [BZ #20205]
2218         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
2219         exponent when incrementing negative subnormal with low mantissa
2220         word zero.
2221         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2222         Add another test.
2224 2016-06-03  Florian Weimer  <fweimer@redhat.com>
2226         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
2227         __wmemset instead of wmemset.
2229 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
2231         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
2232         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
2233         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
2234         __USE_KERNEL_IPV6_DEFS to 0.
2235         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
2236         Update comment.
2238 2016-06-01  Florian Weimer  <fweimer@redhat.com>
2240         [BZ #19861]
2241         Do not use IFUNC resolver with potentially unrelocated symbol.
2242         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
2243         (DEFINE_FORK): Remove macro and inline definition.
2244         (fork_alias): Renamed from fork_ifunc.
2245         (__fork_alias): Renamed from __fork_ifunc.
2247 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
2249         [BZ 19653]
2250         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
2251         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
2253 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2255         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
2256         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
2257         i386-linux-gnu).
2258         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
2259         Set to no.
2260         * sysdeps/mach/hurd/configure: Refresh.
2262 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2264         [BZ #20178]
2265         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
2266         on failure instead of exit.
2268 2016-05-30  Roland McGrath  <roland@hack.frob.com>
2270         [BZ #3629]
2271         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
2272         of POSIX.1-2008.
2274 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2276         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
2277           Use PLT entry for calling _hurd_self_sigstate.
2279 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2281         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
2282         available logical processors with SMT level type sharing L2
2283         cache for Intel processors.
2285 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2287         [BZ #20160]
2288         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
2289         argument to itself before returning the result.
2290         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2291         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2292         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2293         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2294         Likewise.
2295         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2296         Likewise.
2297         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
2298         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
2299         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2300         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2301         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2302         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2304         [BZ #20160]
2305         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
2306         argument to itself before returning the result.
2307         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2308         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2309         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2310         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
2311         Likewise.
2312         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2313         Likewise.
2314         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
2315         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
2316         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
2317         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2318         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2319         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2321 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2323         * libm-test.inc: Replace usage of M_El with
2324         (lit_e): New macro.
2326 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2328         * libm-test.inc: Replace usage of M_PI_4l with
2329         (lit_pi_4_d): New macro.
2331 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2333         * libm-test.inc: Replace usage of M_PIl with
2334         (lit_pi): New macro.
2336 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2338         * libm-test.inc: Replace usage of M_PI2l with
2339         (lit_pi_2_d): New macro.
2341         * math/test-double.h (LITM): New macro.
2342         * math/test-float.h (LITM): Likewise.
2343         * math/test-ldouble.h (LITM): Likewise.
2345 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2347         * libm-test.inc (M_PI_34l): Rename to
2348         (lit_pi_3_m_4_d): New Macro.
2349         (M_PI_34_LOG10El): Rename to
2350         (lit_pi_3_m_4_ln10_m_d): New Macro.
2351         (M_PI2_LOG10El): Rename to
2352         (lit_pi_2_ln10_m_d):  New Macro.
2353         (M_PI4_LOG10El): Rename to
2354         (lit_pi_4_ln10_m_d):  New Macro.
2355         (M_PI_LOG10El): Rename to
2356         (lit_pi_ln10_d):  New Macro.
2358 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2360         [BZ #20157]
2361         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
2362         determine whether to negate low half if [_ARCH_PPCGR], and integer
2363         comparison otherwise.
2364         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
2365         determine whether to negate low half.
2367         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
2368         (NO_TEST_INLINE_DOUBLE): Likewise.
2369         (TEST_COND_x86_64): Likewise.
2370         (TEST_COND_x86): Likewise.
2371         (M_PI_6l): Likewise.
2373 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2375         * math/libm-test.inc:
2376         (TEST_FLOAT): Change usage to TEST_COND_binary32.
2377         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
2378         (TEST_LDOUBLE): Update usage to evaluate as true if
2379         the guarded tests match the property being tested.
2380         (LDBL_MAX_EXP): Change to MAX_EXP.
2381         (LDBL_MIN_EXP): Change to MIN_EXP.
2382         (LDBL_MANT_DIG): Change to MANT_DIG, except for
2383         nexttoward tests.
2385 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2387         * math/libm-test.inc:
2388         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
2389         (TYPE_MIN): Likewise.
2390         (TYPE_TRUE_MIN): Likewise.
2391         (TYPE_MAX): Likewise.
2392         (MIN_EXP): Likewise.
2393         (MAX_EXP): Likewise.
2394         (MANT_DIG): Likewise.
2396         (FSTR_MAX): New macro.
2397         (__CONCATX): Likewise.
2398         (QTYPE_STR): Likewise.
2399         (TEST_COND_binary32): Likewise.
2400         (TEST_COND_binary64): Likewise.
2401         (TEST_COND_binary128): Likewise.
2402         (TEST_COND_ibm128): Likewise.
2403         (TEST_COND_intel96): Likewise.
2404         (TEST_COND_m68k96): Likewise.
2406         (TEST_COND_flt_32): Redefine as equivalent format test macro.
2407         (TEST_COND_dbl_64): Likewise.
2408         (TEST_COND_ldbl_96_intel): Likewise.
2409         (TEST_COND_ldbl_96_m68k): Likewise.
2410         (TEST_COND_ldbl_128): Likewise.
2411         (TEST_COND_ldbl_128ibm): Likewise.
2413         (plus_zero): Redefine using LIT macro.
2414         (minus_zero): Likewise.
2415         (plus_infty): Redefine as (INF).
2416         (minux_infty): Redefine as (-INF).
2417         (max_value): Redefine as TYPE_MAX.
2418         (min_value): Redefine as TYPE_MIN.
2419         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
2421         (print_float): Refactor to use snprintf to convert FLOAT values
2422         to string. This brings it closer to dropin replacement of strtof
2423         for the TS 18661 defined types.
2424         (update_stats): Likewise.
2425         (print_complex_function_ulps): Likewise.
2426         (print_max_error): Likewise.
2427         (print_complex_max_error): Likewise.
2428         (check_float_internal): Likewise.
2430         * math/test-float.h (PREFIX): New macro.
2431         (LIT): Likewise.
2432         (TYPE_STR): Likewise.
2433         (FTOSTR): Likewise.
2435         * math/test-double.h (PREFIX): New macro.
2436         (LIT): Likewise.
2437         (TYPE_STR): Likewise.
2438         (FTOSTR): Likewise.
2440         * math/test-ldouble.h (PREFIX): New macro.
2441         (LIT): Likewise.
2442         (TYPE_STR): Likewise.
2443         (FTOSTR): Likewise.
2445 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2447         [BZ #20156]
2448         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
2449         to itself when zero or not finite.
2450         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
2451         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2452         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
2453         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
2455 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
2457         [BZ #20153]
2458         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
2459         x * x + x for infinities and NaNs.
2461         [BZ #20151]
2462         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
2463         argument to itself before returning result.
2464         (__ieee754_y0l): Likewise.
2465         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2466         (__ieee754_y1l).
2468         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
2469         (atan_test_data): Likewise.
2470         (ceil_test_data): Likewise.
2471         (cos_test_data): Likewise.
2472         (cosh_test_data): Likewise.
2473         (erf_test_data): Likewise.
2474         (exp2_test_data): Likewise.
2475         (fabs_test_data): Likewise.
2476         (floor_test_data): Likewise.
2477         (ilogb_test_data): Likewise.
2478         (j0_test_data): Likewise.
2479         (j1_test_data): Likewise.
2480         (jn_test_data): Likewise.
2481         (lgamma_test_data): Likewise.
2482         (lrint_test_data): Likewise.
2483         (llrint_test_data): Likewise.
2484         (logb_test_data): Likewise.
2485         (lround_test_data): Likewise.
2486         (llround_test_data): Likewise.
2487         (nearbyint_test_data): Likewise.
2488         (rint_test_data): Likewise.
2489         (round_test_data): Likewise.
2490         (sin_test_data): Likewise.
2491         (sincos_test_data): Likewise.
2492         (sinh_test_data): Likewise.
2493         (sqrt_test_data): Likewise.
2494         (tan_test_data): Likewise.
2495         (tanh_test_data): Likewise.
2496         (tgamma_test_data): Likewise.
2497         (trunc_test_data): Likewise.
2498         (y0_test_data): Likewise.
2499         (y1_test_data): Likewise.
2500         (yn_test_data): Likewise.
2502         * math/libm-test.inc: Update comment about NaN testing.
2503         (TEST_SNAN): New macro.
2504         (snan_value): Likewise.
2505         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
2506         (fpclassify_test_data): Add sNaN tests.
2507         (isfinite_test_data): Likewise.
2508         (isinf_test_data): Likewise.
2509         (isnan_test_data): Likewise.
2510         (isnormal_test_data): Likewise.
2511         (issignaling_test_data): Likewise.
2512         (signbit_test_data): Likewise.
2513         * math/gen-libm-test.pl (%beautify): Add snan_value.
2514         (show_exceptions): Add argument $test_snan.
2515         (parse_args): Handle snan_value as non-finite.  Update call to
2516         show_exceptions.
2517         * math/Makefile (libm-test-no-inline-cflags): Add
2518         -fsignaling-nans.
2520 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2522         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
2523         (CFLAGS-oldsendmsg.c): Add rule.
2524         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2525         Correct recvmsg symbol name.
2526         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
2527         Likewise.
2529 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2531         * sysdeps/unix/sysv/linux/Makefile
2532         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
2533         oldsendmmsg.
2534         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
2535         sendmmsg.
2536         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2537         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2538         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2539         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2541         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2542         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2544         Likewise.
2545         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2546         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
2547         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2548         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
2549         iovlen and controllen fields to adjust to POSIX specification.
2550         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2552         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
2553         and change to correct expected type.
2554         (msghdr.msg_controllen): Likewise.
2555         (cmsghdr.cmsg_len): Likewise.
2556         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
2557         expected POSIX assumption about the size.
2558         (msghdr.msg_controllen): Likewise.
2559         (msghdr.__glibc_reserved1): Likewise.
2560         (msghdr.__glibc_reserved2): Likewise.
2561         (cmsghdr.cmsg_len): Likewise.
2562         (cmsghdr.__glibc_reserved1): Likewise.
2563         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
2564         Add ptw-oldrecvmsg and ptw-oldsendmsg.
2565         (CFLAGS-sendmsg.c): Remove rule.
2566         (CFLAGS-recvmsg.c): Likewise.
2567         (CFLAGS-oldsendmsg.c): Add rule.
2568         (CFLAGS-oldrecvmsg.c): Likewise.
2569         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
2570         recvmsg and sendmsg.
2571         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
2572         Likewise.
2573         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
2574         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
2575         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2576         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
2577         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2578         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2579         Likewise.
2580         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2581         Likewise.
2582         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
2583         Likewise.
2584         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2585         Likewise.
2586         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2587         Likewise.
2588         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2589         Likewise.
2590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2591         (GLIBC_2.24): Likewise.
2592         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2593         Likewise.
2594         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2595         Likewise.
2596         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2597         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2598         Likewise.
2599         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2600         Likewise.
2601         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2602         Likewise.
2603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2604         (GLIBC_2.24): Likewise.
2605         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2606         Likewise.
2607         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2608         Likewise.
2609         * sysdeps/unix/sysv/linux/Makefile
2610         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2611         (CFLAGS-sendmsg.c): Add rule.
2612         (CFLAGS-recvmsg.c): Likewise.
2613         (CFLAGS-oldsendmsg.c): Likewise.
2614         (CFLAGS-oldrecvmsg.c): Likewise.
2615         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2616         initialization.
2617         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2618         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2619         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2620         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2621         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2622         iovlen and controllen fields to adjust to POSIX specification.
2623         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2624         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2625         added recvmsg and sendmsg.
2626         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2627         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2628         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2629         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2630         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2631         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2632         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2633         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2634         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2635         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2636         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2637         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2639         Likewise.
2640         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2642         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2643         Likewise.
2644         Likewise.
2645         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2646         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2647         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2648         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2649         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2650         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2652         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2654         Likewise.
2655         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2656         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2658         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2659         from auto-generation.
2660         (sendmsg): Likewise.
2661         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2662         (sendmsg): Likewise.
2663         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2664         (sendmsg): Likewise.
2665         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2666         (sendmsg): Likewise.
2667         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2668         (sendmsg): Likewise.
2669         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2670         (sendmsg): Likewise.
2671         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2672         Likewise.
2673         (sendmsg): Likewise.
2674         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2675         (sendmsg): Likewise.
2676         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2677         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2678         Remove.
2679         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2680         Likewise.
2681         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2682         Undefine.
2683         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2684         Likewise.
2685         * sysdeps/unix/sysv/linux/kernel-features.h
2686         (__ASSUME_SENDMSG_SYSCALL): Define.
2687         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2688         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2689         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2690         Remove.
2691         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2692         Likewise.
2693         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2694         Undefine.
2695         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2696         Likewise.
2697         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2698         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2699         Remove.
2700         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2701         Likewise.
2702         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2703         Undefine.
2704         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2705         Likewise.
2706         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2707         (__ASSUME_SENDMSG_SYSCALL): Undefine.
2708         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2709         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2710         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2711         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2712         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2713         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2714         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2716 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2718         * stdlib/gen-tst-strtod-round.c: Add backslash to
2719         compile command in comment.
2720         (printfp): Remove the literal suffix, and define an infinite
2721         value as INF to avoid expansion clash with INFINITY.
2722         (round_str): Remove the literal suffix.
2723         (round_for_all): Likewise, remove the now duplicate ldbl-64
2724         entry, and remove some magic constants.
2726         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2727         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
2728         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2729         (_CONCAT): New macro.
2730         (CONCAT): Likewise.
2731         (CHOOSE_ld): Likewise.
2732         (CHOOSE_f): Likewise.
2733         (CHOOSE_d): Likewise.
2734         (FTYPE_MEMBER): Likewise.
2735         (BOOL_MEMBER): Likewise.
2736         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2737         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2738         (_XNTRY): Likewise.
2739         (XNTRY): Likewise.
2740         (_ENTRY): Likewise.
2741         (ENTRY): Likewise.
2742         (test_exactness): Generate members via macro.
2743         (test_results): Likewise.
2744         (test): Update members.
2745         (TEST): Redefine using new macros.
2746         (INF): New macro.
2747         (fetestmodes): New structure.
2748         (do_test): Refactor to be type generic.
2749         (test_in_one_mode): Refactor duplicate code into
2750         (GEN_ONE_TEST): New macro.
2752         * stdlib/tst-strtod-round-data.h: Regenerate.
2754         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2755         Extend to pass additional arbitrary parameters to
2756         generators.
2758 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
2760         [BZ #15479]
2761         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2762         floating-point state after first floating-point operation on
2763         input.  Restore full floating-point state instead of just rounding
2764         mode.
2765         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2766         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2767         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2768         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2769         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2771         [BZ #15479]
2772         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2773         floating-point state after first floating-point operation on
2774         input.  Restore full floating-point state instead of just rounding
2775         mode.
2776         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2777         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2778         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2779         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2780         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2782 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2784         [BZ #19727]
2785         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2786         valid high surrogate.
2787         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2788         of an utf16 surrogate.
2789         * iconv/gconv_simple.c (BODY): Likewise.
2790         * iconvdata/bug-iconv12.c: New file.
2791         * iconvdata/Makefile (tests): Add bug-iconv12.
2793 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2795         [BZ #19726]
2796         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2797         outptrp in case of an illegal input.
2798         * iconv/tst-iconv6.c: New file.
2799         * iconv/Makefile (tests): Add tst-iconv6.
2801 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2803         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2804         an error in case of a value in range of an utf16 low surrogate.
2806 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2808         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2809         an error in case of a value in range of an utf16 low surrogate.
2811 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2813         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2814         Move to ...
2815         * sysdeps/s390/Makefile: ... here.
2816         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2817         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2818         (BRANCH_ON_COUNT): New define.
2819         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2820         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2821         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2822         run on s390-32, too.
2823         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2824         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2825         run on s390-32, too.
2826         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2827         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2828         run on s390-32, too.
2830 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2832         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2833         etf3eh or new vector loop-variant.
2835 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2837         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2838         etf3eh or new vector loop-variant.
2840 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2842         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2843         or new vector loop-variant.
2845 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2847         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2848         Rename to TR_LOOP and usage of tr instead of troo instruction.
2850 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2852         * sysdeps/s390/multiarch/gconv_simple.c: New File.
2853         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2855 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2857         * sysdeps/s390/multiarch/8bit-generic.c: New File.
2858         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2859         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2860         New override define.
2861         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2863 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2865         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2866         * sysdeps/s390/configure.ac: Add test for S390 vector register
2867         support in gcc.
2868         * sysdeps/s390/configure: Regenerated.
2870 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2872         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2873         Install file from $(objpfx)gconv-modules.
2874         ($(objpfx)gconv-modules): Concatenate architecture specific file
2875         in variable sysdeps-gconv-modules and gconv-modules in src dir.
2876         * sysdeps/s390/gconv-modules: New file.
2877         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2878         Deleted.
2879         ($(objpfx)gconv-modules-s390): Deleted.
2880         (sysdeps-gconv-modules): New variable.
2882 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2884         [BZ #15479]
2885         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2886         of immediate operand to rounding instruction.
2887         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2888         Likewise.
2889         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2890         Likewise.
2891         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2892         Likewise.
2894 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2896         * math/libm-test.inc (MIN_EXP): Directly define as
2897         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2899 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2901         * math/libm-test.inc (MANT_DIG): Directly define as
2902         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2904 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2906         * stdlib/gen-tst-strtod-round.c (main):
2907           Change usage to more closely match the generated
2908           output.  Add usage and compilation instructions.
2909           (string_to_fp): Add and use FILE* parameter as
2910           output target.
2911           (print_fp): Likewise.
2912           (round_str): Likewise.
2913           (round_for_all): Likewise.
2914         * stdlib/tst-strtod-round.c (tests): Move into
2915         * stdlib/tst-strtod-round-data.h: New file.
2917 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2919         [BZ #15479]
2920         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2921         (__round): Do not force "inexact" exception.
2922         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2923         variable.
2924         (__round): Do not force "inexact" exception.
2925         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2926         (__roundf): Do not force "inexact" exception.
2927         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2928         (__roundl): Do not force "inexact" exception.
2929         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2930         (__roundl): Do not force "inexact" exception.
2931         * math/libm-test.inc (round_test_data): Do not allow spurious
2932         "inexact" exceptions.
2934         [BZ #15479]
2935         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2936         exception in comment.
2937         (huge): Remove variable.
2938         (__floor): Do not force "inexact" exception.
2939         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2940         "inexact" exception in comment.
2941         (huge): Remove variable.
2942         (__floor): Do not force "inexact" exception.
2943         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2944         exception in comment.
2945         (huge): Remove variable.
2946         (__floorf): Do not force "inexact" exception.
2947         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2948         exception in comment.
2949         (huge): Remove variable.
2950         (__floorl): Do not force "inexact" exception.
2952         [BZ #15479]
2953         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2954         exception in comment.
2955         (huge): Remove variable.
2956         (__ceil): Do not force "inexact" exception.
2957         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2958         "inexact" exception in comment.
2959         (huge): Remove variable.
2960         (__ceil): Do not force "inexact" exception.
2961         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2962         (__ceilf): Do not force "inexact" exception.
2963         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2964         exception in comment.
2965         (huge): Remove variable.
2966         (__ceill): Do not force "inexact" exception.
2968 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2970         * config.h.in (BIND_NOW): New.
2971         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
2972         * configure: Regenerated.
2973         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2974         indirect branch via the GOT slot.
2976 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2978         [BZ #19765]
2979         * sysdeps/s390/mempcpy.S: New File.
2980         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2981         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2982         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2983         Add mempcpy variants.
2984         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2985         (memcpy): Adjust to be usable from mempcpy entry point.
2986         (__memcpy_mvcle): Likewise.
2987         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2988         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2989         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2990         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2991         (__memcpy_z10): Likewise.
2992         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2994 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2996         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2997         Remove __GI_ symbol.
2998         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2999         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
3000         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
3001         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3002         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
3003         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
3005 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3007         * sysdeps/s390/s390-64/memcpy.S (memcpy):
3008         Use cghi instead of chi to compare 64bit value.
3010 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3012         * sysdeps/s390/s390-32/memcpy.S (memcpy):
3013         Jump to 1MB check before executing mvc-loop.
3015 2016-05-24  Florian Weimer  <fweimer@redhat.com>
3017         [BZ #6527]
3018         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
3019         unconditionally.
3020         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
3022 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3024         * stdlib/tst-strtod6.c (do_test): Use new type generic
3025         invocation of the test function.
3026         (test): Refactor into ...
3027         (TEST_STRTOD): New macro base function.
3029 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3031         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
3032         (TEST_STRTOD): New macro.
3033         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
3035 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3037         * stdlib/tst-strtod6.c (do_test): Use new type generic
3038         invocation of the test function.
3039         (test): Refactor into ...
3040         (TEST_STRTOD): New macro base function.
3042 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3044         CVE-2016-4429
3045         [BZ #20112]
3046         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
3047         payload.
3049 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3051         [BZ #20111]
3052         * bits/sockaddr.h (_SS_SIZE): Define.
3053         * bits/socket.h (_SS_SIZE): Remove.
3054         (_SS_PADSIZE): Adjust to account for all padding.
3055         (struct sockaddr_storage): Update comment.  Avoid implicit
3056         padding.
3057         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
3058         (_SS_PADSIZE): Adjust to account for all padding.
3059         (struct sockaddr_storage): Update comment.  Avoid implicit
3060         padding.
3061         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
3062         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
3063         (_SS_PADSIZE): Adjust to account for all padding.
3064         (struct sockaddr_storage): Update comment.  Avoid implicit
3065         padding.
3066         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
3067         __SS_SIZE is 126 in this version.
3068         * inet/tst-sockaddr.c: New file.
3069         * inet/Makefile (tests): Add tst-sockaddr.c
3070         (tst-sockaddr.c): Compile with non-strict aliasing.
3072 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
3074         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
3075         [XPG3 || XPG4].
3076         (NL_ARGMAX): Also expect for [XPG3].
3077         (NL_LANGMAX): Likewise.
3078         (NL_MSGMAX): Likewise.
3079         (NL_NMAX): Likewise.
3080         (NL_SETMAX): Likewise.
3081         (NL_TEXTMAX): Likewise.
3082         (NZERO): Likewise.
3083         (TMP_MAX): Likewise.
3084         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
3085         variable.
3087         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
3088         (PF_MAX): Update value.
3089         (AF_KCM): New macro.
3090         (SOL_NETBEUI): Likewise.
3091         (SOL_LLC): Likewise.
3092         (SOL_DCCP): Likewise.
3093         (SOL_NETLINK): Likewise.
3094         (SOL_TIPC): Likewise.
3095         (SOL_RXRPC): Likewise.
3096         (SOL_PPPOL2TP): Likewise.
3097         (SOL_BLUETOOTH): Likewise.
3098         (SOL_PNPIPE): Likewise.
3099         (SOL_RDS): Likewise.
3100         (SOL_IUCV): Likewise.
3101         (SOL_CAIF): Likewise.
3102         (SOL_ALG): Likewise.
3103         (SOL_NFC): Likewise.
3104         (SOL_KCM): Likewise.
3105         (MSG_BATCH): New enum value and macro.
3107 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3109         [BZ #18185]
3110         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
3111         sharing L2 cache to 2 for Knights Landing.
3113 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
3115         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
3116         (FTW_DP): Do not expect for [XPG3 || XPG4].
3117         (FTW_SL): Do not expect for [XPG3].
3118         (FTW_SLN): Likewise.
3119         (FTW_PHYS): Likewise.
3120         (FTW_MOUNT): Likewise.
3121         (FTW_DEPTH): Likewise.
3122         (FTW_CHDIR): Likewise.
3123         (nftw): Likewise.
3124         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
3125         variable.
3127 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3129         * manual/errno.texi: Fix various typos & grammar errors.
3131 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3133         * manual/intro.texi: Fix duplicated typo.
3135 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3137         [BZ #13304]
3138         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
3139         <float.h>, <math_private.h> and <stdlib.h>.
3140         (add_split): New function.
3141         (mul_split): Likewise.
3142         (ext_val): New typedef.
3143         (store_ext_val): New function.
3144         (mul_ext_val): New function.
3145         (compare): New function.
3146         (add_split_ext): New function.
3147         (__fmal): After checking for Inf, NaN and zero, compute result as
3148         an exact sum of scaled double values in round-to-nearest before
3149         adding those up and adjusting for other rounding modes.
3150         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
3151         tests of fma.
3152         * math/auto-libm-test-out: Regenerated.
3154 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3156         [BZ #20119]
3157         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
3158         processor level type mask for CPUID with EAX == 11.
3160 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3162         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
3163         logical threads if the HTT bit is 0.
3164         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
3165         (index_cpu_HTT): Likewise.
3166         (reg_HTT): Likewise.
3168 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3170         [BZ #20115]
3171         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
3172         Remove alignments on jump targets.
3174 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3176         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
3177         (getpwent): Likewise.
3178         (setpwent): Likewise.
3179         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
3180         variable.
3182         * conform/data/search.h-data (insque): Do not expect for [XPG3].
3183         (remque): Likewise.
3184         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
3185         variable.
3187 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3189         * math/libm-test.inc: Update comment not to refer to signs of NaNs
3190         not being tested.
3192 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3194         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3195         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
3196         call.
3197         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3198         (__condvar_cleanup1): Likewise.
3200 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3202         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
3203         New
3204         (__pthread_unwind): Renamed to ...
3205         (PTHREAD_UNWIND): This.
3206         (__pthread_enable_asynccancel): Replace
3207         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
3209 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3211         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
3212         (CLONE_NEWCGROUP): New macro.
3214         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
3215         (Q_GETNEXTQUOTA): New macro.
3217 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3219         [BZ #19907]
3220         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
3221         buffer updated by the previous run.
3222         * string/test-memcpy.c (do_one_test): Likewise.
3223         * benchtests/bench-memmove.c (do_one_test): Add a comment.
3224         * string/test-memmove.c (do_one_test): Likewise.
3226 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
3228         [BZ #20094]
3229         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
3230         not [__USE_XOPEN].
3231         (unlockpt): Likewise.
3232         (ptsname): Likewise.
3233         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
3234         variable.
3236         [BZ #20076]
3237         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
3238         instead of [__USE_UNIX98].
3239         (S_ISSOCK): Likewise.
3240         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
3241         variable.
3243         [BZ #20074]
3244         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
3245         [__USE_POSIX].
3246         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
3247         variable.
3249         [BZ #20051]
3250         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
3251         (ttyslot): Do not declare.
3252         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
3253         (ttyslot): New prototype.
3254         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
3255         variable.
3256         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3258 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3260         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
3262 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3264         Fix race condition in tst-mallocfork2, use fewer resources.
3265         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
3266         to current process group.
3267         (signal_sender): Yield in the non-sleeping case.
3269 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
3271         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
3272         (ecvt): Likewise.
3273         (fcvt): Likewise.
3274         (gcvt): Likewise.
3275         (getsubopt): Likewise.
3276         (grantpt): Likewise.
3277         (initstate): Likewise.
3278         (l64a): Likewise.
3279         (mktemp): Likewise.
3280         (mkstemp): Likewise.
3281         (ptsname): Likewise.
3282         (random): Likewise.
3283         (realpath): Likewise.
3284         (setstate): Likewise.
3285         (srandom): Likewise.
3286         (ttyslot): Likewise.
3287         (unlockpt): Likewise.
3288         (valloc): Likewise.
3290         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
3291         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
3292         variable.
3294 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3296         [BZ #20072]
3297         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
3298         init_cpu_features only if SHARED is defined.
3299         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3301 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3303         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
3304         non-inclusive caches on Intel processors.
3306 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3308         * malloc/malloc.c (dumped_main_arena_start)
3309         (dumped_main_arena_end): New variables.
3310         (DUMPED_MAIN_ARENA_CHUNK): New macro.
3311         (do_check_chunk): Skip dumped fake mmapped chunks.
3312         (munmap_chunk): Likewise.
3313         (__libc_free): Do not adjust statistics for fake mmapped chunks.
3314         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
3315         mmapped chunks.
3316         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
3317         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
3318         and dumped_main_arena_end to cover the dumped heap.
3320 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
3322         * conform/data/time.h-data (getdate_err): Do not expect for
3323         [XPG3].
3324         (getdate): Likewise.
3325         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
3326         variable.
3328         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
3329         (F_ULOCK): Likewise.
3330         (F_TEST): Likewise.
3331         (F_TLOCK): Likewise.
3332         (useconds_t): Likewise.
3333         (intptr_t): Do not expect for [XPG3] or [XPG4].
3334         (brk): Do not expect for [XPG3]
3335         (fchown): Likewise.
3336         (fchdir): Likewise.
3337         (ftruncate): Likewise.
3338         (getdtablesize): Likewise.
3339         (gethostid): Likewise.
3340         (getpagesize): Likewise.
3341         (getpgid): Likewise.
3342         (getsid): Likewise.
3343         (getwd): Likewise.
3344         (lchown): Likewise.
3345         (lockf): Likewise.
3346         (readlink): Likewise.
3347         (sbrk): Likewise.
3348         (setpgrp): Likewise.
3349         (setregid): Likewise.
3350         (setreuid): Likewise.
3351         (symlink): Likewise.
3352         (sync): Likewise.
3353         (truncate): Likewise.
3354         (ualarm): Likewise.
3355         (usleep): Likewise.
3356         (vfork): Likewise.
3357         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
3358         variable.
3360         [BZ #20054]
3361         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
3362         not [__USE_UNIX98].
3363         * conform/data/unistd.h-data (gethostname): Do not expect for
3364         [XPG3].
3366         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
3367         [!POSIX] (S_IFBLK): Likewise.
3368         [!POSIX] (S_IFCHR): Likewise.
3369         [!POSIX] (S_IFIFO): Likewise.
3370         [!POSIX] (S_IFREG): Likewise.
3371         [!POSIX] (S_IFDIR): Likewise.
3372         [!POSIX] (S_IFLNK): Likewise.
3373         [!POSIX] (S_IFSOCK): Likewise.
3374         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
3375         variable.
3376         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3378 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
3380         * sysdeps/aarch64/memset.S (__memset):
3381         Rewrite of optimized memset.
3383 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3385         [BZ #19703]
3386         Partially async-signal-safe fork for single-threaded processes.
3387         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
3388         variable.  Do not acquire and reset/release malloc and libio locks
3389         in single-threaded processes.
3390         * malloc/tst-mallocfork2.c: New file.
3391         * malloc/Makefile (tests): Add it.
3393 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3395         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
3396         argument.  Use scratch buffer instead of extend_alloca.
3397         (gethosts): Use scratch buffer instead of extend_alloca.
3398         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
3399         extend_alloca.
3400         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
3402 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
3404         [BZ #20055]
3405         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
3406         instead of [__USE_UNIX98].
3407         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
3408         [__USE_UNIX98].
3409         * conform/data/termios.h-data (tcgetsid): Do not expect for
3410         [XPG3].
3411         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
3412         variable.
3413         (test-xfail-XPG4/termios.h/conform): Likewise.
3415 2016-05-11  Florian Weimer  <fweimer@redhat.com>
3417         Do not use mcheck in localedef.
3418         * locale/programs/localedef.c (turn_on_mcheck)
3419         (__malloc_initialize_hook): Remove.
3421 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3423         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
3424         * sysdeps/s390/s390-64/Makefile: Likewise.
3426 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3428         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
3429         Remove ifunc-defines.sym.
3430         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
3431         Likewise.
3432         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
3433         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3434         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
3435         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
3436         rtld-global-offsets.sym.
3437         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
3438         * sysdeps/x86/cpu-features-offsets.sym: This.
3439         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
3440         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
3442 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
3444         [BZ #20073]
3445         * io/sys/stat.h (fchmod): Declare for
3446         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
3447         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
3448         variable.
3450         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
3451         [XPG3] (S_IFSOCK): Likewise.
3452         [XPG3] (S_ISVTX): Likewise.
3453         [XPG3] (S_ISLNK): Likewise.
3454         [XPG3] (S_ISSOCK): Likewise.
3455         [XPG3] (fchmod): Likewise.
3456         [XPG3] (lstat): Likewise.
3457         [XPG3] (mknod): Likewise.
3459         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
3460         [XPG3].  Expect type long and XFAIL for [XPG4].
3461         (st_blocks): Likewise.
3463         [BZ #20044]
3464         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
3465         (pthread_atfork): New prototype.
3466         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
3467         variable.
3469         [BZ #20043]
3470         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
3471         prototype.
3473 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3475         [BZ #20017]
3476         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
3477         gmtime.
3479 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3481         [BZ #19994]
3482         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
3483         flag in _res.options.
3485 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
3487         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
3488         [XPG3 || XPG4].
3489         (blksize_t): Likewise.
3490         (clockid_t): Likewise.
3491         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
3492         variable.
3493         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3495 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3497         * sysdeps/unix/sysv/linux/s390/init-first.c:
3498         Add VDSO_SYMBOL(getcpu).
3499         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
3500         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
3501         Add VDSO_SYMBOL(getcpu).
3502         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
3503         New define HAVE_GETCPU_VSYSCALL.
3504         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3506 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
3508         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
3509         instead of <sysdeps/x86_64/cacheinfo.c>.
3510         * sysdeps/x86_64/cacheinfo.c: Moved to ...
3511         * sysdeps/x86/cacheinfo.c: Here.
3513 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3515         * malloc/malloc-internal.h: Adjust header file guard.
3517 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3519         [BZ #19787]
3520         * inet/getnameinfo.c (check_sprintf_result): New function.
3521         (CHECKED_SNPRINTF): New macro.
3522         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
3523         to the host buffer.
3524         (gni_host_local): Use checked_copy to copy the host name.
3525         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
3526         (gni_serv_local): Use checked_copy to copy the service name.
3527         (getnameinfo): Remove unnecessary truncation of result buffers.
3529 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3531         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
3532         in case of inet_ntop failure.
3534 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3536         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
3537         avoid long lines.
3538         (gni_host_inet_numeric): Likewise.  Reduce scope of local
3539         variables.
3540         (gni_host_inet, gni_host_local): Add comment.
3541         (gni_host): Add comment.  Use temporary to avoid long lines.
3543 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3545         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
3546         registers specifiers where general purpose registers specifiers should
3547         have been used.
3549 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3551         [BZ #19779]
3552         CVE-2016-1234
3553         Avoid copying names of directory entries.
3554         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
3555         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
3556         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
3557         (struct readdir_result): New type.
3558         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
3559         (GL_READDIR): New macros.
3560         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
3561         (convert_dirent, convert_dirent64): New functions.
3562         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
3563         convert_dirent64.  Adjust references to the readdir result.
3564         * sysdeps/unix/sysv/linux/i386/glob64.c:
3565         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
3566         * posix/bug-glob2.c (LONG_NAME): Define.
3567         (filesystem): Add LONG_NAME.
3568         (my_DIR): Increase the size of room_for_dirent.
3570 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
3572         [BZ #20041]
3573         * misc/sys/select.h (__need_timespec): Only define if
3574         [__USE_XOPEN2K].
3575         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
3576         variable.
3577         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3578         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3579         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3581 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3582             Segher Boessenkool  <segher@gcc.gnu.org>
3584         [BZ #20004]
3585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3586         (__novec_swapcontext): Add missing load.
3588 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
3590         [BZ #20023]
3591         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3592         <time.h>.
3593         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3594         variable.
3595         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3597 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3600         flags CLONE_VM compare.
3602 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3604         [BZ #20031]
3605         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3606         completely empty.
3608 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3610         [BZ #19573]
3611         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3612         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3613         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3614         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3615         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3616         (hesiod_free_list): Mark as hidden.
3617         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3618         res_set, res_get.
3619         * hesiod/hesiod.c: Remove unnecessary forward declarations.
3620         (init, __hesiod_res_get, __hesiod_res_set): Remove.
3621         (hesiod_init): Remove obsolete res_ninit call.
3622         (hesiod_end): Do not free resolver state.  Do not invoke callback.
3623         (hesiod_bind): Do not call init.
3624         (get_txt_records): Use res_mkquery, res_send instead of
3625         res_nmkquery, res_nsend.
3626         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3627         instead of _nss_hesiod_init.
3628         (_nss_hesiod_initgroups_dyn): Likewise.
3629         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3630         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3631         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3633 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3635         * hesiod/hesiod_p.h (DEF_RHS): Remove.
3636         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3638 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3640         * hesiod/hesiod.h: Remove RCS keyword.
3641         * hesiod/hesiod_p.h: Likewise.
3643         * hesiod/hesiod.c: Likewise.
3645 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
3647         [BZ #12450]
3648         * locale/iso-639.def: Add Samogitian/sgs.
3650 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
3652         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3654         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3656 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
3657             Carlos O'Donell  <carlos@redhat.com>
3659         [BZ #19072]
3660         * grp/Makefile (headers): Add grp-merge.h
3661         (routines): Add grp-merge.
3662         * grp/getgrgid_r.c: Include grp-merge.h.
3663         (DEEPCOPY_FN): Define.
3664         (MERGE_FN): Define.
3665         * grp/getgrname_r.c: Include grp-merge.h.
3666         (DEEPCOPY_FN): Define.
3667         (MERGE_FN): Define.
3668         * grp/grp-merge.c: New file.
3669         * grp/grp-merge.h: New file.
3670         * include/grp-merge.h: New file.
3671         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3672         __copy_grp@GLIBC_PRIVATE.
3673         * manual/nss.texi (Actions in the NSS configuration): Describe
3674         return, continue, and merge.
3675         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3676         (DEEPCOPY_FN): Define.
3677         (MERGE_FN): Define.
3678         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3679         (DEEPCOPY_FN): Define.
3680         (MERGE_FN): Define.
3681         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3682         [!MERGE_FN]: Define __merge_einval.
3683         (CHECK_MERGE): Define.
3684         (REENTRANT_NAME): Process merge if do_merge is true.
3685         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3686         (__nss_getent_r): Likewise.
3687         * nss/nsswitch.c (nss_parse_service_list): Likewise.
3688         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3690 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3692         [BZ #20012]
3693         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3694         length to calculate the buffer to read.
3695         (fmemopen_write): Set the buffer position based on bytes written.
3696         (fmemopen_seek): Return EINVAL for invalid whence modes.
3698         [BZ #19957]
3699         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3700         tst-getpid2.
3701         (test): Add tst-clone2.
3702         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3703         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3704         pid/tid fields for CLONE_VM.
3705         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3706         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3707         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3708         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3709         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3710         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3711         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3712         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3714         Likewise.
3715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3716         Likewise.
3717         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3718         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3719         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3720         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3721         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3722         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3723         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3724         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3726 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3728         [BZ #19642]
3729         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3730         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3731         (gni_serv_local, gni_serv): New functions extracted from
3732         getnameinfo.
3733         (getnameinfo): Call gni_host and gni_serv to perform the
3734         processing.  Always free scratch buffer.
3736 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3738         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3739         remaining bytes in the dest string, with zeros.
3741 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3743         [BZ #20010]
3744         CVE-2016-3706
3745         * sysdeps/posix/getaddrinfo.c
3746         (convert_hostent_to_gaih_addrtuple): New function.
3747         (gethosts): Call convert_hostent_to_gaih_addrtuple.
3748         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3749         AF_INET data.
3751 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3753         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3754         callback function gl_readdir.
3755         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3756         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3757         (glob_in_dir): Remove len.  Use strdup instead of malloc and
3758         memcpy to copy the name.
3759         * manual/pattern.texi (Calling Glob): Document requirements for
3760         implementations of the gl_readdir callback function.
3761         * manual/examples/mkdirent.c: New example.
3762         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3763         per the manual guidance.
3764         * posix/tst-gnuglob.c (my_readdir): Likewise.
3766 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
3768         [BZ #20014]
3769         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3770         not [__USE_POSIX].
3771         (getchar_unlocked): Likewise.
3772         (putc_unlocked): Likewise.
3773         (putchar_unlocked): Likewise.
3774         (flockfile): Likewise.
3775         (ftrylockfile): Likewise.
3776         (funlockfile): Likewise.
3777         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3778         variable.
3779         (test-xfail-XPG4/stdio.h/conform): Likewise.
3781         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3782         Expect constant.
3783         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3784         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3785         variable.
3786         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3787         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3789         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3790         [__USE_LARGEFILE64] (off64_t): Likewise.
3791         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3792         variable.
3794 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3796         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3798 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3800         * resolv/inet_addr.c: Reindent preprocessor conditionals.
3801         * resolv/res_init.c: Likewise.
3802         * resolv/res_mkquery.c: Likewise.
3804 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3806         * resolv/res_init.c (isascii): Do not define.  Use definition in
3807         <ctype.h>.
3808         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3809         (LOG_AUTH): Remove.
3810         (SPRINTF): Remove, adjust caller.
3811         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3813 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3815         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3816         SUNSECURITY conditional.
3817         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3819 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3821         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3822         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3823         Remove BSD-related preprocessor conditionals.
3824         * conf/portability.h: Remove.
3826 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3828         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3829         * resolv/res_data.c: Likewise.
3831 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3833         * resolv/res_comp.c: Remove code conditional on __ultrix__.
3834         * resolv/res_data.c: Remove code conditional on ultrix.
3836 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3838         * resolv/res_init.c (RFC1535): Do not define.  Remove
3839         RFC1535 preprocessor conditionals.
3840         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
3841         because there configuration options which make the resolver
3842         behavior different.
3844 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3846         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
3847         RESOLVSORT preprocessor conditionals.
3848         * resolv/nss_dns/dns-host.c: Likewise.
3849         * resolv/res_init.c: Likewise.
3851 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3853         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
3854         is never defined.
3856 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3858         * inet/inet_lnaof.c: Remove SCSS keyword.
3859         * inet/inet_mkadr.c: Likewise.
3860         * inet/inet_net.c: Likewise.
3861         * inet/inet_netof.c: Likewise.
3862         * inet/rcmd.c: Likewise.
3863         * inet/rexec.c: Likewise.
3864         * inet/ruserpass.c: Likewise.
3866 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3868         * resolv/inet_addr.c: Remove _LIBC conditionals.
3869         * resolv/res_data.c: Likewise.
3870         * resolv/res_init.c: Likewise.
3871         * resolv/res_mkquery.c: Likewise.
3872         * resolv/res_libc.c: Update comment.
3873         * resolv/README: Update.
3875 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3877         * resolv/gethnamaddr.c: Remove SCSS keyword.
3878         * resolv/herror.c: Likewise.
3879         * resolv/inet_addr.c: Likewise.
3880         * resolv/inet_net_ntop.c: Likewise.
3881         * resolv/inet_net_pton.c: Likewise.
3882         * resolv/inet_neta.c: Likewise.
3883         * resolv/inet_ntop.c: Likewise.
3884         * resolv/inet_pton.c: Likewise.
3885         * resolv/ns_date.c: Remove RCS keyword.
3886         * resolv/ns_name.c: Likewise.
3887         * resolv/ns_netint.c: Likewise.
3888         * resolv/ns_parse.c: Likewise.
3889         * resolv/ns_print.c: Likewise.
3890         * resolv/ns_samedomain.c: Likewise.
3891         * resolv/ns_ttl.c: Likewise.
3892         * resolv/nsap_addr.c: Likewise.
3893         * resolv/res_comp.c: Remove SCSS and RCS keyword.
3894         * resolv/res_data.c: Remove RCS keyword.
3895         * resolv/res_debug.c: Remove SCSS and RCS keyword.
3896         * resolv/res_init.c: Likewise.
3897         * resolv/res_mkquery.c: Likewise.
3898         * resolv/res_query.c: Likewise.
3899         * resolv/res_send.c: Likewise.
3901 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3903         * conform/data/stdio.h-data (fdopen): Expect also for
3904         [XPG3 || XPG4].
3906         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3907         (fseeko): Likewise.
3908         (ftello): Likewise.
3909         (ftrylockfile): Likewise.
3910         (funlockfile): Likewise.
3911         (getc_unlocked): Likewise.
3912         (getchar_unlocked): Likewise.
3913         (putc_unlocked): Likewise.
3914         (putchar_unlocked): Likewise.
3916 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3918         [BZ #19868]
3919         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3920         DNS packet syntax checks (which were not needed before).  Skip
3921         over non-PTR records.
3923 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3925         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3926         definition.  Include <stddef.h> instead.
3928 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3930         [BZ #19831]
3931         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3932         function.
3933         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3934         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3936 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3938         [BZ #19862]
3939         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3940         (getanswer_r): Do not call syslog.
3941         (gaih_getanswer_slice): Likewise.
3942         * resolv/gethnamaddr.c (AskedForGot): Remove.
3943         (getanswer): Do not call syslog.
3944         (gethostbyaddr): Likewise.
3946 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3948         * conform/data/signal.h-data (union sigval): Expect also if
3949         [XOPEN2K].
3950         (struct sigevent): Likewise.
3951         (SIGEV_NONE): Likewise.
3952         (SIGEV_SIGNAL): Likewise.
3953         (SIGEV_THREAD): Likewise.
3954         (SIGRTMIN): Likewise.
3955         (SIGRTMAX): Likewise.
3956         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3957         variable.
3958         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3960 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3962         [BZ #19830]
3963         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3964         (gaih_getanswer_slice): Likewise.
3965         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3966         Also check for availability of RR metadata.
3968 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3970         [BZ #19825]
3971         * resolv/res_send.c (send_vc): Remove early *resplen2
3972         initialization.  Set *resplen2 on socket error.  Call
3973         close_and_return_error for other errors.
3975 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3977         * sysdeps/unix/sysv/linux/netiucv/iucv.h
3978         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3979         (SCM_IUCV_TRGCLS): New define.
3981 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3983         [BZ #20005]
3984         * libio/fmemopen.c (fmemopen_write): Update internal position after
3985         write.
3986         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3987         * stdio-common/tst-fmemopen4.c: New file..
3989 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
3991         [BZ #19996]
3992         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3993         not [__USE_XOPEN2K].
3994         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3995         variable.
3997         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3998         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3999         variable.
4001         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
4002         [__USE_XOPEN2K8].
4003         [__USE_LARGEFILE64] (off64_t): Likewise.
4004         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
4005         variable.
4007 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
4009         [BZ #19989]
4010         * libio/stdio.h (cuserid): Do not declare if
4011         [__USE_XOPEN2K && !__USE_GNU].
4012         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
4013         variable.
4015 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4017         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4018         (sysdep_routines): Add P8 and PPC64 strcspn targets.
4019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4020         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4021         ifunc'ed strcspn.
4022         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4023         [EALIGN]: Removed.
4024         [END]: Likewise
4025         [STRSPN]: Define instead of the above to control symbol name.
4026         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
4027         New file.
4028         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
4029         Likewise.
4030         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
4031         Likewise.
4032         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
4033         Likewise.
4034         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4035         [INITIAL_MASK]: New macro.
4036         [STRCSPN]: Likewise.
4037         [UPDATE_MASK]: Likewise.
4038         [USE_AS_STRCSPN]: Lisewise.
4040 2016-04-25  Florian Weimer  <fweimer@redhat.com>
4042         [BZ #19931]
4043         * stdio-common/tst-vfprintf-width-prec.c: New file.
4044         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
4045         (tests-special): Add tst-vfprintf-width-prec-mem.out.
4046         (generated): Add mtrace-related files.
4047         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
4048         (tst-%-mem.out): New pattern rule, replaces
4049         tst-printf-bz18872-mem.out.
4050         * stdio-common/vfprintf.c (vfprintf): When handling a precision
4051         specifier, deallocate any previously allocated work buffer.
4053 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
4055         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
4056         Add nop before __startcontext, add explaining comments.
4058 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
4060         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
4061         any more. Notably since IPV6_PKTINFO has been reintroduced with a
4062         completely different API.
4064         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
4065         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
4066         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
4067         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
4068         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
4069         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
4070         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
4071         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
4072         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
4073         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
4075 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
4077         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
4079 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
4081         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
4082         when it is the default of 0.
4084 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4086         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
4087         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4088         (sysdep_routines): Add new strcasestr targets.
4089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4090         (__libc_ifunc_impl_list): Likewise.
4091         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
4092         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
4093         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
4094         * sysdeps/powerpc/powerpc64/power8/Makefile:
4095         New file to add strcasestr-ppc64 to sysdep_routines.
4096         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
4097         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
4099 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
4101         * benchtests/Makefile (wcsmbs-benchset): Include only for
4102         native builds and runs.
4103         (LOCALES): Likewise.
4104         (bench-build): Build timing-type here instead of the bench
4105         target.  Generate locale only for native builds.
4106         * benchtests/README: Add note for cross-building.
4108         * benchtests/Makefile (bench-clean): Clean up extra-objs.
4110         * benchtests/README: Update README to include instructions on
4111         using bench-build.
4113         * Makefile.in (bench-build): New target.
4114         * Rules (PHONY): Add bench-build target.
4115         * benchtests/Makefile (bench): Depend on bench-build.
4116         (bench-build): New target.
4118 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4120         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
4121         profil_reply_port.
4122         (profile_waiter): Do not initialize profil_reply_port.
4123         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
4124         frequency instead of tick length in us.
4126 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
4128         [BZ #18712]
4129         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
4130         (__old_mempcpy_small): Likewise.
4131         (__old_strcpy_small): Likewise.
4132         (__old_stpcpy_small): Likewise.
4133         (__old_strpbrk_c2): Fix compat symbol name.
4134         (__old_strpbrk_c3): Likewise.
4135         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
4136         (__mempcpy_small): Remove.
4137         (__strcpy_small): Remove.
4138         (__stpcpy_small): Remove.
4140 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
4142         [BZ #19400]
4143         * locale/iso-639.def: Add the Talossan/tzl language.
4145 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4147         [BZ #16983]
4148         * locale/programs/ld-address.c (address_finish): Update postal_fmt
4149         comment.  Add "ln" to strchr check on postal_fmt.
4151 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4153         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
4154         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
4155         tel_dom_fmt.
4157 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4159         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4160         (sysdep_routines): Added __strlen_power8.
4161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
4162         __strlen_power8 entry.
4163         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
4164         Implementation for POWER8.
4165         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
4166         for __strlen_power8.
4167         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
4168         Implementation for POWER8.
4170 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
4172         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
4174 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
4176         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
4177         Goldmont and Airmont processors.
4179 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
4181         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
4182         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
4183         (__STRING2_SMALL_GET32): Remove.
4184         (memset): Remove.
4185         (__memset_1): Remove.
4186         (__memset_gc): Remove.
4187         (__mempcpy): Remove.
4188         (mempcpy): Remove.
4189         (__mempcpy_args): Remove.
4190         (strchr): Remove.
4191         (strcpy): Remove.
4192         (strcpy_args): Remove.
4193         (__stpcpy_args): Remove.
4194         (__strcmp_cc): Remove.
4195         (__strcmp_gc): Remove.
4196         (strstr): Remove.
4198 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
4200         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
4201         * nis/nis_call.c (nis_server_cache_add): Likewise.
4203 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4205         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
4207 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4209         * malloc/arena.c (__malloc_fork_lock_parent)
4210         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
4211         internal_function attribute.
4213 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
4215         * stdio-common/printf_fp.c (__printf_fp_l):
4216         Rename ___printf_fp_l to __printf_fp_l and
4217         remove strong alias. Use libc_hidden_def instead
4218         of ldbl_hidden_def macro.
4220 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4222         Remove malloc hooks from fork handler.  They are no longer needed
4223         because malloc runs right before fork, and no malloc calls from
4224         other fork handlers are not possible anymore.
4225         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
4226         declarations.
4227         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
4228         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
4229         (atfork_recursive_cntr): Remove.
4230         (__malloc_fork_lock_parent): Do not override malloc hooks and
4231         thread_arena.
4232         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
4233         thread_arena.
4234         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
4235         thread_arena instead of save_arena.
4237 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4239         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
4240         (thread_atfork, thread_atfork_static): Remove.
4241         * sysdeps/mach/hurd/malloc-machine.h:
4242         (thread_atfork, thread_atfork_static): Remove.
4244 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4246         [BZ #19431]
4247         Run the malloc fork handler as late as possible to avoid deadlocks.
4248         * malloc/malloc-internal.h: New file.
4249         * malloc/malloc.c: Include it.
4250         * malloc/arena.c (ATFORK_MEM): Remove.
4251         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
4252         Update comment.
4253         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
4254         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
4255         Remove outdated comment.
4256         (ptmalloc_init): Do not call thread_atfork.  Remove
4257         thread_atfork_static.
4258         * malloc/tst-malloc-fork-deadlock.c: New file.
4259         * Makefile (tests): Add tst-malloc-fork-deadlock.
4260         (tst-malloc-fork-deadlock): Link against libpthread.
4261         * manual/memory.texi (Aligned Memory Blocks): Update safety
4262         annotation comments.
4263         * sysdeps/nptl/fork.c (__libc_fork): Call
4264         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4265         __malloc_fork_unlock_child.
4266         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4268 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4270         [BZ #19613]
4271         Remove union wait.
4272         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
4273         (w_stopsig, w_stopval): Remove.
4274         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
4275         stat_loc argument.
4276         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
4277         (__WAIT_STATUS_DEFN): Remove.
4278         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4279         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
4280         (wait, wait3, wait4): Use int * for the stat_loc argument.
4281         * posix/wait.c (__wait): Likewise.
4282         * posix/wait3.c (__wait3): Likewise.
4283         * posix/wait4.c (__wait4): Likewise.
4284         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
4285         (__WAIT_STATUS_DEFN): Remove.
4286         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4287         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
4288         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
4289         argument.
4290         * sysdeps/posix/wait.c (__libc_wait): Likewise.
4291         * sysdeps/posix/wait3.c (__wait3): Likewise.
4292         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
4293         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4294         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
4295         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
4296         stat_loc argument.
4297         * manual/process.texi (BSD Wait Functions): Remove union wait.
4299 2016-04-13  Andreas Schwab  <schwab@suse.de>
4301         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
4302         (test-extras): Add tst-tlsalign-vars.
4303         * math/Makefile: Wrap long lines.
4304         (libm-vec-test-wrappers): Define.
4305         (test-extras): Add $(libm-vec-test-wrappers).
4306         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
4307         * nss/Makefile (extra-test-objs): Add nss_test1.os.
4308         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
4309         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
4310         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
4311         (extra-test-objs): Add corresponding objects.
4313 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
4315         [BZ #19928]
4316         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
4317         New.
4318         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
4319         times of shared cache size.
4320         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
4321         (VMOVNT): New.
4322         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
4323         (VMOVNT): Likewise.
4324         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4325         (VMOVNT): Likewise.
4326         (VMOVU): Changed to movups for smaller code sizes.
4327         (VMOVA): Changed to movaps for smaller code sizes.
4328         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
4329         comments.
4330         (PREFETCH): New.
4331         (PREFETCH_SIZE): Likewise.
4332         (PREFETCHED_LOAD_SIZE): Likewise.
4333         (PREFETCH_ONE_SET): Likewise.
4334         Rewrite to use forward and backward loops, which move 4 vector
4335         registers at a time, to support overlapping addresses and use
4336         non temporal store if size is above the threshold and there is
4337         no overlap between destination and source.
4339 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
4341         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
4342         Include dl-vdso.
4343         * sysdeps/unix/sysv/linux/mips/Versions: Add
4344         __vdso_clock_gettime.
4345         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
4346         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
4347         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
4348         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
4349         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
4350         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4351         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4352         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4353         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4355 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4357         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
4358         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4359         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4360         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4361         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4362         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4365         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
4366         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
4367         syscalls generation.
4368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4369         [__NR_pwrite64] (__NR_write): Remove define.
4370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4371         [__NR_pwrite64] (__NR_write): Remove define.
4372         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
4373         Remove define.
4374         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
4375         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
4376         Remove define.
4377         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
4378         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
4379         Linux implementation as base.
4380         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4382         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
4383         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4384         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4385         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
4387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4388         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
4389         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
4390         syscall generation.
4391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4392         [__NR_pread64] (__NR_pread): Remove define.
4393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4394         [__NR_pread64] (__NR_pread): Likewise.
4395         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
4396         define.
4397         (__libc_pread): Use SYSCALL_LL macro on offset argument.
4398         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
4399         Remove define.
4400         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
4401         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
4402         Linux implementation as base.
4403         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4404         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4405         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4407         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
4408         definition.
4409         (__ALIGNMENT_COUNT): Likewise.
4410         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
4411         (__ALIGNMENT_COUNT): Likewise.
4412         (SYSCALL_LL): New define.
4413         (SYSCALL_LL64): Likewise.
4414         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
4415         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
4416         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
4417         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
4419         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4420         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
4421         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4422         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4423         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4424         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4426 2016-04-11  Florian Weimer  <fweimer@redhat.com>
4428         [BZ #19865]
4429         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
4430         original buffer before retry.
4432 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4434         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
4435         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
4436         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
4437         GLRO(dl_auxv) list.
4438         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
4439         including <ldsodefs.h>.
4440         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
4442 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
4444         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
4445         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
4446         $(CPPFLAGS).
4448 2016-04-09  Khem Raj  <raj.khem@gmail.com>
4450         [BZ #17950]
4451         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
4452         Add -mfpmath=387.
4454 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
4456         * sysdeps/i386/configure.ac: Change == to = when calling test.
4457         * sysdeps/x86_64/configure.ac: Likewise.
4458         * sysdeps/i386/configure: Regenerated.
4459         * sysdeps/x86_64/configure: Likewise.
4461 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
4463         [BZ #16137]
4464         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
4465         * benchtests/bench-strcoll.c (input_files): Likewise.
4466         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4467         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
4468         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
4470 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
4472         [BZ #19929]
4473         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
4474         [__USE_XOPEN2K8 && !__USE_GNU].
4475         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
4476         variable.
4478         [BZ #19925]
4479         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
4480         define if [!__USE_MISC && __USE_XOPEN2K].
4481         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
4482         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
4483         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
4484         Likewise.
4485         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
4486         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
4487         variable.
4488         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4490 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4492         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4493         (sysdep_routines): Add new strspn targets.
4494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4495         (__libc_ifunc_impl_list): Add strspn.
4496         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4497         New file.
4498         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
4499         Likewise.
4500         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
4501         Likewise.
4502         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4503         Likewise.
4505 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4507         * misc/hsearch_r.c: Include <limits.h>.
4509 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4511         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
4513 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4515         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4516         (MEMCPY_SYMBOL): New.
4517         (MEMPCPY_SYMBOL): Likewise.
4518         (MEMMOVE_CHK_SYMBOL): Likewise.
4519         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
4520         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
4521         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
4522         Provide alias for memcpy in libc.a and ld.so.
4524 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4526         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4527         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
4528         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
4529         Disabled fro now.
4530         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
4531         symbols.  Properly check USE_MULTIARCH on __memset symbols.
4533 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4535         * benchtests/Makefile (string-benchset): Add memcpy-large,
4536         memmove-large and memset-large.
4537         * benchtests/bench-memcpy-large.c: New file.
4538         * benchtests/bench-memmove-large.c: Likewise.
4539         * benchtests/bench-memmove-large.c: Likewise.
4540         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
4542 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4544         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
4545         32-bit displacement to avoid long nop between instructions.
4547 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4549         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
4550         a comment on VMOVU and VMOVA.
4552 2016-04-04  Florian Weimer  <fweimer@redhat.com>
4554         [BZ #19633]
4555         Use specified locale for number formatting in strfmon_l.
4556         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
4557         (__nl_lookup_word): New inline functions.
4558         * include/printf.h (__print_fp_l): Declare.
4559         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
4560         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
4561         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
4562         (___printf_fp): New function.
4563         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
4564         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
4565         * stdlib/tst-strfmon_l.c (do_test): New test.
4566         * stdlib/Makefile (tests): Add kt.
4567         (LOCALES): Build additional locales.
4568         (tst-strfmon_l.out): Require locales.
4570 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4572         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
4573         if not in libc.
4574         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4575         Likewise.
4576         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
4577         Likewise.
4578         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4579         Likewise.
4581 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4583         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4584         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4585         with unaligned_erms.
4586         (__memmove_erms): Skip if source == destination.
4587         (__memmove_unaligned_erms): Don't check source == destination
4588         first.
4590 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4592         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4593         bit_arch_Fast_Copy_Backward for Intel Core proessors.
4595 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4597         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4598         * string/strspn.c (strspn): Likewise.
4600 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4602         * benchtests/bench-memset.c (do_test): Support 64-byte
4603         alignment.
4604         (test_main): Test 64-byte alignment.
4606 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4608         * benchtests/bench-memmove.c (test_main): Test 64-byte
4609         alignment.
4611 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4613         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4615 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4617         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4618         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4619         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4621         * string/strpbrk.c (strpbrk): Rewrite function.
4622         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4623         (__strpbrk_c2): Likewise.
4624         (__strpbrk_c3): Likewise.
4625         * string/string-inlines.c
4626         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4627         Likewise.
4628         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4629         Likewise.
4631         * string/strspn.c (strcspn): Rewrite function.
4632         * string/bits/string2.h (strspn): Use __builtin_strcspn.
4633         (__strspn_c1): Remove inline function.
4634         (__strspn_c2): Likewise.
4635         (__strspn_c3): Likewise.
4636         * string/string-inlines.c
4637         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4638         compatibility symbol.
4639         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4640         Likewise.
4641         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4642         Likewise.
4643         * string/string-inlines.c: Include generic version.
4645 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
4646             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4648         * string/Version (libc): Add GLIBC_2.24.
4649         * string/strcspn.c (strcspn): Rewrite function.
4650         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4651         (__strcspn_c1): Remove inline function.
4652         (__strcspn_c2): Likewise.
4653         (__strcspn_c3): Likewise.
4654         * string/string-inline.c
4655         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4656         compatibility symbol.
4657         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4658         Likewise.
4659         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4660         Likewise.
4661         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4663 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4665         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4666         Use ahi instead of aghi to adjust stack pointer.
4668 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4670         [BZ #19853]
4671         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4672         TEST to take significant digits as second parameter.
4673         [TEST]: Redefine in terms of TEST_N taking 30
4674         significant digits.
4675         (do_test): Add test case to demonstrate precision
4676         failure in the ldbl-128ibm printf.
4677         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4678         (__mpn_extract_long_double): Carry 7 extra intermediate
4679         bits of precision to aide computing difference when
4680         signs differ.
4682 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4684         [BZ #19881]
4685         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4686         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4687         memset-avx512-unaligned-erms.
4688         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4689         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4690         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4691         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4692         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4693         __memset_sse2_unaligned_erms, __memset_erms,
4694         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4695         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4696         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4697         file.
4698         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4699         Likewise.
4700         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4701         Likewise.
4702         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4703         Likewise.
4705 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4707         [BZ #19776]
4708         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4709         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4710         memmove-avx512-unaligned-erms.
4711         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4712         (__libc_ifunc_impl_list): Test
4713         __memmove_chk_avx512_unaligned_2,
4714         __memmove_chk_avx512_unaligned_erms,
4715         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4716         __memmove_chk_sse2_unaligned_2,
4717         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4718         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4719         __memmove_avx512_unaligned_erms, __memmove_erms,
4720         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4721         __memcpy_chk_avx512_unaligned_2,
4722         __memcpy_chk_avx512_unaligned_erms,
4723         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4724         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4725         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4726         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4727         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4728         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4729         __mempcpy_chk_avx512_unaligned_erms,
4730         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4731         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4732         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4733         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4734         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4735         __mempcpy_erms.
4736         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4737         file.
4738         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4739         Likwise.
4740         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4741         Likwise.
4742         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4743         Likwise.
4745 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4747         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4748         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4749         (La_s390_64_regs): Likewise.
4750         (La_s390_32_retval): Append vector register lrv_v24.
4751         (La_s390_64_retval): Likeweise.
4752         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4753         Handle extended structs La_s390_32_regs and La_s390_32_retval.
4754         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4755         Handle extended structs La_s390_64_regs and La_s390_64_retval.
4757 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4759         [BZ #19916]
4760         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4761         to create a non-vector/vector version for _dl_runtime_resolve and
4762         _dl_runtime_profile. Move implementation to ...
4763         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4764         (_dl_runtime_resolve) Save and restore fpr/vrs.
4765         (_dl_runtime_profile) Save and restore vrs and fix some issues
4766         if _dl_call_pltexit is called.
4767         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4768         Choose the correct resolver function if running on a machine with vx.
4769         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4770         to create a non-vector/vector version for _dl_runtime_resolve and
4771         _dl_runtime_profile. Move implementation to ...
4772         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4773         (_dl_runtime_resolve) Save and restore fpr/vrs.
4774         (_dl_runtime_profile) Save and restore vrs and fix some issues
4775         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4776         Choose the correct resolver function if running on a machine with vx.
4778 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4780         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4782 2016-03-31  Florian Weimer  <fweimer@redhat.com>
4784         [BZ #19509]
4785         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4786         skip_map != NULL.
4787         * elf/tst-dlsym-error.c: New file.
4788         * elf/Makefile (tests): Add tst-dlsym-error.
4789         (tst-dlsym-error): Link against libdl.
4791 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
4793         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4794         (__ASSUME_FUTIMESAT): Remove macro.
4795         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4797 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4799         [BZ #19879]
4800         CVE-2016-3075
4801         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4802         copy name.
4804 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4806         [BZ #19837]
4807         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4808         error if parse_line fails.
4810 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4812         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4813         (index_cpu_ERMS): Likewise.
4814         (reg_ERMS): Likewise.
4816 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
4818         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4819         PER_LINUX_FDPIC): Add.
4821 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4823         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4824         memcpy-avx512-no-vzeroupper.
4825         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4826         to ...
4827         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4828         (MEMCPY): Don't define.
4829         (MEMCPY_CHK): Likewise.
4830         (MEMPCPY): Likewise.
4831         (MEMPCPY_CHK): Likewise.
4832         (MEMPCPY_CHK): Renamed to ...
4833         (__mempcpy_chk_avx512_no_vzeroupper): This.
4834         (MEMPCPY_CHK): Renamed to ...
4835         (__mempcpy_chk_avx512_no_vzeroupper): This.
4836         (MEMCPY_CHK): Renamed to ...
4837         (__memmove_chk_avx512_no_vzeroupper): This.
4838         (MEMCPY): Renamed to ...
4839         (__memmove_avx512_no_vzeroupper): This.
4840         (__memcpy_avx512_no_vzeroupper): New alias.
4841         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4843 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4845         [BZ #18858]
4846         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4847         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4848         and mempcpy-avx512-no-vzeroupper.
4849         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4850         New.
4851         (MEMPCPY): Likewise.
4852         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4853         (MEMPCPY_CHK): New.
4854         (MEMPCPY): Likewise.
4855         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4856         (MEMPCPY): Likewise.
4857         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4858         (MEMPCPY): Likewise.
4859         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4860         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4861         Likewise.
4862         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4863         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4865 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4866              Amit Pawar  <Amit.Pawar@amd.com>
4868         [BZ #19583]
4869         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4870         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4871         processors.  Set Fast_Copy_Backward for AMD Excavator
4872         processors.
4873         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4874         New.
4875         (index_arch_Fast_Unaligned_Copy): Likewise.
4876         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4877         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4879 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4881         [BZ #19791]
4882         * resolv/res_send.c (close_and_return_error): New function.
4883         (send_dg): Initialize *resplen2 after reopen failure.  Call
4884         close_and_return_error for error returns.  On error paths without
4885         __res_iclose, initialze *resplen2 explicitly.  Update comment for
4886         successful return.
4888 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4890         [BZ# 19860]
4891         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4892         zero if the compiler does not provide the AVX512F bit.
4894 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
4896         [BZ #19848]
4897         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4898         from 8 to 4.
4899         (__ieee754_powl): Compare integer exponent against 4 not 8.
4900         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4901         from 8 to 4.
4902         (__ieee754_powl): Compare integer exponent against 4 not 8.
4903         * math/auto-libm-test-in: Add more tests of pow.
4904         * math/auto-libm-test-out: Regenerated.
4905         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4908 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4910         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4911         Make code unconditional.
4912         [!__NR_utimensat]: Remove conditional code.
4913         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4914         Make code unconditional.
4915         [!__NR_utimensat]: Remove conditional code.
4916         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4917         Make code unconditional.
4918         [!__NR_utimensat]: Remove conditional code.
4920 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4922         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4923         Make code unconditional.
4925 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
4927         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4928         call-clobbered %eax on retry path.
4929         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4931 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4933         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4934         Don't set %rcx twice before "rep movsb".
4936 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4938         [BZ #19583]
4939         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4940         inline.  Check family before setting family, model and
4941         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
4942         bits here.
4943         (init_cpu_features): Replace HAS_CPU_FEATURE and
4944         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4945         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
4946         for Intel processors with usable AVX2.  Call get_common_indeces
4947         for other processors with family == NULL.
4948         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4949         (CPU_FEATURES_ARCH_P): Likewise.
4950         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4951         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4953 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4955         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4956         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4957         $(shared-thread-library) instead of hardcoding the path to libpthread.
4959 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
4961         * sysdeps/unix/sysv/linux/kernel-features.h
4962         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4963         * sysdeps/unix/sysv/linux/getdents.c
4964         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4965         [!have_no_getdents64_defined]: Likewise.
4966         (__GETDENTS): Remove __have_no_getdents64 conditional.
4968 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
4970         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4971         Remove macro.
4972         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4973         <kernel-features.h>.
4974         (signalfd) [__NR_signalfd4]: Make code unconditional.
4975         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4977 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4979         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4980         style.
4982 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4984         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4985         (__pthread_enable_asynccancel): Use JUMPTARGET to call
4986         __pthread_unwind.
4987         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4988         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4989         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4990         (__condvar_cleanup1): Likewise.
4992 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
4994         [BZ #19822]
4995         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4996         move it to the final $@ location.
4998 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5000         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
5001         access where posix_spawn success and pid argument is null.
5002         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
5003         success case.
5005 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
5007         * sysdeps/mach/hurd/i386/c++-types.data: New file.
5009         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
5011         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
5012         and __fcntl.
5013         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
5014         __fcntl only.
5015         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
5016         adding attribute_hidden to __open and __fcntl.
5018         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
5019         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
5020         depend on libc-modules.h,
5021         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
5023 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
5025         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
5026         Remove macro.
5027         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
5028         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
5029         entry.
5031         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
5032         Remove macro.
5033         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
5034         include <kernel-features.h>.
5035         [!__ASSUME_FALLOCATE]: Remove conditional code.
5036         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
5038 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5040         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
5041         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
5042         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
5043         (_ZGVdN4v_cos_avx2): Likewise.
5044         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
5045         (_ZGVdN4v_cos): Likewise.
5046         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
5047         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
5048         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
5049         (_ZGVdN4v_exp_avx2): Likewise.
5050         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
5051         (_ZGVdN4v_exp): Likewise.
5052         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
5053         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
5054         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
5055         (_ZGVdN4v_log_avx2): Likewise.
5056         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
5057         (_ZGVdN4v_log): Likewise.
5058         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
5059         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
5060         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
5061         (_ZGVdN4vv_pow_avx2): Likewise.
5062         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
5063         (_ZGVdN4vv_pow): Likewise.
5064         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
5065         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
5066         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
5067         (_ZGVdN4v_sin_avx2): Likewise.
5068         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
5069         (_ZGVdN4v_sin): Likewise.
5070         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
5071         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
5072         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
5073         (_ZGVdN4vvv_sincos_avx2): Likewise.
5074         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
5075         (_ZGVdN4vvv_sincos): Likewise.
5076         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
5077         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
5078         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
5079         (_ZGVbN4v_cosf_sse4): Likewise.
5080         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
5081         (_ZGVdN8v_cosf_avx2): Likewise.
5082         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
5083         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
5084         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
5085         (_ZGVbN4v_expf_sse4): Likewise.
5086         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
5087         (_ZGVdN8v_expf_avx2): Likewise.
5088         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
5089         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
5090         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
5091         (_ZGVbN4v_logf_sse4): Likewise.
5092         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
5093         (_ZGVdN8v_logf_avx2): Likewise.
5094         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
5095         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
5096         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
5097         (_ZGVbN4vv_powf_sse4): Likewise.
5098         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
5099         (_ZGVdN8vv_powf_avx2): Likewise.
5100         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5101         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
5102         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5103         (_ZGVbN4vvv_sincosf_sse4): Likewise.
5104         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5105         (_ZGVdN8vvv_sincosf_avx2): Likewise.
5106         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
5107         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
5108         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
5109         (_ZGVbN4v_sinf_sse4): Likewise.
5110         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
5111         (_ZGVdN8v_sinf_avx2): Likewise.
5112         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5113         Use JUMPTARGET to call callee.
5114         (WRAPPER_IMPL_SSE2_ff): Likewise.
5115         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5116         (WRAPPER_IMPL_AVX): Likewise.
5117         (WRAPPER_IMPL_AVX_ff): Likewise.
5118         (WRAPPER_IMPL_AVX_fFF): Likewise.
5119         (WRAPPER_IMPL_AVX512): Likewise.
5120         (WRAPPER_IMPL_AVX512_ff): Likewise.
5121         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5122         Likewise.
5123         (WRAPPER_IMPL_SSE2_ff): Likewise.
5124         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5125         (WRAPPER_IMPL_AVX): Likewise.
5126         (WRAPPER_IMPL_AVX_ff): Likewise.
5127         (WRAPPER_IMPL_AVX_fFF): Likewise.
5128         (WRAPPER_IMPL_AVX512): Likewise.
5129         (WRAPPER_IMPL_AVX512_ff): Likewise.
5130         (WRAPPER_IMPL_AVX512_fFF): Likewise.
5132 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5134         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
5135         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
5136         qualifier.
5137         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
5138         internal_function qualifiers.
5140 2016-03-15  Carlos O'Donell <carlos@redhat.com>
5142         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
5143         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
5144         * math/atest-exp.c (exp_mpn): Mark chk unused.
5145         * math/atest-exp2.c (exp_mpn): Likwise.
5146         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
5147         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
5149 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
5151         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
5152         Remove macro.
5153         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
5154         <kernel-features.h>.
5155         [__NR_ppoll]: Make code unconditional.
5156         [!__ASSUME_PPOLL]: Remove conditional code.
5158         * sysdeps/unix/sysv/linux/kernel-features.h
5159         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
5160         (__ASSUME_ACCEPT4): Likewise.
5161         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5162         Define.
5163         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
5164         Likewise.
5165         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5166         Likewise.
5167         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
5168         Likewise.
5169         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
5170         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
5171         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5172         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5173         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5174         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5175         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5176         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5177         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5178         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5179         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5180         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5181         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5182         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5183         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5184         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5185         Likewise.
5186         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5187         Likewise.
5188         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5189         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5190         0x040300].
5191         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5192         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5193         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5194         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5195         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5196         0x030300].
5197         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
5198         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5199         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5200         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5201         0x040300].
5202         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5203         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5204         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5205         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5206         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5207         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5208         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5209         0x030300].
5210         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5211         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5212         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5213         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5214         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5215         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5216         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5217         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5218         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5219         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5220         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5221         0x040300].
5222         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5223         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5224         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5225         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5226         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5227         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5228         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5229         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5230         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5231         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5232         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5233         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5234         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5235         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5236         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5237         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5238         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5239         Likewise.
5240         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5241         Likewise.
5243 2016-03-15  Andreas Schwab  <schwab@suse.de>
5245         [BZ #19257]
5246         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
5247         statp->_u._ext.nscount as loop count.
5249 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5251         * math/test-signgam-finite-c99.c: Also #undef
5252         __LIBC_INTERNAL_MATH_INLINES.
5253         * math/test-signgam-main.c: Likewise.
5255 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
5257         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
5258         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
5259         (MADV_FREE): Likewise.
5260         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
5261         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
5262         EPOLLEXCLUSIVE.
5264 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
5266         * timezone/README: Remove mention of checktab.awk. Mention wiki
5267         SharedSourceFiles.
5269 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
5271         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
5272         WUNTRACED.
5274 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5276         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
5277         order to match the type of p when calling atomic_exchange_acq().
5279 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5281         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
5282         cfi_offset calls.
5283         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
5284         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
5285         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
5286         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
5287         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
5289 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
5291         * timezone/checktab.awk: Removed.
5293 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
5295         * manual/math.texi (Errors in Math Functions): Document relaxed
5296         accuracy goals for IBM long double.
5297         * math/libm-test.inc (test_exceptions): Always allow spurious
5298         "underflow" and "inexact" exceptions for IBM long double.
5300 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
5302         [BZ #19762]
5303         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5304         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
5305         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5306         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
5307         (bit_arch_*): This for feature array.
5308         (bit_*): Renamed to ...
5309         (bit_cpu_*): This for cpu array.
5310         (index_*): Renamed to ...
5311         (index_arch_*): This for feature array.
5312         (index_*): Renamed to ...
5313         (index_cpu_*): This for cpu array.
5314         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
5315         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
5316         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
5317         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
5318         bit_##name with index_cpu_##name and bit_cpu_##name.
5319         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
5320         bit_##name with index_arch_##name and bit_arch_##name.
5322 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
5324         [BZ #19792]
5325         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5326         Terminate FDE before return label.
5328 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
5330         [BZ #19790]
5331         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
5332         (rintl): Define as macro.
5333         [USE_AS_NEARBYINTL] (__rintl): Likewise.
5334         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
5335         of fesetround.  Ensure results are evaluated before end of scope.
5336         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
5337         USE_AS_NEARBYINTL and include s_rintl.c.
5338         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
5339         Disable exception traps in new environment.
5340         (libc_feholdsetround_ppc_ctx): Likewise.
5342 2016-03-08  Roland McGrath  <roland@hack.frob.com>
5344         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
5345         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
5346         (tst_audit10_aux) [__AVX512F__]: ... here.
5348 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
5350         * include/sys/auxv.h: New file.
5352 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5354         [BZ #19759]
5355         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
5357 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5359         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
5360         operand modifier.
5361         (feclearexcept): Likewise.
5363 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5365         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
5366         to reflect the entire 32-bit HWCAP.
5367         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
5368         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
5370 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5372         [BZ #19783]
5373         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
5374         $(test-via-rtld-prefix).
5375         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
5377 2016-03-08  Florian Weimer  <fweimer@redhat.com>
5379         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
5380         union wait.  Report any non-zero exit status as error.
5382 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5384         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
5385         configured with --enable-hardcoded-path-in-tests.
5387 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
5389         [BZ #19677]
5390         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5391         (__ieee754_remainderl): Put zero low parts in canonical form.
5392         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
5393         file.  Based on
5394         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
5395         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
5396         with wrapper round test-fmodrem-ldbl-128ibm.c.
5397         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
5398         file.
5399         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
5400         Likewise.
5401         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5402         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
5404 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5406         [BZ #19610]
5407         * elf/ldconfig.c (opt_link): Update comment.
5408         (options): Update help string for option -X.
5409         (search_dir): Unlink stale symbolic link only if updating symbolic
5410         links.
5411         * elf/tst-ldconfig-X.sh: New file.
5412         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
5413         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
5415 2016-03-07  Andreas Schwab  <schwab@suse.de>
5417         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
5418         needed arguments.
5420 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
5422         [BZ #15333]
5423         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
5424         to lstat64.
5426 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5428         * libio/filedoalloc.c (isatty): Remove.
5429         (local_isatty): Add comment.  Call __isatty directly.
5430         (_IO_file_doallocate): Update comment.  Assume _LIBC.
5431         * libio/wfiledoalloc.c (isatty): Remove.
5432         (_IO_wfile_doallocate): Update comment.
5434 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5436         [BZ #19269]
5437         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
5438         tst-audit4-aux.o.
5439         (tst-audit10): Depend on tst-audit10-aux.o.
5440         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
5441         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
5442         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
5443         instead of inline AVX code.
5444         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
5445         instead of inline AVX512 code.
5446         * sysdeps/x86_64/tst-audit4-aux.c: New file
5447         * sysdeps/x86_64/tst-audit10-aux.c: New file
5449         [BZ #19648]
5450         * test-skeleton.c (main): Do not set RLIMIT_DATA.
5452 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5454         [BZ #14750]
5455         [BZ #10354]
5456         [BZ #18433]
5457         * include/sched.h (__clone): Add hidden prototype.
5458         (__clone2): Likewise.
5459         * include/unistd.h (__dup): Likewise.
5460         * posix/Makefile (tests): Add tst-spawn2.
5461         * posix/tst-spawn2.c: New file.
5462         * sysdeps/posix/dup.c (__dup): Add hidden definition.
5463         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
5464         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5465         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5466         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5467         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5468         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
5469         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5470         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
5471         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5472         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5474         Likewise.
5475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5476         Likewise.
5477         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5478         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5479         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5480         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5481         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5482         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5483         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5484         * sysdeps/unix/sysv/linux/nptl-signals.h
5485         (____nptl_is_internal_signal): New function.
5486         * sysdeps/unix/sysv/linux/spawni.c: New file.
5488         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
5489         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
5490         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
5491         * posix/tst-execvp2.c (do_test): Likewise.
5492         * posix/tst-execvp3.c (do_test): Likewise.
5493         * posix/tst-execvp4.c (do_test): Likewise.
5494         * posix/tst-execvpe1.c: New file.
5495         * posix/tst-execvpe2.c: Likewise.
5496         * posix/tst-execvpe3.c: Likewise.
5497         * posix/tst-execvpe4.c: Likewise.
5498         * posix/tst-execvpe5.c: Likewise.
5499         * posix/tst-execvpe6.c: Likewise.
5501         [BZ #19534]
5502         * posix/execl.c (execl): Remove dynamic memory allocation.
5503         * posix/execle.c (execle): Likewise.
5504         * posix/execlp.c (execlp): Likewise.
5506 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5508         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
5509         Replace .text with .text.avx512.
5510         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5511         Likewise.
5513 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
5515         * sysdeps/generic/libnsl.abilist: New file.
5516         * sysdeps/generic/libutil.abilist: New file.
5518 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5520         [BZ #19762]
5521         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
5522         HAS_ARCH_FEATURE with Fast_Rep_String.
5523         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
5524         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
5525         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
5526         Likewise.
5527         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
5528         Likewise.
5529         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
5530         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
5531         Likewise.
5532         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
5533         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
5534         Likewise.
5536 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5538         [BZ #19745]
5539         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
5540         with *%rax in call.
5542 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5544         [BZ #19745]
5545         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
5546         with *__libc_start_main@GOTPCREL(%rip) in call.
5548 2016-03-04  Roland McGrath  <roland@hack.frob.com>
5550         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
5551         inside conditional for nonempty $(CXX).
5553         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
5554         nonempty.
5556         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
5557         to test for empty $(CXX) rather than $(CXX) of "no".
5559 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5561         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
5563 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
5564             H.J. Lu  <hongjiu.lu@intel.com>
5566         [BZ #18880]
5567         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
5568         instead of Slow_BSF, and also check for Fast_Copy_Backward to
5569         enable __memcpy_ssse3_back.
5571 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5573         [BZ #19758]
5574         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5575         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
5577 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5579         [BZ #19490]
5580         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
5581         (__fentry__): Likewise.
5583 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5585         * gmon/Makefile (noprof): Add $(sysdep_noprof).
5586         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5588 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5590         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5591         __mcount_internal directly.
5592         (C_LABEL(__fentry__)): Likewise.
5593         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5594         directly.
5596 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5598         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5599         (__start_context): Call __setcontext directly.
5601 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
5603         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5604         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5605         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5606         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5607         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5608         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5609         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5610         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5611         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5612         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5613         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5614         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5615         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5616         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5617         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5618         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5619         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5620         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5621         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5622         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5623         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5624         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5625         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5626         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5627         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5628         Remove conditional code.
5629         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5630         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5631         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5632         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5633         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5634         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5635         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5636         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5637         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5638         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5639         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5640         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5642 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
5644         * NEWS (2.23): Fix typo in bug 19048 text.
5646 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
5648         [BZ #14259]
5649         * Makeconfig: Rename msgcatdir to localedir.
5650         Rename inst_msgcatdir to inst_localedir.
5651         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5652         * config.make.in: Add localedir.
5653         * elf/Makefile ($(objpfx)sotruss): Use localedir.
5654         (ldd-rewrite): Likewise.
5655         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5656         (install-others): Use inst_localedir.
5657         (CPPFLAGS): Use localedir.
5658         * locale/Makefile (locale-CPPFLAGS): Likewise.
5659         * po/Makefile (mo-installed): Use inst_localedir.
5661         [BZ #19575]
5662         * localedata/charmaps/GB18030: Update comments regarding PAU to
5663         non-PUA mappings.
5665 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
5667         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5668         test for header.
5669         * sysdeps/unix/sysv/linux/configure: Regenerated.
5670         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5671         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5672         Remove conditional code.
5673         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5675         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5676         Define to 3.2.0.
5677         (arch_minimum_kernel): Likewise.
5678         * sysdeps/unix/sysv/linux/configure: Regenerated.
5679         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5680         Define to 2.6.32.
5681         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5682         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5683         (arch_minimum_kernel): Define to 2.6.32.
5684         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5685         * README: Document Linux 3.2 requirement.
5686         * manual/install.texi (Linux): Document Linux 3.2 headers
5687         requirement.
5688         * INSTALL: Regenerated.
5690 2016-02-24  Andreas Schwab  <schwab@suse.de>
5692         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5693         if !NO_LONG_DOUBLE.
5695 2016-02-22  Roland McGrath  <roland@hack.frob.com>
5697         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5698         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5700 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
5702         [BZ #19512]
5703         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5705 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5707         * posix/tst-dir.c: Include libc-internal.h.
5709 2016-02-20  Florian Weimer  <fweimer@redhat.com>
5711         [BZ #19056]
5712         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5713         * manual/filesys.texi (Reading/Closing Directory): Mention
5714         deprecaion.
5715         * posix/tst-dir.c (main): Disable deprecation warning in test.
5717 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
5719         [BZ #19679]
5720         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5721         Renamed to ...
5722         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
5723         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5724         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
5725         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5726         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5727         * sysdeps/x86_64/dl-trampoline.h
5728         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5729         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5731 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5733         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5735 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5737         * elf/elf.h (R_386_GOT32X): New.
5738         (R_386_NUM): Update.
5739         (R_X86_64_GOTPCRELX: New.
5740         (R_X86_64_REX_GOTPCRELX): New.
5741         (R_X86_64_NUM): Update.
5743 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
5745         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5747 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
5749         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5750         assign attr->stackaddr to it, and adjust it down when
5751         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
5752         [_STACK_GROWS_UP]: Delete assert.
5753         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5754         Implement stack grows up logic.
5755         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5756         stack grows up logic.
5758 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5760         * NEWS: Update with 2.24 template.
5762 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5764         [BZ #19678]
5765         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5766         Ensure +0.0 is returned when taking the next value below the least
5767         positive value.
5769 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5771         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5772         available.  Do not define NO_THREADS.
5773         * malloc/malloc.c: Do not check NO_THREADS.
5774         * malloc/arena.c: Likewise.
5776 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5778         * malloc/malloc.c (__libc_mallinfo): Update comment.
5779         (struct malloc_par): Remove max_total_mem member, it was always 0.
5780         (int_mallinfo): Store 0 into usmblks (no functional change).
5781         * malloc/hooks.c (struct malloc_state): Document that
5782         max_total_mem is always 0.
5783         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5784         always 0.
5785         * manual/memory.texi (Statistics of Malloc): Likewise.
5787 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5789         * malloc/malloc.c (sysmalloc): Do not update arena_max.
5790         * malloc/arena.c (arena_max): Remove.
5791         (heap_trim, _int_new_arena): Do not update arena_max.
5793 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5795         * resolv/res_init.c (res_ninit): Update comment.
5797 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5799         [BZ #19505]
5800         * posix/spawn_int.h: Add headers and include guard.
5801         (__spawn_valid_fd): New function.
5802         * posix/spawn_faction_addopen.c
5803         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5804         * posix/spawn_faction_addclose.c
5805         (posix_spawn_file_actions_addclose): Likewise.
5806         * posix/spawn_faction_adddup2.c
5807         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
5808         second file descriptor.
5809         * posix/spawn_valid_fd.c: New file.
5810         * posix/tst-posix_spawn-fd.c: New file.
5811         * posix/Makefile (routines): Add spawn_valid_fd.
5812         (tests): Add tst-posix_spawn-fd.
5814 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5816         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5817         (do_test): Limit the number of arenas, so that we can use fewer
5818         outer threads.  Limit timeout to 3 seconds, in preparation for a
5819         larger TIMEOUT value.
5821 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5823         [BZ #19674]
5824         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5825         sign in overflowing and underflowing results when overflow or
5826         underflow is detected early.  Include sign in result before rather
5827         than after scaling.
5829         [BZ #19603]
5830         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5831         (__ieee754_remainderl): Adjust sign of integer version of low part
5832         when taking absolute value of high part.
5833         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5834         * math/libm-test.inc (remainder_test_data): Add another test.
5835         (remquo_test_data): Likewise.
5837 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
5839         [BZ #19602]
5840         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5841         equal high parts and both low parts zero specially.
5842         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5843         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5844         Add test-fmodl-ldbl-128ibm.
5846         [BZ #19595]
5847         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5848         common logic for all cases of shifting subnormal results.  Do not
5849         insert sign bit in shifted mantissa.  Always pass -1023 as biased
5850         exponent to ldbl_insert_mantissa in subnormal case.
5852         [BZ #19594]
5853         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5854         on high and low parts then adjust result and use
5855         ldbl_canonicalize_int if needed.
5857         [BZ #19593]
5858         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5859         on high part and __floor or __ceil on low part then use
5860         ldbl_canonicalize_int if needed.
5862         [BZ #19592]
5863         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5864         high and low parts then use ldbl_canonicalize_int if needed.
5866         [BZ #17899]
5867         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5868         New function.
5869         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5870         on high and low parts then use ldbl_canonicalize_int if needed.
5872 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5874         * configure: Regenerated.
5876         * po/libc.pot: Regenerated.
5878         * po/be.po: Updated translation.
5879         * po/bg.po: Likewise.
5880         * po/ca.po: Likewise.
5881         * po/cs.po: Likewise.
5882         * po/da.po: Likewise.
5883         * po/el.po: Likewise.
5884         * po/eo.po: Likewise.
5885         * po/es.po: Likewise.
5886         * po/fi.po: Likewise.
5887         * po/fr.po: Likewise.
5888         * po/gl.po: Likewise.
5889         * po/hr.po: Likewise.
5890         * po/hu.po: Likewise.
5891         * po/ia.po: Likewise.
5892         * po/id.po: Likewise.
5893         * po/it.po: Likewise.
5894         * po/ja.po: Likewise.
5895         * po/lt.po: Likewise.
5896         * po/nb.po: Likewise.
5897         * po/nl.po: Likewise.
5898         * po/pt_BR.po: Likewise.
5899         * po/rw.po: Likewise.
5900         * po/sk.po: Likewise.
5901         * po/sl.po: Likewise.
5902         * po/sv.po: Likewise.
5903         * po/tr.po: Likewise.
5904         * po/zh_CN.po: Likewise.
5905         * po/zh_TW.po: Likewise.
5907         * version.h (RELEAES): Set to "development".
5908         (VERSION): Set to 2.23.90.
5910         * version.h (RELEASE): Set to "stable".
5911         (VERSION): Set to 2.23.
5912         * include/feature.h (__GLIBC_MINOR__): Set to 23.
5914         * NEWS: Updated fixed bugs.
5916 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
5917             Wilco Dijkstra  <wdijkstr@arm.com>
5919         [BZ #19462]
5920         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5921         (_STRING_INLINE_unaligned): This.
5922         * include/string.h: Include <string_private.h>.
5923         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5924         _STRING_INLINE_unaligned.
5925         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5926         (_STRING_INLINE_unaligned): New.
5927         * sysdeps/aarch64/string_private.h: New file.
5928         * sysdeps/generic/string_private.h: Likewise.
5929         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5930         * sysdeps/s390/string_private.h: Likewise.
5931         * sysdeps/x86/string_private.h: Likewise.
5932         * sysdeps/m68k/m680x0/m68020/bits/string.h
5933         (_STRING_ARCH_unaligned): Renamed to ...
5934         (_STRING_INLINE_unaligned): This.
5935         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5936         to ...
5937         (_STRING_INLINE_unaligned): This.
5938         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5939         to ...
5940         (_STRING_INLINE_unaligned): This.
5941         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5942         to ...
5943         (_STRING_INLINE_unaligned): This.
5945 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5946             H.J. Lu  <hongjiu.lu@intel.com>
5948         [BZ #19590]
5949         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5950         relocation.
5952 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
5954         [BZ #18665]
5955         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5956         *herrno_p.
5957         (gaih_getanswer): Document functional behviour. Return tryagain
5958         if any result is tryagain.
5959         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5960         when freed.
5961         * resolv/res_send.c: Add copyright text.
5962         (__libc_res_nsend): Document that MAXPACKET is expected.
5963         (send_vc): Document. Remove buffer reuse.
5964         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5965         size of the buffer. Add Dprint for truncated UDP buffer.
5967 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
5969         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5970         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5971         * INSTALL: Regenerate.
5973 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
5974             Jonathan Wakely  <jwakely@redhat.com>
5975             Carlos O'Donell  <carlos@redhat.com>
5977         [BZ 19439]
5978         * math/Makefile (tests): Add test-math-isinff.
5979         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5980         * math/bits/mathcalls.h [__USE_MISC]: Use
5981         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5982         functions not in C++11 and which don't conflict e.g. isinff,
5983         isinfl etc.
5984         * math/test-math-isinff.cc: New file.
5986 2016-02-12  Florian Weimer  <fweimer@redhat.com>
5988         * misc/bug18240.c (do_test): Set RLIMIT_AS.
5990 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5992         [BZ #19529]
5993         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5995 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5997         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5999 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
6001         [BZ #19550]
6002         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
6003         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
6004         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
6005         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
6006         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
6007         New syscall entry.
6008         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
6009         New syscall entry.
6010         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
6011         syscall entry.
6013 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
6015         [BZ #18240]
6016         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
6017         unsigned int wraparound.
6019 2016-01-27  Florian Weimer  <fweimer@redhat.com>
6021         [BZ #18240]
6022         * misc/bug18240.c: New test.
6023         * misc/Makefile (tests): Add it.
6025 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
6026             Joseph Myers  <joseph@codesourcery.com>
6028         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
6029         load in branch delay slot when less than a word of input left.
6031 2016-01-27  Andreas Schwab  <schwab@suse.de>
6033         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
6034         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
6035         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
6036         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
6038 2016-01-26  David S. Miller  <davem@davemloft.net>
6040         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
6042 2016-01-25  David S. Miller  <davem@davemloft.net>
6044         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
6045         __sqrtl_finite.
6046         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
6047         instead using versioned_symbol.
6048         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
6049         of entries.
6051         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
6052         __sqrtl_finite to GLIBC_2.23
6054 2016-01-25  Ricchard Henderson  <rth@redhat.com>
6056         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6058 2016-01-25  Andreas Schwab  <schwab@suse.de>
6060         [BZ #17514]
6061         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
6062         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
6063         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
6064         * nptl/tst-mutex-errorcheck.c: New file.
6066 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6068         [BZ #18560]
6069         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
6070         (IPCOP_semop): Likewise.
6071         (IPCOP_semget): Likewise.
6072         (IPCOP_semctl): Likewise.
6073         (IPCOP_msgsnd): Likewise.
6074         (IPCOP_msgrcv): Likewise.
6075         (IPCOP_msgget): Likewise.
6076         (IPCOP_msgctl): Likewise.
6077         (IPCOP_shmat): Likewise.
6078         (IPCOP_shmdt): Likewise.
6079         (IPCOP_shmget): Likewise.
6080         (IPCOP_shmctl): Likewise.
6082 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6084         * string/tst-endian.c: Include <libc-internal.h>.
6085         (do_test): Ignore tautological-compare warnings around
6086         "htobeXX (beXXtoh (i)) != i" and
6087         "htoleXX (leXXtoh (i)) != i" if-statements.
6089 2016-01-24  David S. Miller  <davem@davemloft.net>
6091         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
6092         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
6093         alias.
6094         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6095         __sqrtl_finite.
6097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6099 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
6101         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
6102         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
6103         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6105 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6107         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
6108         (thread_func): Use new function to simplify barrier check.
6109         (do_test): Use new function to simplify checking barrier exit
6110         code, and actually join the child thread.
6112 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6114         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
6115         semicolon.
6116         (__libc_tend): Likewise.
6117         (__libc_tabort): Likewise.
6119 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
6121         * sysdeps/nios2/libm-test-ulps: Update.
6122         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
6123         (__gtsf2): Likewise.
6124         (__unorddf2): Likewise.
6125         (__unordsf2): Likewise.
6126         (__ledf2): Likewise.
6128 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
6130         * nis/nis_table.c (__follow_path): Disable diagnostic for
6131         uninitialized variable that is a false positive for gcc 4.7.
6132         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
6134 2016-01-20  Roland McGrath  <roland@hack.frob.com>
6136         * sysdeps/nacl/lowlevellock-futex.h
6137         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
6138         Always evaluate PRIVATE argument.
6140 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
6142         [BZ #19490]
6143         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
6144         (pthread_cond_broadcast): Use ENTRY/END
6145         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
6146         (pthread_cond_signal): Likewise.
6147         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
6148         Likewise.
6149         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
6150         Likewise.
6151         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
6152         Likewise.
6154 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
6156         * sysdeps/ieee754/dbl-64/s_finite.c
6157         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
6158         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
6159         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
6160         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
6161         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
6163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6164         (__gtsf2): Add as optional for libc.so.
6165         (__unordsf2): Likewise.
6166         (__signbit): Remove for libc.so.
6167         (__signbitl): Likewise.
6169 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6171         * iconvdata/bug-iconv11.c (test_ibm93x):
6172         Use %zu printf format specifier for size_t argument.
6174 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
6176         * math/gen-libm-test.pl (parse_ulps): Do not reduce
6177         already-recorded ulps.
6178         * sysdeps/arm/libm-test-ulps: Regenerated.
6179         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6180         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6181         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6183 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6184             Paul Pluzhnikov  <ppluzhnikov@google.com>
6186         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
6187         assembler not supporting AVX-512.
6189 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6191         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6193 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
6195         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6196         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6198         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6200         * sysdeps/arm/libm-test-ulps: Regenerated.
6202 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6204         [BZ #19451]
6205         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
6207 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6209         [BZ #19486]
6210         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
6211         * sysdeps/generic/fix-fp-int-convert-overflow.h
6212         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
6213         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
6214         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
6215         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
6216         Likewise.
6217         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
6218         Avoid conversions to long int where inexact exceptions
6219         could be raised.
6220         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
6221         Likewise.
6222         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
6223         Avoid conversions to long long int where inexact exceptions
6224         could be raised.
6225         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
6226         Likewise.
6228 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
6230         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
6231         * configure: Regenerated.
6233 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6235         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
6237 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
6239         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
6240         outside of comment.
6242 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6244         * nptl/tst-barrier1.c: Add description on first line.
6245         * nptl/tst-barrier2.c: Likewise.
6246         * nptl/tst-barrier3.c: Likewise.
6247         * nptl/tst-barrier4.c: Likewise.
6248         * nptl/tst-barrier5.c: Likewise.
6250 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6252         [BZ #18868]
6253         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
6255 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6257         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
6258         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6259         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
6260         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
6261         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
6262         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
6263         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6264         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6265         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6266         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6267         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6269 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6271         [BZ #13065]
6272         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
6273         new implementation.
6274         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
6275         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
6276         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
6277         (BARRIER_IN_THRESHOLD): New macro.
6278         * nptl/pthread_barrierattr_setpshared.c
6279         (pthread_barrierattr_setpshared): Clean up.
6280         * nptl/tst-barrier4.c: Correct comment.
6281         * nptl/tst-barrier5.c: New file.
6282         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
6283         (gen-as-const-headers): Remove lowlevelbarrier.sym.
6284         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
6285         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
6286         * nptl/lowlevelbarrier.sym: Remove.
6287         * nptl/DESIGN-barrier.txt: Remove.
6288         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
6289         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
6290         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
6291         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
6292         error.
6293         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
6294         implementation.
6296 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6298         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
6299         (do_child): Mask SIGRTMIN while thr is running.
6301 2016-01-15  Martin Sebor  <msebor@redhat.com>
6303         [BZ #19432]
6304         * iconvdata/Makefile: Add bug-iconv11.
6305         * iconvdata/bug-iconv11.c: New test.
6306         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
6307         * iconvdata/ibm933.c: Same.
6308         * iconvdata/ibm935.c: Same.
6309         * iconvdata/ibm937.c: Same.
6310         * iconvdata/ibm939.c: Same.
6312 2016-01-15  Martin Sebor  <msebor@redhat.com>
6314         [BZ #19443]
6315         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
6316         [DEBUG] (_ufc_set_bits): Declare used.
6317         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
6318         [DEBUG] (print_all): Declare used.
6319         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
6320         operands of the ternary ?: expression to target type.
6321         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
6322         calling the undeclared abort.
6323         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
6325 2016-01-15  Martin Sebor  <msebor@redhat.com>
6327         [BZ #18755]
6328         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
6329         warnings.
6330         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
6331         (__gai_create_helper_thread): Same.
6332         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
6333         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
6334         to suppress -Wmaybe-uninitialized warnings.
6336 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
6338         [BZ #19465]
6339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
6340         inside if.
6341         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6342         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6343         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6345 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
6347         [BZ #19466]
6348         * time/tst-mktime2.c (time_t_max): Removed.
6349         (time_t_min): Likewise.
6350         (TYPE_SIGNED): New.
6351         (TYPE_MINIMUM): Likewise.
6352         (TYPE_MAXIMUM): Likewise.
6353         (TIME_T_MIN): Likewise.
6354         (TIME_T_MAX): Likewise.
6355         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
6356         and TIME_T_MIN.
6357         (do_test): Likewise.
6359 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
6361         [BZ #19467]
6362         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6363         index_Fast_Unaligned_Load flag for Excavator family CPUs.
6365 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
6367         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
6369 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
6371         * benchtests/Makefile (PYTHON): Define.
6372         (bench-func): Use $(PYTHON) to run python scripts.
6373         ($(objpfx)bench-%.c): Likewise.
6375 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
6377         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
6378         leading slash when `file_name' is "/".
6380 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
6382         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
6383         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
6384         Likewise.
6385         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
6386         Likewise.
6387         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
6388         Likewise.
6389         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
6390         enum constant and macro.
6391         (PTRACE_SETSIGMASK): Likewise.
6392         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6393         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6394         (PTRACE_GETSIGMASK): Likewise.
6395         (PTRACE_SETSIGMASK): Likewise.
6396         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6397         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
6398         Likewise.
6399         (PTRACE_SETSIGMASK): Likewise.
6400         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6401         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6402         (PTRACE_GETSIGMASK): Likewise.
6403         (PTRACE_SETSIGMASK): Likewise.
6404         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6405         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
6406         Likewise.
6407         (PTRACE_SETSIGMASK): Likewise.
6408         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6409         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
6410         Likewise.
6411         (PTRACE_SETSIGMASK): Likewise.
6412         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6413         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
6414         Likewise.
6415         (PTRACE_SETSIGMASK): Likewise.
6416         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6418 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
6419             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6421         [BZ #19439]
6422         * math/bits/mathcalls.h
6423         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
6424         prototype.
6425         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
6427 2016-01-11  Andreas Schwab  <schwab@suse.de>
6429         [BZ #19253]
6430         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
6431         cache when TZDEFRULES was used.
6432         * time/tst-tzname.c: New file.
6433         * time/Makefile (test): Add tst-tzname.
6434         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
6435         * timezone/Makefile (test-zones): Add $(posixrules-file).
6436         ($(testdata)/$(posixrules-file)): New rule.
6438 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
6440         Fix doc quoting problems with Texinfo 5
6441         Without this change, in the info file output, Texinfo 5 quotes code
6442         in text with undirected single quotes 'like this' and generates
6443         code examples that with many PDF readers cannot be cut out of PDFs
6444         and pasted into code.
6445         * manual/libc.texinfo: Configure the libc manual like the GNU
6446         Emacs manual, by using @documentencoding and setting
6447         txicodequoteundirected and txicodequotebacktick.  This way,
6448         Texinfo 5 quotes code in text with directed single quotes ‘like
6449         this’ and produces examples that can be cut out of PDFs.  This
6450         change causes Texinfo 5 to generate info files that contain UTF-8
6451         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
6452         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
6454 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6456         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
6457         __libc_tabort, __libc_tend): New wrappers that enforce compiler
6458         barriers to their respective compiler built-ins.
6459         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
6460         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
6461         * sysdeps/powerpc/sysdep.h: Likewise.
6462         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
6463         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
6464         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
6466 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
6468         * scripts/config.guess: Revert previous shebang change.
6469         * scripts/config.sub: Likewise.
6470         * scripts/mkinstalldirs: Likewise.
6472 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6474         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
6475         PPC_FEATURE2_HAS_IEEE128.
6476         * sysdeps/powerpc/dl-procinfo.c:
6477         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
6479 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
6481         [BZ #19415]
6482         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
6483         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
6484         (_dl_lookup_address): Rewrite using function resolver trampoline.
6485         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
6486         two bits in address.
6488 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6490         * longlong.h: Change !__SHMEDIA__ to
6491         (!defined (__SHMEDIA__) || !__SHMEDIA__).
6492         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
6494 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
6495             Joseph Myers  <joseph@codesourcery.com>
6496             Mark Shinwell  <shinwell@codesourcery.com>
6497             Andrew Stubbs  <ams@codesourcery.com>
6498             Rich Felker <dalias@libc.org>
6500         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
6502 2016-01-07  Richard Henderson  <rth@redhat.com>
6504         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
6506 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6508         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
6509         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
6510         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6511         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6512         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
6514 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
6515             Joseph Myers  <joseph@codesourcery.com>
6517         * timezone/private.h: Update from tzcode 2015g.
6518         * timezone/tzfile.h: Likewise.
6519         * timezone/tzselect.ksh: Likewise.
6520         * timezone/zdump.c: Likewise.
6521         * timezone/zic.c: Likewise.
6522         * timezone/ialloc.c: Remove file.
6523         * timezone/scheck.c: Likewise.
6524         * timezone/Makefile (extra-objs): Remove variable.
6525         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
6526         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
6527         -Wno-maybe-uninitialized.
6528         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
6529         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
6530         (CFLAGS-ialloc.c): Remove variable.
6531         (CFLAGS-scheck.c): Likewise.
6532         * timezone/README: Update list of files from tzcode.
6534 2016-01-07  Khem Raj  <raj.khem@gmail.com>
6536         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
6537         instead of __fxprintf when _LIBC is undefined.
6539 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
6541         * catgets/test-gencat.sh: Remove space after shebang.
6542         * conform/GlibcConform.pm: Likewise.
6543         * conform/check-header-lists.sh: Likewise.
6544         * conform/conformtest.pl: Likewise.
6545         * conform/linknamespace.pl: Likewise.
6546         * conform/list-header-symbols.pl: Likewise.
6547         * debug/catchsegv.sh: Likewise.
6548         * elf/genrtldtbl.awk: Likewise.
6549         * elf/tst-pathopt.sh: Likewise.
6550         * elf/tst-rtld-load-self.sh: Likewise.
6551         * grp/tst_fgetgrent.sh: Likewise.
6552         * iconvdata/gen-8bit-gap-1.sh: Likewise.
6553         * iconvdata/gen-8bit-gap.sh: Likewise.
6554         * iconvdata/gen-8bit.sh: Likewise.
6555         * iconvdata/run-iconv-test.sh: Likewise.
6556         * intl/tst-gettext.sh: Likewise.
6557         * intl/tst-gettext2.sh: Likewise.
6558         * intl/tst-gettext4.sh: Likewise.
6559         * intl/tst-gettext6.sh: Likewise.
6560         * intl/tst-translit.sh: Likewise.
6561         * io/ftwtest-sh: Likewise.
6562         * libio/test-freopen.sh: Likewise.
6563         * locale/gen-translit.pl: Likewise.
6564         * malloc/tst-mtrace.sh: Likewise.
6565         * manual/check-safety.sh: Likewise.
6566         * manual/libc-texinfo.sh: Likewise.
6567         * manual/tsort.awk: Likewise.
6568         * manual/xtract-typefun.awk: Likewise.
6569         * nptl/tst-cancel-wrappers.sh: Likewise.
6570         * nptl/tst-tls6.sh: Likewise.
6571         * posix/globtest.sh: Likewise.
6572         * posix/tst-getconf.sh: Likewise.
6573         * posix/wordexp-tst.sh: Likewise.
6574         * scripts/check-c++-types.sh: Likewise.
6575         * scripts/check-local-headers.sh: Likewise.
6576         * scripts/config.guess: Likewise.
6577         * scripts/config.sub: Likewise.
6578         * scripts/cpp: Likewise.
6579         * scripts/cross-test-ssh.sh: Likewise.
6580         * scripts/documented.sh: Likewise.
6581         * scripts/evaluate-test.sh: Likewise.
6582         * scripts/gen-libc-abis: Likewise.
6583         * scripts/gen-sorted.awk: Likewise.
6584         * scripts/list-fixed-bugs.py: Likewise.
6585         * scripts/merge-test-results.sh: Likewise.
6586         * scripts/mkinstalldirs: Likewise.
6587         * scripts/rellns-sh: Likewise.
6588         * scripts/test-installation.pl: Likewise.
6589         * scripts/update-copyrights: Likewise.
6590         * stdio-common/tst-printf.sh: Likewise.
6591         * stdio-common/tst-unbputc.sh: Likewise.
6592         * stdlib/tst-fmtmsg.sh: Likewise.
6593         * stdlib/tst-setcontext3.sh: Likewise.
6594         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6595         * sysdeps/unix/make-syscalls.sh: Likewise.
6597 2016-01-06  John David Anglin  <dave.anglin@bell.net>
6599         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6600         asm stw with atomic_exchange_rel.  Add explanatory comment.
6601         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6602         Likewise.
6604 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6606         [BZ #19122]
6607         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6608         * sysdeps/generic/dl-unistd.h: New file.
6609         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6611 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6613          [BZ #19122]
6614          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6615          * sysdeps/generic/dl-mman.h: New file.
6616          * sysdeps/mach/hurd/dl-mman.h: Likewise.
6618 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
6620         * manual/texinfo.tex: Update to version 2016-01-04.21 with
6621         trailing whitespace removed.
6622         * scripts/config.guess: Update to version 2016-01-01.
6623         * scripts/config.sub: Update to version 2016-01-01.
6624         * scripts/move-if-change: Update from gnulib.
6626 2016-01-04  Anton Blanchard  <anton@samba.org>
6628         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6629         for array indices.
6630         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6632 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
6634         * NEWS: Update copyright dates.
6635         * catgets/gencat.c (print_version): Likewise.
6636         * csu/version.c (banner): Likewise.
6637         * debug/catchsegv.sh: Likewise.
6638         * debug/pcprofiledump.c (print_version): Likewise.
6639         * debug/xtrace.sh (do_version): Likewise.
6640         * elf/ldconfig.c (print_version): Likewise.
6641         * elf/ldd.bash.in: Likewise.
6642         * elf/pldd.c (print_version): Likewise.
6643         * elf/sotruss.sh: Likewise.
6644         * elf/sprof.c (print_version): Likewise.
6645         * iconv/iconv_prog.c (print_version): Likewise.
6646         * iconv/iconvconfig.c (print_version): Likewise.
6647         * locale/programs/locale.c (print_version): Likewise.
6648         * locale/programs/localedef.c (print_version): Likewise.
6649         * login/programs/pt_chown.c (print_version): Likewise.
6650         * malloc/memusage.sh (do_version): Likewise.
6651         * malloc/memusagestat.c (print_version): Likewise.
6652         * malloc/mtrace.pl: Likewise.
6653         * manual/libc.texinfo: Likewise.
6654         * nptl/version.c (banner): Likewise.
6655         * nscd/nscd.c (print_version): Likewise.
6656         * nss/getent.c (print_version): Likewise.
6657         * nss/makedb.c (print_version): Likewise.
6658         * posix/getconf.c (main): Likewise.
6659         * scripts/test-installation.pl: Likewise.
6660         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6662         * All files with FSF copyright notices: Update copyright dates
6663         using scripts/update-copyrights.
6664         * intl/plural.c: Regenerated.
6665         * locale/programs/charmap-kw.h: Likewise.
6666         * locale/programs/locfile-kw.h: Likewise.
6668 2016-01-02  Helge Deller  <deller@gmx.de>
6670         [BZ #19285]
6671         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6672         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6673         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6674         (MADV_xxK_PAGES): Remove.
6676 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
6678         [BZ #15421]
6679         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6680         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
6681         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6682         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6684 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
6686         [BZ #19408]
6687         * sysdeps/unix/sysv/linux/personality.c: New file.
6688         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6689         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6690         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6691         (sysdep_routines): Add personality.
6692         (tests): Add tst-personality.
6693         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6694         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6695         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6696         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6697         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6698         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6699         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6700         Likewise.
6701         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6702         Likewise.
6703         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6704         Likewise.
6705         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6706         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6707         Likewise.
6709 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
6711         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6712         (PATH_ARM_SYSTYPE): Remove.
6713         (PATH_CPUINFO): Likewise.
6714         (IO_BASE_FOOTBRIDGE): Likewise.
6715         (IO_SHIFT_FOOTBRIDGE): Likewise.
6716         (struct platform): Likewise.
6717         (init_iosys): Remove compatibility code for 2.4 kernels.
6718         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6720 2015-12-29  Florian Weimer  <fweimer@redhat.com>
6722         * malloc/tst-malloc-thread-fail.c: New file.
6723         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6724         (tst-malloc-thread-fail): Link against libpthread.
6726 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
6728         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
6729         (get_parser): New function.
6730         (main): New function.
6732 2015-12-29  Rob Wu  <rob@robwu.nl>
6734         [BZ #19369]
6735         * resolv/res_init.c (__res_vinit): Reset defdname before use.
6737 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
6739         [BZ #19270]
6740         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6742 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
6744         [BZ #15421]
6745         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6747 2015-12-23  Torvald Riegel  <triegel@redhat.com>
6749         [BZ #13690]
6750         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6751         after releasing it.
6752         (__lll_robust_unlock): Likewise.
6753         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6754         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6755         (lll_robust_unlock): Likewise.
6756         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6757         Prevent warnings in callers.
6759 2015-12-23  Florian Weimer  <fweimer@redhat.com>
6761         * malloc/arena.c (list_lock): Update comment.
6763 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6765         * sysdeps/powerpc/hwcapinfo.c: Export symbol
6766         __parse_hwcap_and_convert_at_platform to libc.a.
6768 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6770         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6771         platform and feature support for POWER9.
6772         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6773         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6774         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6775         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6776         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6777         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6778         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6779         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6781 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6783         Harmonize generic stdio-lock support with nptl
6785         This fixes build when _IO_funlockfile is a macro, fixes build where
6786         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6787         stack unwind.
6789         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6790         _IO_release_lock ): Use cleanup attribute on new
6791         _IO_acquire_lock_file variable instead of assuming that
6792         _IO_release_lock will be called.
6793         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6794         _IO_acquire_lock_needs_exceptions_enabled.
6795         (_IO_acquire_lock_clear_flags2): New macro.
6797 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6799         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6801 2015-12-21  Florian Weimer  <fweimer@redhat.com>
6803         [BZ #19182]
6804         * malloc/arena.c (list_lock): Document lock ordering requirements.
6805         (free_list_lock): New lock.
6806         (ptmalloc_lock_all): Comment on free_list_lock.
6807         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6808         (detach_arena): Update comment.  free_list_lock is now needed.
6809         (_int_new_arena): Use free_list_lock around detach_arena call.
6810         Acquire arena lock after list_lock.  Add comment, including FIXME
6811         about incorrect synchronization.
6812         (get_free_list): Switch to free_list_lock.
6813         (reused_arena): Acquire free_list_lock around detach_arena call
6814         and attached threads counter update.  Add two FIXMEs about
6815         incorrect synchronization.
6816         (arena_thread_freeres): Switch to free_list_lock.
6817         * malloc/malloc.c (struct malloc_state): Update comments to
6818         mention free_list_lock.
6820 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6822         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6823         Remove functions.
6824         (sloww, sloww1): Accept argument to offset quadrant.
6825         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6826         quadrant.
6827         (__sin, __cos): Consolidate common code into new functions.
6828         (reduce_sincos_1, do_sincos_1): New functions.
6829         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6831         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6832         code to new functions.
6833         (reduce_sincos_2, do_sincos_2): New functions.
6834         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6836         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6837         common code for sincos.
6838         (__cos) [!IN_SINCOS]: Likewise.
6839         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6840         New function.
6841         (__sincos): Use it.
6843 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
6845         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6846         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6847         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6849 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6851         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6852         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6853         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6854         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6855         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6856         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6857         index_Prefer_No_VZEROUPPER): New feature.
6858         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6859         Prefer_No_VZEROUPPER for Knights Landing.
6861 015-12-18  Torvald Riegel  <triegel@redhat.com>
6863         * math/atest-exp2.c (mp_exp_m1): Remove.
6865 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6867         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6868         syscalls.
6869         (__SYSCALL0): New macro.
6870         (__SYSCALL1): Likewise.
6871         (__SYSCALL2): Likewise.
6872         (__SYSCALL3): Likewise.
6873         (__SYSCALL4): Likewise.
6874         (__SYSCALL5): Likewise.
6875         (__SYSCALL6): Likewise.
6876         (__SYSCALL_CONCAT_X): Likewise.
6877         (__SYSCALL_CONCAT): Likewise.
6878         (__SYSCALL_DIST): Likewise.
6879         (__SYSCALL_CALL): Likewise.
6881 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
6883         [BZ #19363]
6884         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6886 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6888         [BZ #19375]
6889         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6890         negative subnormals.
6892 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
6894         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6895         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6896         (INTERNAL_SYSCALL_NCS): Use it.
6897         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6899 2015-12-16  Florian Weimer  <fweimer@redhat.com>
6901         [BZ #19243]
6902         * malloc/arena.c (get_free_list): Remove assert and adjust
6903         reference count handling.  Add comment about reused_arena
6904         interaction.
6905         (reused_arena): Add comments abount get_free_list interaction.
6906         * malloc/tst-malloc-thread-exit.c: New file.
6907         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6908         (tst-malloc-thread-exit): Link against libpthread.
6910 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6912         [BZ #19367]
6913         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6914         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6915         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6916         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6917         (index_Prefer_MAP_32BIT_EXEC): Likewise.
6919 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6921         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6922         Silvermont optimizations for Knights Landing.
6924 2015-12-15  Andreas Schwab  <schwab@suse.de>
6926         [BZ #17197]
6927         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6928         immediately after emitting SI.
6929         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6930         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6931         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6932         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6933         * iconvdata/bug-iconv10.c: New file.
6934         * iconvdata/Makefile (tests): Add bug-iconv10.
6935         ($(objpfx)bug-iconv10.out): New rule.
6937 2015-12-15  Florian Weimer  <fweimer@redhat.com>
6939         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6940         aliasing violation.
6942 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
6944         [BZ #18472]
6945         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6946         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6947         conditionals for them.
6948         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6949         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6950         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6951         sys/kdaemon.h.
6952         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6953         compat-only syscall, obsoleted in glibc 2.23.
6954         (create_module): Likewise.
6955         (get_kernel_syms): Likewise.
6956         (query_module): Likewise.
6957         (uselib): Likewise.
6958         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6960 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
6962         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6963         <linux/version.h>.
6964         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6965         conditional code.
6966         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6967         and ioshift_name initialization.
6969 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6971         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6972         Fix indentation.
6974 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6976         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6978 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6980         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6982 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
6983             Jakub Wilk  <jwilk@debian.org>
6985         [BZ #19347]
6986         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6987         to change the group of the device to the tty group.
6989 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6991         Split large string section; add truncation advice
6992         * manual/examples/strncat.c: Remove.
6993         This example was misleading, as the code would have undefined
6994         behavior if "hello" was longer than SIZE.  Anyway, the manual
6995         shouldn't encourage strncpy+strncat for this sort of thing.
6996         * manual/string.texi (Copying Strings and Arrays): Split into
6997         three sections Copying Strings and Arrays, Concatenating Strings,
6998         and Truncating Strings, as this section was way too long.  All
6999         cross-referenced changed.  Add advice about string-truncation
7000         functions.  Remove misleading strncat example.
7002 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
7004         * manual/nss.texi (NSS Modules Interface): Document
7005         NSS_STATUS_NOTFOUND and SUCCESS.
7007 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7009         [BZ 18568]
7010         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7011         201505L, for Unicode 8.
7013 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
7015         * locale/C-translit.h: Regenerate.
7017 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7019         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
7020         and U+0153.
7022 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
7024         [BZ #19351]
7025         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
7026         expanding log(1+z), compare z rather than its square with epsilon
7027         to determine when to avoid evaluating the expansion.
7029         [BZ #19350]
7030         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7031         Increase overflow threshold.
7033         [BZ #19349]
7034         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
7035         when small.
7037         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7038         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7039         New macro.
7040         [__LINUX_KERNEL_VERSION >= 0x040300]
7041         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7042         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7043         Likewise.
7044         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7045         Likewise.
7046         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7047         Likewise.
7048         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7049         Likewise.
7050         [__LINUX_KERNEL_VERSION >= 0x040300]
7051         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7052         [__LINUX_KERNEL_VERSION >= 0x040300]
7053         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7054         [__LINUX_KERNEL_VERSION >= 0x040300]
7055         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7056         [__LINUX_KERNEL_VERSION >= 0x040300]
7057         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7058         [__LINUX_KERNEL_VERSION >= 0x040300]
7059         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7060         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7061         Likewise.
7062         [__LINUX_KERNEL_VERSION >= 0x040300]
7063         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7064         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7065         Likewise.
7066         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7067         Likewise.
7068         [__LINUX_KERNEL_VERSION >= 0x040300]
7069         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7070         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7071         Likewise.
7072         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7073         Likewise.
7074         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7075         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
7076         Likewise.
7077         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
7078         Likewise.
7079         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7080         Likewise.
7081         [__LINUX_KERNEL_VERSION >= 0x040300]
7082         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7083         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7084         Likewise.
7085         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7086         Likewise.
7087         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7088         Likewise.
7089         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7090         Likewise.
7091         [__LINUX_KERNEL_VERSION >= 0x040300]
7092         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7093         [__LINUX_KERNEL_VERSION >= 0x040300]
7094         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7095         [__LINUX_KERNEL_VERSION >= 0x040300]
7096         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7097         [__LINUX_KERNEL_VERSION >= 0x040300]
7098         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7099         [__LINUX_KERNEL_VERSION >= 0x040300]
7100         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7101         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7102         Likewise.
7103         [__LINUX_KERNEL_VERSION >= 0x040300]
7104         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7105         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7106         Likewise.
7107         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7108         Likewise.
7109         [__LINUX_KERNEL_VERSION >= 0x040300]
7110         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7111         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7112         Likewise.
7113         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7114         Likewise.
7115         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7116         (__ASSUME_SOCKET_SYSCALL): Likewise.
7117         (__ASSUME_BIND_SYSCALL): Likewise.
7118         (__ASSUME_CONNECT_SYSCALL): Likewise.
7119         (__ASSUME_LISTEN_SYSCALL): Likewise.
7120         (__ASSUME_ACCEPT_SYSCALL): Likewise.
7121         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7122         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7123         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7124         (__ASSUME_SEND_SYSCALL): Likewise.
7125         (__ASSUME_SENDTO_SYSCALL): Likewise.
7126         (__ASSUME_RECV_SYSCALL): Likewise.
7127         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7128         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
7129         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7130         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7131         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7132         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7133         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7134         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
7135         Likewise.
7136         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
7137         Likewise.
7138         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
7139         Likewise.
7140         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
7141         Likewise.
7142         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
7143         Likewise.
7144         [__LINUX_KERNEL_VERSION >= 0x020625]
7145         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7146         [__LINUX_KERNEL_VERSION >= 0x020625]
7147         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7148         [__LINUX_KERNEL_VERSION >= 0x020625]
7149         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7150         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
7151         Likewise.
7152         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
7153         Likewise.
7154         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
7155         Likewise.
7156         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
7157         Likewise.
7158         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
7159         Likewise.
7160         [__LINUX_KERNEL_VERSION >= 0x020625]
7161         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7162         [__LINUX_KERNEL_VERSION >= 0x020625]
7163         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7164         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
7165         Likewise.
7166         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
7167         Likewise.
7169 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7171         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
7172         record the current if the current ABI and CPU support the FP64
7173         extension.
7174         (has-modd-spreg): Define to record the current if the current ABI and
7175         CPU support 32-bit floating point values in odd FPU registers.
7176         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7177         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
7178         $(has-modd-spreg) equals yes.
7179         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
7180         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
7181         $(has-modd-spreg) equal yes.
7183 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7185         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
7186         basename.
7188 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
7190         * benchtests/Makefile (bench-math): Move ffs and ffsll...
7191         (bench-string): ... here.
7192         (bench): Add bench-string.
7193         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
7194         to *-benchset to reflect what they are.
7195         (benchset): Adjust.
7197         * benchtests/sincos-inputs: Add inputs from sin-inputs and
7198         cos-inputs.
7200 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
7202         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
7203         __attribute__ ((__simd__)) for vector math function declarations.
7205 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7207         Fix typo in strncat, wcsncat manual entries
7208         * manual/string.texi (Copying and Concatenation): Fix typos in
7209         sample implementations of strncat and wcsncat, by having them use
7210         the old value of the destination length, not the new one.
7212 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
7214         [BZ #16961]
7215         [BZ #16962]
7216         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
7217         string on the stack for strtod.
7218         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
7219         a string on the stack for strtof.
7220         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
7221         constructing a string on the stack for strtold.
7222         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
7223         __strtold_nan to GLIBC_PRIVATE.
7224         * math/test-nan-overflow.c: New file.
7225         * math/test-nan-payload.c: Likewise.
7226         * math/Makefile (tests): Add test-nan-overflow and
7227         test-nan-payload.
7229 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7231         Consistency about byte vs character in string.texi
7232         * manual/string.texi (String and Array Utilities):
7233         Distinguish more carefully among bytes, multibyte characters,
7234         and wide characters.  Use "byte" when talking about C 'char',
7235         to distinguish it more clearly from multibyte characters.
7236         Say "wide character" or "multibyte character" instead of
7237         "character", when a wide or multibyte character is intended.
7238         Similarly for "multibyte string" versus "string".
7239         Define these terms more carefully.
7241 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
7243         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
7244         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
7245         Likewise.
7246         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7247         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7248         * sysdeps/sh/math_private.h: New file.
7249         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
7250         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
7251         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
7252         long double function name.
7253         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7254         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7255         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7256         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7257         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
7259         Remove __finitel, __isinfl, and __isnanl.
7260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7261         Likewise.
7262         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7264         Remove __finitel.
7265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7266         Likewise.
7267         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7269 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
7271         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
7272         installed libmvec_nonshared.a.
7274 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7276         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
7277         (sysdep_routines): Likewise.
7278         (sysdep-rtld-routines): Likewise.
7279         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
7280         [$(subdir) = nptl](tests-static): test-get_hwcap-static
7281         * sysdeps/powerpc/Versions: Added new
7282         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
7283         * sysdeps/powerpc/hwcapinfo.c: New file.
7284         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
7285         and parse hwcap, hwcap2 and platform number information.
7286         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
7287         to store HWCAP+HWCAP2 and platform number.
7288         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
7289         for HWCAP+HWCAP2 and platform number in the TCB.
7290         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
7291         the HWCAP, HWCAP2 and platform number in the TCB.
7292         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
7293         (TLS_INIT_TP): Included calls to add the hwcap and
7294         at_platform values in the TCB in TP initialization.
7295         (TLS_DEFINE_INIT_TP): Likewise.
7296         (THREAD_GET_HWCAP): New macro.
7297         (THREAD_SET_HWCAP): Likewise.
7298         (THREAD_GET_AT_PLATFORM): Likewise.
7299         (THREAD_SET_AT_PLATFORM): Likewise.
7300         * sysdeps/powerpc/powerpc32/dl-machine.h:
7301         (dl_platform_init): New function that calls
7302         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
7303         powerpc32.
7304         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
7305         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
7306         this functionality, static linking case.
7307         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
7308         linking case.
7309         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
7310         __parse_hwcap_and_convert_at_platform for the static linking case.
7311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
7312         Included the new __parse_hwcap_and_convert_at_platform symbol in the
7313         ABI list for GLIBC 2.23.
7314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
7315         Likewise.
7316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
7317         Likewise.
7319 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
7321         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
7322         * configure: Regenerate.
7323         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
7324         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
7326 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
7328         * iconvdata/ibm930.c: Add comment explaining encoding uses.
7329         * iconvdata/ibm933.c: Likewise.
7330         * iconvdata/ibm935.c: Likewise.
7331         * iconvdata/ibm937.c: Likewise.
7332         * iconvdata/ibm939.c: Likewise.
7334 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7336         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
7337         pthread_join.
7338         * nptl/tst-cancel21.c (tf): Likewise.
7340 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
7342         [BZ #19313]
7343         * bits/typesizes.h (__CPU_MASK_TYPE): New.
7344         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7345         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7346         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
7347         Likewise.
7348         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
7349         Likewise.
7350         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
7351         Likewise.
7352         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
7353         Likewise.
7354         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
7355         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
7356         unsigned long int with __CPU_MASK_TYPE.
7358 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7360         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7362 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
7364         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
7365         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
7366         t512.x.
7367         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
7369 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
7371         [BZ #19214]
7372         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
7373         argument to return extended model.  Update family and model
7374         with extended family and model when family == 0x0f.
7375         (init_cpu_features): Updated.
7377 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7379         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
7380         signed off_t, so 32bit bigger than 2GiB values are fine actually.
7382         * sysdeps/mach/hurd/mmap64.c: New file.
7384 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
7386         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
7387         rights for its main user thread in NEWTASK.
7389 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
7391         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
7392         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
7394 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
7396         [BZ #14259]
7397         * Makeconfig: Rename localedir to complocaledir.
7398         Rename inst_localedir to inst_complocaledir.
7399         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
7400         * config.make.in: Use complocaledir and libc_cv_complocaledir.
7401         * configure.ac: Use libc_cv_complocaledir.
7402         * configure: Regenerate.
7403         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
7404         -DCOMPLOCALEDIR.
7405         * locale/findlocale.c: Use COMPLOCALEDIR.
7406         * locale/loadarchive.c: Likewise.
7407         * locale/programs/locale.c: Likewise.
7408         * locale/programs/localedef.c: Likewise.
7409         * locale/programs/locarchive.c: Likewise.
7410         * localedata/Makefile: Use inst_complocaledir.
7411         * sysdeps/gnu/configure: Regenerate.
7412         * sysdeps/hppa/configure: Regenerate.
7413         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
7414         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7416         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
7417         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
7418         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
7419         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
7421 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
7423         [BZ #19058]
7424         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
7425         AS_NEEDED.
7426         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
7427         workaround.
7428         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
7429         libmvec-static-only-routines): Added new file.
7430         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
7432 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7434         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
7435         of interrupted RPC instead of restoring it.
7437         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
7438         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
7439         libc_hidden_def.
7440         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
7441         into initialized data instead of common. Define rtld_hidden_data_def.
7442         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
7443         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
7444         libc_hidden_def.
7445         (if_freenameindex): Add libc_hidden_weak.
7446         (if_nameindex): Add libc_hidden_weak.
7447         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
7448         __open64.
7449         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
7450         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
7451         * sysdeps/mach/nanosleep.c: Include <time.h>
7452         (__nanosleep): Rename to __libc_nanosleep.
7453         (__nanosleep): Add weak_alias.
7454         (nanosleep): Update alias.
7456 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
7458         * stdlib/strtod_nan.c: New file.
7459         * stdlib/strtod_nan_double.h: Likewise.
7460         * stdlib/strtod_nan_float.h: Likewise.
7461         * stdlib/strtod_nan_main.c: Likewise.
7462         * stdlib/strtod_nan_narrow.h: Likewise.
7463         * stdlib/strtod_nan_wide.h: Likewise.
7464         * stdlib/strtof_nan.c: Likewise.
7465         * stdlib/strtold_nan.c: Likewise.
7466         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
7467         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
7468         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
7469         * wcsmbs/wcstod_nan.c: Likewise.
7470         * wcsmbs/wcstof_nan.c: Likewise.
7471         * wcsmbs/wcstold_nan.c: Likewise.
7472         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
7473         strtold_nan.
7474         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
7475         wcstof_nan.
7476         * include/stdlib.h (__strtof_nan): Declare and use
7477         libc_hidden_proto.
7478         (__strtod_nan): Likewise.
7479         (__strtold_nan): Likewise.
7480         (__wcstof_nan): Likewise.
7481         (__wcstod_nan): Likewise.
7482         (__wcstold_nan): Likewise.
7483         * include/wchar.h (____wcstoull_l_internal): Declare.
7484         * stdlib/strtod_l.c: Do not include <ieee754.h>.
7485         (____strtoull_l_internal): Remove declaration.
7486         (STRTOF_NAN): Define macro.
7487         (SET_MANTISSA): Remove macro.
7488         (STRTOULL): Likewise.
7489         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
7490         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
7491         (STRTOF_NAN): Define macro.
7492         (SET_MANTISSA): Remove macro.
7493         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
7494         (SET_MANTISSA): Remove macro.
7495         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
7496         macro.
7497         (SET_MANTISSA): Remove macro.
7498         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
7499         macro.
7500         (SET_MANTISSA): Remove macro.
7501         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
7502         (SET_MANTISSA): Remove macro.
7503         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
7504         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
7505         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
7507         [BZ #19266]
7508         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
7509         upper case and lower case letters inside NAN(), not using TOLOWER.
7510         * stdlib/tst-strtod-nan-locale-main.c: New file.
7511         * stdlib/tst-strtod-nan-locale.c: Likewise.
7512         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
7513         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
7514         Depend on $(gen-locales).
7515         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
7516         * wcsmbs/tst-wcstod-nan-locale.c: New file.
7517         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
7518         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
7519         Depend on $(gen-locales).
7520         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
7522 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
7524         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
7526         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
7528         __finitel, __isinfl, and __isnanl.
7529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7530         Likewise.
7531         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
7533         __finitel.
7534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7535         Likewise.
7536         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7538 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7540         * malloc/memusage.c (me): Remove redundant getenv call.
7542 2015-10-24  Florian Weimer  <fweimer@redhat.com>
7544         [BZ #19143]
7545         [BZ #19164]
7546         * nptl/check-cpuset.h: Remove.
7547         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
7548         Remove CPU set size check.
7549         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
7550         Likewise.
7551         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
7552         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7553         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
7554         (__pthread_setaffinity_new): Remove CPU set size check.
7555         * sysdeps/unix/sysv/linux/sched_setaffinity.c
7556         (__kernel_cpumask_size): Remove.
7557         (__sched_setaffinity_new): Remove CPU set size check.
7558         * manual/threads.texi (Default Thread Attributes): Remove stale
7559         reference to check_cpuset_attr, determine_cpumask_size in comment.
7560         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
7561         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
7562         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
7563         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
7564         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
7565         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
7566         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
7567         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
7568         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
7569         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
7570         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
7571         skeleton test file.
7572         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
7573         tst-affinity-pid.
7575 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7577         * scripts/update-abilist.sh: New file.
7578         * Makefile (+subdir_targets): Add subdir_update-all-abi.
7579         * Makerules (update-all-abi-%, update-all-abi)
7580         (subdir_update-all-abi): New targets.
7581         * elf/Makefile (update-all-abi): New target.
7583 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7585         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7586         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7587         (__libc_lock_define_initialized): Use it.
7588         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7589         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7590         * malloc/malloc.c (main_arena): Likewise.
7591         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7592         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7594 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
7596         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7597         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7598         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7599         (PTRACE_O_MASK): Update value.
7600         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7601         New value in enum __ptrace_setoptions.
7602         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7603         (PTRACE_O_MASK): Update value.
7604         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7605         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7606         (PTRACE_O_MASK): Update value.
7607         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7608         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7609         (PTRACE_O_MASK): Update value.
7610         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7611         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7612         (PTRACE_O_MASK): Update value.
7613         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7614         New value in enum __ptrace_setoptions.
7615         (PTRACE_O_MASK): Update value.
7616         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7617         New value in enum __ptrace_setoptions.
7618         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7619         (PTRACE_O_MASK): Update value.
7621         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7622         New macro.
7623         (PACKET_AUXDATA): Likewise.
7624         (PACKET_ORIGDEV): Likewise.
7625         (PACKET_VERSION): Likewise.
7626         (PACKET_HDRLEN): Likewise.
7627         (PACKET_RESERVE): Likewise.
7628         (PACKET_TX_RING): Likewise.
7629         (PACKET_LOSS): Likewise.
7630         (PACKET_VNET_HDR): Likewise.
7631         (PACKET_TX_TIMESTAMP): Likewise.
7632         (PACKET_TIMESTAMP): Likewise.
7633         (PACKET_FANOUT): Likewise.
7634         (PACKET_TX_HAS_OFF): Likewise.
7635         (PACKET_QDISC_BYPASS): Likewise.
7636         (PACKET_ROLLOVER_STATS): Likewise.
7637         (PACKET_FANOUT_DATA): Likewise.
7638         (PACKET_MR_UNICAST): Likewise.
7640         [BZ #19242]
7641         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7642         (TOUPPER): Likewise.
7643         * stdlib/tst-strtol-locale-main.c: New file.
7644         * stdlib/tst-strtol-locale.c: Likewise.
7645         * stdlib/Makefile (tests): Add tst-strtol-locale.
7646         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7647         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7648         Depend on $(gen-locales).
7649         * wcsmbs/tst-wcstol-locale.c: New file.
7650         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7651         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7652         tr_TR.ISO-8859-9.
7653         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7654         Depend on $(gen-locales).
7656 2015-11-20  Roland McGrath  <roland@hack.frob.com>
7658         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7659         __glibc_likely instead of __builtin_expect.  After falling back to
7660         dyncode_create in a non-ET_DYN case, use the allocate_code_data
7661         system interface to register the code pages as occupied.
7663 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
7665         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7666         [!ARM_MATH_PRIVATE_H].
7667         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7668         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7669         [!HPPA_MATH_PRIVATE_H].
7670         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7671         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7672         to [!I386_MATH_PRIVATE_H].
7673         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7674         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7675         Change guard to [!M68K_MATH_PRIVATE_H].
7676         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7677         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7678         guard to [!MICROBLAZE_MATH_PRIVATE_H].
7679         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7680         macro.
7681         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7682         [!MIPS_MATH_PRIVATE_H].
7683         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7684         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7685         [!NIO2_MATH_PRIVATE_H].
7686         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7687         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7688         [!TILE_MATH_PRIVATE_H].
7689         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7691         [BZ #15421]
7692         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7693         initialize with 0 and define as weak alias of __signgam.
7694         * include/math.h [!_ISOMAC] (__signgam): Declare.
7695         * math/Makefile (libm-calls): Add w_lgamma_compat.
7696         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7697         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7698         test-signgam-ullong-init.
7699         (tests-static): Add test-signgam-uchar-static,
7700         test-signgam-uchar-init-static, test-signgam-uint-static,
7701         test-signgam-uint-init-static, test-signgam-ullong-static and
7702         test-signgam-ullong-init-static.
7703         (CFLAGS-test-signgam-uchar.c): New variable.
7704         (CFLAGS-test-signgam-uchar-init.c): Likewise.
7705         (CFLAGS-test-signgam-uchar-static.c): Likewise.
7706         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7707         (CFLAGS-test-signgam-uint.c): Likewise.
7708         (CFLAGS-test-signgam-uint-init.c): Likewise.
7709         (CFLAGS-test-signgam-uint-static.c): Likewise.
7710         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7711         (CFLAGS-test-signgam-ullong.c): Likewise.
7712         (CFLAGS-test-signgam-ullong-init.c): Likewise.
7713         (CFLAGS-test-signgam-ullong-static.c): Likewise.
7714         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7715         * math/Versions (libm): Add GLIBC_2.23.
7716         * math/lgamma-compat.h: New file.
7717         * math/test-signgam-main.c: Likewise.
7718         * math/test-signgam-uchar-init-static.c: Likewise.
7719         * math/test-signgam-uchar-init.c: Likewise.
7720         * math/test-signgam-uchar-static.c: Likewise.
7721         * math/test-signgam-uchar.c: Likewise.
7722         * math/test-signgam-uint-init-static.c: Likewise.
7723         * math/test-signgam-uint-init.c: Likewise.
7724         * math/test-signgam-uint-static.c: Likewise.
7725         * math/test-signgam-uint.c: Likewise.
7726         * math/test-signgam-ullong-init-static.c: Likewise.
7727         * math/test-signgam-ullong-init.c: Likewise.
7728         * math/test-signgam-ullong-static.c: Likewise.
7729         * math/test-signgam-ullong.c: Likewise.
7730         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7731         wrapper of w_lgamma_main.c.
7732         * math/w_lgamma_compat.c: New file.
7733         * math/w_lgamma_compatf.c: Likewise.
7734         * math/w_lgamma_compatl.c: Likewise.
7735         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
7736         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7737         defining compatibility symbols.
7738         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
7739         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7740         wrapper of w_lgammaf_main.c.
7741         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
7742         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7743         defining compatibility symbols.
7744         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
7745         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7746         wrapper of w_lgammal_main.c.
7747         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
7748         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7749         defining compatibility symbols.
7750         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
7751         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7752         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7753         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
7754         <lgamma-compat.h>.
7755         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
7756         (__ieee754_gamma): Define as alias.
7757         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7758         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
7759         <lgamma-compat.h>.
7760         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
7761         (__ieee754_gammaf): Define as alias.
7762         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7763         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
7764         <lgamma-compat.h>.
7765         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
7766         (__ieee754_gammal): Define as alias.
7767         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7768         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
7769         <math/w_lgamma_compat.c>.
7770         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7771         Define as alias of __lgamma_compat and use in defining lgammal.
7772         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7773         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
7774         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7775         (USE_AS_COMPAT): New macro.
7776         (LGAMMA_OLD_VER): Undefine and redefine.
7777         (lgammal): Do not define here.
7778         (gammal): Only define here if [GAMMA_ALIAS].
7779         * conform/linknamespace.pl (@whitelist): Remove signgam.
7780         * sysdeps/nacl/libm.abilist: Update.
7781         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7782         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7783         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7784         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7785         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7786         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7787         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7788         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7789         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7790         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7791         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7792         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7794         Likewise.
7795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7796         Likewise.
7797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7798         Likewise.
7799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7800         Likewise.
7801         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7802         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7803         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7804         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7805         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7807         Likewise.
7808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7809         Likewise.
7810         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7811         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7812         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7814 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7816         [BZ #16364]
7817         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7818         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7820 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7822         * sysdeps/s390/fpu/bits/mathinline.h:
7823         Use __asm__ [__volatile__] instead of asm [volatile].
7824         * sysdeps/s390/abort-instr.h: Likewise.
7825         * sysdeps/s390/atomic-machine.h: Likewise.
7826         * sysdeps/s390/bits/string.h: Likewise.
7827         * sysdeps/s390/dl-tls.h: Likewise.
7828         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7829         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7830         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7831         * sysdeps/s390/fpu/fesetround.c: Likewise.
7832         * sysdeps/s390/fpu/fpu_control.h: Likewise.
7833         * sysdeps/s390/fpu/s_fma.c: Likewise.
7834         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7835         * sysdeps/s390/memusage.h: Likewise.
7836         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7837         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7838         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7839         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7840         * sysdeps/s390/nptl/tls.h: Likewise.
7841         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7842         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7843         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7844         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7845         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7846         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7847         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7848         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7849         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7850         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7851         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7852         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7853         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7854         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7855         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7856         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7857         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7858         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7859         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7860         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7861         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7862         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7863         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7865 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7866             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7868         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7869         Add lwarx hint, and use macro for acquire instruction.
7870         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7871         Likewise.
7872         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7873         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7874         update to use new atomic macros.
7876 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7878         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7879         (__lll_trylock_elision): Fix setting of adapt_count.
7880         * sysdeps/unix/sysv/linux/powerpc/htm.h
7881         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7882         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7883         (_ABORT_SYSCALL): Renumber, and clarify definition.
7884         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7886 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7888         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7889         after system headers to prevent MIN/MAX redefinition.  Define
7890         HAVE_ALLOCA to preserve builtin alloca usage.
7892 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7894         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7895         static and don't set or restore rounding.
7896         (__cos)[IN_SINCOS]: Likewise.
7897         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7898         (__sincos): Set and restore rounding mode.  Remove check for infinite
7899         or NaN input.
7901         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7903         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7904         as used.
7906 2015-11-16  Florian Weimer  <fweimer@redhat.com>
7908         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7910 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7912         * config.make.in (have-glob-dat-reloc): New.
7913         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
7914         target supports GLOB_DAT relocaton. AC_SUBST.
7915         * configure: Regenerated.
7916         * elf/Makefile (tests): Add tst-prelink.
7917         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7918         (tst-prelink-ENV): New.
7919         ($(objpfx)tst-prelink-conflict.out): Likewise.
7920         ($(objpfx)tst-prelink-cmp.out): Likewise.
7921         * sysdeps/x86/tst-prelink.c: Moved to ...
7922         * elf/tst-prelink.c: Here.
7923         * sysdeps/x86/tst-prelink.exp: Moved to ...
7924         * elf/tst-prelink.exp: Here.
7925         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7926         (tst-prelink-ENV): Removed.
7927         ($(objpfx)tst-prelink-conflict.out): Likewise.
7928         ($(objpfx)tst-prelink-cmp.out): Likewise.
7929         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7931 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
7933         [BZ #14551]
7934         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7935         (__mpn_construct_long_double): If high part overflows to infinity,
7936         set errno and recompute overflowed result of the correct sign.
7937         * sysdeps/ieee754/ldbl-128ibm/Makefile
7938         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7939         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7940         $(libm).
7941         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7943 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
7945         [BZ #15479]
7946         [BZ #19238]
7947         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7948         floating-point state after first operation on input.  Restore full
7949         state rather than just rounding mode.
7950         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7951         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7952         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7954         [BZ #19235]
7955         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7956         add 0.5 to integer arguments.
7957         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7958         Likewise.
7959         (.LC2): New object.
7961 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
7963         * scripts/pylintrc (reports): Set to no.
7965 2015-11-10  Roland McGrath  <roland@hack.frob.com>
7967         * elf/dl-load.c (open_verify): Take new argument FD.
7968         Skip __open call if passed FD is not -1.
7969         (_dl_map_object, open_path): Update callers.
7970         * elf/dl-sysdep-open.h: New file.
7971         * elf/dl-load.c: Include it.
7972         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7973         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7974         * sysdeps/nacl/dl-sysdep-open.h: New file.
7975         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7976         from libc to rtld.
7978 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7980         [BZ #19228]
7981         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7982         and restore full floating-point state.
7983         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7984         Likewise.
7985         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7986         Likewise.
7987         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7988         Likewise.
7989         * math/test-nearbyint-except-2.c: New file.
7990         * math/Makefile (tests): Add test-nearbyint-except-2.
7992 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
7994         [BZ #19178]
7995         * sysdeps/x86/Makefile (tests): Add tst-prelink.
7996         (tst-prelink-ENV): New.
7997         ($(objpfx)tst-prelink-conflict.out): Likewise.
7998         ($(objpfx)tst-prelink-cmp.out): Likewise.
7999         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8000         * sysdeps/x86/tst-prelink.c: New file.
8001         * sysdeps/x86/tst-prelink.exp: Likewise.
8003 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8005         * math/auto-libm-test-in: Add another test of pow.
8006         * math/auto-libm-test-out: Regenerated.
8007         * math/libm-test.inc (pow_test_data): Add another test.
8009 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8011         [BZ #19219]
8012         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
8013         weak_alias to nearbyintl.
8015 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8017         * sysdeps/aarch64/bits/string.h: New file.
8018         (_STRING_ARCH_unaligned): Define.
8020 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8022         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
8023         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8024         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8025         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
8026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
8028 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
8030         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
8031         for original name of the DSO.  Add it to the name list of the DSO
8032         if it is actually given.
8033         (_dl_map_object): Keep track of whether an audit module rewrote
8034         the file name.  If yes, pass the original name to
8035         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
8036         debugging is enabled, log the change of the file name.
8037         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
8038         _dl_map_object_from_fd.
8039         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
8040         * elf/tst-audit11.c: New file
8041         * elf/tst-auditmod11.c: New file.
8042         * elf/tst-audit11mod1.c: New file.
8043         * elf/tst-audit11mod2.c: New file.
8044         * elf/tst-audit11mod2.map: New file.
8045         * elf/tst-audit12.c: New file
8046         * elf/tst-auditmod12.c: New file.
8047         * elf/tst-audit12mod1.c: New file.
8048         * elf/tst-audit12mod2.c: New file.
8049         * elf/tst-audit12mod2.map: New file.
8050         * elf/tst-audit12mod3.c: New file.
8052 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8054         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
8055         Don't create weak aliases,
8056         because versioned symbols are created later.
8057         * sysdeps/s390/s390-32/setjmp.S
8058         (setjmp, _setjmp): Remove weak and rename to an unique name
8059         in SHARED case due to existing versioned symbols.
8060         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8061         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
8062         (getcontext): Create weak alias only in non SHARED case.
8063         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8065 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8067         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
8068         (__ASSUME_*_SYSCALL) Define new macros.
8069         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
8070         Remove socketcall syscalls.
8071         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
8072         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
8073         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
8074         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
8075         * sysdeps/unix/sysv/linux/send.c (__libc_send):
8076         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
8078 2015-11-09  Florian Weimer  <fweimer@redhat.com>
8080         [BZ #12926]
8081         Terminate process on invalid netlink response.
8082         * sysdeps/unix/sysv/linux/netlinkaccess.h
8083         (__netlink_assert_response): Declare.
8084         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
8085         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
8086         (sysdep_routines): Add netlink_assert_response.
8087         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
8088         __netlink_assert_response.
8089         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8090         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8091         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
8092         __netlink_assert_response.
8094 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
8096         [BZ #19178]
8097         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
8098         (RTYPE_CLASS_PLT): Likewise.
8099         (RTYPE_CLASS_COPY): Likewise.
8100         (RTYPE_CLASS_TLS): Likewise.
8101         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
8102         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
8103         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
8104         DL_DEBUG_PRELINK.
8106 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
8108         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
8109         calls with argument -0.5.
8110         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
8112         * configure.ac (libc_cv_z_nodelete): Remove configure test.
8113         (libc_cv_z_nodlopen): Likewise.
8114         (libc_cv_z_initfirst): Likewise.
8115         * configure: Regenerated.
8117 2015-11-06  Florian Weimer  <fweimer@redhat.com>
8119         Simplify abilist format to be line-based.
8120         * scripts/abilist.awk: Collect descriptors in the descs variable.
8121         (emit): Write descs variable and sort it
8122         externally, with sort.
8123         * sysdeps/**/*.abilist: Convert to new format.
8125 2015-11-06  Mark Wielaard  <mjw@redhat.com>
8127         [BZ #11460]
8128         * io/Makefile (routines): Add fts64.
8129         (tests): Add tst-fts and tst-fts-lfs.
8130         (CFLAGS-fts64.c): New.
8131         * io/Versions (GLIBC_2.23): New.
8132         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
8133         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
8134         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
8135         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
8136         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
8137         (FTSENT64): Likewise.
8138         (fts64_children): Likewise.
8139         (fts64_close): Likewise.
8140         (fts64_open): Likewise.
8141         (fts64_read): Likewise.
8142         (fts64_set): Likewise.
8143         * io/fts64.c: New file.
8144         * io/tst-fts.c: New test.
8145         * io/tst-fts-lfs.c: Likewise.
8146         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
8147         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
8148         fts64_set.
8149         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8150         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8151         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8152         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8153         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8154         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8155         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8156         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8157         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8158         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8159         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8160         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8161         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8163         Likewise.
8164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8165         Likewise.
8166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8168         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8169         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8170         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8171         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8172         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8175         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8176         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8177         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8178         * sysdeps/wordsize-64/fts.c: New file.
8179         * sysdeps/wordsize-64/fts64.c: Likewise.
8180         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
8181         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
8182         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
8183         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
8185 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8187         * math/libm-test.inc (NON_FINITE): New macro.
8188         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
8189         * math/gen-libm-test.pl (show_exceptions): Add argument
8190         $non_finite.
8191         (parse_args): Update call to show_exceptions.
8192         * math/test-math-finite.h: New file.
8193         * math/test-math-no-finite.h: Likewise.
8194         * math/test-double-finite.c: Likewise.
8195         * math/test-float-finite.c: Likewise.
8196         * math/test-ldouble-finite.c: Likewise.
8197         * math/test-double.c: Include "test-math-no-finite.h".
8198         * math/test-float.c: Include "test-math-no-finite.h".
8199         * math/test-ldouble.c: Include "test-math-no-finite.h".
8200         * math/test-math-inline.h (TEST_FINITE): New macro.
8201         * math/test-math-vector.h (TEST_FINITE): Likewise.
8202         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
8203         (libm-tests): Add test-float-finite and test-double-finite.
8204         ($(objpfx)test-float-finite.o): New dependency on
8205         $(objpfx)libm-test.stmp.
8206         ($(objpfx)test-double-finite.o): Likewise.
8207         ($(objpfx)test-ldouble-finite.o): Likewise.
8208         (libm-test-no-inline-cflags): New variable.
8209         (libm-test-finite-cflags): Likewise.
8210         (CFLAGS-test-float-finite.c): Likewise.
8211         (CFLAGS-test-double-finite.c): Likewise.
8212         (CFLAGS-test-ldouble-finite.c): Likewise.
8213         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
8214         (CFLAGS-test-double.c): Likewise.
8215         (CFLAGS-test-ldouble.c): Likewise.
8217 2015-11-05  Roland McGrath  <roland@hack.frob.com>
8219         * io/fcntl.c (__fcntl): Add ... to prototype.
8220         * misc/ioctl.c (__ioctl): Likewise.
8221         * misc/syscall.c (syscall): Likewise.
8223 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8225         * scripts/list-fixed-bugs.py: New file.
8227         [BZ #19213]
8228         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
8229         returned for argument 1.
8230         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
8231         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
8232         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
8233         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
8234         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
8235         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
8237         [BZ #19211]
8238         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
8239         __USE_XOPEN], not if [!__USE_ISOC99].
8240         (lgammaf): Likewise.
8241         (lgammal): Likewise.
8242         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
8243         (gammaf): Likewise.
8244         (gammal): Likewise.
8245         * math/test-signgam-finite-c11.c: New file.
8246         * math/test-signgam-finite-c99.c: Likewise.
8247         * math/test-signgam-finite.c: Likewise.
8248         * math/Makefile (tests): Add test-signgam-finite,
8249         test-signgam-finite-c99 and test-signgam-finite-c11.
8250         (CFLAGS-test-signgam-finite.c): New variable.
8251         (CFLAGS-test-signgam-finite-c99.c): Likewise.
8252         (CFLAGS-test-signgam-finite-c11.c): Likewise.
8254         [BZ #19212]
8255         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
8256         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
8257         500].
8258         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
8259         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
8260         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
8261         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
8262         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
8263         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
8264         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
8265         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
8266         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
8267         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
8269         [BZ #19209]
8270         * math/bits/math-finite.h (ldexp): Remove declaration.
8271         (ldexpf): Likewise.
8272         (ldexpl): Likewise.
8274         [BZ #19205]
8275         * math/bits/math-finite.h (acosf): Condition declaration on
8276         [__USE_ISOC99].
8277         (acosl): Likewise.
8278         (acoshf): Likewise.
8279         (acoshl): Likewise.
8280         (asinf): Likewise.
8281         (asinl): Likewise.
8282         (atan2f): Likewise.
8283         (atan2l): Likewise.
8284         (atanhf): Likewise.
8285         (atanhl): Likewise.
8286         (coshf): Likewise.
8287         (coshl): Likewise.
8288         (expf): Likewise.
8289         (expl): Likewise.
8290         (fmodf): Likewise.
8291         (fmodl): Likewise.
8292         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
8293         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
8294         (j0l): Likewise.
8295         (y0f): Likewise.
8296         (y0l): Likewise.
8297         (j1f): Likewise.
8298         (j1l): Likewise.
8299         (y1f): Likewise.
8300         (y1l): Likewise.
8301         (jnf): Likewise.
8302         (jnl): Likewise.
8303         (ynf): Likewise.
8304         (ynl): Likewise.
8305         (lgammaf_r): Condition declaration on [__USE_ISOC99].
8306         (lgammal_r): Likewise.
8307         (__lgamma_r_finite): New declaration.
8308         (__lgammaf_r_finite): Likewise.
8309         (__lgammal_r_finite): Likewise.
8310         (lgamma): Use __lgamma_r_finite.
8311         (lgammaf): Condition definition on [__USE_ISOC99].  Use
8312         __lgammaf_r_finite.
8313         (lgammal): Condition definition on [__USE_ISOC99].  Use
8314         __lgammal_r_finite.
8315         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
8316         __lgamma_r_finite.
8317         (gammaf): Condition definition on [__USE_ISOC99].  Use
8318         __lgammaf_r_finite.
8319         (gammal): Condition definition on [__USE_ISOC99].  Use
8320         __lgammal_r_finite.
8321         (logf): Condition declaration on [__USE_ISOC99].
8322         (logl): Likewise.
8323         (log10f): Likewise.
8324         (log10l): Likewise.
8325         (ldexpf): Likewise.
8326         (ldexpl): Likewise.
8327         (powf): Likewise.
8328         (powl): Likewise.
8329         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
8330         __USE_ISOC99].
8331         (remainderf): Condition declaration on [__USE_ISOC99].
8332         (remainderl): Likewise.
8333         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
8334         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
8335         (scalbl): Likewise.
8336         (sinhf): Condition declaration on [__USE_ISOC99].
8337         (sinhl): Likewise.
8338         (sqrtf): Likewise.
8339         (sqrtl): Likewise.
8341 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8343         * sysdeps/arm/atomic-machine.h
8344         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8345         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8346         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
8347         Remove conditional code.
8348         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8349         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8350         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
8351         Change conditional to [__ASSEMBLER__].
8352         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8353         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
8354         [!__ASSEMBLER__].
8355         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
8356         code.
8357         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
8358         conditional macro definitions.
8359         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
8360         (__arch_compare_and_exchange_val_16_acq): Likewise.
8361         (__arch_compare_and_exchange_val_32_acq): Likewise.
8362         (atomic_exchange_and_add): Likewise.
8363         (atomic_add): Likewise.
8364         (atomic_add_negative): Likewise.
8365         (atomic_add_zero): Likewise.
8366         (atomic_bit_set): Likewise.
8367         (atomic_bit_test_set): Likewise.
8368         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
8369         code unconditional.
8370         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8372         * math/test-math-errno.h: New file.
8373         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
8374         empty.
8375         (TEST_ERRNO): New macro.
8376         (TEST_EXCEPTIONS): Likewise.
8377         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
8378         (TEST_EXCEPTIONS): Likewise.
8379         * math/test-math-vector.h (TEST_ERRNO): Likewise.
8380         * math/test-double.c: Include "test-math-errno.h".
8381         * math/test-float.c: Likewise.
8382         * math/test-ldouble.c: Likewise.
8383         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
8384         code unconditional.
8385         (test_exceptions): Only run code if TEST_EXCEPTIONS.
8386         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
8387         unconditional.
8388         (test_errno): Only run code if TEST_ERRNO.
8389         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
8391 2015-11-04  Florian Weimer  <fweimer@redhat.com>
8393         * nptl/tst-once5.cc: Remove attribution.
8395 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8397         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
8398         sqrt, tan, tanh, y0, y1 and yn.
8399         * math/auto-libm-test-out: Regenerated.
8400         * math/libm-test.inc (scalb_test_data): Add more tests.
8401         (scalbn_test_data): Likewise.
8402         (scalbln_test_data): Likewise.
8403         (signbit_test_data): Likewise.
8404         (sin_test_data): Likewise.
8405         (sincos_test_data): Likewise.
8406         (sinh_test_data): Likewise.
8407         (sqrt_test_data): Likewise.
8408         (tan_test_data): Likewise.
8409         (tanh_test_data): Likewise.
8410         (tgamma_test_data): Likewise.
8411         (y0_test_data): Likewise.
8412         (y1_test_data): Likewise.
8413         (yn_test_data): Likewise.
8414         (significand_test_data): Likewise.
8415         * sysdeps/i386/fpu/libm-test-ulps: Update.
8417 2015-11-03  David Kastrup  <dak@gnu.org>
8419         [BZ #18604]
8420         * assert/assert.h (assert): Don't macro-expand failed assertion
8421         expression in error message.
8422         * malloc/malloc.c (assert): Likewise.
8424 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
8426         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
8427         test.
8428         * configure: Regenerated.
8430 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
8432         * math/libm-test.inc (modf_test_data): Add more tests.
8433         (nearbyint_test_data): Likewise.
8434         (nextafter_test_data): Likewise.
8435         (nexttoward_test_data): Likewise.
8436         (pow_test_data): Likewise.
8437         (remainder_test_data): Likewise.
8438         (remquo_test_data): Likewise.
8439         (rint_test_data): Likewise.
8441         [BZ #19201]
8442         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8443         Check for zero remainder in case of large exponents and ensure
8444         correct sign of result in that case.
8445         * math/libm-test.inc (remainder_test_data): Add more tests.
8447         [BZ #6799]
8448         * math/s_nextafter.c: Include <errno.h>.
8449         (__nextafter): Set errno on overflow and underflow.
8450         * math/s_nexttowardf.c: Include <errno.h>.
8451         (__nexttowardf): Set errno on overflow and underflow.
8452         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
8453         (__nextafterl): Set errno on overflow and underflow.
8454         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
8455         (__nexttoward): Set errno on overflow and underflow.
8456         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
8457         (__nexttowardf): Set errno on overflow and underflow.
8458         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
8459         (__nextafterf): Set errno on overflow and underflow.
8460         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
8461         (__nextafterl): Set errno on overflow and underflow.
8462         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
8463         (__nexttoward): Set errno on overflow and underflow.
8464         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
8465         (__nexttowardf): Set errno on overflow and underflow.
8466         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
8467         (__nextafterl): Set errno on overflow and underflow.
8468         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
8469         (__nexttoward): Set errno on overflow and underflow.
8470         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
8471         (__nexttowardf): Set errno on overflow and underflow.
8472         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
8473         (__nexttoward): Set errno on overflow and underflow.
8474         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
8475         (__nexttowardf): Set errno on overflow and underflow.
8476         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
8477         (__nldbl_nexttowardf): Set errno on overflow and underflow.
8478         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
8479         (__nextafterl): Set errno on overflow and underflow.
8480         * math/libm-test.inc (nextafter_test_data): Do not allow errno
8481         setting to be missing on overflow.  Add more tests.
8482         (nexttoward_test_data): Likewise.
8484         * configure.ac (libc_cv_initfini_array): Remove configure test.
8485         * configure: Regenerated.
8487 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
8489         [BZ #19189]
8490         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
8491         non-finite argument handle arguments with negative sign.
8493         * math/libm-test.inc (j0_test_data): Do not test sign of zero
8494         result from infinite argument.
8495         (j1_test_data): Likewise.
8496         (jn_test_data): Likewise.
8497         (y0_test_data): Likewise.
8498         (y1_test_data): Likewise.
8499         (yn_test_data): Likewise.
8501         [BZ #16171]
8502         * math/w_remainder.c (drem): Define as weak alias of __remainder.
8503         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
8504         * math/w_remainderf.c (dremf): Define as weak alias of
8505         __remainderf.
8506         * math/w_remainderl.c (dreml): Define as weak alias of
8507         __remainderl.
8508         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
8509         __remainder.
8510         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
8511         __remainderf.
8512         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
8513         __remainderl.
8514         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
8515         weak alias of remainderl.
8516         * sysdeps/ieee754/ldbl-opt/w_remainder.c
8517         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
8518         alias of __remainder.
8519         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
8520         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
8521         strong alias of __remainderl.
8522         (dreml): Use long_double_symbol.
8523         * math/Makefile (libm-calls): Remove w_drem.
8524         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
8525         (CFLAGS-nldbl-drem.c): Remove variable.
8526         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
8527         * math/w_drem.c: Remove file.
8528         * math/w_dremf.c: Likewise.
8529         * math/w_dreml.c: Likewise.
8530         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
8531         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
8532         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
8534         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
8535         * sysdeps/i386/configure: Regenerated.
8536         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
8537         * sysdeps/x86_64/configure: Regenerated.
8539         * configure.ac (libc_cv_asm_protected_directive): Remove configure
8540         test.
8541         (libc_cv_visibility_attribute): Likewise.
8542         (libc_cv_protected_data): Test unconditionally.
8543         (libc_cv_broken_visibility_attribute): Remove configure test.
8544         (libc_cv_have_sdata_section): Test unconditionally.
8545         * configure: Regenerated.
8547         * include/libc-internal.h (libc_max_align_t): Remove typedef.
8548         * include/scratch_buffer.h: Include <stddef.h> instead of
8549         <libc-internal.h>.
8550         (struct scratch_buffer): Use max_align_t instead of
8551         libc_max_align_t.
8553 2015-10-29  Florian Weimer  <fweimer@redhat.com>
8555         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
8556         instead of extend_alloca.  Change control flow to avoid a goto.
8557         Remove assert which is trivially always true.
8559 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8561         [BZ #16068]
8562         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
8563         (FE_ALL_EXCEPT_X86): New macro.
8564         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8565         FE_ALL_EXCEPT.  Ensure precision control is included in
8566         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8567         handle "denormal operand exception" and clear FZ and DAZ bits.
8568         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
8569         (FE_ALL_EXCEPT_X86): New macro.
8570         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8571         FE_ALL_EXCEPT.  Ensure precision control is included in
8572         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8573         handle "denormal operand exception" and clear FZ and DAZ bits.
8574         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
8575         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
8576         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8577         test-fenv-x87 and test-fenv-sse-2.
8578         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
8580         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
8581         * math/test-double.h (BUILD_COMPLEX): New macro.
8582         * math/test-float.h (BUILD_COMPLEX): Likewise.
8583         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8585         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8586         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8587         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8588         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8589         instead of DBL_DENORM_MIN in comment.
8590         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8591         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8592         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8593         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8594         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8595         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8597 2015-10-28  Florian Weimer  <fweimer@redhat.com>
8599         [BZ# 19048]
8600         * malloc/malloc.c (struct malloc_state): Update comment.  Add
8601         attached_threads member.
8602         (main_arena): Initialize attached_threads.
8603         * malloc/arena.c (list_lock): Update comment.
8604         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8605         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8606         (deattach_arena): New function.
8607         (_int_new_arena): Initialize arena reference count and deattach
8608         replaced arena.
8609         (get_free_list, reused_arena): Update reference count and deattach
8610         replaced arena.
8611         (arena_thread_freeres): Update arena reference count and only put
8612         unreferenced arenas on the free list.
8614 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8616         [BZ #19181]
8617         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8618         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8619         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8620         * math/test-fenv-clear-main.c: New file.
8621         * math/test-fenv-clear.c: Likewise.
8622         * math/Makefile (tests): Add test-fenv-clear.
8623         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8624         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8625         test-fenv-clear-sse.
8626         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8628         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8629         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8630         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8632 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8634         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8635         static libc.
8637 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8639         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8640         test.
8641         * sysdeps/i386/configure: Regenerated.
8642         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8643         test.
8644         * sysdeps/x86_64/configure: Regenerated.
8645         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8646         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8647         memset-avx2 unconditionally instead of conditionally on
8648         [$(config-cflags-avx2) = yes].
8649         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8650         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8651         unconditional.
8652         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8653         * sysdeps/x86_64/multiarch/memset_chk.S
8654         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8655         to [IS_IN (libc) && SHARED].
8657 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8659         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8660         configure test.
8661         * sysdeps/arm/configure: Regenerated.
8662         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8663         Define variable if not already defined.
8665         [BZ #17404]
8666         * sysdeps/mips/atomic-machine.h
8667         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8668         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8669         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8671         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8672         unconditional.
8673         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8674         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8675         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8676         unconditional.
8677         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8678         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8679         unconditional.
8680         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8681         * stdlib/setenv.c
8682         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8683         code unconditional.
8684         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8685         Remove conditional code.
8686         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8687         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8688         unconditional.
8689         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8690         code.
8691         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8692         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8693         unconditional.
8694         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8695         code.
8696         * sysdeps/ieee754/ldbl-128/k_tanl.c
8697         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8698         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8699         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8700         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8701         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8702         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8703         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8704         unconditional.
8705         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8706         code.
8707         * sysdeps/ieee754/ldbl-96/k_tanl.c
8708         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8709         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8711         * nptl/tst-initializers1-c11.c: New file.
8712         * nptl/tst-initializers1-gnu11.c: Likewise.
8713         * nptl/Makefile (tests): Add these new tests.
8714         (CFLAGS-tst-initializers1-c11.c): New variable.
8715         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8717         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8718         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8719         instead of -std=gnu99.
8720         * configure.ac (systemtap): Test with -std=gnu11 instead of
8721         -std=gnu99.
8722         * configure: Regenerated.
8723         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8724         in compilation command in comment.
8726         * sysdeps/nptl/configure.ac: Remove file.
8727         * sysdeps/nptl/configure: Remove generated file.
8728         * configure.ac (libc_cv_forced_unwind): Do not substitute.
8729         * configure: Regenerated.
8730         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8731         * config.make.in (have-forced-unwind): Remove variable.
8732         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8733         unconditional.
8734         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8735         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8736         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8737         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8738         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8739         unconditional.
8741 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8743         [BZ #19174]
8744         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8745         .skip_lock_out_of_tbegin_retries.
8746         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8747         (__lll_lock_elision): Likewise, and respect a value of
8748         try_tbegin <= 0.
8750 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8752         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8753         statement.
8755 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8757         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8758         variable.
8759         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8760         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8762         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8763         of -std=c1x -D_ISOC11_SOURCE.
8765         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8766         * configure: Regenerated.
8767         * manual/install.texi (Tools for Compilation): Document
8768         requirement for GCC 4.7 or later.
8769         * INSTALL: Regenerated.
8771 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
8773         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8774         on CNT to a conditional jump to 'puntdata'.
8776 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8778         * configure.ac (libc_cv_gcc___thread): Remove configure test.
8779         (libc_cv_gcc_tls_model_attr): Likewise.
8780         * configure: Regenerated.
8782         * configure.ac (libc_cv_need_minus_P): Remove configure test.
8783         * configure: Regenerated.
8784         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8786 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
8788         * configure.ac (old_glibc_headers): Remove configure test.
8789         * configure: Regenerated.
8790         * config.make.in (old-glibc-headers): Remove variable.
8791         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8792         (install): Remove dependency on remove-old-headers.
8793         (headers2_0): Remove variable.
8794         (remove-old-headers): Remove rule.
8796         * configure.ac (libc_cv_dot_text): Remove configure test.
8797         (libc_cv_asm_set_directive): Use .text instead of
8798         ${libc_cv_dot_text} in configure test.
8799         * configure: Regenerated.
8801 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8803         [BZ #19168]
8804         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8806 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8808         * configure.ac (CXX): Clear the variable if the C++ toolchain does
8809         not support static linking.
8810         * configure: Regenerate.
8812 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
8814         * math/libm-test.inc (check_float_internal): Do not special-case
8815         errors up to 0.5 ulp.
8817         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8818         log2.
8819         * math/auto-libm-test-out: Regenerated.
8820         * math/libm-test.inc (MAX_EXP): New macro.
8821         (ilogb_test_data): Add more tests.
8822         (isfinite_test_data): Likewise.
8823         (isgreater_test_data): Likewise.
8824         (isgreaterequal_test_data): Likewise.
8825         (isinf_test_data): Likewise.
8826         (isless_test_data): Likewise.
8827         (islessequal_test_data): Likewise.
8828         (islessgreater_test_data): Likewise.
8829         (isnan_test_data): Likewise.
8830         (isnormal_test_data): Likewise.
8831         (issignaling_test_data): Likewise.
8832         (isunordered_test_data): Likewise.
8833         (j0_test_data): Likewise.
8834         (j1_test_data): Likewise.
8835         (jn_test_data): Likewise.
8836         (lgamma_test_data): Likewise.
8837         (log_test_data): Likewise.
8838         (log10_test_data): Likewise.
8839         (log1p_test_data): Likewise.
8840         (log2_test_data): Likewise.
8841         (logb_test_data): Likewise.
8842         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8844         [BZ #18611]
8845         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8846         avoid excess range and precision on underflow.
8847         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8848         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8849         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8850         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8851         underflow.
8852         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8853         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8854         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8855         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8856         * math/auto-libm-test-in: Do not allow missing errno setting for
8857         tests of j1 and jn.
8858         * math/auto-libm-test-out: Regenerated.
8860 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
8862         [BZ #15491]
8863         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8864         floating-point environment instead of clearing all exceptions.
8865         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8866         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8867         merging in "invalid" exceptions from frndint.
8868         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8869         * math/test-nearbyint-except.c: New file.
8870         * math/Makefile (tests): Add test-nearbyint-except.
8872 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
8874         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8876         * sysdeps/tile/libm-test-ulps: Regenerated.
8878 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8881         (__NR_sync_file_range2): Assume it is always defined.
8882         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8883         (__NR_sync_file_range): Assume it is always defined.
8885 2015-10-22  Andreas Schwab  <schwab@suse.de>
8887         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8888         INTERNAL_SYSCALL_ERRNO.
8889         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8890         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8891         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8892         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8893         Likewise.
8894         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8896 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8898         * io/tst-fcntl.c (fd): New static variable.
8899         (do_prepare): Open temporary file here....
8900         (do_test): ...not here.
8902         * io/ftwtest-sh: Also trap on exit to remove temporary files.
8904 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8906         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8907         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8908         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8909         Moved before "#ifdef __ASSEMBLER__".
8911 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8913         [BZ #19156]
8914         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8915         arguments very close to 0.
8917 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
8919         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8920         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8922 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8924         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8925         New.  Defined for GCC 5 and above when not compiling for
8926         profiling.
8927         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8929         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8930         Renamed to ...
8931         (CFLAGS-epoll_pwait.o): This.
8932         (CFLAGS-mmap.c): Renamed to ...
8933         (CFLAGS-mmap.o): This.
8934         (CFLAGS-mmap64.c): Renamed to ...
8935         (CFLAGS-mmap64.o): This.
8936         (CFLAGS-epoll_pwait.os): New.
8937         (CFLAGS-mmap.os): Likewise.
8938         (CFLAGS-mmap64.os): Likewise.
8939         (CFLAGS-semtimedop.os): Likewise.
8940         (CFLAGS-semtimedop.c): Renamed to ...
8941         (CFLAGS-semtimedop.o): This.
8943 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8945         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8946         warning message.
8948 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8950         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8951         * Makefile ($(objpfx)c++-types-check.out): Filter out
8952         $(+gccwarn-c) instead of -Wstrict-prototypes.
8954         * io/fts.c (fts_open): Convert to prototype-style function
8955         definition.
8956         * malloc/mcheck.c (mcheck): Likewise.
8957         (mcheck_pedantic): Likewise.
8958         * posix/regexec.c (re_search_2_stub): Likewise.  Use
8959         internal_function.
8960         (re_search_internal): Likewise.
8961         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8962         prototype-style function definition.
8963         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8964         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8965         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8966         (xdr_utmpptr): Likewise.
8967         (xdr_utmparr): Likewise.
8968         (xdr_utmpidle): Likewise.
8969         (xdr_utmpidleptr): Likewise.
8970         (xdr_utmpidlearr): Likewise.
8972         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8973         log, log10 and log2.
8974         * math/auto-libm-test-out: Regenerated.
8975         * math/libm-test.inc (fmod_test_data): Add more tests.
8976         (fpclassify_test_data): Likewise.
8977         (frexp_test_data): Likewise.
8978         (hypot_test_data): Likewise.
8979         (ilogb_test_data): Likewise.
8981 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
8983         * debug/fortify_fail.c (__fortify_fail): Convert to
8984         prototype-style function definition.  Use internal_function.
8985         * libio/genops.c (save_for_backup): Convert to prototype-style
8986         function definition.
8987         * libio/wgenops.c (save_for_wbackup): Likewise.
8988         * login/grantpt.c (grantpt): Likewise.
8989         * login/ptsname.c (ptsname): Likewise.
8990         (__ptsname_r): Likewise.
8991         * login/unlockpt.c (unlockpt): Likewise.
8992         * mach/msgserver.c (__mach_msg_server): Likewise.
8993         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8994         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8995         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8996         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8997         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8998         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8999         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
9000         Likewise.
9001         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
9002         internal_function.
9003         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
9004         prototype-style function definition.
9005         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
9006         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
9007         (__pthread_create_2_0): Likewise.
9008         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
9009         * nptl/register-atfork.c (__register_atfork): Likewise.
9010         * posix/glob.c (glob): Likewise.
9011         * posix/regcomp.c (re_comp): Likewise.
9012         * posix/regexec.c (re_exec): Likewise.
9013         * stdlib/add_n.c [__STDC__]: Make code unconditional.
9014         [!__STDC__]: Remove conditional code.
9015         * stdlib/cmp.c [__STDC__]: Make code unconditional.
9016         [!__STDC__]: Remove conditional code.
9017         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
9018         [!__STDC__]: Remove conditional code.
9019         * stdlib/divrem.c [__STDC__]: Make code unconditional.
9020         [!__STDC__]: Remove conditional code.
9021         * stdlib/lshift.c [__STDC__]: Make code unconditional.
9022         [!__STDC__]: Remove conditional code.
9023         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
9024         [!__STDC__]: Remove conditional code.
9025         * stdlib/mul.c [__STDC__]: Make code unconditional.
9026         [!__STDC__]: Remove conditional code.
9027         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
9028         [!__STDC__]: Remove conditional code.
9029         * stdlib/rshift.c [__STDC__]: Make code unconditional.
9030         [!__STDC__]: Remove conditional code.
9031         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
9032         function definition.
9033         (STRTOF): Likewise.
9034         * stdlib/strtod_l.c (__STRTOF): Likewise.
9035         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
9036         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
9037         (__strtol_l): Likewise.
9038         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
9039         [!__STDC__]: Remove conditional code.
9040         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
9041         definition.
9042         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9043         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9044         type.
9045         (__strcasecmp): Convert to prototype-style function definition.
9046         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
9047         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9048         type.
9049         (__strncasecmp): Convert to prototype-style function definition.
9050         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
9051         * sunrpc/xdr.c (xdr_union): Likewise.
9052         * sunrpc/xdr_array.c (xdr_array): Likewise.
9053         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
9054         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
9055         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
9056         Likewise.
9057         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
9058         Likewise.
9059         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
9060         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9061         Likewise.
9062         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
9063         (LOCALE_PARAM_PROTO): Likewise.
9064         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
9065         argument type.
9066         (ut_argument_spec): Remove macro.
9067         (ut_argument_spec_iso): Rename to ut_argument_spec.
9068         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
9069         prototype-style function definition.
9070         (memcpy_uppcase): Likewise.
9071         (__strftime_internal): Likewise.
9072         (my_strftime): Likewise.
9073         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
9074         (LOCALE_PARAM_DECL): Likewise.
9075         [_LIBC] (LOCALE_PARAM): Include argument type.
9076         (__strptime_internal): Convert to prototype-style function
9077         definition.
9078         (strptime): Likewise.
9079         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9080         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9081         type.
9082         (__wcscasecmp): Convert to prototype-style function definition.
9083         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
9084         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9085         type.
9086         (__wcsncasecmp): Convert to prototype-style function definition.
9088         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
9089         function definition.
9090         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9091         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9092         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
9093         * elf/dl-minimal.c (_itoa): Likewise.
9094         * hurd/hurdmalloc.c (malloc): Likewise.
9095         (free): Likewise.
9096         (realloc): Likewise.
9097         * inet/inet6_option.c (inet6_option_space): Likewise.
9098         (inet6_option_init): Likewise.
9099         (inet6_option_append): Likewise.
9100         (inet6_option_alloc): Likewise.
9101         (inet6_option_next): Likewise.
9102         (inet6_option_find): Likewise.
9103         * io/ftw.c (FTW_NAME): Likewise.
9104         (NFTW_NAME): Likewise.
9105         (NFTW_NEW_NAME): Likewise.
9106         (NFTW_OLD_NAME): Likewise.
9107         * libio/iofwide.c (_IO_fwide): Likewise.
9108         * libio/strops.c (_IO_str_init_static_internal): Likewise.
9109         (_IO_str_init_static): Likewise.
9110         (_IO_str_init_readonly): Likewise.
9111         (_IO_str_overflow): Likewise.
9112         (_IO_str_underflow): Likewise.
9113         (_IO_str_count): Likewise.
9114         (_IO_str_seekoff): Likewise.
9115         (_IO_str_pbackfail): Likewise.
9116         (_IO_str_finish): Likewise.
9117         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
9118         (_IO_wstr_overflow): Likewise.
9119         (_IO_wstr_underflow): Likewise.
9120         (_IO_wstr_count): Likewise.
9121         (_IO_wstr_seekoff): Likewise.
9122         (_IO_wstr_pbackfail): Likewise.
9123         (_IO_wstr_finish): Likewise.
9124         * locale/programs/localedef.c (normalize_codeset): Likewise.
9125         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9126         (add_locales_to_archive): Likewise.
9127         (delete_locales_from_archive): Likewise.
9128         * malloc/malloc.c (__libc_mallinfo): Likewise.
9129         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
9130         * misc/tsearch.c (__tfind): Likewise.
9131         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
9132         * nptl/pthread_attr_getdetachstate.c
9133         (__pthread_attr_getdetachstate): Likewise.
9134         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
9135         Likewise.
9136         * nptl/pthread_attr_getinheritsched.c
9137         (__pthread_attr_getinheritsched): Likewise.
9138         * nptl/pthread_attr_getschedparam.c
9139         (__pthread_attr_getschedparam): Likewise.
9140         * nptl/pthread_attr_getschedpolicy.c
9141         (__pthread_attr_getschedpolicy): Likewise.
9142         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
9143         Likewise.
9144         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
9145         Likewise.
9146         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
9147         Likewise.
9148         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
9149         Likewise.
9150         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
9151         (__pthread_attr_init_2_0): Likewise.
9152         * nptl/pthread_attr_setdetachstate.c
9153         (__pthread_attr_setdetachstate): Likewise.
9154         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
9155         Likewise.
9156         * nptl/pthread_attr_setinheritsched.c
9157         (__pthread_attr_setinheritsched): Likewise.
9158         * nptl/pthread_attr_setschedparam.c
9159         (__pthread_attr_setschedparam): Likewise.
9160         * nptl/pthread_attr_setschedpolicy.c
9161         (__pthread_attr_setschedpolicy): Likewise.
9162         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
9163         Likewise.
9164         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
9165         Likewise.
9166         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
9167         Likewise.
9168         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
9169         Likewise.
9170         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
9171         Likewise.
9172         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
9173         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
9174         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
9175         use internal_function.
9176         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
9177         prototype-style function definition.
9178         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
9179         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
9180         internal_function.
9181         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
9182         Convert to prototype-style function definition.
9183         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9184         Likewise.
9185         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
9186         Likewise.
9187         (__pthread_mutex_unlock): Likewise.
9188         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
9189         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
9190         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
9191         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
9192         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
9193         * nss/makedb.c (process_input): Likewise.
9194         * posix/fnmatch.c (__strchrnul): Likewise.
9195         (__wcschrnul): Likewise.
9196         (fnmatch): Likewise.
9197         * posix/fnmatch_loop.c (FCT): Likewise.
9198         * posix/glob.c (globfree): Likewise.
9199         (__glob_pattern_type): Likewise.
9200         (__glob_pattern_p): Likewise.
9201         * posix/regcomp.c (re_compile_pattern): Likewise.
9202         (re_set_syntax): Likewise.
9203         (re_compile_fastmap): Likewise.
9204         (regcomp): Likewise.
9205         (regerror): Likewise.
9206         (regfree): Likewise.
9207         * posix/regexec.c (regexec): Likewise.
9208         (re_match): Likewise.
9209         (re_search): Likewise.
9210         (re_match_2): Likewise.
9211         (re_search_2): Likewise.
9212         (re_search_stub): Likewise.  Use internal_function
9213         (re_copy_regs): Likewise.
9214         (re_set_registers): Convert to prototype-style function
9215         definition.
9216         (prune_impossible_nodes): Likewise.  Use internal_function.
9217         * resolv/inet_net_pton.c (inet_net_pton): Convert to
9218         prototype-style function definition.
9219         (inet_net_pton_ipv4): Likewise.
9220         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9221         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
9222         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9223         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
9224         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9225         Make variadic.
9226         * time/strptime_l.c (localtime_r): Convert to prototype-style
9227         function definition.
9228         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9229         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9230         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9231         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9233         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
9234         definition.
9235         (_ufc_doit_r): Likewise.
9236         * crypt/crypt_util.c (_ufc_copymem): Likewise.
9237         (_ufc_output_conversion_r): Likewise.
9238         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
9239         * inet/rcmd.c (rcmd_af): Likewise.
9240         (rcmd): Likewise.
9241         (ruserok_af): Likewise.
9242         (ruserok): Likewise.
9243         (ruserok2_sa): Likewise.
9244         (ruserok_sa): Likewise.
9245         (iruserok_af): Likewise.
9246         (iruserok): Likewise.
9247         (__ivaliduser): Likewise.
9248         (__validuser2_sa): Likewise.
9249         * inet/rexec.c (rexec_af): Likewise.
9250         (rexec): Likewise.
9251         * inet/ruserpass.c (ruserpass): Likewise.
9252         * locale/programs/xmalloc.c (xcalloc): Likewise.
9253         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
9254         * math/w_drem.c (__drem): Likewise.
9255         * math/w_dremf.c (__dremf): Likewise.
9256         * math/w_dreml.c (__dreml): Likewise.
9257         * misc/daemon.c (daemon): Likewise.
9258         * resolv/res_debug.c (p_fqnname): Likewise.
9259         * stdlib/div.c (div): Likewise.
9260         * string/memcmp.c (memcmp_bytes): Likewise.
9261         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
9262         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
9264         * crypt/cert.c (main): Convert to prototype-style function
9265         definition.
9266         * io/pipe.c (__pipe): Likewise.
9267         * io/pipe2.c (__pipe2): Likewise.
9268         * misc/futimesat.c (futimesat): Likewise.
9269         * misc/utimes.c (__utimes): Likewise.
9270         * posix/execve.c (__execve): Likewise.
9271         * posix/execvp.c (execvp): Likewise.
9272         * posix/execvpe.c (__execvpe): Likewise.
9273         * posix/fexecve.c (fexecve): Likewise.
9274         * socket/socketpair.c (socketpair): Likewise.
9275         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9276         * stdlib/erand48.c (erand48): Likewise.
9277         * stdlib/erand48_r.c (__erand48_r): Likewise.
9278         * stdlib/jrand48.c (jrand48): Likewise.
9279         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
9280         * stdlib/lcong48.c (lcong48): Likewise.
9281         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
9282         * stdlib/nrand48.c (nrand48): Likewise.
9283         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
9284         * stdlib/seed48.c (seed48): Likewise.
9285         * stdlib/seed48_r.c (__seed48_r): Likewise.
9286         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
9287         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
9288         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
9290 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9292         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
9293         * configure: Regenerated.
9294         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
9295         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
9296         unconditional.
9297         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9298         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9299         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9300         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
9301         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
9302         unconditional.
9303         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9305         * posix/Makefile (CFLAGS-regex.c): Remove variable.
9306         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
9308         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
9309         function definition.
9310         * crypt/crypt_util.c (__encrypt_r): Likewise.
9311         * libio/genops.c (_IO_no_init): Likewise.
9312         * libio/iofopncook.c (_IO_fopencookie): Likewise.
9313         (_IO_old_fopencookie): Likewise.
9314         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9315         * libio/iogetline.c (_IO_getline): Likewise.
9316         (_IO_getline_info): Likewise.
9317         * libio/iogetwline.c (_IO_getwline): Likewise.
9318         (_IO_getwline_info): Likewise.
9319         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
9320         * libio/vswprintf.c (_IO_vswprintf): Likewise.
9321         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
9322         (find_entry): Likewise.
9323         (iterate_table): Likewise.
9324         (lookup): Likewise.
9325         * login/forkpty.c (forkpty): Likewise.
9326         * misc/hsearch_r.c (__hsearch_r): Likewise.
9327         * misc/select.c (__select): Likewise.
9328         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
9329         Likewise.
9330         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
9331         Likewise.
9332         * nptl/old_pthread_cond_timedwait.c
9333         (__pthread_cond_timedwait_2_0): Likewise.
9334         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9335         * nptl/pthread_barrierattr_getpshared.c
9336         (pthread_barrierattr_getpshared): Likewise.
9337         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9338         Likewise.
9339         * nptl/pthread_mutex_setprioceiling.c
9340         (pthread_mutex_setprioceiling): Likewise.
9341         * nptl/pthread_mutexattr_getprioceiling.c
9342         (pthread_mutexattr_getprioceiling): Likewise.
9343         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9344         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9345         Likewise.
9346         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9347         Likewise.
9348         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
9349         Likewise.
9350         * socket/recvfrom.c (__recvfrom): Likewise.
9351         * socket/sendto.c (__sendto): Likewise.
9352         * socket/setsockopt.c (__setsockopt): Likewise.
9353         * stdio-common/_itoa.c (_itoa): Likewise.
9354         * stdio-common/_itowa.c (_itowa): Likewise.
9355         * stdio-common/reg-printf.c (__register_printf_specifier):
9356         Likewise.
9357         (__register_printf_function): Likewise.
9358         * stdio-common/tempname.c (__path_search): Likewise.
9359         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
9360         * stdlib/mul_1.c (mpn_mul_1): Likewise.
9361         * stdlib/random_r.c (__initstate_r): Likewise.
9362         * stdlib/setenv.c (__add_to_environ): Likewise.
9363         * stdlib/submul_1.c (mpn_submul_1): Likewise.
9364         * streams/getpmsg.c (getpmsg): Likewise.
9365         * streams/putmsg.c (putmsg): Likewise.
9366         * streams/putpmsg.c (putpmsg): Likewise.
9367         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
9368         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9369         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
9370         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9371         * sunrpc/pm_getport.c (pmap_getport): Likewise.
9372         * sunrpc/svc_udp.c (cache_get): Likewise.
9373         * sunrpc/xdr_array.c (xdr_vector): Likewise.
9374         * sysdeps/mach/hurd/getcwd.c
9375         (__canonicalize_directory_name_internal): Likewise.
9376         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
9377         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
9378         * sysdeps/mach/hurd/select.c (__select): Likewise.
9379         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9380         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9381         * sysdeps/sparc/nptl/pthread_barrier_init.c
9382         (__pthread_barrier_init): Likewise.
9383         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
9384         (__pthread_cond_timedwait): Likewise.
9385         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
9386         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
9387         Likewise.
9388         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
9389         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
9390         Likewise.
9391         * sysvipc/semtimedop.c (semtimedop): Likewise.
9392         * time/setitimer.c (__setitimer): Likewise.
9393         * time/strftime_l.c (emacs_strftime): Likewise.
9395 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9397         * config.make.in (have-ssp): Delete.
9398         (stack-protector): New variable.
9399         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
9400         cache test for -fstack-protector-strong.  Export stack_protector to
9401         the best ssp flag.
9402         * configure: Regenerated.
9403         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
9404         * nscd/Makefile (CFLAGS-nscd): Likewise.
9405         * resolv/Makefile (CFLAGS-libresolv): Likewise.
9407 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
9409         [BZ #19122]
9410         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
9411         attribute_hidden.
9413 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9415         [BZ #18743]
9416         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
9417         code to...
9418         (ELIDE_LOCK): ...here.
9419         (__get_new_count): New function with part of the code from
9420         __elide_lock that updates the value of adapt_count after a
9421         transaction abort.
9422         (__elided_trylock): Moved this code to...
9423         (ELIDE_TRYLOCK): ...here.
9425 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9427         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
9428         * configure: Regenerate.
9429         * INSTALL: Regenerate.
9430         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
9431         and tweak grammar.
9433 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
9435         * login/programs/pt_chown.c: Include signal.h
9436         (main): Clear any signal mask from the parent process.
9438 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9440         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
9441         * configure: Regenerated.
9442         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
9443         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
9444         $(gnu89-inline-CFLAGS).
9446         * configure.ac (libc_cv_asm_weak_directive): Remove configure
9447         test.
9448         (libc_cv_asm_weakext_directive): Likewise.
9449         * configure: Regenerated.
9450         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
9451         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
9452         * include/libc-symbols.h
9453         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
9454         #error.
9455         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
9456         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
9458         * sysdeps/arm/backtrace.c (__backtrace): Convert to
9459         prototype-style function definition.
9460         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9461         * sysdeps/i386/ffs.c (__ffs): Likewise.
9462         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9463         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
9464         Likewise.
9465         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9466         Likewise.
9467         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9468         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9469         Likewise.
9470         * sysdeps/m68k/ffs.c (__ffs): Likewise.
9471         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
9472         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
9473         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
9474         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
9475         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
9476         * sysdeps/mach/hurd/access.c (__access): Likewise.
9477         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
9478         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
9479         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
9480         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
9481         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
9482         (cthread_getspecific): Likewise.
9483         (cthread_setspecific): Likewise.
9484         (__libc_getspecific): Likewise.
9485         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
9486         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
9487         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
9488         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
9489         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
9490         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
9491         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
9492         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
9493         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
9494         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
9495         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
9496         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9497         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
9498         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
9499         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
9500         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
9501         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
9502         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
9503         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
9504         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
9505         * sysdeps/mach/hurd/link.c (__link): Likewise.
9506         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
9507         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
9508         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
9509         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
9510         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9511         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
9512         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
9513         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
9514         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9515         * sysdeps/mach/hurd/rename.c (rename): Likewise.
9516         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
9517         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
9518         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
9519         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
9520         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
9521         * sysdeps/mach/hurd/send.c (__send): Likewise.
9522         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
9523         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
9524         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
9525         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
9526         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
9527         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
9528         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
9529         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
9530         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
9531         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
9532         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
9533         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
9534         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
9535         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
9536         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
9537         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9538         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
9539         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9540         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
9541         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9542         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
9543         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
9544         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
9545         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
9546         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
9547         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
9548         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
9549         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9550         * sysdeps/posix/alarm.c (alarm): Likewise.
9551         * sysdeps/posix/cuserid.c (cuserid): Likewise.
9552         * sysdeps/posix/dirfd.c (dirfd): Likewise.
9553         * sysdeps/posix/dup.c (__dup): Likewise.
9554         * sysdeps/posix/dup2.c (__dup2): Likewise.
9555         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
9556         (main): Likewise.
9557         * sysdeps/posix/flock.c (__flock): Likewise.
9558         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
9559         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9560         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
9561         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
9562         * sysdeps/posix/isatty.c (__isatty): Likewise.
9563         * sysdeps/posix/killpg.c (killpg): Likewise.
9564         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9565         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
9566         * sysdeps/posix/raise.c (raise): Likewise.
9567         * sysdeps/posix/remove.c (remove): Likewise.
9568         * sysdeps/posix/rename.c (rename): Likewise.
9569         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
9570         * sysdeps/posix/seekdir.c (seekdir): Likewise.
9571         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9572         * sysdeps/posix/sigignore.c (sigignore): Likewise.
9573         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
9574         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9575         * sysdeps/posix/sigset.c (sigset): Likewise.
9576         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
9577         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
9578         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
9579         * sysdeps/posix/time.c (time): Likewise.
9580         * sysdeps/posix/ttyname.c (getttyname): Likewise.
9581         (ttyname): Likewise.
9582         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
9583         * sysdeps/posix/utime.c (utime): Likewise.
9584         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9585         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9586         Likewise.
9587         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9588         (pthread_spin_trylock): Likewise.
9589         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9590         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9591         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9592         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9593         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9594         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9595         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9596         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9597         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9598         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9599         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9600         * sysdeps/s390/ffs.c (__ffs): Likewise.
9601         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9602         Likewise.
9603         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9604         Likewise.
9605         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9606         Likewise.
9607         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9608         (pthread_barrier_destroy): Likewise.
9609         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9610         (__pthread_barrier_wait): Likewise.
9611         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9612         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9613         (__pthread_barrier_wait): Likewise.
9614         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9615         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9616         (memcmp_not_common_alignment): Likewise.
9617         (MEMCMP): Likewise.
9618         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9619         (_wordcopy_fwd_dest_aligned): Likewise.
9620         (_wordcopy_bwd_aligned): Likewise.
9621         (_wordcopy_bwd_dest_aligned): Likewise.
9622         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9623         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9624         * sysdeps/unix/bsd/stty.c (stty): Likewise.
9625         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9626         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9627         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9628         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9629         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9630         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9631         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9632         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9633         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9634         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9635         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9636         * sysdeps/unix/stime.c (stime): Likewise.
9637         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9638         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9639         Likewise.  Use internal_function.
9640         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9641         Convert to prototype-style function definition.
9642         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9643         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9644         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9645         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9646         Likewise.  Use internal_function.
9647         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9648         prototype-style function definition
9649         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9650         Likewise.
9651         (__getlogin_r): Likewise.
9652         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9653         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9654         (__pthread_cond_broadcast): Likewise.
9655         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9656         (__pthread_cond_destroy): Likewise.
9657         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9658         (__pthread_cond_init): Likewise.
9659         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9660         (__pthread_cond_signal): Likewise.
9661         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9662         (__pthread_cond_wait): Likewise.
9663         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9664         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9665         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9666         Likewise.
9667         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9668         Likewise.
9669         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9670         Likewise.
9671         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9672         Likewise.
9673         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9675         (__ftruncate64): Likewise.
9676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9677         (truncate64): Likewise.
9678         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9679         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9680         (pthread_getcpuclockid): Likewise.
9681         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9682         Likewise.
9683         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9684         Likewise.
9685         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9686         Likewise.
9687         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9688         Likewise.
9689         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9690         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9691         (__libc_sigaction): Likewise.
9692         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9693         Likewise.
9694         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9695         (__sigprocmask): Likewise.
9696         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9697         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9698         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9699         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9700         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9701         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9702         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9703         Likewise.
9704         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9705         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9706         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9707         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9708         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9709         Likewise.
9710         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9711         (__sigprocmask): Likewise.
9712         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9713         (cfgetispeed): Likewise.
9714         (cfsetospeed): Likewise.
9715         (cfsetispeed): Likewise.
9716         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9717         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9718         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9719         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9720         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9721         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9722         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9723         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9724         Likewise.
9725         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9726         Likewise.
9727         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9728         Likewise.
9729         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9730         Likewise.
9731         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9733 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9735         sunrpc: Rewrite with explicit TLS access using __thread.
9736         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9737         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9738         directly.
9739         (__rpc_thread_variables): Access thread_rpc_vars directly.
9740         Eliminate redundant assignment of the tvp variable.
9742 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9744         malloc: Rewrite with explicit TLS access using __thread.
9745         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9746         (tsd_setspecific, tsd_getspecific): Remove.
9747         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9748         (tsd_setspecific, tsd_getspecific): Likewise.
9749         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9750         (tsd_setspecific, tsd_getspecific): Likewise.
9751         * malloc/arena.c (thread_arena): New TLS variable.
9752         (arena_key): Remove variable.
9753         (arena_get): Use thread_arena.
9754         (arena_lookup): Remove macro.
9755         (malloc_atfork, free_atfork, ptmalloc_lock_all)
9756         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9757         (_int_new_arena, get_free_list, reused_arena)
9758         (arena_thread_freeres): Use thread_arena.
9759         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9760         tsd_getspecific, tsd_setspecific from safety annotations.
9761         (Allocating Cleared Space): Remove arena_lookup from safety
9762         annotations.
9764 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9766         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9767         struct scratch_buffer instead of extend_alloca.
9769 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9771         * sysdeps/unix/sysv/linux/kernel-features.h
9772         (__ASSUME_SOCK_CLOEXEC): Remove.
9773         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9774         (__have_paccept): Remove unused macro.
9775         * include/unistd.h (__have_sock_cloexec): Remove declaration.
9776         * misc/syslog.c (openlog_internal): Remove fallback code for
9777         !__ASSUME_SOCK_CLOEXEC.
9778         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9779         missing SOCK_CLOEXEC.
9780         * nscd/connections.c (have_sock_cloexec): Remove definition.
9781         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9782         * nscd/nscd_helper.c (open_socket): Remove fallback code for
9783         !__ASSUME_SOCK_CLOEXEC.
9784         * resolv/res_send.c (__have_o_nonblock): Remove definition.
9785         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9786         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9787         definition.
9788         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9789         code for !__ASSUME_SOCK_CLOEXEC.
9791 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9793         [BZ #18982]
9794         * manual/stdio.texi (Variable Arguments Output): Add portability
9795         note, explaining that vfprintf clobbers the va_list pointer.
9797 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9799         * math/libm-test.inc (fabs_test_data): Add more tests.
9800         (fdim_test_data): Likewise.
9801         (fma_test_data): Likewise.
9802         (fmax_test_data): Likewise.
9803         (fmin_test_data): Likewise.
9804         (fmod_test_data): Likewise.
9806 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
9808         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
9809         data.
9811 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9813         * math/libm-test.inc (ceil_test_data): Add more tests and more
9814         expectations for "inexact".
9815         (floor_test_data): Add more tests.
9816         (round_test_data): Likewise.
9817         (trunc_test_data): Likewise.
9819         * crypt/cert.c (good_bye): Convert to prototype-style function
9820         definition.
9821         (get8): Likewise.
9822         (put8): Likewise.
9823         * crypt/crypt-entry.c (crypt): Likewise.
9824         (__fcrypt): Likewise.
9825         * crypt/crypt_util.c (_ufc_prbits): Likewise.
9826         (_ufc_set_bits): Likewise.
9827         (_ufc_clearmem): Likewise.
9828         (__init_des_r): Likewise.
9829         (shuffle_sb): Likewise.
9830         (shuffle_sb): Likewise.
9831         (_ufc_setup_salt_r): Likewise.
9832         (_ufc_mk_keytab_r): Likewise.
9833         (_ufc_dofinalperm_r): Likewise.
9834         (encrypt): Likewise.
9835         (__setkey_r): Likewise.
9836         (setkey): Likewise.
9837         * crypt/md5.c (md5_init_ctx): Likewise.
9838         (md5_read_ctx): Likewise.
9839         (md5_finish_ctx): Likewise.
9840         (md5_stream): Likewise.
9841         (md5_buffer): Likewise.
9842         (md5_process_bytes): Likewise.
9843         * crypt/sha256.c (__sha256_init_ctx): Likewise.
9844         (__sha256_finish_ctx): Likewise.
9845         (__sha256_process_bytes): Likewise.
9846         * crypt/sha512.c (__sha512_init_ctx): Likewise.
9847         (__sha512_finish_ctx): Likewise.
9848         (__sha512_process_bytes): Likewise.
9849         * ctype/isctype.c (__isctype): Likewise.
9850         * debug/backtrace.c (__backtrace): Likewise.
9851         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9852         * debug/fgets_chk.c (__fgets_chk): Likewise.
9853         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9854         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9855         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9856         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9857         * debug/memset_chk.c (__memset_chk): Likewise.
9858         * debug/strcat_chk.c (__strcat_chk): Likewise.
9859         * debug/strncat_chk.c (__strncat_chk): Likewise.
9860         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9861         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9862         * dirent/dirfd.c (dirfd): Likewise.
9863         * dirent/getdents.c (__getdirentries): Likewise.
9864         * dirent/getdents64.c (getdirentries64): Likewise.
9865         * dirent/rewinddir.c (__rewinddir): Likewise.
9866         * dirent/seekdir.c (seekdir): Likewise.
9867         * dirent/telldir.c (telldir): Likewise.
9868         * elf/sln.c (makesymlinks): Likewise.
9869         (makesymlink): Likewise.
9870         * gmon/gmon.c (__moncontrol): Likewise.
9871         (__monstartup): Likewise.
9872         (write_hist): Likewise.
9873         (write_call_graph): Likewise.
9874         (write_bb_counts): Likewise.
9875         * grp/setgroups.c (setgroups): Likewise.
9876         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9877         * inet/inet_net.c (inet_network): Likewise.
9878         * inet/inet_netof.c (inet_netof): Likewise.
9879         * inet/rcmd.c (rresvport_af): Likewise.
9880         (rresvport): Likewise.
9881         * io/access.c (__access): Likewise.
9882         * io/chdir.c (__chdir): Likewise.
9883         * io/chmod.c (__chmod): Likewise.
9884         * io/chown.c (__chown): Likewise.
9885         * io/close.c (__close): Likewise.
9886         * io/creat.c (creat): Likewise.
9887         * io/creat64.c (creat64): Likewise.
9888         * io/dup.c (__dup): Likewise.
9889         * io/dup2.c (__dup2): Likewise.
9890         * io/dup3.c (__dup3): Likewise.
9891         * io/euidaccess.c (__euidaccess): Likewise.
9892         * io/faccessat.c (faccessat): Likewise.
9893         * io/fchmod.c (__fchmod): Likewise.
9894         * io/fchmodat.c (fchmodat): Likewise.
9895         * io/fchown.c (__fchown): Likewise.
9896         * io/fchownat.c (fchownat): Likewise.
9897         * io/fcntl.c (__fcntl): Likewise.
9898         * io/flock.c (__flock): Likewise.
9899         * io/fts.c (fts_load): Likewise.
9900         (fts_close): Likewise.
9901         (fts_read): Likewise.
9902         (fts_set): Likewise.
9903         (fts_children): Likewise.
9904         (fts_build): Likewise.
9905         (fts_stat): Likewise.
9906         (fts_sort): Likewise.
9907         (fts_alloc): Likewise.
9908         (fts_lfree): Likewise.
9909         (fts_palloc): Likewise.
9910         (fts_padjust): Likewise.
9911         (fts_maxarglen): Likewise.
9912         (fts_safe_changedir): Likewise.
9913         * io/getwd.c (getwd): Likewise.
9914         * io/isatty.c (__isatty): Likewise.
9915         * io/lchown.c (__lchown): Likewise.
9916         * io/link.c (__link): Likewise.
9917         * io/linkat.c (linkat): Likewise.
9918         * io/lseek.c (__libc_lseek): Likewise.
9919         * io/mkdir.c (__mkdir): Likewise.
9920         * io/mkdirat.c (mkdirat): Likewise.
9921         * io/mkfifo.c (mkfifo): Likewise.
9922         * io/mkfifoat.c (mkfifoat): Likewise.
9923         * io/open.c (__libc_open): Likewise.
9924         * io/open64.c (__libc_open64): Likewise.
9925         * io/readlink.c (__readlink): Likewise.
9926         * io/readlinkat.c (readlinkat): Likewise.
9927         * io/rmdir.c (__rmdir): Likewise.
9928         * io/symlink.c (__symlink): Likewise.
9929         * io/symlinkat.c (symlinkat): Likewise.
9930         * io/ttyname.c (ttyname): Likewise.
9931         * io/ttyname_r.c (__ttyname_r): Likewise.
9932         * io/umask.c (__umask): Likewise.
9933         * io/unlink.c (__unlink): Likewise.
9934         * io/unlinkat.c (unlinkat): Likewise.
9935         * io/utime.c (utime): Likewise.
9936         * libio/clearerr.c (clearerr): Likewise.
9937         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9938         * libio/feof.c (_IO_feof): Likewise.
9939         * libio/feof_u.c (feof_unlocked): Likewise.
9940         * libio/ferror.c (_IO_ferror): Likewise.
9941         * libio/ferror_u.c (ferror_unlocked): Likewise.
9942         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9943         * libio/fileno.c (__fileno): Likewise.
9944         * libio/fputc.c (fputc): Likewise.
9945         * libio/fputc_u.c (fputc_unlocked): Likewise.
9946         * libio/fputwc.c (fputwc): Likewise.
9947         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9948         * libio/freopen.c (freopen): Likewise.
9949         * libio/freopen64.c (freopen64): Likewise.
9950         * libio/fseek.c (fseek): Likewise.
9951         * libio/fseeko.c (fseeko): Likewise.
9952         * libio/fseeko64.c (fseeko64): Likewise.
9953         * libio/ftello.c (__ftello): Likewise.
9954         * libio/ftello64.c (ftello64): Likewise.
9955         * libio/fwide.c (fwide): Likewise.
9956         * libio/genops.c (_IO_un_link): Likewise.
9957         (_IO_link_in): Likewise.
9958         (_IO_least_marker): Likewise.
9959         (_IO_switch_to_main_get_area): Likewise.
9960         (_IO_switch_to_backup_area): Likewise.
9961         (_IO_switch_to_get_mode): Likewise.
9962         (_IO_free_backup_area): Likewise.
9963         (_IO_switch_to_put_mode): Likewise.
9964         (__overflow): Likewise.
9965         (__underflow): Likewise.
9966         (__uflow): Likewise.
9967         (_IO_setb): Likewise.
9968         (_IO_doallocbuf): Likewise.
9969         (_IO_default_underflow): Likewise.
9970         (_IO_default_uflow): Likewise.
9971         (_IO_default_xsputn): Likewise.
9972         (_IO_sgetn): Likewise.
9973         (_IO_default_xsgetn): Likewise.
9974         (_IO_sync): Likewise.
9975         (_IO_default_setbuf): Likewise.
9976         (_IO_default_seekpos): Likewise.
9977         (_IO_default_doallocate): Likewise.
9978         (_IO_init): Likewise.
9979         (_IO_old_init): Likewise.
9980         (_IO_default_sync): Likewise.
9981         (_IO_default_finish): Likewise.
9982         (_IO_default_seekoff): Likewise.
9983         (_IO_sputbackc): Likewise.
9984         (_IO_sungetc): Likewise.
9985         (_IO_set_column): Likewise.
9986         (_IO_set_column): Likewise.
9987         (_IO_adjust_column): Likewise.
9988         (_IO_get_column): Likewise.
9989         (_IO_init_marker): Likewise.
9990         (_IO_remove_marker): Likewise.
9991         (_IO_marker_difference): Likewise.
9992         (_IO_marker_delta): Likewise.
9993         (_IO_seekmark): Likewise.
9994         (_IO_unsave_markers): Likewise.
9995         (_IO_nobackup_pbackfail): Likewise.
9996         (_IO_default_pbackfail): Likewise.
9997         (_IO_default_seek): Likewise.
9998         (_IO_default_stat): Likewise.
9999         (_IO_default_read): Likewise.
10000         (_IO_default_write): Likewise.
10001         (_IO_default_showmanyc): Likewise.
10002         (_IO_default_imbue): Likewise.
10003         (_IO_iter_next): Likewise.
10004         (_IO_iter_file): Likewise.
10005         * libio/getc.c (_IO_getc): Likewise.
10006         * libio/getwc.c (_IO_getwc): Likewise.
10007         * libio/iofclose.c (_IO_new_fclose): Likewise.
10008         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10009         * libio/iofflush.c (_IO_fflush): Likewise.
10010         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
10011         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
10012         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
10013         * libio/iofgets.c (_IO_fgets): Likewise.
10014         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
10015         * libio/iofgetws.c (fgetws): Likewise.
10016         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10017         * libio/iofopen64.c (_IO_fopen64): Likewise.
10018         * libio/iofopncook.c (_IO_cookie_read): Likewise.
10019         (_IO_cookie_write): Likewise.
10020         (_IO_cookie_seek): Likewise.
10021         (_IO_cookie_close): Likewise.
10022         (_IO_cookie_seekoff): Likewise.
10023         (_IO_old_cookie_seek): Likewise.
10024         * libio/iofputs.c (_IO_fputs): Likewise.
10025         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
10026         * libio/iofputws.c (fputws): Likewise.
10027         * libio/iofputws_u.c (fputws_unlocked): Likewise.
10028         * libio/iofread.c (_IO_fread): Likewise.
10029         * libio/iofread_u.c (__fread_unlocked): Likewise.
10030         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
10031         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
10032         * libio/ioftell.c (_IO_ftell): Likewise.
10033         * libio/iofwrite.c (_IO_fwrite): Likewise.
10034         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10035         * libio/iogets.c (_IO_gets): Likewise.
10036         * libio/iopadn.c (_IO_padn): Likewise.
10037         * libio/iopopen.c (_IO_new_proc_open): Likewise.
10038         (_IO_new_popen): Likewise.
10039         (_IO_new_proc_close): Likewise.
10040         * libio/ioputs.c (_IO_puts): Likewise.
10041         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
10042         (_IO_seekoff): Likewise.
10043         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
10044         (_IO_seekpos): Likewise.
10045         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
10046         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
10047         * libio/ioungetc.c (_IO_ungetc): Likewise.
10048         * libio/ioungetwc.c (ungetwc): Likewise.
10049         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10050         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
10051         * libio/iowpadn.c (_IO_wpadn): Likewise.
10052         * libio/libc_fatal.c (__libc_fatal): Likewise.
10053         * libio/memstream.c (__open_memstream): Likewise.
10054         (_IO_mem_sync): Likewise.
10055         (_IO_mem_finish): Likewise.
10056         * libio/oldfileops.c (_IO_old_file_init): Likewise.
10057         (_IO_old_file_close_it): Likewise.
10058         (_IO_old_file_finish): Likewise.
10059         (_IO_old_file_fopen): Likewise.
10060         (_IO_old_file_attach): Likewise.
10061         (_IO_old_file_setbuf): Likewise.
10062         (_IO_old_do_write): Likewise.
10063         (old_do_write): Likewise.
10064         (_IO_old_file_underflow): Likewise.
10065         (_IO_old_file_overflow): Likewise.
10066         (_IO_old_file_sync): Likewise.
10067         (_IO_old_file_seekoff): Likewise.
10068         (_IO_old_file_write): Likewise.
10069         (_IO_old_file_xsputn): Likewise.
10070         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
10071         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10072         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
10073         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
10074         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10075         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
10076         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
10077         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10078         (_IO_old_popen): Likewise.
10079         (_IO_old_proc_close): Likewise.
10080         * libio/oldpclose.c (__old_pclose): Likewise.
10081         * libio/pclose.c (__new_pclose): Likewise.
10082         * libio/peekc.c (_IO_peekc_locked): Likewise.
10083         * libio/putc.c (_IO_putc): Likewise.
10084         * libio/putc_u.c (putc_unlocked): Likewise.
10085         * libio/putchar.c (putchar): Likewise.
10086         * libio/putchar_u.c (putchar_unlocked): Likewise.
10087         * libio/putwc.c (putwc): Likewise.
10088         * libio/putwc_u.c (putwc_unlocked): Likewise.
10089         * libio/putwchar.c (putwchar): Likewise.
10090         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
10091         * libio/rewind.c (rewind): Likewise.
10092         * libio/setbuf.c (setbuf): Likewise.
10093         * libio/setlinebuf.c (setlinebuf): Likewise.
10094         * libio/vasprintf.c (_IO_vasprintf): Likewise.
10095         * libio/vscanf.c (_IO_vscanf): Likewise.
10096         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
10097         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
10098         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10099         * libio/wgenops.c (_IO_least_wmarker): Likewise.
10100         (_IO_switch_to_main_wget_area): Likewise.
10101         (_IO_switch_to_wbackup_area): Likewise.
10102         (_IO_wsetb): Likewise.
10103         (_IO_wdefault_pbackfail): Likewise.
10104         (_IO_wdefault_finish): Likewise.
10105         (_IO_wdefault_uflow): Likewise.
10106         (__woverflow): Likewise.
10107         (__wuflow): Likewise.
10108         (__wunderflow): Likewise.
10109         (_IO_wdefault_xsputn): Likewise.
10110         (_IO_wdefault_xsgetn): Likewise.
10111         (_IO_wdoallocbuf): Likewise.
10112         (_IO_wdefault_doallocate): Likewise.
10113         (_IO_switch_to_wget_mode): Likewise.
10114         (_IO_free_wbackup_area): Likewise.
10115         (_IO_switch_to_wput_mode): Likewise.
10116         (_IO_sputbackwc): Likewise.
10117         (_IO_sungetwc): Likewise.
10118         (_IO_adjust_wcolumn): Likewise.
10119         (_IO_init_wmarker): Likewise.
10120         (_IO_wmarker_delta): Likewise.
10121         (_IO_seekwmark): Likewise.
10122         (_IO_unsave_wmarkers): Likewise.
10123         * libio/wmemstream.c (open_wmemstream): Likewise.
10124         (_IO_wmem_sync): Likewise.
10125         (_IO_wmem_finish): Likewise.
10126         * locale/nl_langinfo.c (nl_langinfo): Likewise.
10127         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
10128         * locale/programs/simple-hash.c (init_hash): Likewise.
10129         (delete_hash): Likewise.
10130         (insert_entry): Likewise.
10131         (set_entry): Likewise.
10132         (next_prime): Likewise.
10133         (is_prime): Likewise.
10134         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
10135         (xmalloc): Likewise.
10136         (xrealloc): Likewise.
10137         * locale/programs/xstrdup.c (xstrdup): Likewise.
10138         * localedata/collate-test.c (xstrcoll): Likewise.
10139         * localedata/xfrm-test.c (xstrcmp): Likewise.
10140         * login/getlogin_r.c (__getlogin_r): Likewise.
10141         * login/getpt.c (__posix_openpt): Likewise.
10142         * login/login_tty.c (login_tty): Likewise.
10143         * login/setlogin.c (setlogin): Likewise.
10144         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
10145         (mach_msg_destroy_port): Likewise.
10146         (mach_msg_destroy_memory): Likewise.
10147         * malloc/mcheck.c (flood): Likewise.
10148         * misc/acct.c (acct): Likewise.
10149         * misc/brk.c (__brk): Likewise.
10150         * misc/chflags.c (chflags): Likewise.
10151         * misc/chroot.c (chroot): Likewise.
10152         * misc/fchflags.c (fchflags): Likewise.
10153         * misc/fstab.c (getfsspec): Likewise.
10154         (getfsfile): Likewise.
10155         * misc/fsync.c (fsync): Likewise.
10156         * misc/ftruncate.c (__ftruncate): Likewise.
10157         * misc/ftruncate64.c (__ftruncate64): Likewise.
10158         * misc/getdomain.c (getdomainname): Likewise.
10159         (getdomainname): Likewise.
10160         * misc/gethostname.c (__gethostname): Likewise.
10161         * misc/getpass.c (getpass): Likewise.
10162         * misc/getttyent.c (skip): Likewise.
10163         (value): Likewise.
10164         * misc/gtty.c (gtty): Likewise.
10165         * misc/hsearch.c (hsearch): Likewise.
10166         (hcreate): Likewise.
10167         * misc/hsearch_r.c (__hcreate_r): Likewise.
10168         (__hdestroy_r): Likewise.
10169         * misc/ioctl.c (__ioctl): Likewise.
10170         * misc/mkdtemp.c (mkdtemp): Likewise.
10171         * misc/mkostemp.c (mkostemp): Likewise.
10172         * misc/mkostemp64.c (mkostemp64): Likewise.
10173         * misc/mkostemps.c (mkostemps): Likewise.
10174         * misc/mkostemps64.c (mkostemps64): Likewise.
10175         * misc/mkstemp.c (mkstemp): Likewise.
10176         * misc/mkstemp64.c (mkstemp64): Likewise.
10177         * misc/mkstemps.c (mkstemps): Likewise.
10178         * misc/mkstemps64.c (mkstemps64): Likewise.
10179         * misc/mktemp.c (__mktemp): Likewise.
10180         * misc/preadv.c (preadv): Likewise.
10181         * misc/preadv64.c (preadv64): Likewise.
10182         * misc/pwritev.c (pwritev): Likewise.
10183         * misc/pwritev64.c (pwritev64): Likewise.
10184         * misc/readv.c (__readv): Likewise.
10185         * misc/revoke.c (revoke): Likewise.
10186         * misc/setdomain.c (setdomainname): Likewise.
10187         * misc/setegid.c (setegid): Likewise.
10188         * misc/seteuid.c (seteuid): Likewise.
10189         * misc/sethostid.c (sethostid): Likewise.
10190         * misc/sethostname.c (sethostname): Likewise.
10191         * misc/setregid.c (__setregid): Likewise.
10192         * misc/setreuid.c (__setreuid): Likewise.
10193         * misc/sstk.c (sstk): Likewise.
10194         * misc/stty.c (stty): Likewise.
10195         * misc/syscall.c (syscall): Likewise.
10196         * misc/syslog.c (setlogmask): Likewise.
10197         * misc/truncate.c (__truncate): Likewise.
10198         * misc/truncate64.c (truncate64): Likewise.
10199         * misc/ualarm.c (ualarm): Likewise.
10200         * misc/usleep.c (usleep): Likewise.
10201         * misc/ustat.c (ustat): Likewise.
10202         * misc/writev.c (__writev): Likewise.
10203         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
10204         * nptl/old_pthread_cond_broadcast.c
10205         (__pthread_cond_broadcast_2_0): Likewise.
10206         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
10207         Likewise.
10208         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
10209         Likewise.
10210         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
10211         Likewise.
10212         * nptl/pt-raise.c (raise): Likewise.
10213         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
10214         Likewise.
10215         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
10216         * nptl/pthread_barrierattr_destroy.c
10217         (pthread_barrierattr_destroy): Likewise.
10218         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
10219         Likewise.
10220         * nptl/pthread_barrierattr_setpshared.c
10221         (pthread_barrierattr_setpshared): Likewise.
10222         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10223         Likewise.
10224         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10225         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10226         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10227         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
10228         Likewise.
10229         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
10230         Likewise.
10231         * nptl/pthread_condattr_getpshared.c
10232         (pthread_condattr_getpshared): Likewise.
10233         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
10234         Likewise.
10235         * nptl/pthread_condattr_setpshared.c
10236         (pthread_condattr_setpshared): Likewise.
10237         * nptl/pthread_detach.c (pthread_detach): Likewise.
10238         * nptl/pthread_equal.c (__pthread_equal): Likewise.
10239         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
10240         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
10241         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
10242         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
10243         Likewise.
10244         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10245         Likewise.
10246         * nptl/pthread_mutex_getprioceiling.c
10247         (pthread_mutex_getprioceiling): Likewise.
10248         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
10249         Likewise.
10250         * nptl/pthread_mutexattr_getprotocol.c
10251         (pthread_mutexattr_getprotocol): Likewise.
10252         * nptl/pthread_mutexattr_getpshared.c
10253         (pthread_mutexattr_getpshared): Likewise.
10254         * nptl/pthread_mutexattr_getrobust.c
10255         (pthread_mutexattr_getrobust): Likewise.
10256         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10257         Likewise.
10258         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
10259         Likewise.
10260         * nptl/pthread_mutexattr_setprioceiling.c
10261         (pthread_mutexattr_setprioceiling): Likewise.
10262         * nptl/pthread_mutexattr_setprotocol.c
10263         (pthread_mutexattr_setprotocol): Likewise.
10264         * nptl/pthread_mutexattr_setpshared.c
10265         (pthread_mutexattr_setpshared): Likewise.
10266         * nptl/pthread_mutexattr_setrobust.c
10267         (pthread_mutexattr_setrobust): Likewise.
10268         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
10269         Likewise.
10270         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
10271         Likewise.
10272         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
10273         Likewise.
10274         * nptl/pthread_rwlockattr_getkind_np.c
10275         (pthread_rwlockattr_getkind_np): Likewise.
10276         * nptl/pthread_rwlockattr_getpshared.c
10277         (pthread_rwlockattr_getpshared): Likewise.
10278         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
10279         Likewise.
10280         * nptl/pthread_rwlockattr_setkind_np.c
10281         (pthread_rwlockattr_setkind_np): Likewise.
10282         * nptl/pthread_rwlockattr_setpshared.c
10283         (pthread_rwlockattr_setpshared): Likewise.
10284         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
10285         Likewise.
10286         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
10287         Likewise.
10288         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
10289         Likewise.
10290         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10291         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
10292         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
10293         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
10294         * nptl/sem_close.c (sem_close): Likewise.
10295         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
10296         * nptl/sem_init.c (__old_sem_init): Likewise.
10297         * nptl/sigaction.c (__sigaction): Likewise.
10298         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10299         * posix/_exit.c (_exit): Likewise.
10300         * posix/alarm.c (alarm): Likewise.
10301         * posix/confstr.c (confstr): Likewise.
10302         * posix/fpathconf.c (__fpathconf): Likewise.
10303         * posix/getgroups.c (__getgroups): Likewise.
10304         * posix/getpgid.c (__getpgid): Likewise.
10305         * posix/group_member.c (__group_member): Likewise.
10306         * posix/pathconf.c (__pathconf): Likewise.
10307         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
10308         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
10309         * posix/setgid.c (__setgid): Likewise.
10310         * posix/setpgid.c (__setpgid): Likewise.
10311         * posix/setuid.c (__setuid): Likewise.
10312         * posix/sleep.c (__sleep): Likewise.
10313         * posix/sysconf.c (__sysconf): Likewise.
10314         * posix/times.c (__times): Likewise.
10315         * posix/uname.c (__uname): Likewise.
10316         * posix/waitid.c (__waitid): Likewise.
10317         * pwd/getpw.c (__getpw): Likewise.
10318         * resolv/base64.c (b64_pton): Likewise.
10319         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
10320         * resolv/gethnamaddr.c (Dprintf): Likewise.
10321         (gethostbyname): Likewise.
10322         (gethostbyname2): Likewise.
10323         (gethostbyaddr): Likewise.
10324         (_sethtent): Likewise.
10325         (_gethtbyname): Likewise.
10326         (_gethtbyname2): Likewise.
10327         (_gethtbyaddr): Likewise.
10328         (map_v4v6_address): Likewise.
10329         (map_v4v6_hostent): Likewise.
10330         (addrsort): Likewise.
10331         (ht_sethostent): Likewise.
10332         (ht_gethostbyname): Likewise.
10333         (ht_gethostbyaddr): Likewise.
10334         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
10335         (inet_net_ntop_ipv4): Likewise.
10336         * resolv/inet_neta.c (inet_neta): Likewise.
10337         * resolv/inet_ntop.c (inet_ntop): Likewise.
10338         (inet_ntop4): Likewise.
10339         (inet_ntop6): Likewise.
10340         * resolv/inet_pton.c (__inet_pton): Likewise.
10341         (inet_pton4): Likewise.
10342         (inet_pton6): Likewise.
10343         * resolv/res_debug.c (loc_aton): Likewise.
10344         (loc_ntoa): Likewise.
10345         * resource/getpriority.c (__getpriority): Likewise.
10346         * resource/getrusage.c (__getrusage): Likewise.
10347         * resource/nice.c (nice): Likewise.
10348         * resource/setpriority.c (__setpriority): Likewise.
10349         * resource/setrlimit64.c (setrlimit64): Likewise.
10350         * resource/vlimit.c (vlimit): Likewise.
10351         * resource/vtimes.c (vtimes): Likewise.
10352         * rt/aio_error.c (aio_error): Likewise.
10353         * rt/aio_return.c (aio_return): Likewise.
10354         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
10355         * signal/kill.c (__kill): Likewise.
10356         * signal/killpg.c (killpg): Likewise.
10357         * signal/raise.c (raise): Likewise.
10358         * signal/sigaction.c (__sigaction): Likewise.
10359         * signal/sigaddset.c (sigaddset): Likewise.
10360         * signal/sigaltstack.c (sigaltstack): Likewise.
10361         * signal/sigandset.c (sigandset): Likewise.
10362         * signal/sigblock.c (__sigblock): Likewise.
10363         * signal/sigdelset.c (sigdelset): Likewise.
10364         * signal/sigempty.c (sigemptyset): Likewise.
10365         * signal/sigfillset.c (sigfillset): Likewise.
10366         * signal/sighold.c (sighold): Likewise.
10367         * signal/sigignore.c (sigignore): Likewise.
10368         * signal/sigintr.c (siginterrupt): Likewise.
10369         * signal/sigisempty.c (sigisemptyset): Likewise.
10370         * signal/sigismem.c (sigismember): Likewise.
10371         * signal/signal.c (signal): Likewise.
10372         * signal/sigorset.c (sigorset): Likewise.
10373         * signal/sigpause.c (__sigpause): Likewise.
10374         * signal/sigpending.c (sigpending): Likewise.
10375         * signal/sigprocmask.c (__sigprocmask): Likewise.
10376         * signal/sigrelse.c (sigrelse): Likewise.
10377         * signal/sigreturn.c (__sigreturn): Likewise.
10378         * signal/sigset.c (sigset): Likewise.
10379         * signal/sigsetmask.c (__sigsetmask): Likewise.
10380         * signal/sigstack.c (sigstack): Likewise.
10381         * signal/sigsuspend.c (__sigsuspend): Likewise.
10382         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
10383         * signal/sysv_signal.c (__sysv_signal): Likewise.
10384         * socket/accept.c (accept): Likewise.
10385         * socket/accept4.c (__libc_accept4): Likewise.
10386         * socket/bind.c (__bind): Likewise.
10387         * socket/connect.c (__connect): Likewise.
10388         * socket/getpeername.c (getpeername): Likewise.
10389         * socket/getsockname.c (__getsockname): Likewise.
10390         * socket/getsockopt.c (getsockopt): Likewise.
10391         * socket/listen.c (__listen): Likewise.
10392         * socket/recv.c (__recv): Likewise.
10393         * socket/recvmsg.c (__recvmsg): Likewise.
10394         * socket/send.c (__send): Likewise.
10395         * socket/sendmsg.c (__sendmsg): Likewise.
10396         * socket/shutdown.c (shutdown): Likewise.
10397         * socket/sockatmark.c (sockatmark): Likewise.
10398         * socket/socket.c (__socket): Likewise.
10399         * stdio-common/ctermid.c (ctermid): Likewise.
10400         * stdio-common/cuserid.c (cuserid): Likewise.
10401         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
10402         * stdio-common/remove.c (remove): Likewise.
10403         * stdio-common/rename.c (rename): Likewise.
10404         * stdio-common/renameat.c (renameat): Likewise.
10405         * stdio-common/tempname.c (__gen_tempname): Likewise.
10406         * stdio-common/xbug.c (InitBuffer): Likewise.
10407         (AppendToBuffer): Likewise.
10408         (ReadFile): Likewise.
10409         * stdlib/a64l.c (a64l): Likewise.
10410         * stdlib/drand48_r.c (drand48_r): Likewise.
10411         * stdlib/getcontext.c (getcontext): Likewise.
10412         * stdlib/getenv.c (getenv): Likewise.
10413         * stdlib/l64a.c (l64a): Likewise.
10414         * stdlib/llabs.c (llabs): Likewise.
10415         * stdlib/lldiv.c (lldiv): Likewise.
10416         * stdlib/lrand48_r.c (lrand48_r): Likewise.
10417         * stdlib/mrand48_r.c (mrand48_r): Likewise.
10418         * stdlib/putenv.c (putenv): Likewise.
10419         * stdlib/random.c (__srandom): Likewise.
10420         (__initstate): Likewise.
10421         (__setstate): Likewise.
10422         * stdlib/random_r.c (__srandom_r): Likewise.
10423         (__setstate_r): Likewise.
10424         (__random_r): Likewise.
10425         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
10426         * stdlib/setcontext.c (setcontext): Likewise.
10427         * stdlib/setenv.c (setenv): Likewise.
10428         (unsetenv): Likewise.
10429         * stdlib/srand48.c (srand48): Likewise.
10430         * stdlib/srand48_r.c (__srand48_r): Likewise.
10431         * stdlib/swapcontext.c (swapcontext): Likewise.
10432         * stdlib/system.c (__libc_system): Likewise.
10433         * stdlib/tst-strtod.c (expand): Likewise.
10434         * stdlib/tst-strtol.c (expand): Likewise.
10435         * stdlib/tst-strtoll.c (expand): Likewise.
10436         * streams/fattach.c (fattach): Likewise.
10437         * streams/fdetach.c (fdetach): Likewise.
10438         * streams/getmsg.c (getmsg): Likewise.
10439         * streams/isastream.c (isastream): Likewise.
10440         * string/ffs.c (__ffs): Likewise.
10441         * string/ffsll.c (ffsll): Likewise.
10442         * string/memcmp.c (memcmp_common_alignment): Likewise.
10443         (memcmp_not_common_alignment): Likewise.
10444         (MEMCMP): Likewise.
10445         * string/memcpy.c (memcpy): Likewise.
10446         * string/memmove.c (MEMMOVE): Likewise.
10447         * string/memset.c (memset): Likewise.
10448         * string/rawmemchr.c (RAWMEMCHR): Likewise.
10449         * string/strchrnul.c (STRCHRNUL): Likewise.
10450         * string/strerror.c (strerror): Likewise.
10451         * string/strndup.c (__strndup): Likewise.
10452         * string/strverscmp.c (__strverscmp): Likewise.
10453         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
10454         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
10455         (clnttcp_freeres): Likewise.
10456         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
10457         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
10458         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
10459         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
10460         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
10461         (xdr_callhdr): Likewise.
10462         * sunrpc/rpcinfo.c (udpping): Likewise.
10463         (tcpping): Likewise.
10464         (pstatus): Likewise.
10465         (pmapdump): Likewise.
10466         (brdcst): Likewise.
10467         (deletereg): Likewise.
10468         (getprognum): Likewise.
10469         (getvers): Likewise.
10470         (get_inet_address): Likewise.
10471         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
10472         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10473         (svcudp_stat): Likewise.
10474         (svcudp_recv): Likewise.
10475         (svcudp_reply): Likewise.
10476         (svcudp_getargs): Likewise.
10477         (svcudp_freeargs): Likewise.
10478         (svcudp_destroy): Likewise.
10479         * sunrpc/xdr.c (xdr_bytes): Likewise.
10480         (xdr_netobj): Likewise.
10481         (xdr_string): Likewise.
10482         (xdr_wrapstring): Likewise.
10483         * sunrpc/xdr_float.c (xdr_float): Likewise.
10484         (xdr_double): Likewise.
10485         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
10486         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
10487         * sysvipc/ftok.c (ftok): Likewise.
10488         * sysvipc/msgctl.c (msgctl): Likewise.
10489         * sysvipc/msgget.c (msgget): Likewise.
10490         * sysvipc/msgrcv.c (msgrcv): Likewise.
10491         * sysvipc/msgsnd.c (msgsnd): Likewise.
10492         * sysvipc/semget.c (semget): Likewise.
10493         * sysvipc/semop.c (semop): Likewise.
10494         * sysvipc/shmat.c (shmat): Likewise.
10495         * sysvipc/shmctl.c (shmctl): Likewise.
10496         * sysvipc/shmdt.c (shmdt): Likewise.
10497         * sysvipc/shmget.c (shmget): Likewise.
10498         * termios/cfmakeraw.c (cfmakeraw): Likewise.
10499         * termios/speed.c (cfgetospeed): Likewise.
10500         (cfgetispeed): Likewise.
10501         (cfsetospeed): Likewise.
10502         (cfsetispeed): Likewise.
10503         * termios/tcflow.c (tcflow): Likewise.
10504         * termios/tcflush.c (tcflush): Likewise.
10505         * termios/tcgetattr.c (__tcgetattr): Likewise.
10506         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
10507         * termios/tcgetsid.c (tcgetsid): Likewise.
10508         * termios/tcsendbrk.c (tcsendbreak): Likewise.
10509         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
10510         * time/adjtime.c (__adjtime): Likewise.
10511         * time/dysize.c (dysize): Likewise.
10512         * time/ftime.c (ftime): Likewise.
10513         * time/getitimer.c (__getitimer): Likewise.
10514         * time/gettimeofday.c (__gettimeofday): Likewise.
10515         * time/gmtime.c (__gmtime_r): Likewise.
10516         (gmtime): Likewise.
10517         * time/localtime.c (__localtime_r): Likewise.
10518         (localtime): Likewise.
10519         * time/offtime.c (__offtime): Likewise.
10520         * time/settimeofday.c (__settimeofday): Likewise.
10521         * time/stime.c (stime): Likewise.
10522         * time/strftime_l.c (tm_diff): Likewise.
10523         (iso_week_days): Likewise.
10524         * time/strptime.c (strptime): Likewise.
10525         * time/time.c (time): Likewise.
10526         * time/timespec_get.c (timespec_get): Likewise.
10527         * time/tzset.c (tzset_internal): Likewise.
10528         (compute_change): Likewise.
10529         (__tz_compute): Likewise.
10530         * wcsmbs/btowc.c (__btowc): Likewise.
10531         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
10532         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
10533         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
10534         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
10535         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
10536         * wcsmbs/wcscat.c (__wcscat): Likewise.
10537         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10538         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
10539         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
10540         * wcsmbs/wcscspn.c (wcscspn): Likewise.
10541         * wcsmbs/wcsdup.c (wcsdup): Likewise.
10542         * wcsmbs/wcslen.c (__wcslen): Likewise.
10543         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
10544         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
10545         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
10546         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
10547         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10548         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
10549         * wcsmbs/wcsspn.c (wcsspn): Likewise.
10550         * wcsmbs/wcsstr.c (wcsstr): Likewise.
10551         * wcsmbs/wcstok.c (wcstok): Likewise.
10552         * wcsmbs/wctob.c (wctob): Likewise.
10553         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
10554         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10555         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
10556         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
10557         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
10558         * wcsmbs/wmemset.c (__wmemset): Likewise.
10559         * wctype/wcfuncs.c (__towlower): Likewise.
10560         (__towupper): Likewise.
10562         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
10563         (lll_unlock_elision): Add adapt_count parameter.
10565 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10567         * sysdeps/nptl/configure.ac: Do not give errors based on the
10568         results of top-level configure tests.
10569         * sysdeps/nptl/configure: Regenerated.
10571         * configure.ac (libc_cv_Bgroup): Remove configure test.
10572         * configure: Regenerated.
10573         * config.make.in (have-Bgroup): Remove variable.
10575         * configure.ac (sizeof_long_double): Remove configure test.
10576         * configure: Regenerated.
10577         * config.make.in (sizeof-long-double): Remove variable.
10579         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
10580         * configure: Regenerated.
10581         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
10582         variable.
10583         (exceptions): Likewise.
10584         * sysdeps/arm/configure: Regenerated.
10585         * config.make.in (exceptions): Remove variable.
10586         * Makeconfig (uses-callbacks): Use -fexceptions instead of
10587         $(exceptions).
10588         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10589         (CFLAGS-vdprintf_chk.c): Likewise.
10590         (CFLAGS-printf_chk.c): Likewise.
10591         (CFLAGS-fprintf_chk.c): Likewise.
10592         (CFLAGS-vprintf_chk.c): Likewise.
10593         (CFLAGS-vfprintf_chk.c): Likewise.
10594         (CFLAGS-gets_chk.c): Likewise.
10595         (CFLAGS-fgets_chk.c): Likewise.
10596         (CFLAGS-fgets_u_chk.c): Likewise.
10597         (CFLAGS-fread_chk.c): Likewise.
10598         (CFLAGS-fread_u_chk.c): Likewise.
10599         (CFLAGS-wprintf_chk.c): Likewise.
10600         (CFLAGS-fwprintf_chk.c): Likewise.
10601         (CFLAGS-vwprintf_chk.c): Likewise.
10602         (CFLAGS-vfwprintf_chk.c): Likewise.
10603         (CFLAGS-fgetws_chk.c): Likewise.
10604         (CFLAGS-fgetws_u_chk.c): Likewise.
10605         * libio/Makefile (CFLAGS-fileops.c): Likewise.
10606         (CFLAGS-fputc.c): Likewise.
10607         (CFLAGS-fputwc.c): Likewise.
10608         (CFLAGS-freopen64.c): Likewise.
10609         (CFLAGS-freopen.c): Likewise.
10610         (CFLAGS-fseek.c): Likewise.
10611         (CFLAGS-fseeko64.c): Likewise.
10612         (CFLAGS-fseeko.c): Likewise.
10613         (CFLAGS-ftello64.c): Likewise.
10614         (CFLAGS-ftello.c): Likewise.
10615         (CFLAGS-fwide.c): Likewise.
10616         (CFLAGS-genops.c): Likewise.
10617         (CFLAGS-getc.c): Likewise.
10618         (CFLAGS-getchar.c): Likewise.
10619         (CFLAGS-getwc.c): Likewise.
10620         (CFLAGS-getwchar.c): Likewise.
10621         (CFLAGS-iofclose.c): Likewise.
10622         (CFLAGS-iofflush.c): Likewise.
10623         (CFLAGS-iofgetpos64.c): Likewise.
10624         (CFLAGS-iofgetpos.c): Likewise.
10625         (CFLAGS-iofgets.c): Likewise.
10626         (CFLAGS-iofgetws.c): Likewise.
10627         (CFLAGS-iofputs.c): Likewise.
10628         (CFLAGS-iofputws.c): Likewise.
10629         (CFLAGS-iofread.c): Likewise.
10630         (CFLAGS-iofsetpos64.c): Likewise.
10631         (CFLAGS-iofsetpos.c): Likewise.
10632         (CFLAGS-ioftell.c): Likewise.
10633         (CFLAGS-iofwrite.c): Likewise.
10634         (CFLAGS-iogetdelim.c): Likewise.
10635         (CFLAGS-iogetline.c): Likewise.
10636         (CFLAGS-iogets.c): Likewise.
10637         (CFLAGS-iogetwline.c): Likewise.
10638         (CFLAGS-ioputs.c): Likewise.
10639         (CFLAGS-ioseekoff.c): Likewise.
10640         (CFLAGS-ioseekpos.c): Likewise.
10641         (CFLAGS-iosetbuffer.c): Likewise.
10642         (CFLAGS-iosetvbuf.c): Likewise.
10643         (CFLAGS-ioungetc.c): Likewise.
10644         (CFLAGS-ioungetwc.c): Likewise.
10645         (CFLAGS-oldfileops.c): Likewise.
10646         (CFLAGS-oldiofclose.c): Likewise.
10647         (CFLAGS-oldiofgetpos64.c): Likewise.
10648         (CFLAGS-oldiofgetpos.c): Likewise.
10649         (CFLAGS-oldiofsetpos64.c): Likewise.
10650         (CFLAGS-oldiofsetpos.c): Likewise.
10651         (CFLAGS-peekc.c): Likewise.
10652         (CFLAGS-putc.c): Likewise.
10653         (CFLAGS-putchar.c): Likewise.
10654         (CFLAGS-putwc.c): Likewise.
10655         (CFLAGS-putwchar.c): Likewise.
10656         (CFLAGS-rewind.c): Likewise.
10657         (CFLAGS-wfileops.c): Likewise.
10658         (CFLAGS-wgenops.c): Likewise.
10659         (CFLAGS-oldiofopen.c): Likewise.
10660         (CFLAGS-iofopen.c): Likewise.
10661         (CFLAGS-iofopen64.c): Likewise.
10662         (CFLAGS-oldtmpfile.c): Likewise.
10663         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10664         (CFLAGS-fprintf.c): Likewise.
10665         (CFLAGS-printf.c): Likewise.
10666         (CFLAGS-vfwprintf.c): Likewise.
10667         (CFLAGS-vfscanf.c): Likewise.
10668         (CFLAGS-vfwscanf.c): Likewise.
10669         (CFLAGS-fscanf.c): Likewise.
10670         (CFLAGS-scanf.c): Likewise.
10671         (CFLAGS-isoc99_vfscanf.c): Likewise.
10672         (CFLAGS-isoc99_vscanf.c): Likewise.
10673         (CFLAGS-isoc99_fscanf.c): Likewise.
10674         (CFLAGS-isoc99_scanf.c): Likewise.
10675         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10676         (CFLAGS-isoc99_fwscanf.c): Likewise.
10677         (CFLAGS-isoc99_vwscanf.c): Likewise.
10678         (CFLAGS-isoc99_vfwscanf.c): Likewise.
10680         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10681         after mkstemp64.
10682         * login/tst-utmp.c (do_prepare): Likewise.
10683         * rt/tst-aio.c (do_prepare): Likewise.
10684         * rt/tst-aio64.c (do_prepare): Likewise.
10686 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10688         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10689         (__lll_lock_elision): Remove adapt_count decrement...
10690         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10691         (__lll_trylock_elision): Likewise.
10692         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10693         (__lll_unlock_elision): ... to here. And utilize
10694         new adapt_count parameter.
10695         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10696         (__lll_unlock_elision): Update to include adapt_count
10697         parameter.
10698         (lll_unlock_elision): Pass pointer to adapt_count
10699         variable.
10701 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10703         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10704         Add elision adapt_count parameter to list of arguments.
10705         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10706         (lll_unlock_elision): Update with new parameter list
10707         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10708         (lll_unlock_elision): Likewise.
10709         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10710         (lll_unlock_elision): Likewise.
10712 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10714         [BZ #19122]
10715         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10716         attribute_hidden.
10718         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10719         attribute_hidden.
10720         [IS_IN (rtld)] (__strdup): Likewise.
10721         [IS_IN (rtld)] (__strerror_r): Likewise.
10722         [IS_IN (rtld)] (__strsep_g): Likewise.
10723         [IS_IN (rtld)] (memchr): Likewise.
10724         [IS_IN (rtld)] (memcmp): Likewise.
10725         [IS_IN (rtld)] (memcpy): Likewise.
10726         [IS_IN (rtld)] (memmove): Likewise.
10727         [IS_IN (rtld)] (memset): Likewise.
10728         [IS_IN (rtld)] (rawmemchr): Likewise.
10729         [IS_IN (rtld)] (stpcpy): Likewise.
10730         [IS_IN (rtld)] (strchr): Likewise.
10731         [IS_IN (rtld)] (strcmp): Likewise.
10732         [IS_IN (rtld)] (strlen): Likewise.
10733         [IS_IN (rtld)] (strnlen): Likewise.
10734         [IS_IN (rtld)] (strsep): Likewise.
10736         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10737         attribute_hidden.
10738         [IS_IN (rtld)] (__strtoul_internal): Likewise.
10740         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10741         attribute_hidden.
10742         [IS_IN (rtld)] (__libc_sigaction): Likewise.
10744         * include/setjmp.h (__longjmp): Add attribute_hidden.
10745         [IS_IN (rtld)] (__sigsetjmp): Likewise.
10747         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10748         Add attribute_hidden.
10750         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10751         [IS_IN (rtld)] (__open): Likewise.
10752         [IS_IN (rtld)] (__fcntl): Likewise.
10754         * include/dirent.h (__opendirat): Add attribute_hidden.
10755         (__getdents): Likewise.
10756         (__getdents64): Likewise.
10757         (__alloc_dir): Likewise.
10758         [IS_IN (rtld)] (__closedir): Likewise.
10759         [IS_IN (rtld)] (__fdopendir): Likewise.
10760         [IS_IN (rtld)] (__readdir): Likewise.
10761         [IS_IN (rtld)] (__readdir64): Likewise.
10762         [IS_IN (rtld)] (__rewinddir): Likewise.
10764         * include/dlfcn.h (_dl_catch_error): Moved to ...
10765         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10766         attribute_hidden.
10768         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10769         (_itoa_word): Likewise.
10771         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10772         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10773         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10774         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10775         (_dl_higher_prime_number): Likewise.
10776         (_dl_debug_printf_c): Likewise.
10777         (_dl_signal_cerror): Likewise.
10778         (_dl_receive_error): Likewise.
10779         (_dl_reloc_bad_type): Likewise.
10780         (_dl_resolve_conflicts): Likewise.
10781         (_dl_check_all_versions): Likewise.
10782         (_dl_check_map_versions): Likewise.
10783         (_dl_sort_fini): Likewise.
10784         (_dl_debug_initialize): Likewise.
10785         (_dl_init_paths): Likewise.
10786         (_dl_show_auxv): Likewise.
10787         (_dl_next_ld_env_entry): Likewise.
10788         (_dl_important_hwcaps): Likewise.
10789         (_dl_load_cache_lookup): Likewise.
10790         (_dl_update_slotinfo): Likewise.
10791         (_dl_show_scope): Likewise.
10793         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10794         attribute_hidden.
10795         (_wordcopy_fwd_dest_aligned): Likewise.
10796         (_wordcopy_bwd_aligned): Likewise.
10797         (_wordcopy_bwd_dest_aligned): Likewise.
10799         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10800         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10801         Likewise.
10802         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10803         Likewise.
10804         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10806 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10808         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10809         GCC 5 requirement.
10811 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10813         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10814         test.
10815         * sysdeps/i386/configure: Regenerated.
10816         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10817         code unconditional.
10819         * configure.ac (libc_cv_asm_previous_directive): Remove configure
10820         test.
10821         (libc_cv_asm_popsection_directive): Likewise.
10822         * configure: Regenerated.
10823         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10824         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10825         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10826         (__make_section_unallocated): Make definition unconditional.
10827         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10828         Remove conditional definition.
10829         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10830         (__make_section_unallocated): Likewise.
10832         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10833         * configure: Regenerated.
10834         * config.make.in (static-libgcc): Remove variable.
10835         * Makerules (build-shlib-helper): Use -static-libgcc instead of
10836         $(static-libgcc).
10837         (build-module-helper): Likewise.
10839         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10840         * configure: Regenerated.
10842 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10844         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10845         (struct char_buffer): New type.
10846         (char_buffer_start, char_buffer_size, char_buffer_error)
10847         (char_buffer_rewind, char_buffer_add): New functions.
10848         (ADDW): Remove macro, replaced by the char_buffer_add function.
10849         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10850         of extend_alloca.  Make control flow more explicit.
10852 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10854         [BZ #19137]
10855         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10856         Add -fomit-frame-pointer.
10857         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10859 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10861         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10862         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10863         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10864         only if !__GNUC_PREREQ (5,0).
10865         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10866         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10867         (INTERNAL_SYSCALL_NCS): Likewise.
10868         (LOADREGS_0): New macro for GCC 5.
10869         (ASMARGS_0): Likewise.
10870         (LOADREGS_1): Likewise.
10871         (ASMARGS_1): Likewise.
10872         (LOADREGS_2): Likewise.
10873         (ASMARGS_2): Likewise.
10874         (LOADREGS_3): Likewise.
10875         (ASMARGS_3): Likewise.
10876         (LOADREGS_4): Likewise.
10877         (ASMARGS_4): Likewise.
10878         (LOADREGS_5): Likewise.
10879         (ASMARGS_5): Likewise.
10880         (LOADREGS_6): Likewise.
10881         (ASMARGS_6): Likewise.
10883 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10885         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10886         -fomit-frame-pointer.
10887         (CFLAGS-mmap64.c): Likewise.
10888         (CFLAGS-semtimedop.c): Likewise.
10889         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10890         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10891         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10892         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10894 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10896         [BZ #18928]
10897         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10898         _dl_pointer_guard member.
10899         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10900         initializer.
10901         (security_init): Always set up pointer guard.
10902         (process_envvars): Do not process LD_POINTER_GUARD.
10904 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
10906         [BZ #19134]
10907         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10908         (.LC2): Likewise.
10909         (.LC3): Likewise.
10910         (__lround): Do not add 0.5 to integer or out-of-range arguments.
10912 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10914         [BZ #19129]
10915         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10916         r0 and r1.
10918 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
10920         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10922 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
10924         * include/stap-probe.h: Fix macro definition formatting.
10926 2015-10-14  Florian Weimer  <fweimer@redhat.com>
10928         [BZ #19074]
10929         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10930         load and store num_ifs.
10932 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10934         [BZ #18822]
10935         * sysdeps/unix/sysv/linux/sched_getaffinity.c
10936         (__sched_getaffinity_new): Add libc_hidden_proto and
10937         libc_hidden_def.
10939 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10941         [BZ #19007]
10942         * scripts/localplt.awk: Also allow GOT references.
10943         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10944         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10945         with "+ REL R_386_GLOB_DAT".
10946         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10947         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10949 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10951         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10952         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10953         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10954         Likewise.
10955         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10956         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10957         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10958         INTERNAL_SYSCALLINTERNAL_SYSCALL and
10959         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10960         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10961         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10962         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10963         Likewise.
10964         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10966 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10968         [BZ #19125]
10969         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10970         <math_private.h> and <stdint.h>.
10971         (__llround): Avoid conversions to and from long long int, and
10972         subtractions, where those might raise spurious exceptions.
10973         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10974         <math_private.h> and <stdint.h>.
10975         (__llroundf): Avoid conversions to and from long long int, and
10976         subtractions, where those might raise spurious exceptions.
10978 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10980         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10981         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10982         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10983         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10984         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10985         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10986         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10987         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10988         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10989         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10990         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10991         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10992         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10993         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10994         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10995         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10996         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10997         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10998         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10999         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
11000         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11001         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
11002         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
11003         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11004         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
11005         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11006         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
11007         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11008         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11009         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
11010         (__xstat64_conv): Likewise.
11011         (__xstat32_conv): Likewise.
11013 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11015         * sysdeps/unix/sysv/linux/sysdep.h: New file.
11016         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
11017         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
11018         <sysdeps/unix/sysv/linux/sysdep.h>.
11019         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11020         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
11021         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
11022         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11023         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11024         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
11025         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
11026         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11027         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11030         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11031         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11032         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11033         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11034         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11035         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
11036         (sysdep-dl-routines): Add sysdep.
11037         [$(subdir) == nptl] (libpthread-routines): Likewise.
11038         [$(subdir) == rt] (librt-routines): Likewise.
11039         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
11040         PIC when branching to SYSCALL_ERROR_LABEL.
11041         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
11042         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
11043         <sysdeps/unix/sysv/linux/sysdep.h>.
11044         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
11045         (SYSCALL_ERROR_ERRNO): Removed.
11046         (SYSCALL_ERROR_HANDLER): Changed to empty.
11047         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
11048         (__syscall_error): New prototype.
11049         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
11050         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
11052 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11054         [BZ #19124]
11055         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
11056         (_dl_runtime_resolve_avx512): Make it a hidden alias of
11057         _dl_runtime_resolve_avx.
11058         (_dl_runtime_profile_avx512): Make it a hidden alias of
11059         _dl_runtime_profile_avx.
11061 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11063         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
11064         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
11065         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
11066         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
11068         [BZ #16422]
11069         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
11070         New configure test.
11071         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
11072         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
11073         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
11074         <math_private.h> and <stdint.h>.
11075         (__llrint): Avoid conversions to long long int where those might
11076         raise spurious exceptions.
11077         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
11078         <math_private.h> and <stdint.h>.
11079         (__llrintf): Avoid conversions to long long int where those might
11080         raise spurious exceptions.
11082 2015-10-12  Andreas Schwab  <schwab@suse.de>
11084         [BZ #18969]
11085         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
11086         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
11087         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
11088         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
11089         $(gen-locales).
11090         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
11091         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
11092         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
11093         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
11094         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
11095         $(gen-locales).
11096         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
11097         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
11098         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
11099         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
11100         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
11101         ($(objpfx)tst-ftell-active-handler.out)
11102         ($(objpfx)tst-ftell-append.out)
11103         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
11104         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
11105         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
11106         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
11107         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
11108         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
11109         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
11110         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
11111         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
11112         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
11113         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
11114         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
11115         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
11116         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
11117         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
11118         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
11119         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
11120         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
11121         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
11122         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
11123         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
11124         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
11125         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
11126         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
11127         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
11128         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
11129         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
11130         $(gen-locales).
11131         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
11132         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
11133         $(gen-locales).
11134         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
11135         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
11136         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
11137         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
11138         $(gen-locales).
11139         * libio/tst_wprintf2.c (main): Use explicit locale.
11140         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
11142 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11144         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
11145         __msg_sig_post.
11146         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
11148 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11150         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11151         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11153         * sysdeps/arm/libm-test-ulps: Regenerated.
11155         [BZ #15470]
11156         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
11158         [BZ #16399]
11159         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
11160         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
11161         and <fix-fp-int-convert-overflow.h>.
11162         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11163         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11164         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
11165         and <fix-fp-int-convert-overflow.h>.
11166         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
11167         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11168         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
11169         <fix-fp-int-convert-overflow.h>.
11170         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11171         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11172         * sysdeps/ieee754/dbl-64/s_lround.c: Include
11173         <fix-fp-int-convert-overflow.h>.
11174         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
11175         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11176         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
11177         and <fix-fp-int-convert-overflow.h>.
11178         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11179         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11180         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
11181         <limits.h> and <fix-fp-int-convert-overflow.h>.
11182         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11183         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11184         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
11185         and <fix-fp-int-convert-overflow.h>.
11186         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11187         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11188         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
11189         and <fix-fp-int-convert-overflow.h>.
11190         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11191         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11192         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
11194 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
11196         [BZ #18589]
11197         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
11198         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
11199         $(gen-locales).
11201 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11202             Phil Blundell <pb@pbcl.net>
11204         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
11205         * nptl/tst-cancel26.c: New file.
11206         * nptl/tst-cancel27.c: Likewise.
11208 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
11210         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
11211         __ILP32__ isn't defined.
11212         (lrint): Likewise.
11213         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
11214         (lrintf): Likewise.
11215         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
11216         (lrintl): Likewise.
11217         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
11218         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
11219         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
11221 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11223         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11224         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11226         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
11227         file.
11228         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
11229         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
11231 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11233         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
11234         configure test.
11235         * sysdeps/i386/configure: Regenerated.
11236         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
11237         configure test.
11238         * sysdeps/x86_64/configure: Regenerated.
11239         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
11240         Make code unconditional.
11242         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
11243         test.
11244         * sysdeps/i386/configure: Regenerated.
11245         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
11246         test.
11247         * sysdeps/x86_64/configure: Regenerated.
11248         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
11249         Make code unconditional.
11250         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11251         Likewise.
11252         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
11253         Likewise.
11254         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11255         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
11256         code unconditional.
11257         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11258         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
11259         code unconditional.
11260         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11261         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
11262         code unconditional.
11263         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
11264         code unconditional.
11265         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11266         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
11267         code unconditional.
11268         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11269         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
11270         code unconditional.
11271         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11272         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
11273         code unconditional.
11274         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11275         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
11276         code unconditional.
11277         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11278         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
11280         [BZ #19095]
11281         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
11282         mantissa to long int before shifting left.
11284 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11286         [BZ #19094]
11287         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
11288         <limits.h>.
11289         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11290         when result overflows but exception would not result from cast.
11291         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
11292         <limits.h>.
11293         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11294         when result overflows but exception would not result from cast.
11295         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
11296         <limits.h>.
11297         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11298         when result overflows but exception would not result from cast.
11299         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
11300         <limits.h>.
11301         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11302         when result overflows but exception would not result from cast.
11303         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
11304         <limits.h>.
11305         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11306         when result overflows but exception would not result from cast.
11307         * math/libm-test.inc (lrint_test_data): Add more tests.
11308         (llrint_test_data): Likewise.
11310 2015-10-08  Roland McGrath  <roland@hack.frob.com>
11312         [BZ #18872]
11313         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
11314         Move out from under [$(run-built-tests) = yes] conditional.
11315         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
11316         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
11318 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
11320         [BZ #18589]
11321         * string/Makefile (tests): Add bug-strcoll2.
11322         (LOCALES): Add cs_CZ.UTF-8.
11323         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
11325         [BZ #18589]
11326         * string/bug-strcoll2.c: New file.
11327         * locale/categories.def: Revert commit
11328         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
11329         * locale/langinfo.h: Likewise.
11330         * locale/localeinfo.h: Likewise.
11331         * locale/C-collate.c: Likewise.
11332         * locale/programs/ld-collate.c (collate_output): Likewise.
11333         * string/strcoll_l.c (STRDIFF): Likewise.
11334         (STRCOLL): Likewise.
11335         * wcsmbs/wcscoll_l.c: Likewise.
11337 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11339         * math/libm-test.inc (lround_test_data): Do not expect the absence
11340         of "inexact" for some tests with non-integer arguments.
11341         (llround_test_data): Likewise.
11343         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
11344         test.
11345         (libc_cv_cc_sse2avx): Likewise.
11346         * sysdeps/i386/configure: Regenerated.
11347         * sysdeps/i386/i686/multiarch/Makefile
11348         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
11349         [$(subdir) = math].
11350         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
11351         code unconditional.
11352         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11353         Likewise.
11354         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
11355         Likewise.
11356         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11357         Likewise.
11358         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
11359         test.
11360         (libc_cv_cc_sse2avx): Likewise.
11361         * sysdeps/x86_64/configure: Regenerated.
11362         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
11363         unconditional.
11364         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
11365         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
11366         unconditional.
11367         (_dl_runtime_profile)
11368         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
11369         conditional code.
11370         * sysdeps/x86_64/fpu/multiarch/Makefile
11371         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
11372         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11373         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11374         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11375         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11376         * sysdeps/x86_64/fpu/multiarch/e_log.c
11377         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11378         * sysdeps/x86_64/fpu/multiarch/s_atan.c
11379         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11380         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11381         Likewise.
11382         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11383         Likewise.
11384         * sysdeps/x86_64/fpu/multiarch/s_sin.c
11385         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11386         * sysdeps/x86_64/fpu/multiarch/s_tan.c
11387         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11388         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
11389         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
11390         (HAVE_SSE2AVX_SUPPORT): Likewise.
11392 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
11394         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
11395         instead of #pragma optimize.
11397 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11399         [BZ #17195]
11400         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
11401         as is similarly done in systrim and _int_free already.
11403 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11405         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
11407 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11409         [BZ #19088]
11410         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
11411         <limits.h>.
11412         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11413         overflows but exception would not result from cast.
11414         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
11415         and <limits.h>.
11416         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11417         overflows but exception would not result from cast.
11418         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
11419         <limits.h>.
11420         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11421         overflows but exception would not result from cast.
11422         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
11423         <limits.h>.
11424         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11425         overflows but exception would not result from cast.
11426         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
11427         <limits.h>.
11428         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11429         overflows but exception would not result from cast.
11430         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
11431         <limits.h>.
11432         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11433         overflows but exception would not result from cast.
11434         * math/libm-test.inc (lround_test_data): Add more tests.
11435         (llround_test_data): Likewise.
11437 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
11439         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
11440         (CFLAGS-ialloc.c): Ditto.
11441         (CFLAGS-scheck.c): Ditto.
11443 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11445         [BZ #19086]
11446         * manual/filesys.texi (Storage Allocation): Fix argument order for
11447         posix_fallocate64.
11449 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11451         [BZ #19085]
11452         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
11453         exponent below 48 inside case for non-overflowing exponent.
11454         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11456 2015-10-07  Florian Weimer  <fweimer@redhat.com>
11458         * iconvdata/cp737.h (from_idx): Add const.
11459         * iconvdata/cp775.h (from_idx): Likewise.
11461 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11463         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
11464         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11465         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
11467         [BZ #19079]
11468         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
11469         file, conditioned on [!_LP64].
11470         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11471         [!_LP64] (__lround): Do not define as function or alias.
11472         [!_LP64] (lround): Likewise.
11473         [!_LP64] (__lroundl): Likewise.
11474         [!_LP64] (lroundl): Likewise.
11475         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
11476         macro.
11477         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11478         Likewise.
11480 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11482         * math/libm-test.inc (lrint_test_data): Add more tests.
11483         (llrint_test_data): Likewise.
11484         (lround_test_data): Likewise.
11485         (llround_test_data): Likewise.
11487         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
11488         (llrint_test_data): Add tests used for lrint.
11490         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
11491         test.
11492         * sysdeps/i386/configure: Regenerated.
11493         * sysdeps/i386/i686/multiarch/Makefile
11494         [$(config-cflags-sse4) = yes]: Make code unconditional.
11495         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11496         Likewise.
11497         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
11498         Likewise.
11499         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
11500         test.
11501         * sysdeps/x86_64/configure: Regenerated.
11502         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
11503         Make code unconditional.
11504         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11505         Likewise.
11506         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
11507         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
11509         * scripts/rpm2dynsym.sh: Remove file.
11511 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11513         * configure.ac (libc_cv_cxx_thread_local): Define.
11514         * configure: Regenerate.
11515         * config.make.in (have-cxx-thread_local): Define.
11516         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
11517         (LDLIBS-tst-thread_local1): Define.
11518         (tests): Add tst-thread_local1.
11519         [have-cxx-thread_local != yes] (tests-unsupported): Add
11520         tst-thread_local1.
11521         * nptl/tst-thread_local1.cc: New file.
11523 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11525         [BZ #19078]
11526         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
11527         (u_thres): Likewise.
11528         (__expl): Determine whether to call __kernel_standard_l based on
11529         value of result, not argument.
11531         * math/libm-test.inc (scalb_test_data): Add more expectations for
11532         the "inexact" exception.
11534         [BZ #19077]
11535         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
11536         0.0L for argument 1.0L.
11538         [BZ #19076]
11539         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
11540         constant 0.0L when computing infinite result.
11542 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11544         [BZ #10432]
11545         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
11546         malloc_usable_size.
11548 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11550         [BZ #19018]
11551         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11552         Mangle function pointer before storing it.
11553         (__call_tls_dtors): Demangle function pointer before calling it.
11555 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11557         [BZ #19012]
11558         * iconv/gconv_db.c (gen_steps): Check for additional errors.
11559         Clean up on failure.
11561 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
11563         [BZ #19071]
11564         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
11565         long int variable to store possibly incremented high part of
11566         mantissa.
11567         * math/libm-test.inc (lround_test_data): Add tests used for
11568         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
11569         for tests requiring 64-bit long.  Do not condition tests on
11570         [TEST_FLOAT] unnecessarily.
11571         (llround_test_data): Add tests used for lround.  Add another
11572         expectation for the "inexact" exception.  Do not condition tests
11573         on [TEST_FLOAT] unnecessarily.
11575         [BZ #887]
11576         [BZ #19049]
11577         [BZ #19050]
11578         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
11579         * sysdeps/ieee754/dbl-64/e_log10.c: Include
11580         <fix-int-fp-convert-zero.h>.
11581         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11582         * sysdeps/ieee754/dbl-64/e_log2.c: Include
11583         <fix-int-fp-convert-zero.h>.
11584         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11585         * sysdeps/ieee754/dbl-64/s_erf.c: Include
11586         <fix-int-fp-convert-zero.h>.
11587         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11588         * sysdeps/ieee754/dbl-64/s_logb.c: Include
11589         <fix-int-fp-convert-zero.h>.
11590         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11591         * sysdeps/ieee754/flt-32/e_log10f.c: Include
11592         <fix-int-fp-convert-zero.h>.
11593         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11594         * sysdeps/ieee754/flt-32/e_log2f.c: Include
11595         <fix-int-fp-convert-zero.h>.
11596         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11597         * sysdeps/ieee754/flt-32/s_erff.c: Include
11598         <fix-int-fp-convert-zero.h>.
11599         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11600         * sysdeps/ieee754/flt-32/s_logbf.c: Include
11601         <fix-int-fp-convert-zero.h>.
11602         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11603         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11604         <fix-int-fp-convert-zero.h>.
11605         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11606         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11607         <fix-int-fp-convert-zero.h>.
11608         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11609         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11610         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11611         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11612         file.
11613         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11615 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11617         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11619 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
11621         [BZ #19059]
11622         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11623         overflowing computation.
11624         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11625         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11626         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11627         Likewise.
11628         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11629         Likewise.
11630         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11631         Likewise.
11632         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11633         Likewise.
11634         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11635         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11636         Likewise.
11637         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11638         Likewise.
11639         * math/libm-test.inc (nexttoward_test_data): Add more tests.
11641         * nss/rewrite_field.c (__nss_rewrite_field): Use
11642         internal_function.
11643         * nss/valid_field.c (__nss_valid_field): Likewise.
11644         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11646 2015-10-02  Florian Weimer  <fweimer@redhat.com>
11648         [BZ #18724]
11649         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11650         (__nss_invalid_field_characters, __nss_valid_field)
11651         (__nss_valid_list_field, __nss_rewrite_field): Declare.
11652         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11653         tst-field.c: New file.
11654         * nss/Makefile (routines): Add valid_field, rewrite_field.
11655         (tests-static): Define unconditionally.
11656         (tests): Include tests-static.
11657         [build-static-nss] (tests-static): Use append.
11658         [build-static-nss] (tests): Remove modification.
11659         * nss/getent.c (print_group): Call putgrent.  Report error.
11660         (print_gshadow): Call putsgent.  Report error.
11661         (print_passwd): Call putpwent.  Report error.
11662         (print_shadow): Call putspent.  Report error.
11663         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11664         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11665         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
11666         name, password, directory, shell fields for valid syntax.  Rewrite
11667         GECOS field to match syntax.
11668         * pwd/Makefile (tests): Add tst-putpwent.
11669         * pwd/tst-putpwent.c: New file.
11670         * grp/putgrent.c (putgrent): Convert to ISO function definition.
11671         Check grName, grpasswd, gr_mem fields for valid syntax.
11672         Change loop variable i to size_t.
11673         * grp/Makefile (tests): Add tst-putgrent.
11674         * grp/tst-putgrent.c: New file.
11675         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11676         valid syntax.
11677         * shadow/Makefile (tests): Add tst-putspent.
11678         * shadow/tst-putspent.c: New file.
11679         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11680         sg_mem fields for valid syntax.
11681         * gshadow/Makefile (tests): Add tst-putsgent.
11682         * gshadow/tst-putsgent.c: New file.
11684 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11686         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11687         assembly instructions.
11689 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11691         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11692         prefix from operands.
11694 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
11696         [BZ #16347]
11697         [BZ #19046]
11698         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11699         <libc-internal.h>.
11700         (MAXLGM): Do not use diagnostic control macros.
11701         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11702         threshold for ldbl-128ibm.
11703         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11704         instead of multiplying by log then subtracting.
11705         * math/auto-libm-test-in: Add more tests of lgamma.
11706         * math/auto-libm-test-out: Regenerated.
11708         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11709         (TYPE_HEX_DIG): Likewise.
11710         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11711         precisions when printing floating-point numbers.
11712         (check_float_internal): Likewise.
11714 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11716         [BZ #16620]
11717         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11718         of log (10) rounded downward to 48 bits.
11719         (log10_low): Use corresponding low part of log (10).
11721         [BZ #19032]
11722         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11723         compute result as (x - x) / (x - x) not as 0 / 0.
11724         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11725         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11727         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11728         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11729         and expm1.
11730         * math/auto-libm-test-out: Regenerated.
11731         * math/libm-test.inc (acos_test_data): Add more tests.
11732         (asin_test_data): Likewise.
11733         (asinh_test_data): Likewise.
11734         (atan_test_data): Likewise.
11735         (atanh_test_data): Likewise.
11736         (atan2_test_data): Likewise.
11737         (cbrt_test_data): Likewise.
11738         (ceil_test_data): Likewise.
11739         (copysign_test_data): Likewise.
11740         (cos_test_data): Likewise.
11741         (cosh_test_data): Likewise.
11742         (erf_test_data): Likewise.
11743         (erfc_test_data): Likewise.
11744         (exp_test_data): Likewise.
11745         (exp10_test_data): Likewise.
11746         (exp2_test_data): Likewise.
11747         (expm1_test_data): Likewise.
11748         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11750 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
11752         [BZ #19006]
11753         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11754         to ...
11755         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11756         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11757         to ...
11758         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11759         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11760         to ...
11761         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11762         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11763         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11764         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11765         to ...
11766         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11767         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11768         Moved to ...
11769         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11770         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11771         Moved to ...
11772         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11773         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11774         to ...
11775         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11776         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11777         Moved to ...
11778         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11779         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11780         to ...
11781         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11782         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11783         Removed.
11784         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11785         Likewise.
11786         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11787         Likewise.
11788         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11789         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11790         Likewise.
11791         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11792         Likewise.
11793         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11794         Likewise.
11795         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11796         Likewise.
11797         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11798         Likewise.
11799         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11800         Likewise.
11801         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11802         Likewise.
11803         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11804         Likewise.
11805         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11806         Likewise.
11807         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11808         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11809         Likewise.
11810         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11811         Likewise.
11812         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11813         Likewise.
11814         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11815         Likewise.
11816         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11817         Likewise.
11818         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11819         Replace ../i486/pthread_cond_timedwait.S with
11820         ../pthread_cond_timedwait.S.
11822 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11824         * math/libm-test.inc (acos_test_data): Refine expectations for
11825         errno and "inexact" exceptions.
11826         (acosh_test_data): Likewise.
11827         (asin_test_data): Likewise.
11828         (asinh_test_data): Likewise.
11829         (atan_test_data): Likewise.
11830         (atanh_test_data): Likewise.
11831         (atan2_test_data): Likewise.
11832         (cbrt_test_data): Likewise.
11833         (ceil_test_data): Likewise.
11834         (copysign_test_data): Likewise.
11835         (cosh_test_data): Likewise.
11836         (erf_test_data): Likewise.
11837         (erfc_test_data): Likewise.
11838         (exp_test_data): Likewise.
11839         (exp10_test_data): Likewise.
11840         (exp2_test_data): Likewise.
11841         (expm1_test_data): Likewise.
11842         (fabs_test_data): Likewise.
11843         (floor_test_data): Likewise.
11844         (fma_test_data): Likewise.
11845         (fmax_test_data): Likewise.
11846         (fmin_test_data): Likewise.
11847         (fmod_test_data): Likewise.
11848         (fpclassify_test_data): Likewise.
11849         (frexp_test_data): Likewise.
11850         (hypot_test_data): Likewise.
11851         (ilogb_test_data): Likewise.
11852         (isgreater_test_data): Likewise.
11853         (isgreaterequal_test_data): Likewise.
11854         (isinf_test_data): Likewise.
11855         (isless_test_data): Likewise.
11856         (islessequal_test_data): Likewise.
11857         (islessgreater_test_data): Likewise.
11858         (isnan_test_data): Likewise.
11859         (isnormal_test_data): Likewise.
11860         (issignaling_test_data): Likewise.
11861         (isunordered_test_data): Likewise.
11862         (j0_test_data): Likewise.
11863         (j1_test_data): Likewise.
11864         (jn_test_data): Likewise.
11865         (lgamma_test_data): Likewise.
11866         (lrint_test_data): Likewise.
11867         (llrint_test_data): Likewise.
11868         (log_test_data): Likewise.
11869         (log10_test_data): Likewise.
11870         (log1p_test_data): Likewise.
11871         (log2_test_data): Likewise.
11872         (logb_test_data): Likewise.
11873         (lround_test_data): Likewise.
11874         (llround_test_data): Likewise.
11875         (modf_test_data): Likewise.
11876         (nearbyint_test_data): Likewise.
11877         (nextafter_test_data): Likewise.
11878         (nexttoward_test_data): Likewise.
11879         (pow_test_data): Likewise.
11880         (remainder_test_data): Likewise.
11881         (remquo_test_data): Likewise.
11882         (rint_test_data): Likewise.
11883         (round_test_data): Likewise.
11884         (signbit_test_data): Likewise.
11885         (sinh_test_data): Likewise.
11886         (sqrt_test_data): Likewise.
11887         (tanh_test_data): Likewise.
11888         (tgamma_test_data): Likewise.
11889         (trunc_test_data): Likewise.
11890         (y0_test_data): Likewise.
11891         (y1_test_data): Likewise.
11892         (yn_test_data): Likewise.
11893         (significand_test_data): Likewise.
11895 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
11897         * manual/filesys.texi (Storage Allocation): Document that
11898         posix_fallocate emulation fails when fd is open with O_WRONLY.
11900 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
11902         [BZ #19016]
11903         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11904         allow more cases with X^2 + Y^2 >= 0.5.
11905         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
11906         normal element in sum instead of special-casing based on values of
11907         arguments.
11908         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11909         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
11910         -1 as normal element in sum instead of special-casing based on
11911         values of arguments.
11912         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11913         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11914         (__x2y2m1): Update comment.
11915         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
11916         as normal element in sum instead of special-casing based on values
11917         of arguments.
11918         * math/s_clog.c (__clog): Handle more cases using log1p without
11919         hypot.
11920         * math/s_clog10.c (__clog10): Likewise.
11921         * math/s_clog10f.c (__clog10f): Likewise.
11922         * math/s_clog10l.c (__clog10l): Likewise.
11923         * math/s_clogf.c (__clogf): Likewise.
11924         * math/s_clogl.c (__clogl): Likewise.
11925         * math/auto-libm-test-in: Add more tests of clog and clog10.
11926         * math/auto-libm-test-out: Regenerated.
11927         * sysdeps/i386/fpu/libm-test-ulps: Update.
11928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11930 2015-09-28  Martin Sebor  <msebor@redhat.com>
11932         [BZ #18969]
11933         * string/Makefile (LOCALES): Define.
11934         (gen-locales.mk): Include.
11935         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11936         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11937         * string/tst-strxfrm2.c (do_test): Print the name of the locale
11938         on setlocale failure.
11940 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11942         [BZ #18985]
11943         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11944         (__strftime_internal): Likewise.
11945         * time/tst-strftime.c (do_bz18985): New test.
11946         (do_test): Call it.
11948 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
11950         [BZ #18956]
11951         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11952         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
11953         extracting high part.
11954         * math/auto-libm-test-in: Add another test of pow.
11955         * math/auto-libm-test-out: Regenerated.
11956         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11958 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11960         [BZ #18825]
11961         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11962         New macro.
11963         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11964         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11965         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11966         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11967         DBL_NARROW_EVAL, reloading the PIC register as needed.
11968         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11969         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11970         FLT_NARROW_EVAL.  Use separate return path for case when first
11971         argument is NaN.
11972         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
11973         DEFINE_LDBL_MIN.
11974         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11975         PIC register.
11976         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11977         math_check_force_underflow_nonneg.
11978         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11979         underflow for subnormal result.
11980         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11981         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11982         math_check_force_underflow_nonneg.
11983         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11984         math_check_force_underflow.
11985         * sysdeps/x86_64/fpu/x86_64-math-asm.h
11986         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11987         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
11988         DEFINE_LDBL_MIN.
11989         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11990         * math/auto-libm-test-in: Add more tests of pow.
11991         * math/auto-libm-test-out: Regenerated.
11993 2015-09-25  Florian Weimer  <fweimer@redhat.com>
11995         * nss/bug17079.c (init_test_items): Add diagnostic for
11996         inconsistent entries.
11997         (test_buffer_size): Skip inconsistent entries.
11999 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12001         [BZ #13304]
12002         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
12003         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
12004         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
12006         [BZ #13304]
12007         * sysdeps/microblaze/s_fma.c: New file.
12008         * sysdeps/microblaze/s_fmaf.c: Likewise.
12009         * sysdeps/microblaze/sfp-machine.h: Likewise.
12011 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
12013         [BZ #17250]
12014         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
12015         member.
12017 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12019         [BZ #18803]
12020         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
12021         (MO): New macro.
12022         (__ieee754_hypot) [PIC]: Load PIC register.
12023         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
12024         DBL_NARROW_EVAL.
12025         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
12026         math_check_force_underflow_nonneg in case where result might be
12027         tiny.
12028         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12029         Likewise.
12030         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12031         Likewise.
12032         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12033         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12034         * math/auto-libm-test-in: Add more tests of hypot.
12035         * math/auto-libm-test-out: Regenerated.
12037 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
12039         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
12041 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12043         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
12044         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
12045         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12046         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12047         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
12048         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12049         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12051         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
12052         LOAD_PIC_REG.
12054         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
12055         (FLT_CHECK_FORCE_UFLOW): Likewise.
12056         (DBL_CHECK_FORCE_UFLOW): Likewise.
12057         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
12058         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
12059         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
12060         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12061         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12062         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12063         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12064         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12065         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
12066         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12067         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
12068         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
12069         (flt_min): Replace with use of DEFINE_FLT_MIN.
12070         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
12071         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
12072         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12073         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
12074         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
12075         (flt_min): Replace with use of DEFINE_FLT_MIN.
12076         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
12077         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
12078         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12079         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
12080         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
12081         (flt_min): Replace with use of DEFINE_FLT_MIN.
12082         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
12083         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
12084         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12085         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12086         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
12087         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12088         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12089         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
12090         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12091         (__atan): Use DBL_CHECK_FORCE_UFLOW.
12092         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
12093         (flt_min): Replace with use of DEFINE_FLT_MIN.
12094         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
12095         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
12096         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12097         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
12098         main computation.
12099         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
12100         (flt_min): Replace with use of DEFINE_FLT_MIN.
12101         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
12102         main computation.
12103         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
12104         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12105         (MO): New macro.
12106         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
12107         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
12108         (flt_min): Replace with use of DEFINE_FLT_MIN.
12109         (MO): New macro.
12110         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
12111         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
12112         (__log1pl): Use MO.
12114         [BZ #19003]
12115         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
12116         $(config-cflags-nofma).
12118 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12120         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12122 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
12124         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
12125         (TWO127): Likewise.
12127         * sysdeps/generic/math_private.h (fabs_tg): New macro.
12128         (min_of_type): Likewise.
12129         (math_check_force_underflow): Likewise.
12130         (math_check_force_underflow_nonneg): Likewise.
12131         (math_check_force_underflow_complex): Likewise.
12132         * math/e_exp2l.c (__ieee754_exp2l): Use
12133         math_check_force_underflow_nonneg.
12134         * math/k_casinh.c (__kernel_casinh): Likewise.
12135         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12136         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12137         * math/s_catan.c (__catan): Use
12138         math_check_force_underflow_complex.
12139         * math/s_catanf.c (__catanf): Likewise.
12140         * math/s_catanh.c (__catanh): Likewise.
12141         * math/s_catanhf.c (__catanhf): Likewise.
12142         * math/s_catanhl.c (__catanhl): Likewise.
12143         * math/s_catanl.c (__catanl): Likewise.
12144         * math/s_ccosh.c (__ccosh): Likewise.
12145         * math/s_ccoshf.c (__ccoshf): Likewise.
12146         * math/s_ccoshl.c (__ccoshl): Likewise.
12147         * math/s_cexp.c (__cexp): Likewise.
12148         * math/s_cexpf.c (__cexpf): Likewise.
12149         * math/s_cexpl.c (__cexpl): Likewise.
12150         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
12151         * math/s_clog10.c (__clog10): Likewise.
12152         * math/s_clog10f.c (__clog10f): Likewise.
12153         * math/s_clog10l.c (__clog10l): Likewise.
12154         * math/s_clogf.c (__clogf): Likewise.
12155         * math/s_clogl.c (__clogl): Likewise.
12156         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
12157         * math/s_csinf.c (__csinf): Likewise.
12158         * math/s_csinh.c (__csinh): Likewise.
12159         * math/s_csinhf.c (__csinhf): Likewise.
12160         * math/s_csinhl.c (__csinhl): Likewise.
12161         * math/s_csinl.c (__csinl): Likewise.
12162         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
12163         * math/s_csqrtf.c (__csqrtf): Likewise.
12164         * math/s_csqrtl.c (__csqrtl): Likewise.
12165         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
12166         * math/s_ctanf.c (__ctanf): Likewise.
12167         * math/s_ctanh.c (__ctanh): Likewise.
12168         * math/s_ctanhf.c (__ctanhf): Likewise.
12169         * math/s_ctanhl.c (__ctanhl): Likewise.
12170         * math/s_ctanl.c (__ctanl): Likewise.
12171         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
12172         instead of volatile.
12173         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
12174         math_check_force_underflow.
12175         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12176         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
12177         volatile when forcing underflow.
12178         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12179         math_check_force_underflow_nonneg.
12180         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12181         Likewise.
12182         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
12183         math_check_force_underflow.
12184         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12185         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12186         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12187         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
12188         math_check_force_underflow_nonneg.
12189         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
12190         math_check_force_underflow.
12191         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
12192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
12193         instead of volatile.
12194         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
12195         math_check_force_underflow.
12196         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12197         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12198         math_check_force_underflow_nonneg.
12199         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
12200         math_check_force_underflow.
12201         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12202         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12203         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
12204         math_check_force_underflow_nonneg.
12205         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12206         Likewise.
12207         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
12208         math_check_force_underflow.
12209         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12210         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12211         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12212         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
12213         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12214         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
12215         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
12216         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
12217         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12218         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
12219         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12220         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
12221         Likewise.
12222         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
12223         math_check_force_underflow_nonneg.
12224         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12225         Likewise.
12226         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
12227         math_check_force_underflow.
12228         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12229         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
12230         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12231         Likewise.
12232         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
12233         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
12234         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
12235         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
12236         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
12237         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12238         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
12239         instead of volatile.
12240         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
12241         math_check_force_underflow.
12242         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
12243         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
12244         math_check_force_underflow.
12245         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
12246         Likewise.
12247         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12248         Use math_check_force_underflow_nonneg.
12249         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
12250         math_check_force_underflow.
12251         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12252         Likewise.
12253         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12254         Likewise.
12255         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12256         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12257         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12258         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12259         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
12260         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12261         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12262         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
12263         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
12264         math_check_force_underflow_nonneg.
12265         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
12266         math_check_force_underflow.
12267         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12268         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
12269         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
12270         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
12271         math_check_force_underflow_nonneg.
12272         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
12273         math_check_force_underflow.
12274         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
12275         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
12276         instead of volatile.
12277         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
12278         math_check_force_underflow.
12280         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
12281         * stdlib/strtod_l.c: Include <math_private.h>.
12282         (overflow_value): Use math_narrow_eval.
12283         (underflow_value): Likewise.
12284         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12285         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12286         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12287         (__ieee754_gamma_r): Likewise.
12288         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
12289         Likewise.
12290         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12291         Likewise.
12292         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12293         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
12294         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
12295         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
12296         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12297         (__ieee754_gammaf_r): Likewise.
12298         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12299         Likewise.
12300         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12301         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
12302         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
12303         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
12304         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
12305         volatile.
12306         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
12307         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
12308         math_narrow_eval.
12309         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12310         Likewise.
12311         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12312         Likewise.
12313         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
12314         Likewise.
12315         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
12316         volatile.
12317         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
12318         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
12319         math_narrow_eval.
12320         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12321         Likewise.
12322         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12323         Likewise.
12325 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
12327         * nptl/Versions: Remove ignored symbols.
12329 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12331         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
12332         * nss/Makefile (tests): Update.
12334 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12336         * nss/bug18287.c: New file.
12337         * nss/Makefile (tests): Add bug18287.
12339 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12341         * mach/Versions (__mach_host_self_): Add symbol.
12343 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12345         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
12346         vm_page_size.
12348 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12350         Really fix sysdeps/i386/fpu/s_scalbn.S build
12352         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
12353         (libc: GLIBC_2_22): Remove unused version set.
12355 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12357         * config.make.in (enable-timezone-tools): New variable.
12358         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
12359         (enable_timezone_tools): Export to generated files.
12360         * configure: Regenerate.
12361         * INSTALL: Regenerate.
12362         * manual/install.texi (--disable-timezone-tools): Document new flag.
12363         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
12364         ifeq ($(enable-timezone-tools),yes) check.
12366 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12368         * timezone/Makefile: Revert previous change.
12370         [BZ #18980]
12371         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
12372         (DEFINE_DBL_MIN): Likewise.
12373         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12374         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12375         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12376         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12377         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
12378         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12379         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12380         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
12381         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
12382         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12383         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12384         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
12385         (flt_min): Replace with use of DEFINE_FLT_MIN.
12386         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12387         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
12388         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12389         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12390         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
12391         (flt_min): Replace with use of DEFINE_FLT_MIN.
12392         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12393         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
12394         (flt_min): Replace with use of DEFINE_FLT_MIN.
12395         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12396         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
12397         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
12398         (__ieee754_hypot): Use DBL_NARROW_EVAL.
12399         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
12400         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
12401         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
12402         (__ieee754_pow): Use DBL_NARROW_EVAL.
12403         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
12404         (__ieee754_powf): Use FLT_NARROW_EVAL.
12405         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
12406         (__ieee754_expf_sse2): Convert double-precision result to single
12407         precision.
12408         * sysdeps/i386/fpu/libm-test-ulps: Update.
12410 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12412         * timezone/Makefile: Ignore unused variable errors due to private.h
12413         (time_t_min) and (time_t_max).
12414         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
12415         Likewise.
12417 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12419         [BZ #18981]
12420         * sysdeps/i386/fpu/i386-math-asm.h: New file.
12421         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
12422         (__ieee754_scalb): Use DBL_NARROW_EVAL.
12423         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
12424         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
12425         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
12426         (__scalbn): Use DBL_NARROW_EVAL.
12427         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
12428         (__scalbnf): Use FLT_NARROW_EVAL.
12430 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12432         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
12433         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
12434         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
12435         * stdio-common/printf_fp.c (___printf_fp):
12436         Use signbit to get the sign. Use isinf macro to allow inlining.
12437         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
12438         * stdio-common/printf_size.c (__printf_size): Likewise.
12440 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12442         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
12444 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12446         [BZ #18980]
12447         * sysdeps/generic/math_private.h: Include <float.h>.
12448         (math_narrow_eval): New macro.
12449         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12450         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
12451         math_narrow_eval on overflowing return value.
12452         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
12453         Likewise.
12454         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12455         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
12456         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
12457         Likewise.
12458         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12460 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12462         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
12463         * math/Makefile: Remove isinf_ns.c.
12464         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
12465         * math/multc3.c (__multc3): Likewise.
12466         * math/s_casin.c (__casin): Likewise.
12467         * math/s_casinf.c (__casinf): Likewise.
12468         * math/s_casinl.c (__casinl): Likewise.
12469         * math/s_cproj.c (__cproj): Likewise.
12470         * math/s_cprojf.c (__cprojf): Likewise.
12471         * math/s_cprojl.c (__cprofl): Likewise.
12472         * math/s_ctan.c (__ctan): Likewise.
12473         * math/s_ctanf.c (__ctanf): Likewise.
12474         * math/s_ctanh.c (__ctanh): Likewise.
12475         * math/s_ctanhf.c (__ctanhf): Likewise.
12476         * math/s_ctanhl.c (__ctanhl): Likewise.
12477         * math/s_ctanl.c (__ctanl): Likewise.
12478         * math/w_fmod.c (__fmod): Likewise.
12479         * math/w_fmodf.c (__fmodf): Likewise.
12480         * math/w_fmodl.c (_fmodl): Likewise.
12481         * math/w_remainder.c (__remainder): Likewise.
12482         * math/w_remainderf.c (__remainderf): Likewise.
12483         * math/w_remainderl.c (__remainderl): Likewise.
12484         * math/w_scalb.c (__scalb): Likewise.
12485         * math/w_scalbf.c (__scalbf): Likewise.
12486         * math/w_scalbl.c (__scalbl): Likewise.
12487         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
12488         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
12489         with isinf.
12490         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
12491         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
12492         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
12493         __isinf_nsf with isinf.
12494         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
12495         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
12496         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
12497         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
12498         with isinf.
12499         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
12500         __isinf_nsl with isinf.
12501         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
12502         with isinf.
12503         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
12504         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
12505         __isinf_nsl with isinf.
12506         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
12507         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
12508         with isinf.
12510 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12512         * resolv/base64.c (rcsid): Remove unused static.
12513         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
12514         static.  (tqpi1): Likewise.
12515         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
12516         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
12517         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
12518         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
12519         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
12520         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
12521         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
12522         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
12523         Likewise.
12525 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
12527         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
12528         <nptl/pthreadP.h>.
12529         (_longjmp_unwind): Use __libc_ptf_call.
12530         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
12532 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
12534         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
12535         * sysdeps/arm/__longjmp.S: Likewise.
12537 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12539         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
12540         Use __builtin_signbit.
12541         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
12542         Use __builtin_signbitf.
12543         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
12544         Use __builtin_signbitl.
12545         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12546         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
12548 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12550         [BZ #15367]
12551         [BZ #17441]
12553         * math/Makefile: Build test-snan.c with -fsignaling-nans.
12554         * math/math.h (fpclassify): Use __builtin_fpclassify when
12555         available.  (signbit): Use __builtin_signbit(f/l).
12556         (isfinite): Use__builtin_isfinite.  (isnormal): Use
12557         __builtin_isnormal.  (isnan): Use __builtin_isnan.
12558         (isinf): Use __builtin_isinf_sign.
12560 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12562         * benchtests/Makefile: Add bench-math-inlines, link with libm.
12563         * benchtests/bench-math-inlines.c: New benchmark.
12564         * benchtests/bench-util.h: New file.
12565         * benchtests/bench-util.c: New file.
12566         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
12568 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
12570         * elf/tst-dlmopen1.c: Define TEST_SO.
12571         (do_test): Use TEST_SO.
12573         * elf/dl-load.c: Include libc-internal.h.
12574         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
12576 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12578         [BZ #17887]
12579         * time/strptime_l.c (__strptime_internal): Make %z accept
12580         [+-]HH:MM time zones.
12582 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12584         [BZ #17886]
12585         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12586         valid time zone.
12588 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
12590         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12591         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12592         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12593         (__ASSUME_FDATASYNC): Delete.
12595 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12597         * conform/linknamespace.pl: Require weak undefined symbols to be
12598         in the standard namespace.
12599         (%strong_syms): Rename to %seen_syms.
12600         (%strong_seen): Rename to %seen_where.
12602 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
12604         [BZ #18970]
12605         * misc/error.c (error): Replace pthread_setcancelstate with
12606         __pthread_setcancelstate.
12607         (error_at_line): Likewise.
12608         * posix/wordexp.c (parse_comm): Likewise.
12609         * stdlib/fmtmsg.c (fmtmsg): Likewise.
12610         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12611         (__pthread_setcancelstate): This.
12612         (pthread_setcancelstate): Add an alias.
12613         * nptl/nptl-init.c (pthread_functions): Replace
12614         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12615         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12616         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12617         hidden_proto.
12618         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12619         it with hidden_def.
12620         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12621         (pthread_setcancelstate): Renamed to ...
12622         (__pthread_setcancelstate): This.
12623         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12624         __libc_ptf_call with __pthread_setcancelstate.
12626 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12627             Andreas Schwab  <schwab@suse.de>
12629         [BZ #17118]
12630         * math/s_ctan.c (__ctan): Determine sign of zero real part of
12631         result when imaginary part of argument is infinite using sine and
12632         cosine.
12633         * math/s_ctanf.c (__ctanf): Likewise.
12634         * math/s_ctanl.c (__ctanl): Likewise.
12635         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12636         of result when real part of argument is infinite using sine and
12637         cosine.
12638         * math/s_ctanhf.c (__ctanhf): Likewise.
12639         * math/s_ctanhl.c (__ctanhl): Likewise.
12640         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12641         (ctanh_test_data): Add more tests of ctanh.
12643 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12645         [BZ #15384]
12646         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12647         bit-mask as in subtraction.
12648         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12649         Likewise.
12650         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12651         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12652         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12654         [BZ #18951]
12655         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12656         underflow exception for small results.
12657         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12658         Likewise.
12659         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12660         Likewise.
12661         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12662         Likewise.
12663         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12664         Likewise.
12665         * math/auto-libm-test-in: Add more tests of tgamma.
12666         * math/auto-libm-test-out: Regenerated.
12668 2015-09-17  Andreas Schwab  <schwab@suse.de>
12670         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12672 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12674         [BZ #18977]
12675         * math/bits/mathcalls.h
12676         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12677         not declare.
12678         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12679         Likewise.
12680         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12681         Likewise.
12682         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12683         Likewise.
12684         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12685         Likewise.
12686         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12687         Likewise.
12688         * conform/data/math.h-data
12689         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12690         function.
12691         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12692         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12693         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12694         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12695         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12696         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12697         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12698         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12699         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12700         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12701         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12703         [BZ #6803]
12704         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12705         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12706         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12707         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12708         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12709         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12710         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12711         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12712         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12713         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12714         Likewise.
12715         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12716         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12717         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12718         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12719         long_double_symbol calls.
12720         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12721         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12722         strong alias of __ldexpl.
12723         (scalbnl): Define using long_double_symbol.
12724         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12725         Remove alias.
12726         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12727         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12728         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12729         (scalbln_test_data): Add more errno expectations.
12731 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
12733         Cache the host port like we cache the task port.  This way we do not
12734         need to call the kernel just to get the port.  Furthermore, we no
12735         longer increase the reference count on every invocation of
12736         `mach_host_self'.
12738         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12739         Protect declarations against the macro expansion.
12740         * mach/mach_init.c (__mach_host_self_): New variable.
12741         (mach_init): Initialize `__mach_host_self_'.
12742         * mach/mach_init.h (__mach_host_self_): New declaration.
12743         (__mach_host_self, mach_host_self): New macros.
12744         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12745         Release reference.
12747 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12749         [BZ #4404]
12750         * po/de.po: Update from Translation Project.
12752         [BZ #16415]
12753         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12754         (__expm1l): Remove code to handle positive infinity and overflow.
12755         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12756         variable.
12757         (__expm1l): Remove code to handle positive infinity and overflow.
12759 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
12760             Paul Pluzhnikov  <ppluzhnikov@google.com>
12762         [BZ #18872]
12763         * stdio-common/Makefile (tst-printf-bz18872): New test.
12764         (tst-printf-bz18872-mem.out): Likewise.
12765         * stdio-common/tst-printf-bz18872.sh: Generate new test.
12766         * stdio-common/vfprintf.c: Fix memory leaks.
12768 2015-09-16  Andreas Schwab  <schwab@suse.de>
12770         [BZ #17244]
12771         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12772         Remove extra va_start/va_end calls.
12774         [BZ #17243]
12775         * posix/execl.c (execl): Add missing va_end.
12776         * posix/execle.c (execle): Likewise.
12777         * posix/execlp.c (execlp): Likewise.
12779 2015-09-15  Roland McGrath  <roland@hack.frob.com>
12781         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12782         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12784 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
12786         [BZ #18967]
12787         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
12788         undefine around includes of <bits/mathcalls.h>.
12789         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12790         not declare function.
12791         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12792         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12793         (scalb): Likewise.
12794         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12795         not define macro.
12796         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12797         variable.
12798         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12799         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12800         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12802         [BZ #18857]
12803         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12804         return non-finite argument without doing ordered comparisons on
12805         it.
12807         [BZ #16296]
12808         * math/fenv.h (fegetround): Use __attribute_pure__.
12809         * include/fenv.h (__fegetround): Likewise.
12811         [BZ #18595]
12812         * math/s_ctan.c (__ctan): Force underflow exception for results
12813         whose real or imaginary part has small absolute value.
12814         * math/s_ctanf.c (__ctanf): Likewise.
12815         * math/s_ctanh.c (__ctanh): Likewise.
12816         * math/s_ctanhf.c (__ctanhf): Likewise.
12817         * math/s_ctanhl.c (__ctanhl): Likewise.
12818         * math/s_ctanl.c (__ctanl): Likewise.
12819         * math/auto-libm-test-in: Do not allow missing underflow for ctan
12820         and ctanh.  Add more tests of ctan and ctanh.
12822         [BZ #15918]
12823         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12824         handling of cases where one argument is an infinity.
12826         [BZ #18875]
12827         [BZ #18966]
12828         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12829         (MO): New macro.
12830         (__ieee754_exp10): For small results, force underflow exception
12831         and remove excess range and precision from return value.
12832         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12833         (MO): New macro.
12834         (__ieee754_exp10f): For small results, force underflow exception
12835         and remove excess range and precision from return value.
12836         * math/auto-libm-test-in: Add more tests of exp10.
12837         * math/auto-libm-test-out: Regenerated.
12839 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
12841         [BZ #18875]
12842         [BZ #18961]
12843         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12844         (MO): New macro.
12845         (__ieee754_exp): For small results, force underflow exception and
12846         remove excess range and precision from return value.
12847         (__exp_finite): Likewise.
12848         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12849         (MO): New macro.
12850         (__ieee754_expf): For small results, force underflow exception and
12851         remove excess range and precision from return value.
12852         (__expf_finite): Likewise.
12853         * math/auto-libm-test-in: Add more tests of exp.
12854         * math/auto-libm-test-out: Regenerated.
12856         [BZ #16521]
12857         [BZ #18875]
12858         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12859         small results.
12860         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12861         (MO): New macro.
12862         (__ieee754_exp2): For small results, force underflow exception and
12863         remove excess range and precision from return value.
12864         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12865         (MO): New macro.
12866         (__ieee754_exp2f): For small results, force underflow exception
12867         and remove excess range and precision from return value.
12868         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12869         (MO): New macro.
12870         (__ieee754_exp2l): Force underflow exception for small results.
12871         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12872         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12873         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12874         (MO): New macro.
12875         (__ieee754_exp2l): Force underflow exception for small results.
12876         * math/auto-libm-test-in: Add more tests or exp2.
12877         * math/auto-libm-test-out: Regenerated.
12879 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
12881         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12883         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12884         /dev/null.
12886 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12888         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12889         io fs process)): Drop spurious backslash.
12891 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12893         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12894         Use sysinfo system call instead of parsing /proc/meminfo.
12895         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12896         Likewise.
12898 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
12900         [BZ #16985]
12901         * programs/localedef.c (main): Display argv[remaining] when
12902         output_path is NULL.
12904 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12906         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12907         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12908         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12909         tanh.
12910         * math/auto-libm-test-out: Regenerated.
12911         * sysdeps/i386/fpu/libm-test-ulps: Update.
12912         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12913         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12916 2015-09-11  Roland McGrath  <roland@hack.frob.com>
12918         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12919         Use 'override' keyword to freeze the value here, preventing
12920         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12922 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12924         [BZ #14912]
12925         * sysdeps/aarch64/bits/atomic.h: Move to ...
12926         * sysdeps/aarch64/atomic-machine.h: ...here.
12927         (_AARCH64_BITS_ATOMIC_H): Rename macro to
12928         _AARCH64_ATOMIC_MACHINE_H.
12929         * sysdeps/alpha/bits/atomic.h: Move to ...
12930         * sysdeps/alpha/atomic-machine.h: ...here.
12931         * sysdeps/arm/bits/atomic.h: Move to ...
12932         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
12933         * bits/atomic.h: Move to ...
12934         * sysdeps/generic/atomic-machine.h: ...here.
12935         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12936         * sysdeps/i386/bits/atomic.h: Move to ...
12937         * sysdeps/i386/atomic-machine.h: ...here.
12938         * sysdeps/ia64/bits/atomic.h: Move to ...
12939         * sysdeps/ia64/atomic-machine.h: ...here.
12940         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12941         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12942         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12943         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12944         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12945         * sysdeps/microblaze/bits/atomic.h: Move to ...
12946         * sysdeps/microblaze/atomic-machine.h: ...here.
12947         * sysdeps/mips/bits/atomic.h: Move to ...
12948         * sysdeps/mips/atomic-machine.h: ...here.
12949         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12950         * sysdeps/powerpc/bits/atomic.h: Move to ...
12951         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
12952         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12953         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
12954         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
12955         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12956         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
12957         <atomic-machine.h> instead of <bits/atomic.h>.
12958         * sysdeps/s390/bits/atomic.h: Move to ...
12959         * sysdeps/s390/atomic-machine.h: ...here.
12960         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12961         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12962         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12963         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12964         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12965         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12966         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12967         * sysdeps/tile/bits/atomic.h: Move to ...
12968         * sysdeps/tile/atomic-machine.h: ...here.
12969         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12970         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
12971         <sysdeps/tile/atomic-machine.h> instead of
12972         <sysdeps/tile/bits/atomic.h>.
12973         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12974         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12975         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
12976         <sysdeps/tile/atomic-machine.h> instead of
12977         <sysdeps/tile/bits/atomic.h>.
12978         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12979         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12980         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
12981         <sysdeps/arm/atomic-machine.h> instead of
12982         <sysdeps/arm/bits/atomic.h>.
12983         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12984         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12985         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12986         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12987         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12988         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12989         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12990         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12991         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12992         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12993         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12994         * sysdeps/x86_64/bits/atomic.h: Move to ...
12995         * sysdeps/x86_64/atomic-machine.h: ...here.
12996         * include/atomic.h: Include <atomic-machine.h> instead of
12997         <bits/atomic.h>.
12999         * sysdeps/mips/mips32/libm-test-ulps: Update.
13000         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13002         [BZ #18952]
13003         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
13004         not convert non-integer negative arguments to int to determine the
13005         value of signgam.
13006         * math/auto-libm-test-in: Add more tests of lgamma.
13007         * math/auto-libm-test-out: Regenerated.
13009         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
13010         cosh, csqrt, erfc, expm1 and lgamma.
13011         * math/auto-libm-test-out: Regenerated.
13012         * sysdeps/i386/fpu/libm-test-ulps: Update.
13013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13015 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
13017         [BZ #2542]
13018         [BZ #2543]
13019         [BZ #2558]
13020         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
13021         __lgamma_neg for arguments from -28.0 to -2.0.
13022         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
13023         __lgamma_negf for arguments from -15.0 to -2.0.
13024         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13025         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
13026         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
13027         Call __lgamma_negl for arguments from -33.0 to -2.0.
13028         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
13029         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13030         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13031         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
13032         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13033         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13034         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13035         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
13036         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13037         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13038         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
13039         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
13040         (__lgamma_neg): Likewise.
13041         (__lgamma_negl): Likewise.
13042         (__lgamma_product): Likewise.
13043         (__lgamma_productl): Likewise.
13044         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
13045         * math/auto-libm-test-in: Add more tests of lgamma.
13046         * math/auto-libm-test-out: Regenerated.
13047         * sysdeps/i386/fpu/libm-test-ulps: Update.
13048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13050 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
13052         [BZ #18675]
13053         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
13055 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
13057         [BZ #14912]
13058         * bits/libc-lock.h: Move to ...
13059         * sysdeps/generic/libc-lock.h: ...here.
13060         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13061         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
13062         * sysdeps/mach/hurd/libc-lock.h: ...here.
13063         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13064         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
13065         * sysdeps/mach/bits/libc-lock.h: Move to ...
13066         * sysdeps/mach/libc-lock.h: ...here.
13067         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13068         * sysdeps/nptl/bits/libc-lock.h: Move to ...
13069         * sysdeps/nptl/libc-lock.h: ...here.
13070         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13071         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
13072         * sysdeps/nptl/libc-lockP.h: ...here.
13073         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
13074         * crypt/crypt_util.c: Include <libc-lock.h> instead of
13075         <bits/libc-lock.h>.
13076         * dirent/scandir-tail.c: Likewise.
13077         * dlfcn/dlerror.c: Likewise.
13078         * elf/dl-close.c: Likewise.
13079         * elf/dl-iteratephdr.c: Likewise.
13080         * elf/dl-lookup.c: Likewise.
13081         * elf/dl-open.c: Likewise.
13082         * elf/dl-support.c: Likewise.
13083         * elf/dl-writev.h: Likewise.
13084         * elf/rtld.c: Likewise.
13085         * grp/fgetgrent.c: Likewise.
13086         * gshadow/fgetsgent.c: Likewise.
13087         * gshadow/sgetsgent.c: Likewise.
13088         * iconv/gconv_conf.c: Likewise.
13089         * iconv/gconv_db.c: Likewise.
13090         * iconv/gconv_dl.c: Likewise.
13091         * iconv/gconv_int.h: Likewise.
13092         * iconv/gconv_trans.c: Likewise.
13093         * include/link.h: Likewise.
13094         * inet/getnameinfo.c: Likewise.
13095         * inet/getnetgrent.c: Likewise.
13096         * inet/getnetgrent_r.c: Likewise.
13097         * intl/bindtextdom.c: Likewise.
13098         * intl/dcigettext.c: Likewise.
13099         * intl/finddomain.c: Likewise.
13100         * intl/gettextP.h: Likewise.
13101         * intl/loadmsgcat.c: Likewise.
13102         * intl/localealias.c: Likewise.
13103         * intl/textdomain.c: Likewise.
13104         * libidn/idn-stub.c: Likewise.
13105         * libio/libioP.h: Likewise.
13106         * locale/duplocale.c: Likewise.
13107         * locale/freelocale.c: Likewise.
13108         * locale/newlocale.c: Likewise.
13109         * locale/setlocale.c: Likewise.
13110         * login/getutent_r.c: Likewise.
13111         * login/getutid_r.c: Likewise.
13112         * login/getutline_r.c: Likewise.
13113         * login/utmp-private.h: Likewise.
13114         * login/utmpname.c: Likewise.
13115         * malloc/mtrace.c: Likewise.
13116         * misc/efgcvt.c: Likewise.
13117         * misc/error.c: Likewise.
13118         * misc/fstab.c: Likewise.
13119         * misc/getpass.c: Likewise.
13120         * misc/mntent.c: Likewise.
13121         * misc/syslog.c: Likewise.
13122         * nis/nis_call.c: Likewise.
13123         * nis/nis_callback.c: Likewise.
13124         * nis/nss-default.c: Likewise.
13125         * nis/nss_compat/compat-grp.c: Likewise.
13126         * nis/nss_compat/compat-initgroups.c: Likewise.
13127         * nis/nss_compat/compat-pwd.c: Likewise.
13128         * nis/nss_compat/compat-spwd.c: Likewise.
13129         * nis/nss_nis/nis-alias.c: Likewise.
13130         * nis/nss_nis/nis-ethers.c: Likewise.
13131         * nis/nss_nis/nis-grp.c: Likewise.
13132         * nis/nss_nis/nis-hosts.c: Likewise.
13133         * nis/nss_nis/nis-network.c: Likewise.
13134         * nis/nss_nis/nis-proto.c: Likewise.
13135         * nis/nss_nis/nis-pwd.c: Likewise.
13136         * nis/nss_nis/nis-rpc.c: Likewise.
13137         * nis/nss_nis/nis-service.c: Likewise.
13138         * nis/nss_nis/nis-spwd.c: Likewise.
13139         * nis/nss_nisplus/nisplus-alias.c: Likewise.
13140         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
13141         * nis/nss_nisplus/nisplus-grp.c: Likewise.
13142         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
13143         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
13144         * nis/nss_nisplus/nisplus-network.c: Likewise.
13145         * nis/nss_nisplus/nisplus-proto.c: Likewise.
13146         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
13147         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
13148         * nis/nss_nisplus/nisplus-service.c: Likewise.
13149         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
13150         * nis/ypclnt.c: Likewise.
13151         * nptl/libc_pthread_init.c: Likewise.
13152         * nss/getXXbyYY.c: Likewise.
13153         * nss/getXXent.c: Likewise.
13154         * nss/getXXent_r.c: Likewise.
13155         * nss/nss_db/db-XXX.c: Likewise.
13156         * nss/nss_db/db-netgrp.c: Likewise.
13157         * nss/nss_db/nss_db.h: Likewise.
13158         * nss/nss_files/files-XXX.c: Likewise.
13159         * nss/nss_files/files-alias.c: Likewise.
13160         * nss/nsswitch.c: Likewise.
13161         * posix/regex_internal.h: Likewise.
13162         * posix/wordexp.c: Likewise.
13163         * pwd/fgetpwent.c: Likewise.
13164         * resolv/res_hconf.c: Likewise.
13165         * resolv/res_libc.c: Likewise.
13166         * shadow/fgetspent.c: Likewise.
13167         * shadow/lckpwdf.c: Likewise.
13168         * shadow/sgetspent.c: Likewise.
13169         * socket/opensock.c: Likewise.
13170         * stdio-common/reg-modifier.c: Likewise.
13171         * stdio-common/reg-printf.c: Likewise.
13172         * stdio-common/reg-type.c: Likewise.
13173         * stdio-common/vfprintf.c: Likewise.
13174         * stdio-common/vfscanf.c: Likewise.
13175         * stdlib/abort.c: Likewise.
13176         * stdlib/cxa_atexit.c: Likewise.
13177         * stdlib/fmtmsg.c: Likewise.
13178         * stdlib/random.c: Likewise.
13179         * stdlib/setenv.c: Likewise.
13180         * string/strsignal.c: Likewise.
13181         * sunrpc/auth_none.c: Likewise.
13182         * sunrpc/bindrsvprt.c: Likewise.
13183         * sunrpc/create_xid.c: Likewise.
13184         * sunrpc/key_call.c: Likewise.
13185         * sunrpc/rpc_thread.c: Likewise.
13186         * sysdeps/arm/backtrace.c: Likewise.
13187         * sysdeps/generic/ldsodefs.h: Likewise.
13188         * sysdeps/generic/stdio-lock.h: Likewise.
13189         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
13190         * sysdeps/i386/backtrace.c: Likewise.
13191         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13192         * sysdeps/m68k/backtrace.c: Likewise.
13193         * sysdeps/mach/hurd/cthreads.c: Likewise.
13194         * sysdeps/mach/hurd/dirstream.h: Likewise.
13195         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13196         * sysdeps/nptl/malloc-machine.h: Likewise.
13197         * sysdeps/nptl/stdio-lock.h: Likewise.
13198         * sysdeps/posix/dirstream.h: Likewise.
13199         * sysdeps/posix/getaddrinfo.c: Likewise.
13200         * sysdeps/posix/system.c: Likewise.
13201         * sysdeps/pthread/aio_suspend.c: Likewise.
13202         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13203         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13204         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13205         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13206         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
13207         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
13208         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
13209         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13210         * sysdeps/unix/sysv/linux/system.c: Likewise.
13211         * sysdeps/x86_64/backtrace.c: Likewise.
13212         * time/alt_digit.c: Likewise.
13213         * time/era.c: Likewise.
13214         * time/tzset.c: Likewise.
13215         * wcsmbs/wcsmbsload.c: Likewise.
13216         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
13217         instead of <bits/libc-lock.h> in comment.
13219 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
13221         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
13222         Only use .set mips2 if the current ISA is below mips2.
13223         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
13224         Likewise.
13225         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
13226         mips32r2 if the current ISA is below mips32r2.
13227         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
13228         (TLS_IE): Updated to use the TLD_RDHWR macro.
13229         (TLS_LE): Likewise.
13230         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
13231         __ASSEMBLER__ condition.
13233 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13235         Fix parallel build of before-compile targets.
13237         * sysdeps/mach/Makefile ($(patsubst
13238         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
13239         mach-before-compile target.
13240         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13241         io fs process)): Move rule to dedicated hurd-before-compile target.
13243 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13245         Fix rules generating headers in hurd/ and mach/ when initial make call
13246         has subdir= explicitly set.
13248         * sysdeps/mach/Makefile ($(patsubst
13249         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
13250         calling $(MAKE).
13251         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13252         io fs process)): Force subdir to hurd when calling $(MAKE).
13253         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
13254         subdir to mach when calling $(MAKE).
13256 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
13258         Check sysheaders when looking for Mach and Hurd headers
13260         * sysdeps/mach/configure.ac: Add sysheaders check.
13261         * sysdeps/mach/configure: Regenerate.
13262         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
13263         * sysdeps/mach/hurd/configure: Regenerate.
13265 2015-09-04  Roland McGrath  <roland@hack.frob.com>
13267         [BZ #18921]
13268         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
13269         Fix inverted sense of test of 'o_directory_works' value.
13270         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
13271         Bernhard Voelker <mail@bernhard-voelker.de>.
13273 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13275         [BZ #14912]
13276         * bits/linkmap.h: Move to ...
13277         * sysdeps/generic/linkmap.h: ...here.
13278         * sysdeps/aarch64/bits/linkmap.h: Move to ...
13279         * sysdeps/aarch64/linkmap.h: ...here.
13280         * sysdeps/arm/bits/linkmap.h: Move to ...
13281         * sysdeps/arm/linkmap.h: ...here.
13282         * sysdeps/hppa/bits/linkmap.h: Move to ...
13283         * sysdeps/hppa/linkmap.h: ...here.
13284         * sysdeps/ia64/bits/linkmap.h: Move to ...
13285         * sysdeps/ia64/linkmap.h: ...here.
13286         * sysdeps/mips/bits/linkmap.h: Move to ...
13287         * sysdeps/mips/linkmap.h: ...here.
13288         * sysdeps/s390/bits/linkmap.h: Move to ...
13289         * sysdeps/s390/linkmap.h: ...here.
13290         * sysdeps/sh/bits/linkmap.h: Move to ...
13291         * sysdeps/sh/linkmap.h: ...here.
13292         * sysdeps/x86/bits/linkmap.h: Move to ...
13293         * sysdeps/x86/linkmap.h: ...here.
13294         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
13296 2015-09-04  Andreas Schwab  <schwab@suse.de>
13298         [BZ #18635]
13299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
13300         (__makecontext): Terminate FDE before return label.
13301         (__novec_makecontext): Likewise.
13303 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13305         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
13306         first member of struct sv in syscall macro.
13308 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13310         [BZ #14912]
13311         * bits/stdio-lock.h: Move to ...
13312         * sysdeps/generic/stdio-lock.h: ...here.
13313         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13314         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
13315         * sysdeps/nptl/stdio-lock.h: ...here.
13316         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13317         * include/libio.h: Include <stdio-lock.h> instead of
13318         <bits/stdio-lock.h>.
13319         * sysdeps/nptl/fork.c: Likewise.
13320         * sysdeps/pthread/flockfile.c: Likewise.
13321         * sysdeps/pthread/ftrylockfile.c: Likewise.
13322         * sysdeps/pthread/funlockfile.c: Likewise.
13324         [BZ #14912]
13325         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
13326         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
13327         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
13328         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
13329         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
13330         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13331         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
13333 2015-09-03  Roland McGrath  <roland@hack.frob.com>
13335         * elf/Makefile (test-xfail-tst-protected1a): New variable.
13336         (test-xfail-tst-protected1b): New variable.
13338 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
13340         [BZ #14912]
13341         * bits/libc-tsd.h: Move to ...
13342         * sysdeps/generic/libc-tsd.h: ...here.
13343         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
13344         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
13345         * sysdeps/mach/hurd/libc-tsd.h: ...here.
13346         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
13347         * include/ctype.h: Include <libc-tsd.h> instead of
13348         <bits/libc-tsd.h>.
13349         * include/rpc/rpc.h: Likewise.
13350         * locale/localeinfo.h: Likewise.
13351         * sunrpc/rpc_thread.c: Likewise.
13352         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13353         * sysdeps/nptl/malloc-machine.h: Likewise.
13355         * Makefile (headers): Remove bits/libc-lock.h.
13356         * libio/Makefile (headers): Remove bits/stdio-lock.h.
13358         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
13359         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
13360         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
13361         <bits/stdio-lock.h>.
13362         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
13363         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
13365 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13367         [BZ #18757]
13368         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
13369         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
13370         BZ #18757.
13372 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13374         * malloc/mtrace.pl: Filter out NULL entries.
13376 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
13378         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
13379         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
13380         macro.
13382         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
13383         (TCP_CC_INFO): Likewise.
13384         (TCP_SAVE_SYN): Likewise.
13385         (TCP_SAVED_SYN): Likewise.
13387 2015-08-31  Brett Neumeier <brett@neumeier.us>
13389         [BZ #18870]
13390         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
13392 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
13394         [BZ #18873]
13395         Fix broken overflow check in posix_fallocate
13396         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
13397         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13398         Fix parenthesization typo.
13400 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
13402         [BZ #18887]
13403         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
13404         tst-mntent-blank-passno.
13405         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
13406         * misc/tst-mntent-blank-corrupt.c: New test.
13407         * misc/tst-mntent-blank-passno.c: New test ripped from ...
13408         * misc/tst-mntent.c (do_test): ... here.
13410 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
13412         [BZ #4404]
13413         * po/de.po: Fix SIGALRM typo.
13415 2015-08-28  James Perkins  <james@loowit.net>
13417         * time/tst-strptime2.c (tests): Replace short list of test
13418         strings for strptime %z specifier with code which exhaustively
13419         tests every combination of sign and 0 to 5 digits. Tests for
13420         rejection of invalid strings.
13422 2015-08-28  James Perkins  <james@loowit.net>
13424         [BZ #16141]
13425         * time/strptime_l.c (__strptime_internal): Fix %z minutes
13426         calculation, removing incorrect decimal time rounding, so that
13427         all minute values result in a valid seconds value.
13428         * time/strptime_l.c (__strptime_internal): Extend %z time zone
13429         offset range limits to UTC-99:59 through UTC+99:59 to parse
13430         current and historical use cases.
13431         * time/tst-strptime2.c (tests): Modify and add tests for the
13432         strptime %z input field descriptor, specifically conversion of
13433         minutes to seconds and validating an offset range of -9959 to
13434         +9959.
13436 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13437             Dmitry V. Levin  <ldv@altlinux.org>
13439         [BZ #18877]
13440         * posix/Makefile (tests): Add tst-mmap-offset.
13441         * posix/tst-mmap.c: New file.
13442         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
13443         offset calculation for negative values.
13445 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13447         * sysdeps/i386/init-arch.h: New file.
13448         * sysdeps/i386/i586/init-arch.h: Likewise.
13449         * sysdeps/i386/i686/init-arch.h: Likewise.
13450         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
13451         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
13452         * sysdeps/x86/cpu-features.h (bit_I586): New.
13453         (bit_I686): Likewise.
13454         (bit_CX8): Likewise.
13455         (bit_CMOV): Likewise.
13456         (index_CX8): Likewise.
13457         (index_CMOV): Likewise.
13458         (index_I586): Likewise.
13459         (index_I686): Likewise.
13460         (reg_CX8): Likewise.
13461         (reg_CMOV): Likewise.
13462         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
13463         available at compile-time.
13464         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
13465         available at compile-time.
13466         * sysdeps/x86/init-arch.h (USE_I586): New macro.
13467         (USE_I686): Likewise.
13469 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13471         * sysdeps/i386/bcopy.S: New file.
13472         * sysdeps/i386/bzero.S: Likewise.
13473         * sysdeps/i386/memcpy.S: Likewise.
13474         * sysdeps/i386/memmove.S: Likewise.
13475         * sysdeps/i386/mempcpy.S: Likewise.
13476         * sysdeps/i386/memset.S: Likewise.
13477         * sysdeps/i386/bzero.c: Removed.
13478         * sysdeps/i386/memset.c: Likewise.
13479         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
13480         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
13481         * sysdeps/i386/i586/memset_chk.S: Likewise.
13482         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
13483         * sysdeps/i386/memcpy_chk.S: Here.
13484         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
13485         * sysdeps/i386/memmove_chk.S: Here.
13486         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
13487         * sysdeps/i386/mempcpy_chk.S: Likewise.
13488         * sysdeps/i386/i686/memset_chk.S: Moved to ...
13489         * sysdeps/i386/memset_chk.S: Likewise.
13491 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
13493         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
13494         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
13495         file, move DIAG_POP_NEEDS_COMMENT to end of file.
13496         * soft-fp/fmadf4.c: Ditto.
13497         * soft-fp/fmatf4.c: Ditto.
13499 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13501         * sysdeps/i386/i586/Implies: Removed.
13502         * sysdeps/i386/i686/Implies: Likewise.
13504 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13506         * sysdeps/i386/i486/strlen.S: Moved to ...
13507         * sysdeps/i386/strlen.S: Here.
13509 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13511         * sysdeps/i386/i486/strcat.S: Moved to ...
13512         * sysdeps/i386/strcat.S: Here.
13514 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13516         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
13517         * sysdeps/i386/pthread_spin_trylock.S: Here.
13518         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
13519         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
13521 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13523         * sysdeps/i386/i486/string-inlines.c: Moved to ...
13524         * sysdeps/i386/string-inlines.c: Here.
13526 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13528         * sysdeps/i386/i486/htonl.S: Moved ...
13529         * sysdeps/i386/htonl.S: here.
13531 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13533         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
13534         * sysdeps/i386/bits/atomic.h: Here.
13536 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13538         * sysdeps/i386/i486/Versions: Removed.
13540 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13542         [BZ #2898]
13543         * misc/mktemp.c: Add mkdtemp to the link_warning message.
13544         Based on patch by Aurelien Jarno.
13546 2015-08-26  Stan Shebs  <stanshebs@google.com>
13548         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
13549         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13551 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13553         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
13554         * sysdeps/powerpc/dl-procinfo.c:
13555         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
13556         feature so it shows when LD_SHOW_AUXV=1.
13558 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13560         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13561         (__arch_compare_and_exchange_val_32_acq): Remove and use common
13562         definition.  ISA 2.07B no longer requires full sync.
13564 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
13566         [BZ #18863]
13567         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
13568         (si_call_addr): Define.
13569         (si_syscall): Define.
13570         (si_arch): Define.
13572 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13574         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
13575         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
13576         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
13577         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13578         (__memset_zero_constant_len_parameter): New.
13579         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
13580         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13581         (__memset_zero_constant_len_parameter): Don't define if
13582         __memset_chk or USE_AS_BZERO are defined.
13584         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13585         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13586         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13588         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13589         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13590         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13591         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
13592         comments.
13593         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13594         -mno-mmx for $(all-rtld-routines).
13595         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13596         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
13597         i386.
13599 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13601         * sysdeps/generic/unwind.h
13602         (_Unwind_Word): Use __mode__(__unwind_word__)
13603         instead of __mode__(__word__).
13604         (_Unwind_Sword): Likewise.
13606         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13607         (MAX_NEEDED_INPUT): New define.
13608         (MAX_NEEDED_OUTPUT): New define.
13610         * NEWS: New item for IBM z13 string optimizations.
13612         * sysdeps/s390/multiarch/memrchr-c.c: New File.
13613         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13614         * sysdeps/s390/multiarch/memrchr.c: Likewise.
13615         * sysdeps/s390/multiarch/Makefile
13616         (sysdep_routines): Add memrchr functions.
13617         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13618         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13620         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13621         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13622         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13623         * sysdeps/s390/multiarch/Makefile
13624         (sysdep_routines): Add wmemcmp functions.
13625         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13626         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13627         * benchtests/bench-wmemcmp.c: New File.
13628         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13630         * sysdeps/s390/multiarch/wmemset-c.c: New File.
13631         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13632         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13633         * sysdeps/s390/multiarch/Makefile
13634         (sysdep_routines): Add wmemset functions.
13635         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13636         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13637         * wcsmbs/wmemset.c: Use WMEMSET if defined.
13638         * string/test-memset.c: Add wmemset support.
13639         * wcsmbs/test-wmemset.c: New File.
13640         * wcsmbs/Makefile (strop-tests): Add wmemset.
13641         * benchtests/bench-memset.c: Add wmemset support.
13642         * benchtests/bench-wmemset.c: New File.
13643         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13645         * sysdeps/s390/multiarch/memccpy-c.c: New File.
13646         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13647         * sysdeps/s390/multiarch/memccpy.c: Likewise.
13648         * sysdeps/s390/multiarch/Makefile
13649         (sysdep_routines): Add memccpy functions.
13650         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13651         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13652         * string/memccpy.c: Use MEMCCPY if defined.
13654         * sysdeps/s390/multiarch/memchr-vx.S: New File.
13655         * sysdeps/s390/multiarch/memchr.c: Likewise.
13656         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13657         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13658         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13659         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13660         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13661         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13662         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13663         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13664         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13665         and rawmemchr functions.
13666         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13667         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13668         and wmemchr.
13669         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13670         * string/test-memchr.c: Add wmemchr support.
13671         * wcsmbs/test-wmemchr.c: New File.
13672         * wcsmbs/Makefile (strop-tests): Add wmemchr.
13673         * benchtests/bench-memchr.c: Add wmemchr support.
13674         * benchtests/bench-wmemchr.c: New File.
13675         * benchtests/Makefile (wcsmbs-bench): wmemchr.
13677         * sysdeps/s390/multiarch/strcspn-c.c: New File.
13678         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13679         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13680         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13681         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13682         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13683         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13684         wcscspn functions.
13685         * sysdeps/s390/multiarch/ifunc-impl-list.c
13686         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13687         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13688         * string/test-strcspn.c: Add wcscspn support.
13689         * wcsmbs/test-wcscspn.c: New File.
13690         * wcsmbs/Makefile (strop-tests): Add wcscspn.
13691         * benchtests/bench-strcspn.c: Add wcscspn support.
13692         * benchtests/bench-wcscspn.c: New File.
13693         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13695         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13696         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13697         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13698         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13699         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13700         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13701         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13702         wcspbrk functions.
13703         * sysdeps/s390/multiarch/ifunc-impl-list.c
13704         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13705         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13706         * string/test-strpbrk.c: Add wcspbrk support.
13707         * wcsmbs/test-wcspbrk.c: New File.
13708         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13709         * benchtests/bench-strpbrk.c: Add wcspbrk support.
13710         * benchtests/bench-wcspbrk.c: New File.
13711         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13713         * sysdeps/s390/multiarch/strspn-c.c: New File.
13714         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13715         * sysdeps/s390/multiarch/strspn.c: Likewise.
13716         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13717         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13718         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13719         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13720         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13721         wcsspn functions.
13722         * sysdeps/s390/multiarch/ifunc-impl-list.c
13723         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13724         * string/test-strspn.c: Add wcsspn support.
13725         * wcsmbs/test-wcsspn.c: New File.
13726         * wcsmbs/Makefile (strop-tests): Add wcsspn.
13727         * benchtests/bench-strspn.c: Add wcsspn support.
13728         * benchtests/bench-wcsspn.c: New File.
13729         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13731         * sysdeps/s390/multiarch/strrchr-c.c: New File.
13732         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13733         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13734         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13735         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13736         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13737         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13738         wcsrchr functions.
13739         * sysdeps/s390/multiarch/ifunc-impl-list.c
13740         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13741         * benchtests/bench-wcsrchr.c: New File.
13742         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13744         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13745         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13746         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13747         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13748         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13749         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13750         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13751         wcschrnul functions.
13752         * sysdeps/s390/multiarch/ifunc-impl-list.c
13753         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13754         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13755         * string/test-strchr.c: Add wcschrnul support.
13756         * wcsmbs/test-wcschrnul.c: New File.
13757         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13758         * benchtests/bench-strchr.c: Add wcschrnul support.
13759         * benchtests/bench-wcschrnul.c: New File.
13760         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13762         * sysdeps/s390/multiarch/strchr-c.c: New File.
13763         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13764         * sysdeps/s390/multiarch/strchr.c: Likewise.
13765         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13766         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13767         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13768         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13769         wcschr functions.
13770         * sysdeps/s390/multiarch/ifunc-impl-list.c
13771         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13772         * string/strchr.c (STRCHR): Define and use macro.
13773         * benchtests/bench-wcschr.c: New File.
13774         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13776         * sysdeps/s390/multiarch/strncmp-c.c: New File.
13777         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13778         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13779         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13780         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13781         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13782         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13783         wcsncmp functions.
13784         * sysdeps/s390/multiarch/ifunc-impl-list.c
13785         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13786         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13787         * benchtests/bench-strncmp.c: Add wcsncmp support.
13788         * benchtests/bench-wcsncmp.c: New File.
13789         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13791         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13792         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13793         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13794         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13795         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13796         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13797         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13798         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13799         wcscmp functions.
13800         * sysdeps/s390/multiarch/ifunc-impl-list.c
13801         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13802         * string/strcmp.c (STRCMP): Define and use macro.
13803         * benchtests/bench-wcscmp.c: New File.
13804         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13805         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13806         instead of _HAVE_STRING_ARCH_memchr.
13808         * sysdeps/s390/multiarch/strncat-c.c: New File.
13809         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13810         * sysdeps/s390/multiarch/strncat.c: Likewise.
13811         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13812         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13813         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13814         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13815         wcsncat functions.
13816         * sysdeps/s390/multiarch/ifunc-impl-list.c
13817         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13818         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13819         * string/test-strncat.c: Add wcsncat support.
13820         * wcsmbs/test-wcsncat.c: New File.
13821         * wcsmbs/Makefile (strop-tests): Add wcsncat.
13822         * benchtests/bench-strncat.c: Add wcsncat support.
13823         * benchtests/bench-wcsncat.c: New File.
13824         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13826         * sysdeps/s390/multiarch/strcat-c.c: New File.
13827         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13828         * sysdeps/s390/multiarch/strcat.c: Likewise.
13829         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13830         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13831         * sysdeps/s390/multiarch/wcscat.c: Likewise.
13832         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13833         wcscat functions.
13834         * sysdeps/s390/multiarch/ifunc-impl-list.c
13835         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13836         * string/strcat.c (STRCAT): Define and use macro.
13837         * wcsmbs/wcscat.c: Use WCSCAT if defined.
13838         * string/test-strcat.c: Add wcscat support.
13839         * wcsmbs/test-wcscat.c: New File.
13840         * wcsmbs/Makefile (strop-tests): Add wcscat.
13841         * benchtests/bench-strcat.c: Add wcscat support.
13842         * benchtests/bench-wcscat.c: New File.
13843         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13845         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13846         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13847         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13848         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13849         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13850         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13851         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13852         wcpncpy functions.
13853         * sysdeps/s390/multiarch/ifunc-impl-list.c
13854         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13855         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13856         * string/test-stpncpy.c: Add wcpncpy support.
13857         * wcsmbs/test-wcpncpy.c: New File.
13858         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13859         * benchtests/bench-stpncpy.c: Add wcpncpy support.
13860         * benchtests/bench-wcpncpy.c: New File.
13861         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13863         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13864         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13865         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13866         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13867         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13868         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13869         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13870         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13871         wcsncpy functions.
13872         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13873         * sysdeps/s390/multiarch/ifunc-impl-list.c
13874         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13875         * string/test-strncpy.c: Add wcsncpy support.
13876         * wcsmbs/test-wcsncpy.c: New File.
13877         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13878         * benchtests/bench-strncpy.c: Add wcsncpy support.
13879         * benchtests/bench-wcsncpy.c: New File.
13880         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13882         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13883         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13884         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13885         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13886         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13887         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13888         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13889         wcpcpy functions.
13890         * string/stpcpy.c: Use STPCPY if defined.
13891         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13892         * sysdeps/s390/multiarch/ifunc-impl-list.c
13893         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13894         * string/test-stpcpy.c: Add wcpcpy support.
13895         * wcsmbs/test-wcpcpy.c: New File.
13896         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13897         * benchtests/bench-stpcpy.c: Add wcpcpy support.
13898         * benchtests/bench-wcpcpy.c: New File.
13899         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13901         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13902         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13903         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13904         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13905         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13906         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13907         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13908         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13909         wcscpy functions.
13910         * sysdeps/s390/multiarch/ifunc-impl-list.c
13911         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13912         * benchtests/bench-wcscpy.c: New File.
13913         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13915         * sysdeps/s390/multiarch/strnlen-c.c: New File.
13916         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13917         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13918         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13919         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13920         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13921         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13922         wcsnlen functions.
13923         * sysdeps/s390/multiarch/ifunc-impl-list.c
13924         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13925         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13926         * string/test-strnlen.c: Add wcsnlen support.
13927         * wcsmbs/test-wcsnlen.c: New File.
13928         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13929         * benchtests/bench-strnlen.c: Add wcsnlen support.
13930         * benchtests/bench-wcsnlen.c: New File.
13931         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13933         * sysdeps/s390/multiarch/Makefile: New File.
13934         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13935         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13936         * sysdeps/s390/multiarch/strlen.c: Likewise.
13937         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13938         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13939         * sysdeps/s390/multiarch/wcslen.c: Likewise.
13940         * string/strlen.c (STRLEN): Define and use macro.
13941         * sysdeps/s390/multiarch/ifunc-impl-list.c
13942         (IFUNC_VX_IMPL): New macro function.
13943         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13944         * benchtests/Makefile (wcsmbs-bench): New variable.
13945         (string-bench-all): Added wcsmbs-bench.
13946         * benchtests/bench-wcslen.c: New File.
13948         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13949         s390_vx_libc_ifunc2): New macro function.
13951         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13952         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13953         assembler support.
13954         * sysdeps/s390/configure: Regenerated.
13956         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13957         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13959         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13960         * sysdeps/s390/dl-procinfo.h: Add vector capability.
13961         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13963         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13964         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13965         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13966         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13967         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13968         (memcmp, bcmp): Use __memcmp_default as alias source.
13969         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13970         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13971         Rename to __memcmp_default.
13972         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13973         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13974         (memcpy): Use __memcpy_default as alias source.
13975         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13976         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13977         Rename to __memcpy_default.
13978         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13979         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13980         (memset): Use __memset_default as alias source.
13981         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13982         * sysdeps/s390/s390-32/memset.S (__memset_g5):
13983         Rename to __memset_default.
13984         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13985         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13986         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13987         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13988         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13989         (memcmp, bcmp): Use __memcmp_default as alias source.
13990         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13991         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13992         Rename to __memcmp_default.
13993         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13994         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13995         (memcpy): Use __memcpy_default as alias source.
13996         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13997         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13998         Rename to __memcpy_default.
13999         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
14000         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
14001         (memset): Use __memset_default as alias source.
14002         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
14003         * sysdeps/s390/s390-64/memset.S (__memset_z900):
14004         Rename to __memset_default.
14005         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
14006         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
14008         [BZ #18610]
14009         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
14010         __ieee_instruction_pointer to __unused.
14011         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
14012         __ieee_instruction_pointer.
14013         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
14014         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
14015         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14016         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14017         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
14018         Mark dxc-field as reserved.
14020 2015-08-25  Roland McGrath  <roland@hack.frob.com>
14022         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
14023         if the weak reference is not null.
14025 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14027         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
14029         [BZ #11214]
14030         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
14032 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14034         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
14035         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
14036         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
14037         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
14038         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
14039         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
14040         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
14041         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
14042         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
14043         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
14044         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
14045         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
14046         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
14047         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
14048         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
14049         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
14050         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
14051         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
14053 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14055         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
14056         register other than r0 for tabort, it has special meaning.
14057         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
14058         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
14059         transaction before starting syscall.
14061 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14063         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
14065 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14067         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
14069         * sysdeps/x86_64/rtld-memcmp.c: Removed.
14070         * sysdeps/x86_64/rtld-memset.S: Likewise.
14071         * sysdeps/x86_64/rtld-strchr.S: Likewise.
14072         * sysdeps/x86_64/rtld-strlen.S: Likewise.
14073         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
14074         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14076         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
14078 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
14080         * debug/strcpy_chk.c: Improve performance.
14081         * debug/stpcpy_chk.c: Likewise.
14082         * sysdeps/x86_64/strcpy_chk.S: Remove.
14083         * sysdeps/x86_64/stpcpy_chk.S: Remove.
14085         [BZ #18240]
14086         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
14088 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14090         [BZ #15128]
14091         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
14092         ifuncmain8.
14093         (modules-names): Add ifuncmod8.
14094         ($(objpfx)ifuncmain8): New rule.
14095         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
14096         <cpuid.h>.
14097         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
14098         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
14099         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
14100         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
14101         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
14102         * sysdeps/x86_64/dl-trampoline.h: Likewise.
14103         * sysdeps/x86_64/ifuncmain8.c: New file.
14104         * sysdeps/x86_64/ifuncmod8.c: Likewise.
14105         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
14106         Removed.
14107         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
14108         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
14109         Change rtld_savespace_sse to __glibc_unused2.
14110         (RTLD_CHECK_FOREIGN_CALL): Removed.
14111         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
14112         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
14113         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
14115 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14117         * sysdeps/aarch64/bzero.S (__bzero): Remove.
14119 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14121         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
14122         Unconditionally set __fpcr to avoid uninialized warning.
14123         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
14125 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14127         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
14128         is corrupt.
14130         * malloc/arena.c (arena_get2): Drop unused argument.
14131         (arena_lock): Adjust.
14132         (arena_get_retry): Likewise.
14134 2015-08-24  Andreas Schwab  <schwab@suse.de>
14136         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
14137         Don't define.
14138         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14139         (__ASSUME_IPC64): Don't undef.
14140         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
14141         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14142         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14143         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
14144         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
14145         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
14146         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
14147         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
14148         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
14149         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
14150         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
14151         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
14152         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
14153         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
14154         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
14155         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
14156         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
14157         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
14158         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
14159         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
14160         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
14162 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
14164         * manual/Makefile (install): Only build manual when perl is available.
14166 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14168         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
14169         '#undef memcpy' by '#undef memchr'.
14171 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14173         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
14174         memchr not point to the internal __GI_memchr implementation.
14176 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14178         * timezone/Makefile (CFLAGS-zdump.c): Remove
14179         -Wno-strict-prototypes.
14180         (CFLAGS-zic.c): Likewise.
14181         (CFLAGS-ialloc.c): Likewise.
14182         (CFLAGS-scheck.c): Likewise.
14184         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
14185         -Wno-error=undef.
14187 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14189         * i386/i686/multiarch/strcasestr-c.c: Removed.
14190         * x86_64/multiarch/strcasestr.c: Likewise.
14191         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14192         Remove strcasestr.
14194 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14196         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
14198         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
14199         variables for high and low parts before possibly modifying them.
14201 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14203         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
14204         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
14205         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
14206         of "multiarch/init-arch.h".
14207         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
14208         * sysdeps/x86/init-arch.h: This.
14210 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14212         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
14213         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
14215 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
14217         [BZ #17787]
14218         * manual/macros.texi: Add twoexp macro.
14219         * manual/filesys.texi: Fix exponents.
14220         * manual/llio.texi: Likewise.
14221         * manual/stdio.texi: Likewise.
14223 2015-08-20  Florian Weimer  <fweimer@redhat.com>
14225         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
14226         incorrect use.
14228 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14230         [BZ #18370]
14231         * math/s_csqrt.c (__csqrt): Force underflow exception for results
14232         whose real or imaginary part has small absolute value.
14233         * math/s_csqrtf.c (__csqrtf): Likewise.
14234         * math/s_csqrtl.c (__csqrtl): Likewise.
14235         * math/auto-libm-test-in: Add more tests of csqrt.
14236         * math/auto-libm-test-out: Regenerated.
14237         * sysdeps/i386/fpu/libm-test-ulps: Update.
14239 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14241         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
14242         __ppc_set_ppr_very_low): New functions.
14243         * manual/platform.texi: Add documentation about
14244         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
14246 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
14248         * string/stpncpy.c (stpncpy): Improve performance using
14249         __strnlen/memcpy/memset.
14251 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14253         [BZ #18796]
14254         * scripts/test-installation.pl: Don't add -lmvec to build options if
14255         libmvec wasn't built.
14257 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
14259         [BZ #14341]
14260         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
14261         case when there is a gap between DT_REL and DT_JMPREL sections.
14262         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
14263         (LDFLAGS-tst-split-dynreloc): New.
14264         (tst-split-dynreloc-ENV): Likewise.
14265         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
14266         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
14268 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14270         [BZ #18822]
14271         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
14272         attribute_hidden.
14273         (__xstat64_conv): Likewise.
14274         (__xstat32_conv): Likewise.
14276 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14278         [BZ #18822]
14279         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14280         Don't load %ebx when calling __setcontext.  Call __setcontext
14281         with HIDDEN_JUMPTARGET.
14282         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
14283         libc_hidden_def.
14285 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14287         * sysdeps/i386/i686/Makefile
14288         [$(subdir) == string] (sysdep_routines): Moved to ...
14289         * sysdeps/i386/Makefile: Here.
14290         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
14291         * sysdeps/i386/cacheinfo.c: Here.
14292         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
14293         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
14294         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
14295         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
14297 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14299         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
14300         __i586__ is defined.
14301         (HAS_I686): Defined to 1 if __i686__ is defined.
14303 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14305         * elf/Makefile [$(have-z-execstack) = yes]
14306         (CPPFLAGS-tst-execstack.c): New variable.
14308         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
14309         conditional to [defined UTMPX || _HAVE_UT_TYPE].
14310         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
14311         UTMPX || _HAVE_UT_TV].
14312         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
14313         UTMPX || _HAVE_UT_TV - 0].
14315 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
14317         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
14318         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
14319         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
14321 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14323         * sysdeps/powerpc/dl-procinfo.c:
14324         (_dl_powerpc_cap_flags): Added missing strings for some
14325         hwcap features.
14326         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
14328 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
14330         Port the 0x7efe...feff pattern to GCC 6.
14331         See Steve Ellcey's bug report in:
14332         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
14333         * string/memrchr.c (MEMRCHR):
14334         * string/rawmemchr.c (RAWMEMCHR):
14335         * string/strchr.c (strchr):
14336         * string/strchrnul.c (STRCHRNUL):
14337         Rewrite code to avoid issues with signed shift overflow.
14339 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
14341         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
14342         whether cpuid is available only if HAS_CPUID is 0.
14343         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
14344         (HAS_I586): Likewise.
14345         (HAS_I686): Likewise.
14347 2015-08-18  Zack Weinberg  <zackw@panix.com>
14349         * misc/Versions (libc): Add GLIBC_2.23.
14351 2015-08-18  Alan Modra  <amodra@gmail.com>
14353         [BZ #18421]
14354         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
14355         .Lp__global.
14356         (_start): Load %dp via .Lp__global.
14357         [!SHARED]: Use .section .rodata.
14359 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14361         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
14362         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
14364 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14366         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
14367         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
14369 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14371         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
14372         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
14374 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14376         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
14377         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
14379 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14381         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
14382         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
14384 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14386         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
14387         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
14389 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14391         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
14393 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14395         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
14396         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
14397         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14398         (__ASSUME_LWS_CAS): Delete.
14400 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14402         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
14403         * sysdeps/hppa/configure: Regenerated.
14404         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
14405         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
14406         * sysdeps/hppa/nptl/tls.h: Likewise.
14408 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
14410         [BZ #18823]
14411         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
14412         for scaling up small arguments.
14413         * math/s_csqrtf.c (__csqrtf): Likewise.
14414         * math/s_csqrtl.c (__csqrtl): Likewise.
14415         * math/auto-libm-test-in: Add more tests of csqrt.
14416         * math/auto-libm-test-out: Regenerated.
14418 2015-08-17  Andreas Schwab  <schwab@suse.de>
14420         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
14421         version set GLIBC_2.19.
14423 2015-08-16  Zack Weinberg  <zackw@panix.com>
14425         [BZ #18681]
14426         * misc/regexp.h: This interface is no longer supported.
14427         Remove all contents, leaving only an #error directive.
14428         * misc/regexp.c (loc1, loc2, locs, step, advance):
14429         Demote to compatibility symbols.
14431 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
14433         [BZ #18084]
14434         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
14435         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
14436         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14437         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
14438         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
14439         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
14440         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
14441         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
14442         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14444 2015-08-15  Zack Weinberg  <zackw@panix.com>
14446         [BZ #18795]
14447         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
14448         buffer length is known to be too large, not if it's known to be
14449         small enough.
14450         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
14451         overflow at runtime, involving a length parameter, twice: once
14452         with a compile-time constant length parameter, once without.
14454 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
14456         [BZ #18824]
14457         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
14458         scaling x * y up instead of down.
14459         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14460         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14461         * math/auto-libm-test-in: Add more tests of fma.
14462         * math/auto-libm-test-out: Regenerated.
14464 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
14466         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14468 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14470         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
14471         unnecessary movq.
14472         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
14473         Likewise.
14475 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
14477         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14478         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
14479         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
14480         and tgamma.
14481         * math/auto-libm-test-out: Regenerated.
14482         * sysdeps/i386/fpu/libm-test-ulps: Update.
14483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14485         [BZ #16520]
14486         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
14487         (__tanh): Force underflow exception for arguments with small
14488         absolute value.
14489         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
14490         (__tanhf): Force underflow exception for arguments with small
14491         absolute value.
14492         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
14493         (__tanhl): Force underflow exception for arguments with small
14494         absolute value.
14495         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
14496         (__tanhl): Force underflow exception for arguments with small
14497         absolute value.
14498         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
14499         (__tanhl): Force underflow exception for arguments with small
14500         absolute value.
14501         * math/auto-libm-test-in: Add more tests of tanh.
14502         * math/auto-libm-test-out: Regenerated.
14503         * sysdeps/i386/fpu/libm-test-ulps: Update.
14505 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14507         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
14508         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
14510 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14512         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
14513         <cpuid.h>.
14515 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14517         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
14518         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
14520 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14522         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
14523         Remove $(objpfx)init-arch.o.
14524         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
14525         init-arch.
14526         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
14527         (INIT_ARCH_EXT): Defined as empty.
14528         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
14529         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
14530         __init_cpu_features call.  Replace HAS_XXX with
14531         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14532         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
14533         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
14534         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
14535         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
14536         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14537         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
14538         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
14539         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14540         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
14541         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
14542         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14543         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
14544         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
14545         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14546         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
14547         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
14548         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14549         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14550         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
14551         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
14552         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14553         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
14554         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
14555         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14556         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
14557         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
14558         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14559         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
14560         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
14561         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14562         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
14563         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
14564         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14565         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
14566         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
14568 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14570         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
14571         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14572         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14573         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14574         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
14575         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
14576         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
14577         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
14578         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
14579         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
14580         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
14581         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
14582         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14583         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14584         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14585         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14586         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14587         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14588         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14589         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14590         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14591         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14592         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14593         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14594         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14595         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14596         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14597         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14598         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14599         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14600         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14601         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14602         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14603         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14604         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14605         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14606         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14607         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14608         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14609         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14610         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14611         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14612         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14614 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14616         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14617         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14618         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14619         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14620         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14621         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14622         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14623         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14624         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14625         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14626         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14627         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14628         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14629         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14630         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14631         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14632         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14633         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14634         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14635         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14636         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14637         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14638         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14639         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14640         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14641         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14642         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14643         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
14644         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14645         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14646         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14647         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14648         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14649         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14650         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14651         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14652         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14653         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14654         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14655         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14656         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14657         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14658         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14660 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14662         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14663         (dl_platform_init): Call init_cpu_features.
14664         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14665         * sysdeps/i386/i686/cacheinfo.c
14666         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14667         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14668         * sysdeps/i386/i686/multiarch/Versions: Removed.
14669         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14670         Removed.
14671         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14672         * sysdeps/unix/sysv/linux/x86/Makefile
14673         (libpthread-sysdep_routines): Remove init-arch.
14674         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14675         <sysdeps/x86_64/dl-procinfo.c> instead of
14676         sysdeps/generic/dl-procinfo.c>.
14677         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14678         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14679         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14680         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14681         [$(subdir) == elf] (tests-static): Add
14682         tst-get-cpu-features-static.
14683         * sysdeps/x86/Versions: New file.
14684         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14685         * sysdeps/x86/cpu-features.c: Likewise.
14686         * sysdeps/x86/cpu-features.h: Likewise.
14687         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14688         * sysdeps/x86/libc-start.c: Likewise.
14689         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14690         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14691         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14692         * sysdeps/x86_64/dl-procinfo.c: Likewise.
14693         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14694         Assume USE_MULTIARCH is defined and don't check it.
14695         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14696         (is_amd): Likewise.
14697         (max_cpuid): Likewise.
14698         (intel_check_word): Likewise.
14699         (__cache_sysconf): Don't call __init_cpu_features.
14700         (__x86_preferred_memory_instruction): Removed.
14701         (init_cacheinfo): Don't call __init_cpu_features. Replace
14702         __cpu_features with GLRO(dl_x86_cpu_features).
14703         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14704         (dl_platform_init): Call init_cpu_features.
14705         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14706         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14707         * sysdeps/x86_64/multiarch/Versions: Removed.
14708         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14709         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14710         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14711         Removed.
14712         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14714 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14716         [BZ #18820]
14717         * libio/Makefile (test-fmemopen-mem): New test.
14718         * libio/test-fmemopen.c (do_bz18820): New test.
14719         * libio/fmemopen.c (__fmemopen): Fix memory leak.
14720         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14722 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14724         [BZ #16734]
14725         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14726         (FREE_BUF): Delete.
14727         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14728         * libio/genops.c (_IO_setb): Use malloc and free directly.
14729         (_IO_default_doallocate, _IO_default_finish): Likewise.
14730         ( _IO_unbuffer_all): Likewise.
14731         ( libc_freeres_fn): Likewise.
14732         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14733         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14734         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14735         (_IO_wdefault_doallocate): Likewise.
14737 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14739         [BZ #18086]
14740         * sysdeps/posix/nice.c (nice): Restore old errno.
14741         * posix/tst-nice.c (do_test): Add test for BZ #18086.
14743 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
14745         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14747 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14749         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14750         __bcopy and add a weak_alias to bcopy.
14751         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14752         for static build.
14754         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14755         cleanup macro usage.
14756         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14757         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14758         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14759         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14760         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14761         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14762         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14763         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14764         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14765         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14766         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14767         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14768         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14769         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14770         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14771         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14772         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14773         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14774         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14776         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14777         libc_hidden_def.
14778         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14780         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14781         (sysdep_routines): Add strstr-ppc64.
14782         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14784 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
14786         [BZ #18778]
14787         * elf/Makefile (tests): Add Add tst-nodelete2.
14788         (modules-names): Add tst-nodelete2mod.
14789         (tst-nodelete2mod.so-no-z-defs): New.
14790         ($(objpfx)tst-nodelete2): Likewise.
14791         ($(objpfx)tst-nodelete2.out): Likewise.
14792         (LDFLAGS-tst-nodelete2): Likewise.
14793         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14794         out of loop through all loaded libraries.
14795         * elf/tst-nodelete2.c: New file.
14796         * elf/tst-nodelete2mod.c: Likewise.
14797         * elf/tst-znodelete-zlib.cc: Delete.
14799 2015-08-11  Andreas Schwab  <schwab@suse.de>
14801         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14802         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14803         (__openat64_nocancel): Likewise.
14805 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
14807         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14808         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14809         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14810         * math/auto-libm-test-out: Regenerated.
14811         * sysdeps/i386/fpu/libm-test-ulps: Update.
14812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14814 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14816         [BZ #18790]
14817         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14818         threshold for returning +/- 1.
14819         * math/auto-libm-test-in: Add more tests of tanh.
14820         * math/auto-libm-test-out: Regenerated.
14821         * sysdeps/i386/fpu/libm-test-ulps: Update.
14823 2015-08-10  Andreas Schwab  <schwab@suse.de>
14825         [BZ #18781]
14826         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14827         MORE_OFLAGS to oflag.
14828         * io/test-lfs.c (do_test): Test openat64.
14830 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14832         [BZ #18789]
14833         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14834         smaller threshold for returning the argument.
14835         * math/auto-libm-test-in: Add more tests of sinh.
14836         * math/auto-libm-test-out: Regenerated.
14837         * sysdeps/i386/fpu/libm-test-ulps: Update.
14839 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14841         [BZ #18674]
14842         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14843         break.
14845 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14847         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14848         (generated): Don't add $(addprefix z.,$(tzfiles)).
14850 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14852         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14853         * scripts/sysd-rules.awk: Likewise.
14855 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14857         * iconvdata/tst-tables.sh: Change echo -n to printf.
14858         * nss/db-Makefile: Likewise.
14859         * posix/tst-getconf.sh: Likewise.
14860         * stdio-common/tst-unbputc.sh: Likewise.
14862 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14864         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14865         MADV_*_PAGES defines behind this feature check.
14867 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
14869         [BZ #18480]
14870         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14871         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14872         Define.
14873         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14874         LOAD_REGS_5, LOAD_REGS_6): Update.
14875         (INTERNAL_SYSCALL): Update using new LOAD defines.
14876         (INTERNAL_SYSCALL_NCS): Likewise.
14877         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14879 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14881         [BZ #16734]
14882         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14884 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14886         [BZ #17905]
14887         * catgets/Makefile (tst-catgets-mem): New test.
14888         * catgets/catgets.c (catopen): Don't use unbounded alloca.
14889         * catgets/open_catalog.c (__open_catalog): Likewise.
14890         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14892 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
14894         [BZ #18787]
14895         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14896         clobber registers.
14897         (atomic_compare_and_exchange_val_acq): Use register asms to assign
14898         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
14899         Cast return to __typeof (oldval).
14901 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
14903         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14904         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
14905         and delete sys/syscall.h include.
14907 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
14909         [BZ #16517]
14910         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14911         (tan): Force underflow exception for arguments with small absolute
14912         value.
14913         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14914         (__kernel_tanf): Force underflow exception for arguments with
14915         small absolute value.
14916         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14917         (__kernel_tanl): Force underflow exception for arguments with
14918         small absolute value.
14919         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14920         (__kernel_tanl): Force underflow exception for arguments with
14921         small absolute value.
14922         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14923         (__kernel_tanl): Force underflow exception for arguments with
14924         small absolute value.
14925         * math/auto-libm-test-in: Add more tests of tan.
14926         * math/auto-libm-test-out: Regenerated.
14928 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14930         Fix sysdeps/i386/fpu/s_scalbn.S build
14932         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14934 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
14936         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14938 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14940         Fix gcrt0.o compilation
14942         When static-start-installed-name is different from
14943         start-installed-name, we must not use the shared objects.
14945         * csu/Makefile
14946         (extra-objs): Add gmon-start.o when building shared library and
14947         $(static-start-installed-name) is different from
14948         $(start-installed-name).
14949         $(objpfx)g$(static-start-installed-name): When building shared
14950         library and $(static-start-installed-name) is different from
14951         $(static-start-installed-name), revert to non-shared rule,
14952         i.e. using $(objpfx)% and gmon-start.o.
14954 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
14956         [BZ #16519]
14957         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14958         (__ieee754_sinh): Force underflow exception for arguments with
14959         small absolute value.
14960         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14961         (__ieee754_sinhf): Force underflow exception for arguments with
14962         small absolute value.
14963         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14964         (__ieee754_sinhl): Force underflow exception for arguments with
14965         small absolute value.
14966         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14967         (__ieee754_sinhl): Force underflow exception for arguments with
14968         small absolute value.
14969         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14970         (__ieee754_sinhl): Force underflow exception for arguments with
14971         small absolute value.
14972         * math/auto-libm-test-in: Add more tests of sinh.
14973         * math/auto-libm-test-out: Regenerated.
14974         * sysdeps/i386/fpu/libm-test-ulps: Update.
14976 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14978         * libio/oldfileops.c: Include unistd.h.
14980 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
14982         * stdlib/isomac.c: Include ctype.h.
14984 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
14986         * dirent/tst-seekdir.c (main): Converted to ...
14987         (do_test): ... this.
14988         (TEST_FUNCTION): New macro.
14989         Include test-skeleton.c.
14990         * elf/tst-dlmodcount.c (main): Converted to ...
14991         (do_test): ... this.
14992         (TEST_FUNCTION): New macro.
14993         Include test-skeleton.c.
14994         * elf/tst-order-main.c (main): Converted to ...
14995         (do_test): ... this.
14996         (TEST_FUNCTION): New macro.
14997         Include test-skeleton.c.
14998         * elf/tst-pie2.c (main): Converted to ...
14999         (do_test): ... this.
15000         (TEST_FUNCTION): New macro.
15001         Include test-skeleton.c.
15002         * inet/tst-ether_aton.c (main): Converted to ...
15003         (do_test): ... this.
15004         (TEST_FUNCTION): New macro.
15005         Include test-skeleton.c.
15006         * misc/tst-mntent.c (main): Converted to ...
15007         (do_test): ... this.
15008         (TEST_FUNCTION): New macro.
15009         Include test-skeleton.c.
15010         * misc/tst-tsearch.c (main): Converted to ...
15011         (do_test): ... this.
15012         (TEST_FUNCTION): New macro.
15013         Include test-skeleton.c.
15014         * posix/tst-regexloc.c (main): Converted to ...
15015         (do_test): ... this.
15016         (TEST_FUNCTION): New macro.
15017         Include test-skeleton.c.
15018         * resolv/tst-aton.c (main): Converted to ...
15019         (do_test): ... this.
15020         (TEST_FUNCTION): New macro.
15021         Include test-skeleton.c.
15022         * stdio-common/test-fwrite.c (main): Converted to ...
15023         (do_test): ... this.
15024         (TEST_FUNCTION): New macro.
15025         Include test-skeleton.c.
15026         * stdio-common/tst-ferror.c (main): Converted to ...
15027         (do_test): ... this.
15028         (TEST_FUNCTION): New macro.
15029         Include test-skeleton.c.
15030         * stdio-common/tst-printf.c (main): Converted to ...
15031         (do_test): ... this.
15032         (TEST_FUNCTION): New macro.
15033         Include test-skeleton.c.
15034         * stdio-common/tst-printfsz.c (main): Converted to ...
15035         (do_test): ... this.
15036         (TEST_FUNCTION): New macro.
15037         Include test-skeleton.c.
15038         * stdlib/tst-strtod.c (main): Converted to ...
15039         (do_test): ... this.
15040         (TEST_FUNCTION): New macro.
15041         Include test-skeleton.c.
15042         * string/tst-strlen.c (main): Converted to ...
15043         (do_test): ... this.
15044         (TEST_FUNCTION): New macro.
15045         Include test-skeleton.c.
15046         * string/tst-svc.c (main): Converted to ...
15047         (do_test): ... this.
15048         (TEST_FUNCTION): New macro.
15049         Include test-skeleton.c.
15050         * time/tst-strptime.c (main): Converted to ...
15051         (do_test): ... this.
15052         (TEST_FUNCTION): New macro.
15053         Include test-skeleton.c.
15054         * timezone/tst-timezone.c (main): Converted to ...
15055         (do_test): ... this.
15056         (TEST_FUNCTION): New macro.
15057         Include test-skeleton.c.
15059 2015-08-05  Zack Weinberg  <zackw@panix.com>
15061         * misc/regexp.h: Update comments.
15063 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
15065         [BZ #18635]
15066         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
15067         before return label.
15069 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15071         [BZ #18661]
15072         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
15073         when calling __errno_location.
15074         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
15075         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
15077 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15079         [BZ #18661]
15080         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
15081         (__lll_timedwait_tid): Align stack to 16 bytes when calling
15082         __gettimeofday.
15084 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15086         [BZ #18661]
15087         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15088         (__start_context): Don't use pop to restore %rdi so that stack
15089         is aligned to 16 bytes when calling __setcontext.
15091 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15093         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
15094         only for libc.
15095         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15097 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15099         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
15100         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
15101         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
15103 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15105         * string/memccpy.c (memccpy):
15106         Improve performance by using memchr/memcpy/__mempcpy.
15108 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15110         * string/strncpy.c (strncpy):
15111         Improve performance by using __strnlen/memcpy.
15113 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15115         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15116         Optimize to avoid an unnecessary FPCR read.
15118 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15120         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15121         Optimize to reduce FPCR/FPSR accesses.
15123 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15125         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
15126         dead->data[category] != NULL.
15128 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
15130         [BZ #18647]
15131         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
15132         and |x| close to 1, use absolute value of x when computing log.
15133         * math/auto-libm-test-in: Add more tests of pow.
15134         * math/auto-libm-test-out: Regenerated.
15136 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15138         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
15139         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
15140         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
15142 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
15144         [BZ #18525]
15145         * locales/km_KH: Remove timezone definition.
15146         * locales/lo_LA: Likewise.
15147         * locales/my_MM: Likewise.
15148         * locales/nan_TW@latin: Likewise.
15149         * locales/th_TH: Likewise.
15150         * locales/uk_UA: Likewise.
15152 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15154         [BZ #18265]
15155         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
15156         (wcsncat): Likewise.
15157         (wcscmp): Likewise.
15158         (wcsncmp): Likewise.
15160 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15162         * test-skeleton.c (usage): New function.
15163         (main): Call usage when opt is '?'.
15165 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15167         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
15168         before first use.
15170 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15172         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
15173         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
15174         in there too.
15176 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
15178         * version.h (RELEASE): Set to "development".
15179         (VERSION): Set to "2.22.90"
15181         * version.h (RELEASE): Set to "stable".
15182         (VERSION): Set to "2.22"
15183         * include/features.h (__GLIBC_MINOR__): Set to 22.
15185 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
15187         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
15188         Restructure macro to avoid "value computed is not used" warning.
15189         (atomic_compare_and_exchange_val_acq): Likewise.
15191 2015-08-04  Andreas Schwab  <schwab@suse.de>
15193         [BZ #18635]
15194         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
15195         ret.
15196         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
15198 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
15200         * po/pl.po: Updated translation.
15201         * po/uk.po: Likewise.
15202         * po/fi.po: Likewise.
15203         * po/ko.po: Likewise.
15204         * po/ru.po: Likewise.
15205         * po/vi.po: Likewise.
15207 2015-07-31  Zack Weinberg  <zackw@panix.com>
15209         [BZ #18681]
15210         * regexp.h: Add unconditional #warning stating that this header
15211         will be removed soon.  Revise banner comment to match.
15212         (compile): Consistently use ERROR instead of RETURN to report
15213         errors (partial fix for bz#18681).
15214         * regexp.c: Don't include regexp.h. Remove some unnecessary
15215         declarations.
15217 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
15219         * po/libc.pot: Regenerated.
15221 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15223         [BZ #18740]
15224         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
15225         float-vlen4-arch-ext-cflags): Removed.
15226         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
15227         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
15229 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15231         [BZ #14113]
15232         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
15233         aligned to __aligned__.
15234         (pthread_cond_t, pthread_rwlock_t): Likewise.
15236 2015-07-30  Torvald Riegel  <triegel@redhat.com>
15238         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
15240 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15242         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
15243         (struct sigaction): Change sa_flags from a long to an int, and add
15244         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
15246 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15248         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
15249         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
15250         sysdeps/generic/sysdep.h include.
15251         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
15252         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
15253         sysdeps/hppa/sysdep.h.
15254         (ENTRY, PSEUDO): Undefine before defining.
15256 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15258         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
15259         from scratch to use INTERNAL_SYSCALL.
15261 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
15263         [BZ #18078]
15264         * scripts/check-localplt.awk: Support alternate relocations.
15265         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
15266         sections.
15267         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
15268         malloc entries with + REL R_386_GLOB_DAT.
15269         * sysdeps/x86_64/localplt.data: New file.
15271 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
15273         [BZ #18731]
15274         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
15275         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15276         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15278 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15280         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
15282 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15284         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
15285         directly in terms of __sync_fetch_and_add and delete (int) cast.
15287 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15289         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
15290         the -D_ASM_IA64_CURRENT_H flag.
15292 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15294         [BZ #18641]
15295         * pwd/pwd.h (putpwent): Delete __nonnull markings.
15297 2015-07-27  Andreas Schwab  <schwab@suse.de>
15299         * conform/conformtest.pl (checknamespace): Filter out string
15300         literals while tokenizing.
15302 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15304         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15305         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
15306         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15308 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15310         * nptl/tst-join7mod.c: Add #include <string.h>.
15312 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15314         * sysdeps/nios2/libm-test-ulps: Update.
15316 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15318         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
15319         Fix order of arguments to the rt_sigprocmask syscall.
15320         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
15321         Likewise.
15323 2015-07-24  Roland McGrath  <roland@hack.frob.com>
15325         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
15327 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15329         [BZ #18457]
15330         * nptl/Makefile (tests): New test case tst-join7.
15331         (modules-names): New test case module tst-join7mod.
15332         * nptl/tst-join7.c: New file.
15333         * nptl/tst-join7mod.c: New file.
15334         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
15335         all translation units in libc.so, libpthread.so and rtld.
15337 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15341 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15343         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
15344         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15345         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15346         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15347         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15348         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15349         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15350         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15351         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15352         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15353         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15354         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15355         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
15356         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15357         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
15358         implementation.
15360 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15362         [BZ #17711]
15363         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15364         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
15365         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15366         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15367         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
15368         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15370 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15372         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
15373         instead of just saying load lock in the comments.
15375 2015-07-23  Roland McGrath  <roland@hack.frob.com>
15377         * sysdeps/unix/Subdirs: Moved ...
15378         * sysdeps/posix/Subdirs: ... here.
15379         * login/pty.h (struct termios, struct winsize): Add forward decls.
15380         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
15381         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
15382         * sysdeps/arm/nacl/libc.abilist: Updated.
15383         * sysdeps/nacl/libutil.abilist: New file.
15385         * bits/signum.h: Update comments to mention 1003.1-2013 too.
15386         (SIGWINCH): New macro.
15388         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
15389         * sysdeps/arm/nacl/libc.abilist: Add it.
15391 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15393         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
15395 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15397         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15398         Swap __glibc_reserved0 and sa_flags order.
15400 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15402         [BZ #18657]
15403         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
15404         are pending TLS destructor calls.
15405         * include/link.h (struct link_map): Add concurrency note for
15406         L_TLS_DTOR_COUNT.
15407         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15408         Don't touch the link map flag.  Atomically increment
15409         l_tls_dtor_count.
15410         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
15411         Avoid taking the load lock and don't touch the link map flag.
15412         * stdlib/tst-tls-atexit-nodelete.c: New test case.
15413         * stdlib/Makefile (tests): Use it.
15414         * stdlib/tst-tls-atexit.c (do_test): dlopen
15415         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
15416         to allow tst-tls-atexit-nodelete test case to use it.
15418 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15420         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
15421         to bits/types.h.
15422         (msgqnum_t): New typedef.
15423         (msglen_t): Likewise.
15424         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
15425         and msg_qbytes type to msglen_t.
15427 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15429         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
15430         pad0 to __glibc_reserved0.
15431         (struct stat64): Likewise.
15433 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15435         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15436         Change sa_flags from a long to an int and add __glibc_reserved0 before
15437         it for padding.
15439 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15441         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
15442         anonymous by deleting "siginfo" name.
15444 2015-07-21  Roland McGrath  <roland@hack.frob.com>
15446         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
15447         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
15448         rather than __nacl_irt_filename.
15449         * sysdeps/nacl/xstat.c (__xstat): Likewise.
15451         * NEWS: New item for arm-nacl port.
15452         * sysdeps/arm/nacl/libc.abilist: New file.
15453         * sysdeps/nacl/ld.abilist: New file.
15454         * sysdeps/nacl/libBrokenLocale.abilist: New file.
15455         * sysdeps/nacl/libanl.abilist: New file.
15456         * sysdeps/nacl/libcrypt.abilist: New file.
15457         * sysdeps/nacl/libdl.abilist: New file.
15458         * sysdeps/nacl/libm.abilist: New file.
15459         * sysdeps/nacl/libpthread.abilist: New file.
15460         * sysdeps/nacl/libresolv.abilist: New file.
15461         * sysdeps/nacl/librt.abilist: New file.
15463 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
15465         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
15466         __startcontext to initialize the new context.
15467         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
15468         up CFI directive to forbid further backtracing.
15470 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
15472         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
15473         reference.
15474         * charmaps/ANSI_X3.4-1968: Likewise.
15475         * charmaps/BS_4730: Likewise.
15476         * charmaps/BS_VIEWDATA: Likewise.
15477         * charmaps/CP1250: Likewise.
15478         * charmaps/CP1251: Likewise.
15479         * charmaps/CP1252: Likewise.
15480         * charmaps/CP1253: Likewise.
15481         * charmaps/CP1254: Likewise.
15482         * charmaps/CP1255: Likewise.
15483         * charmaps/CP1256: Likewise.
15484         * charmaps/CSN_369103: Likewise.
15485         * charmaps/EBCDIC-DK-NO: Likewise.
15486         * charmaps/GB_1988-80: Likewise.
15487         * charmaps/GREEK-CCITT: Likewise.
15488         * charmaps/GREEK7: Likewise.
15489         * charmaps/INIS-8: Likewise.
15490         * charmaps/ISIRI-3342: Likewise.
15491         * charmaps/ISO_2033-1983: Likewise.
15492         * charmaps/ISO_5427-EXT: Likewise.
15493         * locales/POSIX: Likewise.
15494         * locales/ar_SA: Likewise.
15495         * locales/be_BY: Likewise.
15496         * locales/be_BY@latin: Likewise.
15497         * locales/ca_ES: Likewise.
15498         * locales/cs_CZ: Likewise.
15499         * locales/da_DK: Likewise.
15500         * locales/de_BE: Likewise.
15501         * locales/de_CH: Likewise.
15502         * locales/de_LU: Likewise.
15503         * locales/en_AU: Likewise.
15504         * locales/en_BW: Likewise.
15505         * locales/en_CA: Likewise.
15506         * locales/en_DK: Likewise.
15507         * locales/en_GB: Likewise.
15508         * locales/en_IE: Likewise.
15509         * locales/en_NZ: Likewise.
15510         * locales/en_ZA: Likewise.
15511         * locales/en_ZW: Likewise.
15512         * locales/es_AR: Likewise.
15513         * locales/es_BO: Likewise.
15514         * locales/es_CL: Likewise.
15515         * locales/es_CO: Likewise.
15516         * locales/es_DO: Likewise.
15517         * locales/es_EC: Likewise.
15518         * locales/es_ES: Likewise.
15519         * locales/es_HN: Likewise.
15520         * locales/es_MX: Likewise.
15521         * locales/es_PA: Likewise.
15522         * locales/es_PE: Likewise.
15523         * locales/es_PY: Likewise.
15524         * locales/es_SV: Likewise.
15525         * locales/es_US: Likewise.
15526         * locales/es_UY: Likewise.
15527         * locales/es_VE: Likewise.
15528         * locales/et_EE: Likewise.
15529         * locales/fa_IR: Likewise.
15530         * locales/fo_FO: Likewise.
15531         * locales/fr_CA: Likewise.
15532         * locales/fr_CH: Likewise.
15533         * locales/gv_GB: Likewise.
15534         * locales/he_IL: Likewise.
15535         * locales/hr_HR: Likewise.
15536         * locales/id_ID: Likewise.
15537         * locales/is_IS: Likewise.
15538         * locales/it_CH: Likewise.
15539         * locales/iw_IL: Likewise.
15540         * locales/kl_GL: Likewise.
15541         * locales/ko_KR: Likewise.
15542         * locales/kw_GB: Likewise.
15543         * locales/lg_UG: Likewise.
15544         * locales/lt_LT: Likewise.
15545         * locales/lv_LV: Likewise.
15546         * locales/mi_NZ: Likewise.
15547         * locales/nhn_MX: Likewise.
15548         * locales/nl_BE: Likewise.
15549         * locales/pl_PL: Likewise.
15550         * locales/sk_SK: Likewise.
15551         * locales/sl_SI: Likewise.
15552         * locales/sv_FI: Likewise.
15553         * locales/tl_PH: Likewise.
15554         * locales/tr_TR: Likewise.
15555         * locales/vi_VN: Likewise.
15557 2015-07-21  Khem Raj  <raj.khem@gmail.com>
15559         [BZ #17475]
15560         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
15561         of tu_IN and bh_IN.
15563 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
15565         [BZ #18694]
15566         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
15567         bits/wordsize.h.
15568         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
15570 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15572         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
15573         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
15574         (spawn_thread): New function.
15575         (load): Rename to reg_dtor_and_close.  Move dlopen to...
15576         (do_test): ... here.  Use IS_LOADED to test for its
15577         availability.
15579 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
15581         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15583 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
15585         [BZ #18696]
15586         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15587         si_addr_bnd.
15588         (si_lower): New.
15589         (si_upper): Likewise.
15591 2015-07-16  David S. Miller  <davem@davemloft.net>
15593         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15595 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15597         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15598         buffer.
15599         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15600         fail output information.
15602 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15604         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15605         and strstr-ppc64..
15606         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15607         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15608         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15609         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15610         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15612 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15614         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15615         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15616         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15617         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15619 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15621         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15622         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15623         rtld_hidden_proto.
15624         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15626 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15628         * tst-nodelete-opened.c (do_test): Add comment to clarify how
15629         the test can fail.
15631         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15633         [BZ #18676]
15634         * elf/tst-nodelete-opened.c: New test case.
15635         * elf/tst-nodelete-opened-lib.c: New test case module.
15636         * elf/Makefile (tests, modules-names): Use them.
15637         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15638         early.
15640 2015-07-15  David S. Miller  <davem@davemloft.net>
15642         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15643         futex-intenal.h
15644         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15645         * sysdeps/sparc/sparc64/Makefile: Likewise.
15646         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15647         Remove space from macro define.
15648         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15650 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
15652         [BZ #17475]
15653         * locale/iso-639.def: Update Bhili and Tulu language codes as
15654         per iso639-3.
15656 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
15658         * elf/tst-leaks1.c (main): Converted to ...
15659         (do_test): ... this.
15660         (TEST_FUNCTION): New macro.
15661         Include test-skeleton.c.
15662         * localedata/tst-langinfo.c (main): Converted to ...
15663         (do_test): ... this.
15664         (TEST_FUNCTION): New macro.
15665         Include test-skeleton.c.
15666         * math/test-fpucw.c (main): Converted to ...
15667         (do_test): ... this.
15668         (TEST_FUNCTION): New macro.
15669         Include test-skeleton.c.
15670         * math/test-tgmath.c (main): Converted to ...
15671         (do_test): ... this.
15672         (TEST_FUNCTION): New macro.
15673         Include test-skeleton.c.
15674         * math/test-tgmath2.c (main): Converted to ...
15675         (do_test): ... this.
15676         (TEST_FUNCTION): New macro.
15677         Include test-skeleton.c.
15678         * setjmp/tst-setjmp.c (main): Converted to ...
15679         (do_test): ... this.
15680         (TEST_FUNCTION): New macro.
15681         Include test-skeleton.c.
15682         * stdio-common/tst-sscanf.c (main): Converted to ...
15683         (do_test): ... this.
15684         (TEST_FUNCTION): New macro.
15685         Include test-skeleton.c.
15686         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15687         (do_test): ... this.
15688         (TEST_FUNCTION): New macro.
15689         Include test-skeleton.c.
15691         * elf/tst-audit9.c (main): Converted to ...
15692         (do_test): ... this.
15693         (TEST_FUNCTION): New macro.
15694         Include test-skeleton.c.
15696 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
15698         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15700 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15702         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15703         New variable.
15705 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15707         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15709 2015-07-14  Roland McGrath  <roland@hack.frob.com>
15711         * sysdeps/generic/dl-fileid.h: New file.
15712         * sysdeps/posix/dl-fileid.h: New file.
15713         * sysdeps/nacl/dl-fileid.h: New file.
15714         * include/link.h: Include <dl-fileid.h>.
15715         (struct link_map): Replace l_dev and l_ino with l_file_id.
15716         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15717         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
15718         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
15720 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15722         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15724 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15726         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15727         Add iff $CXX is set.
15728         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15729         Likewise.
15730         (tst-nodelete-zmodiff): Likewise.
15731         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15733 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15735         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15737 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15739         * sysdeps/aarch64/fpu/math_private.h
15740         (define math_opt_barrier): Add AArch64 version.
15741         (math_force_eval): Likewise.
15743 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15745         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15747 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15749         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15750         %ld with %jd and cast to intmax_t.
15751         (do_test_length_zero): Likewise.
15753 2015-07-10  Roland McGrath  <roland@hack.frob.com>
15755         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15757 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
15759         * sysdeps/tile/libm-test-ulps: Regenerated.
15761         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15762         Comment out the whole function, not just its body.
15764 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15766         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15767         locks.
15769         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15771 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15773         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15774         (sem_assume_only_signals_cause_futex_EINTR): Remove.
15776 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15778         * sysdeps/nptl/futex-internal.h: New file.
15779         * sysdeps/nacl/futex-internal.h: New file.
15780         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15781         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15782         error checking.
15783         (setxid_unmark_thread): Likewise.
15784         (__nptl_setxid): Likewise.
15785         (__wait_lookup_done): Likewise.
15786         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15787         * nptl/nptl-init.c (sighandler_setxid): Likewise.
15788         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15789         * nptl/pthread_once.c (clear_once_control): Likewise.
15790         (__pthread_once_slow): Likewise.
15791         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15792         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15793         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15794         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15795         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15796         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15797         Likewise.
15798         (__pthread_rwlock_rdlock): Likewise.
15799         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15800         Likewise.
15801         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15802         Likewise.
15803         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15804         Likewise.
15805         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15806         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15807         Likewise.
15808         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15809         __ASSUME_PRIVATE_FUTEX check.
15810         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15811         Check that shared futexes are supported.
15812         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15813         wrappers with error checking.
15814         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15815         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15816         * nptl/pthread_barrierattr_setpshared.c
15817         (pthread_barrierattr_setpshared): Check that shared futexes are
15818         supported.
15819         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15820         Likewise.
15821         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15822         Likewise.
15823         * nptl/sem_init.c (futex_private_if_supported): Remove.
15824         (__new_sem_init): Adapt and check that shared futexes are supported.
15825         * nptl/sem_open.c (sem_open): Likewise.
15826         * nptl/sem_post.c (futex_wake): Remove.
15827         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15828         (do_futex_wait): Use futex wrappers with error checking.
15829         * nptl/sem_wait.c: Include lowlevellock.h.
15830         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15831         Use futex_supports_pshared.
15832         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15833         Use futex wrappers with error checking.
15834         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15835         Likewise.
15836         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15837         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15838         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15839         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15840         (futex_wake): Likewise.
15841         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15842         (do_futex_wait): Use futex wrappers with error checking.
15843         (__new_sem_wait_slow): Update EINTR handling.
15844         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15846 2015-07-09  Martin Sebor  <msebor@redhat.com>
15848         [BZ #18435]
15849         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15850         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15851         * nptl/Makefile (test-xfail-tst-once5): Define.
15853 2015-07-09  Roland McGrath  <roland@hack.frob.com>
15855         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15856         * elf/dl-minimal.c: For readability, reorder some definitions and
15857         introduce more page breaks.  Include <stdio.h>.
15858         (__libc_fatal): New function.
15860         * include/unistd.h: Add rtld_hidden_proto for _exit.
15861         * posix/_exit.c: Add rtld_hidden_def.
15862         * sysdeps/mach/hurd/_exit.c: Likewise.
15863         * sysdeps/nacl/_exit.c: Likewise.
15864         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15865         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15867 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
15869         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15870         bndmov encoding with zero displacement.
15872 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15873             H.J. Lu  <hongjiu.lu@intel.com>
15875         [BZ #18134]
15876         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15877         * sysdeps/i386/configure: Regenerated.
15878         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15879         (_dl_runtime_profile): Save and restore Intel MPX return bound
15880         registers when calling _dl_call_pltexit.  Add
15881         PRESERVE_BND_REGS_PREFIX before return.
15882         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15883         (LRV_BND1_OFFSET): Likewise.
15884         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15885         lrv_bnd1.
15886         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15887         typo in bndmov encoding.
15888         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15889         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
15890         branch instructions to preserve bounds.
15892 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15895         [GLIBC_2.22]: Add fmemopen.
15897 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15899         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15900         returns an error, also try to use host port from __mach_host_self for
15901         the __vm_wire call.
15902         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15904 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15906         [BZ #18400]
15907         [BZ #18648]
15908         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15909         Fix pr_uid and pr_gid members.
15910         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15911         definition to elf_greg_t.
15913 2015-07-08  Roland McGrath  <roland@hack.frob.com>
15915         [BZ #18383]
15916         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15917         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15918         * sysdeps/arm/configure: Regenerated.
15919         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15920         (test-xfail-tst-tlsalign-static): Variable removed.
15922         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15923         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15924         rather than explicit 'ln -s'.
15926         * resolv/rpc/netdb.h: New file.
15927         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15929 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15931         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15932         length buffers.
15933         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15934         test-skeleton.c.
15936         [BZ #6544]
15937         [BZ #11216]
15938         [BZ #12836]
15939         [BZ #13151]
15940         [BZ #13152]
15941         [BZ #14292]
15942         * include/stdio.h (fmemopen): Remove hidden prototype.
15943         (__fmemopen): Add new hidden prototype.
15944         * libio/Makefile: Add oldfmemopen object.
15945         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15946         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15947         compliance.
15948         * libio/oldfmemopen.c: New file: old fmemopen implementation for
15949         symbol compatibility.
15950         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15951         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15952         fmemopen.
15953         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15954         on append and read mode.
15955         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15956         fmemopen.
15957         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15958         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15959         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15960         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15961         Likewise.
15962         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15963         [GLIBC_2.22]: Likewise.
15964         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15965         Likewise.
15966         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15967         Likewise.
15968         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15969         [GLIBC_2.22]: Likewise.
15970         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15971         [GLIBC_2.22]: Likewise.
15972         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15973         [GLIBC_2.22]: Likewise.
15974         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15975         [GLIBC_2.22]: Likewise.
15976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15977         [GLIBC_2.22]: Likewise.
15978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15979         [GLIBC_2.22]: Likewise.
15980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15981         [GLIBC_2.22]: Likewise.
15982         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15983         Likewise.
15984         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15985         Likewise.
15986         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15987         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15988         [GLIBC_2.22]: Likewise.
15989         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15990         [GLIBC_2.22]: Likewise.
15991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15992         [GLIBC_2.22]: Likewise.
15993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15994         [GLIBC_2.22]: Likewise.
15995         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15996         Likewise.
15997         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15998         Likewise.
15999         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
16000         Likewise.
16001         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
16002         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
16004 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16006         [BZ #18643]
16007         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
16008         IPV6_PATHMTU, and IPV6_DONTFRAG.
16010 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
16012         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
16013         and _IO_UNBUFFERED.
16014         * libio/oldfileops.c: Likewise.
16015         * libio/wfileops.c: Likewise.
16017 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16019         * nscd/selinux.c: Delete selinux/flask.h include.
16021 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16023         [BZ #18641]
16024         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
16025         (putpwent): Likewise.
16026         (getpwnam): Likewise.
16027         (getpwent_r): Likewise.
16028         (getpwuid_r): Likewise.
16029         (getpwnam_r): Likewise.
16030         (fgetpwent_r): Likewise.
16032 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16034         [BZ #18557]
16035         * inet/rcmd.c (__validuser2_sa): Check user first to
16036         short-circuit host check.
16038 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
16039             Mikhail Ilin  <m.ilin@samsung.com>
16041         [BZ #17833]
16042         * elf/Makefile (tests): Add tst-nodelete.
16043         (modules-names): Add tst-nodelete-uniquemod.
16044         (tst-nodelete-uniquemod.so-no-z-defs): New.
16045         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
16046         (tst-nodelete-zmod.so-no-z-defs): Likewise.
16047         ($(objpfx)tst-nodelete): Likewise.
16048         ($(objpfx)tst-nodelete.out): Likewise.
16049         (LDFLAGS-tst-nodelete): Likewise.
16050         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
16051         * elf/dl-close.c (_dl_close_worker): Add a parameter to
16052         implement forced object deletion.
16053         (_dl_close): Pass false to _dl_close_worker.
16054         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
16055         * elf/tst-nodelete.cc: New file.
16056         * elf/tst-nodeletelib.cc: Likewise.
16057         * elf/tst-znodeletelib.cc: Likewise.
16058         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
16060 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16062         [BZ #18508]
16063         * stdlib/Makefile ($(objpfx)tst-makecontext3):
16064         Depend on $(libdl).
16065         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
16066         is not called infinitely times.
16067         (backtrace_helper): New function.
16068         (trace_arg): New struct.
16069         (st1): Enlarge stack size.
16070         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16071         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
16072         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16073         Likewise.
16075 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16077         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16079 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16081         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
16082         Include sys/types.h instead of bits/types.h.
16083         Remove inclusion of bits/wordsize.h.
16085 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16087         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
16088         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
16089         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
16090         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
16091         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
16092         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
16094 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16096         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
16097         link-defines.sym.
16098         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
16099         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
16100         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
16101         and LR_SIZE.
16102         * sysdeps/i386/link-defines.sym: New file.
16104 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16106         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
16107         (modules-names): Add tst-auditmod3a tst-auditmod3b.
16108         ($(objpfx)tst-audit3): New rule.
16109         ($(objpfx)tst-audit3.out): Likewise.
16110         * sysdeps/i386/tst-audit3.c: New file.
16111         * sysdeps/i386/tst-audit3.h: Likewise.
16112         * sysdeps/i386/tst-auditmod3a.c: Likewise.
16113         * sysdeps/i386/tst-auditmod3b.c: Likewise.
16115 2015-07-07  Torvald Riegel  <triegel@redhat.com>
16117         [BZ #18633]
16118         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
16119         pointer in C code.
16120         (__strcat_c): Likewise.
16121         (__strcat_g): Likewise.
16123 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
16125         [BZ #18592]
16126         * misc/sbrk.c: Set errno to ENOMEM on overflow.
16128 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16130         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
16131         New function.  (__ieee754_sqrtf): New function.
16132         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
16133         New function.
16134         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
16135         New function.
16137 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16139         * sysdeps/ieee754/support.c: Remove unused file.
16141 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16143         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
16144         registers instead of d ones so the layout is kernel abi compatible.
16145         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
16146         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
16147         Likewise.
16149 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16151         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16153 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16155         [BZ #18619]
16156         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
16157         and return argument in case of subnormal argument.
16159 2015-07-01  Martin Sebor  <msebor@redhat.com>
16161         [BZ #18435]
16162         * nptl/Makefile: Add tst-once5.cc.
16163         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16164         Remove macro redefinitions.
16165         * nptl/tst-once5.cc: New test.
16167 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16169         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16171         * sysdeps/arm/libm-test-ulps: Regenerated.
16173         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16174         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16176 2015-06-30  Torvald Riegel  <triegel@redhat.com>
16178         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
16179         lll_lock_wait_private and lll_futex_wake probes.
16181         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16182         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
16183         Likewise.
16184         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
16185         atomic_spin_nop.
16186         * sysdeps/x86_64/bits/atomic.h: Likewise.
16187         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
16188         to atomic_spin_nop and move ...
16189         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16190         ... here and ...
16191         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
16192         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
16193         atomic_spin_nop instead of BUSY_WAIT_NOP.
16194         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
16195         Likewise.
16196         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
16197         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16198         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
16199         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
16200         instead of atomic_delay.
16202 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
16204         [BZ #18613]
16205         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
16206         X_ADJ not X when adjusting exponent.
16207         (__ieee754_gamma_r): Do intermediate computations in
16208         round-to-nearest then adjust overflowing and underflowing results
16209         as needed.
16210         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
16211         of X_ADJ not X when adjusting exponent.
16212         (__ieee754_gammaf_r): Do intermediate computations in
16213         round-to-nearest then adjust overflowing and underflowing results
16214         as needed.
16215         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
16216         log of X_ADJ not X when adjusting exponent.
16217         (__ieee754_gammal_r): Do intermediate computations in
16218         round-to-nearest then adjust overflowing and underflowing results
16219         as needed.  Use 1.0L not 1.0f as numerator of division.
16220         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
16221         log of X_ADJ not X when adjusting exponent.
16222         (__ieee754_gammal_r): Do intermediate computations in
16223         round-to-nearest then adjust overflowing and underflowing results
16224         as needed.  Use 1.0L not 1.0f as numerator of division.
16225         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
16226         of X_ADJ not X when adjusting exponent.
16227         (__ieee754_gammal_r): Do intermediate computations in
16228         round-to-nearest then adjust overflowing and underflowing results
16229         as needed.  Use 1.0L not 1.0f as numerator of division.
16230         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
16231         to auto-libm-test-in.
16232         (tgamma_test): Use ALL_RM_TEST.
16233         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
16234         tests of tgamma with spurious-overflow.
16235         * math/auto-libm-test-out: Regenerated.
16236         * math/gen-libm-have-vector-test.sh: Do not check for START.
16237         * sysdeps/i386/fpu/libm-test-ulps: Update.
16238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16240         [BZ #18612]
16241         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
16242         arguments, just return 0.5 times the argument, with underflow
16243         forced as needed.
16244         * math/auto-libm-test-in: Add more tests of j1.
16245         * math/auto-libm-test-out: Regenerated.
16247         [BZ #16559]
16248         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
16249         (__ieee754_j1): Force underflow exception for small results.
16250         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16251         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
16252         (__ieee754_j1f): Force underflow exception for small results.
16253         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16254         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16255         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16256         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
16257         (__ieee754_j1l): Force underflow exception for small results.
16258         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16259         * math/auto-libm-test-in: Add more tests of j1 and jn.
16260         * math/auto-libm-test-out: Regenerated.
16262         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
16263         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
16264         (PF_MPLS): Likewise.
16265         (AF_IB): Likewise.
16266         (AF_MPLS): Likewise.
16267         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
16268         value and macro.
16269         (MS_RMT_MASK): Include MS_LAZYTIME.
16271 2015-06-26  Mel Gorman  <mgorman@suse.de>
16273         [BZ #18502]
16274         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
16275         already minimal.
16277 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
16279         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
16280         (DT_MIPS_NUM): Update.
16281         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
16282         DT_MIPS_RLD_MAP_REL.
16284 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
16286         [BZ #16559]
16287         [BZ #18602]
16288         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
16289         round-to-nearest internally then recompute results that
16290         underflowed to zero in the original rounding mode.
16291         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16292         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16293         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16294         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16295         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
16296         * sysdeps/i386/fpu/libm-test-ulps: Update.
16297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16299 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16301         * NEWS: Fixed description of link with vector math library.
16303 2015-06-25  Andreas Schwab  <schwab@suse.de>
16305         [BZ #18549]
16306         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
16307         * libio/test-fmemopen.c (do_test): Add test for it.
16309 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
16311         [BZ #17841]
16312         * Makeconfig (no-pie-ldflag): New.
16313         (+link): Set to $(+link-pie) if default to PIE.
16314         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
16315         * config.make.in (build-pie-default): New.
16316         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
16317         is default.  AC_SUBST.
16318         * configure: Regenerated.
16319         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
16321 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16323         * nptl/descr.h (struct pthread): Change type of field setxid_futex
16324         to 'unsigned int'.
16326         * resolv/gai_misc.h (struct waitlist): Change type of field
16327         counterp to 'volatile unsigned int *'.
16328         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
16329         FUTEXADDR and OLDVAL.
16330         * resolv/getaddrinfo_a.c (getaddrinfo_a):
16331         Give local variable TOTAL type 'volatile unsigned int'.
16332         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16333         * resolv/gai_suspend.c (gai_suspend):
16334         Give local variable CNTR type 'unsigned int'.
16336         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
16337         counterp to 'volatile unsigned int *'.
16338         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
16339         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
16340         (aio_suspend): Give local variable CNTR type 'unsigned int'.
16341         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
16342         Give local variable TOTAL type 'volatile unsigned int'.
16343         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16345 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16347         [BZ #18383]
16348         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
16349         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
16350         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
16351         comment for i386/x86-64.
16352         (test-xfail-tst-tlsalign-extern-static): Removed.
16354 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16356         * math/test-double.h: New file.
16357         * math/test-float.h: Likewise.
16358         * math/test-ldouble.h: Likewise.
16359         * math/test-math-inline.h: Likewise.
16360         * math/test-math-no-inline.h: Likewise.
16361         * math/test-math-scalar.h: Likewise.
16362         * math/test-math-vector.h: Likewise.
16363         * math/test-vec-loop.h: Remove file.  Contents moved into
16364         test-math-vector.h.
16365         * math/libm-test.inc (MATHCONST): Do not document macro.
16366         * math/test-double.c: Include test-double.h, test-math-no-inline.h
16367         and test-math-scalar.h.
16368         (FUNC): Remove macro.
16369         (FUNC_TEST): Likewise.
16370         (FLOAT): Likewise.
16371         (MATHCONST): Likewise.
16372         (PRINTF_EXPR): Likewise.
16373         (PRINTF_XEXPR): Likewise.
16374         (PRINTF_NEXPR): Likewise.
16375         (TEST_DOUBLE): Likewise.
16376         (TEST_MATHVEC): Likewise.
16377         (__NO_MATH_INLINES): Likewise.
16378         * math/test-float.c: Include test-float.h, test-math-no-inline.h
16379         and test-math-scalar.h.
16380         (FUNC): Remove macro.
16381         (FUNC_TEST): Likewise.
16382         (FLOAT): Likewise.
16383         (MATHCONST): Likewise.
16384         (PRINTF_EXPR): Likewise.
16385         (PRINTF_XEXPR): Likewise.
16386         (PRINTF_NEXPR): Likewise.
16387         (TEST_FLOAT): Likewise.
16388         (TEST_MATHVEC): Likewise.
16389         (__NO_MATH_INLINES): Likewise.
16390         * math/test-idouble.c: Include test-double.h, test-math-inline.h
16391         and test-math-scalar.h.
16392         (FUNC): Remove macro.
16393         (FUNC_TEST): Likewise.
16394         (FLOAT): Likewise.
16395         (MATHCONST): Likewise.
16396         (PRINTF_EXPR): Likewise.
16397         (PRINTF_XEXPR): Likewise.
16398         (PRINTF_NEXPR): Likewise.
16399         (TEST_DOUBLE): Likewise.
16400         (TEST_MATHVEC): Likewise.
16401         (TEST_INLINE): Likewise.
16402         (__NO_MATH_INLINES): Likewise.
16403         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
16404         test-math-scalar.h.
16405         (FUNC): Remove macro.
16406         (FUNC_TEST): Likewise.
16407         (FLOAT): Likewise.
16408         (MATHCONST): Likewise.
16409         (PRINTF_EXPR): Likewise.
16410         (PRINTF_XEXPR): Likewise.
16411         (PRINTF_NEXPR): Likewise.
16412         (TEST_FLOAT): Likewise.
16413         (TEST_MATHVEC): Likewise.
16414         (TEST_INLINE): Likewise.
16415         (__NO_MATH_INLINES): Likewise.
16416         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
16417         and test-math-scalar.h.
16418         (FUNC): Remove macro.
16419         (FUNC_TEST): Likewise.
16420         (FLOAT): Likewise.
16421         (MATHCONST): Likewise.
16422         (PRINTF_EXPR): Likewise.
16423         (PRINTF_XEXPR): Likewise.
16424         (PRINTF_NEXPR): Likewise.
16425         (TEST_LDOUBLE): Likewise.
16426         (TEST_MATHVEC): Likewise.
16427         (TEST_INLINE): Likewise.
16428         (__NO_MATH_INLINES): Likewise.
16429         * math/test-ldouble.c: Include test-ldouble.h,
16430         test-math-no-inline.h and test-math-scalar.h.
16431         (FUNC): Remove macro.
16432         (FUNC_TEST): Likewise.
16433         (FLOAT): Likewise.
16434         (MATHCONST): Likewise.
16435         (PRINTF_EXPR): Likewise.
16436         (PRINTF_XEXPR): Likewise.
16437         (PRINTF_NEXPR): Likewise.
16438         (TEST_LDOUBLE): Likewise.
16439         (TEST_MATHVEC): Likewise.
16440         (__NO_MATH_INLINES): Likewise.
16441         * math/test-double-vlen2.h: Include test-double.h,
16442         test-math-no-inline.h and test-math-vector.h.
16443         (FLOAT): Remove macro.
16444         (FUNC): Likewise.
16445         (MATHCONST): Likewise.
16446         (PRINTF_EXPR): Likewise.
16447         (PRINTF_XEXPR): Likewise.
16448         (PRINTF_NEXPR): Likewise.
16449         (TEST_DOUBLE): Likewise.
16450         (TEST_MATHVEC): Likewise.
16451         (__NO_MATH_INLINES): Likewise.
16452         (CNCT): Likewise.
16453         (CONCAT): Likewise.
16454         (WRAPPER_NAME): Likewise.
16455         (WRAPPER_DECL): Likewise.
16456         (WRAPPER_DECL_ff): Likewise.
16457         (WRAPPER_DECL_fFF): Likewise.
16458         (VECTOR_WRAPPER): Likewise.
16459         (VECTOR_WRAPPER_ff): Likewise.
16460         (VECTOR_WRAPPER_fFF): Likewise.
16461         (VEC_LEN): New macro.
16462         * math/test-double-vlen4.h: Include test-double.h,
16463         test-math-no-inline.h and test-math-vector.h.
16464         (FLOAT): Remove macro.
16465         (FUNC): Likewise.
16466         (MATHCONST): Likewise.
16467         (PRINTF_EXPR): Likewise.
16468         (PRINTF_XEXPR): Likewise.
16469         (PRINTF_NEXPR): Likewise.
16470         (TEST_DOUBLE): Likewise.
16471         (TEST_MATHVEC): Likewise.
16472         (__NO_MATH_INLINES): Likewise.
16473         (CNCT): Likewise.
16474         (CONCAT): Likewise.
16475         (WRAPPER_NAME): Likewise.
16476         (WRAPPER_DECL): Likewise.
16477         (WRAPPER_DECL_ff): Likewise.
16478         (WRAPPER_DECL_fFF): Likewise.
16479         (VECTOR_WRAPPER): Likewise.
16480         (VECTOR_WRAPPER_ff): Likewise.
16481         (VECTOR_WRAPPER_fFF): Likewise.
16482         (VEC_LEN): New macro.
16483         * math/test-double-vlen8.h: Include test-double.h,
16484         test-math-no-inline.h and test-math-vector.h.
16485         (FLOAT): Remove macro.
16486         (FUNC): Likewise.
16487         (MATHCONST): Likewise.
16488         (PRINTF_EXPR): Likewise.
16489         (PRINTF_XEXPR): Likewise.
16490         (PRINTF_NEXPR): Likewise.
16491         (TEST_DOUBLE): Likewise.
16492         (TEST_MATHVEC): Likewise.
16493         (__NO_MATH_INLINES): Likewise.
16494         (CNCT): Likewise.
16495         (CONCAT): Likewise.
16496         (WRAPPER_NAME): Likewise.
16497         (WRAPPER_DECL): Likewise.
16498         (WRAPPER_DECL_ff): Likewise.
16499         (WRAPPER_DECL_fFF): Likewise.
16500         (VECTOR_WRAPPER): Likewise.
16501         (VECTOR_WRAPPER_ff): Likewise.
16502         (VECTOR_WRAPPER_fFF): Likewise.
16503         (VEC_LEN): New macro.
16504         * math/test-float-vlen4.h: Include test-float.h,
16505         test-math-no-inline.h and test-math-vector.h.
16506         (FLOAT): Remove macro.
16507         (FUNC): Likewise.
16508         (MATHCONST): Likewise.
16509         (PRINTF_EXPR): Likewise.
16510         (PRINTF_XEXPR): Likewise.
16511         (PRINTF_NEXPR): Likewise.
16512         (TEST_FLOAT): Likewise.
16513         (TEST_MATHVEC): Likewise.
16514         (__NO_MATH_INLINES): Likewise.
16515         (CNCT): Likewise.
16516         (CONCAT): Likewise.
16517         (WRAPPER_NAME): Likewise.
16518         (WRAPPER_DECL): Likewise.
16519         (WRAPPER_DECL_ff): Likewise.
16520         (WRAPPER_DECL_fFF): Likewise.
16521         (VECTOR_WRAPPER): Likewise.
16522         (VECTOR_WRAPPER_ff): Likewise.
16523         (VECTOR_WRAPPER_fFF): Likewise.
16524         (VEC_LEN): New macro.
16525         * math/test-float-vlen8.h: Include test-float.h,
16526         test-math-no-inline.h and test-math-vector.h.
16527         (FLOAT): Remove macro.
16528         (FUNC): Likewise.
16529         (MATHCONST): Likewise.
16530         (PRINTF_EXPR): Likewise.
16531         (PRINTF_XEXPR): Likewise.
16532         (PRINTF_NEXPR): Likewise.
16533         (TEST_FLOAT): Likewise.
16534         (TEST_MATHVEC): Likewise.
16535         (__NO_MATH_INLINES): Likewise.
16536         (CNCT): Likewise.
16537         (CONCAT): Likewise.
16538         (WRAPPER_NAME): Likewise.
16539         (WRAPPER_DECL): Likewise.
16540         (WRAPPER_DECL_ff): Likewise.
16541         (WRAPPER_DECL_fFF): Likewise.
16542         (VECTOR_WRAPPER): Likewise.
16543         (VECTOR_WRAPPER_ff): Likewise.
16544         (VECTOR_WRAPPER_fFF): Likewise.
16545         (VEC_LEN): New macro.
16546         * math/test-float-vlen16.h: Include test-float.h,
16547         test-math-no-inline.h and test-math-vector.h.
16548         (FLOAT): Remove macro.
16549         (FUNC): Likewise.
16550         (MATHCONST): Likewise.
16551         (PRINTF_EXPR): Likewise.
16552         (PRINTF_XEXPR): Likewise.
16553         (PRINTF_NEXPR): Likewise.
16554         (TEST_FLOAT): Likewise.
16555         (TEST_MATHVEC): Likewise.
16556         (__NO_MATH_INLINES): Likewise.
16557         (CNCT): Likewise.
16558         (CONCAT): Likewise.
16559         (WRAPPER_NAME): Likewise.
16560         (WRAPPER_DECL): Likewise.
16561         (WRAPPER_DECL_ff): Likewise.
16562         (WRAPPER_DECL_fFF): Likewise.
16563         (VECTOR_WRAPPER): Likewise.
16564         (VECTOR_WRAPPER_ff): Likewise.
16565         (VECTOR_WRAPPER_fFF): Likewise.
16566         (VEC_LEN): New macro.
16567         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
16568         test-vec-loop.h.
16569         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16570         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16571         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16572         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16573         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16574         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16575         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16577 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16579         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
16580         (__getlogin_r): ... this.
16582 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16584         [BZ #18594]
16585         * math/s_ccosh.c (__ccosh): Compare with least normal value
16586         instead of comparing class with FP_SUBNORMAL.
16587         * math/s_ccoshf.c (__ccoshf): Likewise.
16588         * math/s_ccoshl.c (__ccoshl): Likewise.
16589         * math/s_cexp.c (__cexp): Likewise.
16590         * math/s_cexpf.c (__cexpf): Likewise.
16591         * math/s_cexpl.c (__cexpl): Likewise.
16592         * math/s_csin.c (__csin): Likewise.
16593         * math/s_csinf.c (__csinf): Likewise.
16594         * math/s_csinh.c (__csinh): Likewise.
16595         * math/s_csinhf.c (__csinhf): Likewise.
16596         * math/s_csinhl.c (__csinhl): Likewise.
16597         * math/s_csinl.c (__csinl): Likewise.
16598         * math/s_ctan.c (__ctan): Likewise.
16599         * math/s_ctanf.c (__ctanf): Likewise.
16600         * math/s_ctanh.c (__ctanh): Likewise.
16601         * math/s_ctanhf.c (__ctanhf): Likewise.
16602         * math/s_ctanhl.c (__ctanhl): Likewise.
16603         * math/s_ctanl.c (__ctanl): Likewise.
16604         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16605         csin, csinh, ctan and ctanh.
16606         * math/auto-libm-test-out: Regenerated.
16607         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16608         * sysdeps/i386/fpu/libm-test-ulps: Update.
16609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16611 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16613         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16614         return value is wrong, print the expected value too.
16616 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16618         [BZ #18585]
16619         * elf/readlib.c (is_gdb_python_file): New.
16620         (process_file): Don't issue errors on filenames with -gdb.py
16621         suffix.
16623 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16625         * math/auto-libm-test-in: Add more tests of csin and csinh.
16626         * math/auto-libm-test-out: Regenerated.
16627         * math/libm-test.inc (csin_test_data): Remove tests moved to
16628         auto-libm-test-in.
16629         (csinh_test_data): Likewise.
16631         [BZ #18593]
16632         * math/s_csin.c (__csin): Negate before rather than after possibly
16633         overflowing multiplication.
16634         * math/s_csinf.c (__csinf): Likewise.
16635         * math/s_csinh.c (__csinh): Likewise.
16636         * math/s_csinhf.c (__csinhf): Likewise.
16637         * math/s_csinhl.c (__csinhl): Likewise.
16638         * math/s_csinl.c (__csinl): Likewise.
16639         * math/auto-libm-test-in: Add some tests of csin and csinh.
16640         * math/auto-libm-test-out: Regenerated.
16641         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16642         (csinh_test_data): Likewise.
16643         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16645         [BZ #18586]
16646         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16647         underflow exception for small results.
16649 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16651         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16652         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16653         variable and included header.
16654         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16655         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16656         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16657         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16658         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16659         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16660         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16661         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16662         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16663         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16664         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16665         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16666         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16667         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16668         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16669         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16671 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16673         [BZ #16526]
16674         [BZ #16538]
16675         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16676         (__sin): Force underflow exception for arguments with small
16677         absolute value.
16678         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16679         (__kernel_sinf): Force underflow exception for arguments with
16680         small absolute value.
16681         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16682         (__kernel_sincosl): Force underflow exception for arguments with
16683         small absolute value.
16684         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16685         (__kernel_sinl): Force underflow exception for arguments with
16686         small absolute value.
16687         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16688         (__kernel_sincosl): Force underflow exception for arguments with
16689         small absolute value.
16690         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16691         (__kernel_sinl): Force underflow exception for arguments with
16692         small absolute value.
16693         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16694         (__kernel_sinl): Force underflow exception for arguments with
16695         small absolute value.
16696         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16697         (__kernel_sinf): Force underflow exception for arguments with
16698         small absolute value.
16699         * math/auto-libm-test-in: Add more tests of sin and sincos.
16700         * math/auto-libm-test-out: Regenerated.
16702         [BZ #18245]
16703         [BZ #18583]
16704         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16705         (__kernel_standard_l): Use feholdexcept and fesetenv around
16706         conversion to double instead of special-casing overflow and
16707         underflow.
16708         * math/libm-test.inc (fmod_test_data): Add more tests.
16709         (remainder_test_data): Likewise.
16710         (sqrt_test_data): Likewise.
16712 2015-06-23  Torvald Riegel  <triegel@redhat.com>
16714         [BZ #17403]
16715         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16716         atomic_read_barrier, atomic_write_barrier): Define.
16717         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16718         atomic_read_barrier, atomic_write_barrier): Define.
16720 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16722         * math/Makefile [$(PERL) != no]
16723         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16724         dependency on libm-test.stmp below the inclusion of Rules.
16726 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
16728         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16729         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16730         and included header.
16731         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16732         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16733         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16734         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16735         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16736         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16737         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16738         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16739         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16740         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16741         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16742         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16743         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16744         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16745         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16746         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16747         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16748         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16749         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16751 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16753         [BZ #18371]
16754         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16755         intermediate but not final result might underflow.
16756         * math/s_csqrtf.c (__csqrtf): Likewise.
16757         * math/s_csqrtl.c (__csqrtl): Likewise.
16758         * math/auto-libm-test-in: Add more tests of csqrt.
16759         * math/auto-libm-test-out: Regenerated.
16760         * sysdeps/i386/fpu/libm-test-ulps: Update.
16762         [BZ #18219]
16763         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16764         threshold on absolute value of exponent for which scaling is used.
16765         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16766         * math/auto-libm-test-in: Add more tests of exp2.
16767         * math/auto-libm-test-out: Regenerated.
16769 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
16771         [BZ #17977]
16772         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16773         when initializing interface list, based on the bug analysis
16774         and the patch proposed by Eric Newton.
16775         * resolv/tst-res_hconf_reorder.c: New test.
16776         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16777         tst-res_hconf_reorder.
16778         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16779         and $(shared-thread-library).
16780         (tst-res_hconf_reorder-ENV): New variable.
16782         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16783         in comment.
16785 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
16787         [BZ #16353]
16788         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16789         (__expm1): Force underflow exception for arguments with small
16790         absolute value.
16791         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16792         (__expm1f): Force underflow exception for arguments with small
16793         absolute value.
16794         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16795         (__expm1): Force underflow exception for arguments with small
16796         absolute value.
16797         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16798         (__expm1f): Force underflow exception for arguments with small
16799         absolute value.
16800         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16801         Check for small arguments before calling __expm1.
16802         * math/auto-libm-test-in: Do not mark underflow exceptions as
16803         possibly missing for bug 16353.
16804         * math/auto-libm-test-out: Regenerated.
16806 2015-06-22  Andreas Schwab  <schwab@suse.de>
16808         [BZ #18513]
16809         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16810         PTR queries.
16812 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
16814         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16816         * string/strcoll_l.c: Remove unused struct element idxnow.
16818 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
16820         [BZ #18569]
16821         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16822         underflow and return argument in case of subnormal argument.
16823         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16824         Likewise.
16825         * math/auto-libm-test-in: Add more tests of expm1.
16826         * math/auto-libm-test-out: Regenerated.
16828         [BZ #16361]
16829         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16830         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16831         tiny results.
16832         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16833         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16834         tiny results.
16835         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
16836         mark underflow exceptions as possibly missing for bug 16361.
16837         * math/auto-libm-test-out: Regenerated.
16839 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
16841         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16842         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16843         Remove variable.
16844         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16845         (test-xfail-XOPEN2K8/utmpx.h/conform).
16847         * conform/conformtest.pl ($xerrors): New variable.
16848         (note_error): New function.
16849         (compiletest): New argument $xfail.  Use not_error.
16850         (runtest): Likewise.
16851         (top level): Handle xfail- lines.  Update calls to compiletest and
16852         runtest.  Handle xfail- and optional- in headers listed with
16853         allow-header.
16854         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16855         (O_EXEC): Likewise.
16856         (O_SEARCH): Likewise.
16857         * conform/data/stropts.h-data (ioctl): Likewise.
16858         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16859         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16860         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16861         (msghdr.msg_controllen): Likewise.
16862         (cmsghdr.cmsg_len): Likewise.
16863         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16864         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16865         variable.
16866         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16867         (test-xfail-XPG4/stropts.h/conform): Likewise.
16868         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16869         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16870         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16871         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16872         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16873         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16874         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16875         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16876         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16877         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16878         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16879         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16880         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16881         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16882         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16883         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16884         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16885         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16886         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16888 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16890         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16891         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16892         definitions for proper unfolding of __MATHDECL_VEC.
16894 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16896         * benchtests/bench-strcoll.c:
16897         Include string.h.
16898         (main): Remove unused variable res.
16900 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16902         * timezone/Makefile (%/UTC %/Universal):
16903         Generate test-result files for UTC and Universal.
16905 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16907         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16909 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
16911         [BZ #16350]
16912         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16913         for arguments with small absolute value.
16914         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16915         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16916         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16917         (__asinh): Force underflow exception for arguments with small
16918         absolute value.
16919         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16920         (__asinhf): Force underflow exception for arguments with small
16921         absolute value.
16922         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16923         (__asinhl): Force underflow exception for arguments with small
16924         absolute value.
16925         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16926         (__asinhl): Force underflow exception for arguments with small
16927         absolute value.
16928         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16929         (__asinhl): Force underflow exception for arguments with small
16930         absolute value.
16931         * math/auto-libm-test-in: Do not mark underflow exceptions as
16932         possibly missing for bug 16350.
16933         * math/auto-libm-test-out: Regenerated.
16935         * include/bits/ipc.h: Remove file.
16936         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16937         variable.
16938         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16939         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16940         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16941         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16942         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16943         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16944         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16945         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16946         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16948         * math/auto-libm-test-in: Remove spurious underflow allowance for
16949         tests of cexp.
16950         * math/auto-libm-test-out: Regenerated.
16952         [BZ #18558]
16953         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16954         unconditional definition.
16955         (MCAST_BLOCK_SOURCE): Likewise.
16956         (MCAST_UNBLOCK_SOURCE): Likewise.
16957         (MCAST_LEAVE_GROUP): Likewise.
16958         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16959         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16960         (MCAST_MSFILTER): Likewise.
16961         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16962         Remove variable.
16963         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16964         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16965         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16966         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16967         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16969 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
16971         * NEWS: Mention addition of x86_64 vector sincosf.
16972         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16973         * math/test-float-vlen4.h: Likewise.
16974         * math/test-float-vlen8.h: Likewise.
16975         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16976         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16977         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16978         * sysdeps/x86_64/fpu/Versions: New versions added.
16979         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16980         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16981         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16982         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16983         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16984         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16985         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16986         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16987         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16988         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16989         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16990         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16991         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16992         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16993         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16994         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16995         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16996         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16997         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16998         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16999         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17000         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17001         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17002         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17004         * NEWS: Mention addition of x86_64 vector sincos.
17005         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
17006         * math/math.h (__MATHDECL_VEC): New macro.
17007         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
17008         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
17009         declaration under condition.
17010         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
17011         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
17012         TEST_VEC_LOOP change.
17013         * math/test-double-vlen4.h: Likewise.
17014         * math/test-double-vlen8.h: Likewise.
17015         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
17016         * math/test-float-vlen4.h: Likewise.
17017         * math/test-float-vlen8.h: Likewise.
17018         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17019         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
17020         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17021         * sysdeps/x86_64/fpu/Versions: New versions added.
17022         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17023         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17024         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17025         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
17026         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
17027         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
17028         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
17029         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
17030         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
17031         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
17032         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
17033         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
17034         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
17035         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
17036         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
17037         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
17038         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
17039         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17040         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17041         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17042         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17043         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17044         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17045         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17047         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17048         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17049         redirections for powf.
17050         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17051         * sysdeps/x86_64/fpu/Versions: New versions added.
17052         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17053         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17054         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17055         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
17056         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
17057         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
17058         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
17059         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
17060         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
17061         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
17062         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
17063         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
17064         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
17065         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
17066         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
17067         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
17068         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
17069         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17070         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17071         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17072         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17073         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17074         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17075         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17076         * math/test-float-vlen16.h: Fixed 2 argument macro.
17077         * math/test-float-vlen4.h: Likewise.
17078         * math/test-float-vlen8.h: Likewise.
17079         * NEWS: Mention addition of x86_64 vector powf.
17081 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
17083         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17084         and redefine.
17085         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17086         and redefine.
17087         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
17088         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17089         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17091         [BZ #18553]
17092         * resource/getpriority.c (getpriority): Rename to __getpriority
17093         and define as weak alias of __getpriority.
17094         * resource/setpriority.c (setpriority): Rename to __setpriority
17095         and define as weak alias of __setpriority.
17096         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
17097         __getpriority and define as weak alias of __getpriority.
17098         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
17099         __setpriority and define as weak alias of __setpriority.
17100         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
17101         strong name.
17102         (setpriority): Use __setpriority as strong name.
17103         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
17104         __getpriority and define as weak alias of __getpriority.
17105         * include/sys/resource.h (__getpriority): Declare.  Use
17106         libc_hidden_proto.
17107         (__setpriority): Likewise.
17108         (getpriority): Don't use libc_hidden_proto.
17109         (setpriority): Likewise.
17110         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
17111         getpriority.  Call __setpriority instead of setpriority.
17112         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
17113         Remove variable.
17115         [BZ #18547]
17116         * misc/getttyent.c (getttynam): Rename to __getttynam and define
17117         as weak alias of __getttynam.  Use prototype function definition.
17118         Call __setttyent, __getttyent and __endttyent instead of
17119         setttyent, getttyent and endttyent.
17120         (getttyent): Rename to __getttyent and define as weak alias of
17121         __getttyent.  Call __setttyent instead of setttyent.  Call
17122         __fgets_unlocked instead of fgets_unlocked.
17123         (setttyent): Rename to __setttyent and define as weak alias of
17124         __setttyent.
17125         (endttyent): Rename to __endttyent and define as weak alias of
17126         __endttyent.
17127         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
17128         (__setttyent): Likewise.
17129         (__endttyent): Likewise.
17130         (getttyent): Don't use libc_hidden_proto.
17131         (setttyent): Likewise.
17132         (endttyent): Likewise.
17133         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
17134         __endttyent instead of setttyent, getttyent and endttyent.
17135         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
17136         Remove variable.
17138         [BZ #18546]
17139         * socket/recv.c (__recv): Use libc_hidden_def.
17140         * socket/socket.c (__socket): Likewise.
17141         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17142         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17143         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
17144         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
17145         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
17146         libc_hidden_def.
17147         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
17148         libc_hidden_weak.
17149         * include/sys/socket.h (__socket): Do not use attribute_hidden.
17150         Use libc_hidden_proto.
17151         (__recv): Likewise.
17152         * socket/Versions (libc): Export __recv and __socket at version
17153         GLIBC_PRIVATE.
17154         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
17155         instead of recv.
17156         (init_mq_netlink): Call __socket instead of socket.
17157         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
17158         Remove variable.
17160         [BZ #18545]
17161         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
17162         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
17163         hidden_weak.
17164         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
17165         define as alias of __mq_timedsend.  Use hidden_weak.
17166         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
17167         __mq_timedsend as strong name.
17168         (mq_timedreceive): Use __mq_timedreceive as strong name.
17169         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
17170         (__mq_timedreceive): Likewise.
17171         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
17172         __mq_timedreceive instead of mq_timedreceive.
17173         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
17174         instead of mq_timedsend.
17175         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
17176         Remove variable.
17178         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
17179         hidden_def and hidden_weak instead of libc_hidden_def and
17180         libc_hidden_weak.
17181         (top level): Refer to hidden_def in comment.
17182         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
17183         macro.  Use it instead of libc_hidden_def.
17184         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
17185         specify __GI_* name explicitly.
17186         (mq_timedreceive): Likewise.
17187         (mq_setattr): Likewise.
17189         [BZ #18544]
17190         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
17191         __pthread_barrier_init and define as weak alias of
17192         __pthread_barrier_init.
17193         * sysdeps/sparc/nptl/pthread_barrier_init.c
17194         (pthread_barrier_init): Likewise.
17195         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
17196         __pthread_barrier_wait and define as weak alias of
17197         __pthread_barrier_wait.
17198         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17199         (pthread_barrier_wait): Likewise.
17200         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17201         (pthread_barrier_wait): Likewise.
17202         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
17203         (pthread_barrier_wait): Likewise.
17204         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
17205         (pthread_barrier_wait): Likewise.
17206         * nptl/Versions (libpthread): Export __pthread_barrier_init and
17207         __pthread_barrier_wait at version GLIBC_PRIVATE.
17208         * include/pthread.h (__pthread_barrier_init): Declare.
17209         (__pthread_barrier_wait): Likewise.
17210         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
17211         Call __pthread_barrier_wait instead of pthread_barrier_wait.
17212         (helper_thread): Likewise.
17213         (init_mq_netlink): Call __pthread_barrier_init instead of
17214         pthread_barrier_init.
17216         [BZ #18542]
17217         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
17218         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
17219         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
17220         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
17221         vswscanf.
17222         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
17223         Remove variable.
17225         [BZ #18540]
17226         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
17227         strong alias of _IO_fflush.  Use libc_hidden_def.
17228         * libio/iofflush_u.c (fflush_unlocked): Rename to
17229         __fflush_unlocked and define as weak alias of __fflush_unlocked.
17230         Use libc_hidden_weak.
17231         * include/stdio.h (__fflush_unlocked): Declare.  Use
17232         libc_hidden_proto.
17233         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
17234         fflush_unlocked.
17235         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
17236         Remove variable.
17238         [BZ #18539]
17239         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
17240         define as weak alias of __addseverity.
17241         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
17242         Remove variable.
17243         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17244         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17245         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17247         [BZ #18536]
17248         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
17249         (__tfind): Likewise.
17250         (__tdelete): Likewise.
17251         (__twalk): Likewise.
17252         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
17253         __twalk to GLIBC_PRIVATE.
17254         * include/search.h (__tsearch): Use libc_hidden_proto.
17255         (__tfind): Likewise.
17256         (__tdelete): Likewise.
17257         (__twalk): Likewise.
17258         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
17259         Call __tdelete instead of tdelete.
17260         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
17261         tfind.  Call __tsearch instead of tsearch.
17262         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
17263         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
17264         Remove variable.
17265         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17267         [BZ #18534]
17268         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
17269         (dprintf): Define as a weak alias of __dprintf, not a strong
17270         alias.
17271         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
17272         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
17273         dprintf.
17274         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
17275         Remove variable.
17276         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17277         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17279         [BZ #18533]
17280         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
17281         not a strong alias.
17282         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
17283         Remove variable.
17285         [BZ #18532]
17286         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
17287         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
17288         (in6addr_loopback): Rename to __in6addr_loopback and define as
17289         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
17290         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
17291         libc_hidden_proto.
17292         (__in6addr_any): Likewise.
17293         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
17294         in6addr_any.
17295         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
17296         variable.
17297         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17299 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17301         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
17302         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
17303         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17304         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17305         redirections for pow.
17306         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17307         * sysdeps/x86_64/fpu/Versions: New versions added.
17308         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17309         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17310         build of SSE, AVX2 and AVX512 IFUNC versions.
17311         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
17312         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
17313         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
17314         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
17315         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
17316         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
17317         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
17318         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
17319         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
17320         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
17321         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
17322         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
17323         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
17324         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
17325         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17326         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17327         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17328         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17329         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17330         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17331         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17332         * NEWS: Mention addition of x86_64 vector pow.
17334         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17335         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17336         redirections for expf.
17337         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17338         * sysdeps/x86_64/fpu/Versions: New versions added.
17339         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17340         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17341         build of SSE, AVX2 and AVX512 IFUNC versions.
17342         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
17343         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
17344         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
17345         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
17346         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
17347         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
17348         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
17349         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
17350         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
17351         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
17352         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
17353         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
17354         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
17355         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17356         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17357         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17358         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17359         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17360         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17361         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17362         * NEWS: Mention addition of x86_64 vector expf.
17364         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
17365         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
17366         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17367         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17368         redirections for exp.
17369         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17370         * sysdeps/x86_64/fpu/Versions: New versions added.
17371         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17372         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17373         build of SSE, AVX2 and AVX512 IFUNC versions.
17374         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
17375         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
17376         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
17377         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
17378         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
17379         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
17380         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
17381         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
17382         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
17383         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
17384         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
17385         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
17386         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
17387         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17388         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17389         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17390         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17391         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17392         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17393         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17394         * NEWS: Mention addition of x86_64 vector exp.
17396         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17397         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17398         redirections for logf.
17399         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17400         * sysdeps/x86_64/fpu/Versions: New versions added.
17401         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17402         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17403         build of SSE, AVX2 and AVX512 IFUNC versions.
17404         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
17405         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
17406         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
17407         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
17408         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
17409         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
17410         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
17411         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
17412         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
17413         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
17414         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
17415         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
17416         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
17417         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17418         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17419         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17420         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17421         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17422         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17423         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17424         * NEWS: Mention addition of x86_64 vector logf.
17426         * bits/libm-simd-decl-stubs.h: Added stubs for log.
17427         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
17428         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17429         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17430         redirections for log.
17431         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17432         * sysdeps/x86_64/fpu/Versions: New versions added.
17433         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17434         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17435         build of SSE, AVX2 and AVX512 IFUNC versions.
17436         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
17437         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
17438         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
17439         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
17440         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
17441         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
17442         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
17443         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
17444         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
17445         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
17446         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
17447         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
17448         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
17449         test.
17450         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17451         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17452         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17453         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17454         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17455         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17456         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17457         * NEWS: Mention addition of x86_64 vector log.
17459 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17461         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
17462         cfi_adjust_cfa_offset argument.
17463         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
17464         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17466         [BZ #18034]
17467         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
17468         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
17469         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
17470         ordering using ldar.
17471         (_dl_tlsdesc_dynamic): Likewise.
17472         (_dl_tlsdesc_return_lazy): Likewise.
17473         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
17474         relaxed atomics instead of volatile and synchronize with release store.
17475         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
17476         volatile.
17477         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17479 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
17481         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17482         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
17483         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17484         * sysdeps/x86_64/fpu/Versions: New versions added.
17485         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17486         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17487         build of SSE, AVX2 and AVX512 IFUNC versions.
17488         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
17489         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
17490         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
17491         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
17492         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
17493         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
17494         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
17495         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
17496         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
17497         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
17498         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
17499         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
17500         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
17501         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17502         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17503         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17504         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17505         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17506         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17507         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17508         * NEWS: Mention addition of x86_64 vector sinf.
17510 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
17512         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
17513         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
17514         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
17515         Remove variable.
17516         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17517         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17519 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17521         [BZ #18530]
17522         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
17523         strong alias of _IO_fputs.  Use libc_hidden_def.
17524         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
17525         and define as weak alias of __fputs_unlocked.  Use
17526         libc_hidden_weak.
17527         * include/stdio.h (__fputs_unlocked): Declare.  Use
17528         libc_hidden_proto.
17529         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
17530         fputs_unlocked.
17532         [BZ #18529]
17533         * resolv/netdb.h [__USE_POSIX]: Change condition to
17534         [__USE_XOPEN2K].
17535         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
17536         not expect.
17537         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
17538         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
17539         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
17540         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
17541         [XPG4 || UNIX98] (AI_ALL): Likewise.
17542         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
17543         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
17544         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
17545         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
17546         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
17547         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
17548         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
17549         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
17550         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
17551         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
17552         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
17553         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
17554         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
17555         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
17556         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
17557         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17558         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17559         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
17560         [XPG4 || UNIX98] (gai_strerror): Likewise.
17561         [XPG4 || UNIX98] (getaddrinfo): Likewise.
17562         [XPG4 || UNIX98] (getnameinfo): Likewise.
17564         [BZ #18528]
17565         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
17566         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
17567         __USE_XOPEN2K8].
17568         (getgrent): Likewise.
17569         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
17570         expect.
17571         [XPG3 || POSIX2008] (endgrent): Likewise.
17572         [XPG3] (setgrent): Likewise.
17573         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
17574         variable.
17575         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17577         [BZ #18527]
17578         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
17579         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
17580         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
17581         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
17582         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
17583         * include/unistd.h (__getlogin_r): Declare.  Use
17584         libc_hidden_proto.
17585         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17586         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17587         variable.
17588         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17589         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17590         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17592 2015-06-12  Martin Sebor  <msebor@redhat.com>
17594         [BZ #18512]
17595         * Makerules (check-install-supported): New target.
17596         (install): Add check-install-supported as a dependency.
17597         * manual/install.texi (Installing the C Library): Document
17598         that overriding prefix and exec_prefix is not supported.
17599         Mention DESTDIR.
17600         * INSTALL: Regenerate from the above.
17602 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17604         [BZ #18519]
17605         * posix/Versions (libc): Export __libc_pread at version
17606         GLIBC_PRIVATE.
17607         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17608         instead of pread.
17609         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17610         variable.
17612         [BZ #18522]
17613         * misc/efgcvt_r.c
17614         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17615         (cvt_symbol): Use weak_alias instead of strong_alias.
17616         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17617         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17618         Remove variable.
17619         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17620         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17622         [BZ #18520]
17623         * inet/herrno.c (h_errno): Rename to __h_errno.
17624         (__libc_h_errno): Define as alias of __h_errno not h_errno.
17625         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17626         to __h_errno instead of h_errno.
17627         * nptl/herrno.c (h_errno): Rename to __h_errno.
17628         (__h_errno_location): Refer to __h_errno not h_errno.
17629         * resolv/Versions (h_errno): Rename to __h_errno.
17630         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17631         Remove variable.
17632         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17634 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
17636         * configure.ac: More strict check for AVX512 assembler support.
17637         * configure: Regenerated.
17639         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17640         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17641         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17642         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17643         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17644         * sysdeps/x86_64/fpu/Versions: New versions added.
17645         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17646         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17647         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17648         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17649         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17650         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17651         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17652         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17653         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17654         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17655         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17656         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17657         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17658         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17659         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17660         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17661         test.
17662         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17663         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17664         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17665         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17666         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17667         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17668         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17669         * NEWS: Mention addition of x86_64 vector sin.
17671 2015-06-11  Florian Weimer  <fweimer@redhat.com>
17673         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17674         comment.
17676 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17678         [BZ #18479]
17679         * nptl/pt-interp.c: New file.
17680         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17681         Add pt-interp.
17682         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17683         $(common-objpfx)runtime-linker.h.
17685 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
17687         * Makeconfig (+interp): Remove unused variable.
17688         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17689         only.  Depend on $(common-objpfx)runtime-linker.h instead of
17690         $(elf-objpfx)runtime-linker.h.
17691         ($(elf-objpfx)runtime-linker.h): Rename to
17692         $(common-objpfx)runtime-linker.h and move ...
17693         * Makerules [$(build-shared) = yes]: ... here.
17694         * elf/interp.c: Include <runtime-linker.h> instead of
17695         <elf/runtime-linker.h>.
17697 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17699         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17700         (__gettimeofday_syscall): Remove vsyscall fallback.
17701         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17702         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17703         Add syscall fallback function.
17704         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17705         if vDSO is not present.
17706         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17707         fallback function.
17708         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17709         present.
17710         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17711         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17713 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
17715         [BZ #18497]
17716         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17717         of wcscmp.
17718         (wcscmp): Define as weak alias of WCSCMP.
17719         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17720         wcscoll.
17721         (USE_HIDDEN_DEF): Define.
17722         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17723         __wcscoll.  Don't use libc_hidden_weak.
17724         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17725         wcscmp.
17726         * sysdeps/i386/i686/multiarch/wcscmp-c.c
17727         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17728         __GI_wcscmp.
17729         (weak_alias): Undefine and redefine.
17730         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17731         __wcscmp and define as weak alias of __wcscmp.
17732         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17733         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
17734         (__wcscoll): Likewise.
17735         (wcscmp): Don't use libc_hidden_proto.
17736         (wcscoll): Likewise.
17737         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17738         wcscoll.
17739         * posix/regexec.c (check_node_accept_bytes): Likewise.
17740         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17741         variable.
17742         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17743         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17745         [BZ #18507]
17746         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17747         __fstatvfs and define as weak alias of __fstatvfs.  Use
17748         libc_hidden_weak.
17749         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17750         and define as weak alias of __statvfs.  Use libc_hidden_weak.
17751         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17752         Define as alias of __fstatvfs, not fstatvfs.
17753         (fstatvfs64): Likewise.
17754         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17755         Define as alias of __statvfs, not statvfs.
17756         (statvfs64): Likewise.
17757         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17758         Remove variable.
17760 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17763         (HAVE_GETCPU_VSYSCALL): Define.
17764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17765         (HAVE_GETCPU_VSYSCALL): Likewise.
17766         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17767         * sysdeps/unix/sysv/linux/sched_getcpu.c
17768         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17769         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17770         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17771         prototype.
17772         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17773         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17774         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17775         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17776         Define.
17777         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17778         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17779         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17780         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17782 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
17784         * sysdeps/x86_64/fpu/Makefile: New file.
17785         * sysdeps/x86_64/fpu/Versions: New file.
17786         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17787         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17788         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17789         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17790         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17791         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17792         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17793         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17794         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17795         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17796         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17797         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17798         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17799         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17800         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17801         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17802         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17803         * sysdeps/x86_64/configure.ac: Options for libmvec build.
17804         * sysdeps/x86_64/configure: Regenerated.
17805         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17806         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17807         * manual/install.texi (Configuring and compiling): Document
17808         --disable-mathvec.
17809         * INSTALL: Regenerated.
17810         * NEWS: Mention addition of libmvec and x86_64 vector cos.
17812         * math/Makefile: Added rules for vector tests.
17813         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17814         declaration under condition.
17815         * math/test-double-vlen2.h: New file.
17816         * math/test-double-vlen4.h: New file.
17817         * math/test-double-vlen8.h: New file.
17818         * math/test-vec-loop.h: Added initialization macro.
17819         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17820         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17821         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17822         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17823         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17824         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17825         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17826         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17827         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17828         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17829         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17831         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17832         * sysdeps/x86_64/fpu/Versions: New versions added.
17833         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17834         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17835         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17836         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17837         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17838         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17839         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17840         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17841         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17842         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17843         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17844         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17845         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17846         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17847         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17848         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17849         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17850         * NEWS: Mention addition of x86_64 vector cosf.
17852         * math/Makefile: Added CFLAGS for new tests.
17853         * math/test-float-vlen16.h: New file.
17854         * math/test-float-vlen4.h: New file.
17855         * math/test-float-vlen8.h: New file.
17856         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17857         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17858         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17859         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17860         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17861         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17862         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17863         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17864         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17865         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17866         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17868 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
17870         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17871         * locale/programs/ld-ctype.c: Likewise.
17873 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
17875         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17876         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17877         bit_ZMM16_31_state): New macro.
17878         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17879         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17881 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
17883         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17885 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
17887         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17889 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
17891         [BZ #18498]
17892         * libio/memstream.c (open_memstream): Rename to __open_memstream
17893         and define as weak alias of __open_memstream.
17894         * include/stdio.h (__open_memstream): Declare.  Use
17895         libc_hidden_proto.
17896         (open_memstream): Don't use libc_hidden_proto.
17897         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17898         open_memstream.
17899         * posix/getopt.c (_getopt_internal_r): Likewise.
17900         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17901         variable.
17902         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17903         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17904         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17906         [BZ #18496]
17907         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17908         instead of wcrtomb.
17910         [BZ #18483]
17911         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17912         [__USE_XOPEN2K8].  Remove redundant #endif.
17913         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17914         Remove redundant #if.
17915         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17916         Remove variable.
17917         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17918         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17920         [BZ #18495]
17921         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17922         (__iswlower): Likewise.
17923         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
17924         (__iswlower): Likewise.
17925         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17926         instead of towlower.
17927         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17928         instead of iswlower.  Call __towupper instead of towupper.
17929         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17930         instead of iswalnum.
17932 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17934         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17935         errors to stderr.
17937 2015-06-05  Florian Weimer  <fweimer@redhat.com>
17939         [BZ #15661]
17940         [BZ #17322]
17941         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17942         Check for overflow properly.  Check for O_APPEND.  Ignore large
17943         file system block sizes.  Add comments about problems.
17944         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17945         * manual/filesys.texi (Storage Allocation): New node.
17947 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17949         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17950         cancellable syscalls.
17951         (SYS_ify): Add guard to no redefine it.
17952         (INLINE_SYSCALL): Likewise.
17953         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17954         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17955         SYSCALL_CANCEL instead.
17956         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17957         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17958         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17959         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17960         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17961         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17962         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17963         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17964         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17965         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17966         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17967         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17968         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17969         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17970         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17971         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17972         Likewise.
17973         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17974         (__libc_pread64): Likewise.
17975         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17976         (__libc_preadv): Likewise.
17977         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17978         (__libc_readv64): Likewise.
17979         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17980         (__libc_pwrite): Likewise.
17981         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17982         (__libc_pwrite64): Likewise.
17983         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17984         (__libc_pwritev): Likewise.
17985         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17986         (__libc_pwritev64): Likewise.
17987         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17988         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17989         (sync_file_range): Likewise.
17990         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17991         Likewise.
17992         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17993         Likewise.
17994         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17995         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17996         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17997         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17998         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17999         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18000         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18001         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
18002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18003         Likewise.
18004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18005         (__libc_read64): Likewise.
18006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
18007         Likewise.
18008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
18009         Likewise.
18010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
18011         Likewise.
18012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
18013         Likewise.
18014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18015         (__libc_pread64): Likewise.
18016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
18017         Likewise.
18018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18019         (__libc_pwrite64): Likewise.
18020         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
18021         (sync_file_range): Likewise.
18022         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
18023         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18024         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18025         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
18026         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
18027         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18028         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18029         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
18030         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
18031         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18032         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18033         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18034         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18035         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18036         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
18037         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18038         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18039         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18040         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18041         Likewise.
18042         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
18043         Likewise.
18044         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
18045         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
18046         Likewise.
18047         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
18048         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
18049         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
18050         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
18051         Likewise.
18052         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
18053         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
18054         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
18055         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
18056         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
18058 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
18060         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
18061         Include dl-vdso.
18062         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
18063         Use VDSO routines for gettimeofday, clock_gettime if
18064         available.
18065         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
18066         Declare VDSO symbols.
18067         * sysdeps/unix/sysv/linux/arm/sysdep.h:
18068         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
18069         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18070         * sysdeps/unix/sysv/linux/arm/Versions: Add
18071         __vdso_clock_gettime.
18073 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18075         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
18076         be an inline implementation regardless of library is built within.
18077         (open_not_cancel_2): Likewise.
18078         (__read_nocancel): Likewise.
18079         (__write_nocancel): Likewise.
18080         (openat_not_cancel): Likewise.
18081         (openat_not_cancel_3): Likewise.
18082         (openat64_not_cancel): Likewise.
18083         (openat64_not_cancel_3): Likewise.
18084         (__close_nocancel): Likewise.
18085         (pause_not_cancel): Likewise.
18086         (nanosleep_not_cancel): Likewise.
18087         (sigsuspend_not_cancel): Likewise.
18089 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18091         [BZ #14958]
18092         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
18093         wake-up.
18094         (__pthread_rwlock_rdlock_slow): Likewise.
18095         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18096         Likewise.
18097         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18098         Likewise.
18099         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
18100         * nptl/tst-rwlock16.c: New file.
18101         * nptl/Makefile (tests): Add new test.
18103 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18105         [BZ #18324]
18106         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
18107         missing wake-up of readers.
18108         * nptl/tst-rwlock15.c: New file.
18109         * nptl/Makefile (tests): Add new test.
18111 2015-06-03  Roland McGrath  <roland@hack.frob.com>
18113         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
18114         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
18115         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
18116         and __nacl_supply_interface_rtld.
18117         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
18118         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
18119         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
18120         Add __nacl_supply_interface_rtld.
18121         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
18123 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18125         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
18126         isfinite.
18127         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18128         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
18130 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18132         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
18133         __signbit* with standard C99 macros.
18134         * math/e_exp10l.c: Likewise.
18135         * math/e_exp2l.c: Likewise.
18136         * math/e_scalb.c: Likewise.
18137         * math/e_scalbf.c: Likewise.
18138         * math/e_scalbl.c: Likewise.
18139         * math/s_ldexp.c: Likewise.
18140         * math/s_ldexpf.c: Likewise.
18141         * math/s_ldexpl.c: Likewise.
18142         * math/w_atan2.c: Likewise.
18143         * math/w_atan2f.c: Likewise.
18144         * math/w_atan2l.c: Likewise.
18145         * math/w_cosh.c: Likewise.
18146         * math/w_coshf.c: Likewise.
18147         * math/w_coshl.c: Likewise.
18148         * math/w_exp10.c: Likewise.
18149         * math/w_exp10f.c: Likewise.
18150         * math/w_exp10l.c: Likewise.
18151         * math/w_exp2.c: Likewise.
18152         * math/w_exp2f.c: Likewise.
18153         * math/w_exp2l.c: Likewise.
18154         * math/w_fmod.c: Likewise.
18155         * math/w_fmodf.c: Likewise.
18156         * math/w_fmodl.c: Likewise.
18157         * math/w_hypot.c: Likewise.
18158         * math/w_hypotf.c: Likewise.
18159         * math/w_hypotl.c: Likewise.
18160         * math/w_jnl.c: Likewise.
18161         * math/w_lgamma.c: Likewise.
18162         * math/w_lgamma_r.c: Likewise.
18163         * math/w_lgammaf.c: Likewise.
18164         * math/w_lgammaf_r.c: Likewise.
18165         * math/w_lgammal.c: Likewise.
18166         * math/w_lgammal_r.c: Likewise.
18167         * math/w_pow.c: Likewise.
18168         * math/w_powf.c: Likewise.
18169         * math/w_powl.c: Likewise.
18170         * math/w_remainder.c: Likewise.
18171         * math/w_remainderf.c: Likewise.
18172         * math/w_remainderl.c: Likewise.
18173         * math/w_scalb.c: Likewise.
18174         * math/w_scalbf.c: Likewise.
18175         * math/w_scalbl.c: Likewise.
18176         * math/w_scalbln.c: Likewise.
18177         * math/w_scalblnf.c: Likewise.
18178         * math/w_scalblnl.c: Likewise.
18179         * math/w_sinh.c: Likewise.
18180         * math/w_sinhf.c: Likewise.
18181         * math/w_sinhl.c: Likewise.
18182         * math/w_tgamma.c: Likewise.
18183         * math/w_tgammaf.c: Likewise.
18184         * math/w_tgammal.c: Likewise.
18185         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18186         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
18187         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18188         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18189         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18190         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18191         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18192         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18193         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18194         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18195         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18196         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18197         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18198         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18199         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18200         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18201         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18202         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18203         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18204         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18205         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18206         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18207         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18208         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18209         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18210         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18211         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
18212         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18213         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18214         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18215         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
18216         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
18217         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
18218         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
18219         * stdio-common/printf_fp.c: Likewise.
18220         * stdio-common/printf_fphex.c: Likewise.
18221         * stdio-common/printf_size.c: Likewise.
18223 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
18225         [BZ #18470]
18226         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
18227         strnlen.
18228         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
18229         Remove variable.
18230         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18231         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18232         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18233         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18234         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18235         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18236         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18237         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18238         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18239         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18241         [BZ #18468]
18242         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
18243         weak alias of __wmemchr.  Use libc_hidden_weak.
18244         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
18245         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
18246         instead of wmemchr.
18248 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18250         [BZ #18383]
18251         * elf/tst-tlsalign-extern.c: New file.
18252         * elf/tst-tlsalign-extern-static.c: New file.
18253         * elf/tst-tlsalign-vars.c: New file.
18254         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
18255         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
18256         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
18257         ($(objpfx)tst-tlsalign-extern-static): Likewise.
18258         (test-xfail-tst-tlsalign-extern-static): New variable.
18260 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
18262         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
18263         Use variable name _sc_err instead of err.
18264         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
18265         instead of ret.
18266         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
18267         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
18268         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
18269         (INLINE_SYSCALL): Likewise.
18271         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
18272         * include/string.h (__strnlen): Use libc_hidden_proto.
18273         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
18274         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
18275         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
18276         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
18277         (libc_hidden_def): Undefine and redefine.
18278         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
18279         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
18280         __GI_strnlen.
18281         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
18282         libc_hidden_def.
18283         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
18285         [BZ #18469]
18286         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
18287         weak alias of __towlower.  Use libc_hidden_weak.
18288         (towupper): Rename to __towupper and define as weak alias of
18289         __towupper.  Use libc_hidden_weak.
18290         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
18291         (__towupper): Likewise.
18292         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
18293         __towlower instead of towlower.
18295 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18297         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
18298         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
18300 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18302         * sysdeps/aarch64/libm-test-ulps: Update.
18304 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18306         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
18307         Define.
18308         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18309         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18310         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18311         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18312         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
18313         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
18314         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
18316 2015-06-01  Martin Sebor  <msebor@redhat.com>
18318         [BZ #18116]
18319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18320         (__setcontext): Use extended four-operand version of mtsf whenever
18321         possible.
18322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18323         (__novec_swapcontext): Likewise.
18325 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18327         * benchtests/scripts/compare_bench.py: New file.
18328         * benchtests/scripts/import_bench.py (mean): New function.
18329         (split_list): Likewise.
18330         (do_for_all_timings): Likewise.
18331         (compress_timings): Likewise.
18333         * benchtests/scripts/import_bench.py: New file.
18334         * benchtests/scripts/validate_benchout.py: Import import_bench
18335         instead of jsonschema.
18336         (validate_bench): Remove function.
18337         (main): Use import_bench.
18339 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
18341         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
18342         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
18344 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18348 2015-05-28  Roland McGrath  <roland@hack.frob.com>
18350         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
18351         set THREAD_SELF->tid to a magic value and futex-wake it.
18352         Pass its address to the thread_exit system call.
18353         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
18354         bit is clear.
18355         * sysdeps/nacl/lowlevellock.h: New file.
18356         * sysdeps/nacl/lll_timedwait_tid.c: New file.
18358         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
18359         Add TIMEOUT to current time, don't subtract it.
18361 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
18363         [BZ #2981]
18364         [BZ #18422]
18365         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
18366         ($(objpfx)tst-audit2.out): Also depend on
18367         $(objpfx)tst-auditmod9b.so.
18368         * elf/tst-audit2.c: Include <dlfcn.h>.
18369         (calloc_called): New.
18370         (calloc): Allow to be called more than once.
18371         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
18373 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
18375         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
18376         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
18378 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
18380         * stdlib/monetary.h: Fix comment.
18382 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
18384         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
18385         Avoid using variables in #defines that might cause shadowing.
18386         (INTERNAL_VSYSCALL_CALL): Likewise.
18388 2015-05-26  Roland McGrath  <roland@hack.frob.com>
18390         * sysdeps/nacl/lll_timedlock_wait.c: New file.
18392         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
18393         * nptl/lll_timedlock_wait.c: ... to this new file.
18394         * nptl/Makefile (libpthread-routines): Add it.
18395         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
18396         * nptl/lll_timedwait_tid.c: ... to this new file.
18397         * nptl/Makefile (libpthread-routines): Add it.
18398         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
18399         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
18400         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
18401         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
18402         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
18403         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
18404         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
18405         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
18406         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
18407         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
18409 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18411         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
18412         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18413         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18414         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
18415         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18416         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18417         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18418         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18419         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18420         * sysdeps/unix/sysv/linux/tile/sysdep.h
18421         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18422         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
18423         using vDSO syscall macro.
18425 2015-05-26  Andriy Rysin  <arysin@gmail.com>
18427         [BZ #17293]
18428         * uk_UA: Fix sorting order for Ukrainian locale
18430 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
18432         * stdlib/monetary.h: Fix comment.
18434 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18436         [BZ #18234]
18437         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
18438         st_mtim and st_ctim members.
18439         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
18440         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
18441         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
18442         (struct stat64): Likewise.
18443         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
18444         (struct stat64): Likewise.
18445         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
18446         (struct stat64): Likewise.
18448 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18450         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
18451         Define and include sysdep-vdso.h.
18452         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
18453         Likewise.
18454         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
18455         Likewise.
18456         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
18457         Define with VDSO_SYMBOL and use PTR_MANGLE.
18458         (__vdso_clock_gettime): Likewise.
18459         (__vdso_clock_getres): Likewise.
18460         (_libc_vdso_platform_setup): Likewise.
18461         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18462         Likewise.
18463         (_libc_vdso_platform_setup): Likewise.
18464         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
18465         Likewise.
18466         (__vdso_clock_gettime): Likewise.
18467         (__vdso_clock_getres): Likewise.
18468         (__vdso_get_tbfreq): Likewise.
18469         (__vdso_getcpu): Likewise.
18470         (__vdso_time): Likewise.
18471         (__vdso_sigtramp_rt64): Likewise.
18472         (__vdso_signtramp32): Likewise.
18473         (__vdso_sigtramp_rt32): Likewise.
18474         (_libc_vdso_platform_setup): Likewise.
18475         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
18476         Likewise.
18477         (__vdso_clock_gettime): Likewise.
18478         (__vdso_clock_getres): Likewise.
18479         (_libc_vdso_platform_setup): Likewise.
18480         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
18481         Likewise.
18482         (__vdso_clock_gettime): Likewise.
18483         (_libc_vdso_platform_setup): Likewise.
18484         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18485         Likewise.
18486         (__vdso_getcpu): Likewise.
18487         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
18488         Use VDSO_SYMBOL macro to define.
18489         (__vdso_clock_gettime): Likewise.
18490         (__vdso_clock_getres): Likewise.
18491         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
18492         Likewise.
18493         (__vdso_clock_gettime): Likewise.
18494         (__vdso_clock_getres): Likewise.
18495         (__vdso_get_tbfreq): Likewise.
18496         (__vdso_getcpu): Likewise.
18497         (__vdso_time): Likewise.
18498         (__vdso_sigtramp_rt64): Likewise.
18499         (__vdso_signtramp32): Likewise.
18500         (__vdso_sigtramp_rt32): Likewise.
18501         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
18502         Likewise.
18503         (__vdso_clock_gettime): Likewise.
18504         (__vdso_clock_getres): Likewise.
18505         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
18506         Likewise.
18507         (__vdso_clock_gettime): Likewise.
18508         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18509         Likewise.
18510         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
18511         macro.
18512         (INTERNAL_VSYSCALL): Likewise.
18513         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
18514         Remove macro.
18515         (INTERNAL_VSYSCALL): Likewise.
18516         (INTERNAL_VSYSCALL_NCS): Likewise.
18517         (INTERNAL_VSYSCALL_CALL): New macro.
18518         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18519         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
18520         Likewise.
18521         (INTERNAL_VSYSCALL): Likewise.
18522         (INTERNAL_VSYSCALL_NCS): Likewise.
18523         (INTERNAL_VSYSCALL_CALL): New macro.
18524         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18526         (INLINE_VSYSCALL): Remove macro.
18527         (INTERNAL_VSYSCALL): Remove macro.
18528         (INTERNAL_VSYSCALL_NCS): Remove macro.
18529         (INTERNAL_VSYSCALL_CALL): New macro.
18530         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
18531         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
18532         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18533         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
18534         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18536         (INLINE_VSYSCALL): Remove macro.
18537         (INTERNAL_VSYSCALL): Likewise.
18538         (INTERNAL_VSYSCALL_NCS): Likewise.
18539         (INTERNAL_VSYSCALL_CALL): New macro.
18540         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
18541         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
18542         PTR_DEMANGLE on vDSO pointer.
18543         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18544         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
18545         macro.
18546         (INTERNAL_SYSCALL): Likewise.
18547         (INTERNAL_VSYSCALL_NCS): Remove macro.
18548         (INTERNAL_VSYSCALL_CALL): New macro.
18549         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
18550         Remove macro.
18551         (INTERNAL_VSYSCALL): Likewise.
18552         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
18553         sysdep-vdso.h instead of libc-vdso.h.
18554         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
18555         definition.
18556         (INLINE_VSYSCALL): Likewise.
18557         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
18558         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
18559         definition.
18560         (INLINE_VSYSCALL): Likewise.
18561         (INTERNAL_VSYSCALL): Likewise.
18562         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18563         * sysdeps/unix/sysv/linux/timespec_get.c
18564         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18565         (timespec_get): Use ANSI prototype.
18566         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
18567         and definition for Linux.
18569 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18571         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
18572         * include/libc-symbols.h: libmvec_hidden_* macro series added.
18574 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18576         [BZ #2981]
18577         [BZ #18410]
18578         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
18579         for missing DT_PLTRELSZ.
18581 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18583         Remove obsolete aliases that broke 'locale -a'
18584         [BZ #18412]
18585         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18586         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18587         breaking some applications that use 'locale -a' output.
18588         Change the encoding of this file from Latin-1 to ASCII to avoid
18589         other potential problems with people grepping this file.
18591 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18593         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18594         -fasynchronous-unwind-tables.
18595         (CFLAGS-sendto.c): Likewise.
18596         (CFLAGS-sendmsg.c): Likewise.
18597         (CFLAGS-connect.c): Likewise.
18598         (CFLAGS-recvmsg.c): Likewise.
18599         (CFLAGS-recvfrom.c): Likewise.
18600         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18601         (SOCKETCALL): New macro: non-cancellable socketcall.
18602         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18603         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18604         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18605         * sysdeps/unix/sysv/linux/accept.c: New file.
18606         * sysdeps/unix/sysv/linux/bind.c: Likewise.
18607         * sysdeps/unix/sysv/linux/connect.c: Likewise.
18608         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18609         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18610         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18611         * sysdeps/unix/sysv/linux/listen.c: Likewise.
18612         * sysdeps/unix/sysv/linux/recv.c: Likewise.
18613         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18614         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18615         * sysdeps/unix/sysv/linux/send.c: Likewise.
18616         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18617         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18618         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18619         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18620         * sysdeps/unix/sysv/linux/socket.c: Likewise.
18621         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18622         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18623         prototype.
18624         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18625         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18626         instead of __internal_xxx function.
18627         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18628         prototype.
18629         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18630         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18631         instead of __internal_xxx function.
18632         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18633         prototype.
18634         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18635         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18636         instead of __internal_xxx function.
18637         * sysdeps/unix/sysv/linux/accept.S: Remove file.
18638         * sysdeps/unix/sysv/linux/bind.S: Likewise.
18639         * sysdeps/unix/sysv/linux/connect.S: Likewise.
18640         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18641         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18642         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18643         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18644         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18645         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18646         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18647         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18648         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18649         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18650         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18651         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18652         * sysdeps/unix/sysv/linux/listen.S: Likewise.
18653         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18654         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18655         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18656         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18659         * sysdeps/unix/sysv/linux/recv.S: Likewise.
18660         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18661         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18662         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18663         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18664         * sysdeps/unix/sysv/linux/send.S: Likewise.
18665         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18666         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18667         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18668         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18669         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18670         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18671         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18672         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18673         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18674         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18675         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18676         socketcall is implemented in GLIBC.
18678 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18680         * soft-fp/fmadf4.c: Include <libc-internal.h>.
18681         (__fma): Ignore uninitialized warnings around packing.
18682         * soft-fp/fmasf4.c: Include <libc-internal.h>.
18683         (__fmaf): Ignore uninitialized warnings around packing.
18684         * soft-fp/fmatf4.c: Include <libc-internal.h>.
18685         (__fmal): Ignore uninitialized warnings around packing.
18687         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18688         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18689         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18690         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18692         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18693         switch statement into default case.
18694         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18696         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18697         a conditional in forcing "inexact".
18698         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18699         Likewise.
18701 2015-05-22  Roland McGrath  <roland@hack.frob.com>
18703         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18704         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18705         for each INTERNAL_SYSCALL use.
18707 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18709         [BZ #438]
18710         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18711         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18712         variable.
18714         [BZ #18444]
18715         * string/basename.c (basename): Rename to __basename and define as
18716         weak alias of __basename.  Use libc_hidden_weak.
18717         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
18718         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18719         __basename instead of basename.
18720         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18721         Remove variable.
18722         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18724 2015-05-18  Florian Weimer  <fweimer@redhat.com>
18726         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18727         (_IO_JUMPS_FILE_plus): New.
18728         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18729         _IO_CAST_FIELD_ACCESS.
18730         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18731         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18732         * libio/freopen.c (freopen): Likewise.
18733         * libio/freopen64.c (freopen64): Likewise.
18734         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18735         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18736         * libio/iofwide.c (_IO_fwide): Likewise.
18737         * libio/memstream.c (open_memstream): Likewise.
18738         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18739         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18740         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18742 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
18744         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18745         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18746         NADJ.
18747         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18748         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18749         NADJ.
18750         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18751         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18752         NADJ.
18754         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18755         (p == 4) case.
18757         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18758         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18759         Remove variable.
18760         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18761         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18762         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18764 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18766         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18767         Adjust jump table label generation macros.
18769 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18771         * stdio-common/vfprintf.c (vfprintf): Move local variables
18772         args_malloced, specs, specs_malloced, and the code after
18773         do_positional to the printf_positional function.
18774         (printf_positional): New function.
18776 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18778         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18779         function.
18780         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18781         STEP4_TABLE, process_arg): Move macro definitions
18782         out of the vfprintf function.  (Cosmetic change only.)
18784 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
18786         * benchtests/Makefile (stdio-common-bench): Define.
18787         (benchset): Add stdio-common-bench.
18788         * sprintf-inputs: New file.
18789         * sprintf-source.c: New file.
18791 2015-05-21  Andreas Schwab  <schwab@suse.de>
18793         [BZ #13028]
18794         [BZ #17053]
18795         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18796         of struct __res_state.
18797         * resolv/res_send.c (__libc_res_nsend): Likewise.
18798         (get_nsaddr): New function.
18799         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18800         statp directly.
18802 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
18804         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18805         -D_POSIX_C_SOURCE=199506L.
18807         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18809         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18810         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18811         Do not mention otherwise.
18812         [POSIX] (_XOPEN_VERSION): Do not expect.
18813         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18814         [POSIX] (_POSIX2_C_BIND): Likewise.
18815         [POSIX] (_POSIX2_VERSION): Likewise.
18816         [POSIX] (_XOPEN_XPG2): Likewise.
18817         [POSIX] (_XOPEN_XPG3): Likewise.
18818         [POSIX] (_XOPEN_XPG4): Likewise.
18819         [POSIX] (_XOPEN_UNIX): Likewise.
18820         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18821         [POSIX] (_POSIX_BARRIERS): Likewise.
18822         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18823         [POSIX] (_POSIX_CPUTIME): Likewise.
18824         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18825         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18826         [POSIX] (_POSIX_SHELL): Likewise.
18827         [POSIX] (_POSIX_SPAWN): Likewise.
18828         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18829         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18830         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18831         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18832         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18833         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18834         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18835         [POSIX] (_XBS5_LP64_OFF64): Likewise.
18836         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18837         [POSIX] (_POSIX_TIMEOUTS): Likewise.
18838         [POSIX] (_POSIX2_PBS): Likewise.
18839         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18840         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18841         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18842         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18843         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18844         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18845         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18846         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18847         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18848         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18849         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18850         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18851         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18852         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18853         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18854         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18855         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18856         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18857         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18858         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18859         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18860         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18861         [POSIX] (_SC_2_C_BIND): Likewise.
18862         [POSIX] (_SC_2_C_VERSION): Likewise.
18863         [POSIX] (_SC_2_PBS): Likewise.
18864         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18865         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18866         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18867         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18868         [POSIX] (_SC_2_PBS_TRACK): Likewise.
18869         [POSIX] (_SC_ATEXIT_MAX): Likewise.
18870         [POSIX] (_SC_BARRIERS): Likewise.
18871         [POSIX] (_SC_BASE): Likewise.
18872         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18873         [POSIX] (_SC_DEVICE_IO): Likewise.
18874         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18875         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18876         [POSIX] (_SC_FD_MGMT): Likewise.
18877         [POSIX] (_SC_FIFO): Likewise.
18878         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18879         [POSIX] (_SC_FILE_LOCKING): Likewise.
18880         [POSIX] (_SC_FILE_SYSTEM): Likewise.
18881         [POSIX] (_SC_IOV_MAX): Likewise.
18882         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18883         [POSIX] (_SC_NETWORKING): Likewise.
18884         [POSIX] (_SC_PAGE_SIZE): Likewise.
18885         [POSIX] (_SC_PASS_MAX): Likewise.
18886         [POSIX] (_SC_PIPE): Likewise.
18887         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18888         [POSIX] (_SC_REGEXP): Likewise.
18889         [POSIX] (_SC_SHELL): Likewise.
18890         [POSIX] (_SC_SIGNALS): Likewise.
18891         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18892         [POSIX] (_SC_SPIN_LOCKS): Likewise.
18893         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18894         [POSIX] (_SC_USER_GROUPS): Likewise.
18895         [POSIX] (_SC_USER_GROUPS_R): Likewise.
18896         [POSIX] (_SC_STREAMS): Likewise.
18897         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18898         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18899         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18900         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18901         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18902         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18903         [POSIX] (_PC_FILESIZEBITS): Likewise.
18904         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18905         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18906         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18907         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18908         [POSIX] (uid_t): Likewise.
18909         [POSIX] (gid_t): Likewise.
18910         [POSIX] (off_t): Likewise.
18911         [POSIX] (pid_t): Likewise.
18912         [POSIX] (cuserid): Allow.
18913         (_SC_2_CHAR_TERM): Require constant.
18914         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18915         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18916         variable.
18918 2015-05-20  Roland McGrath  <roland@hack.frob.com>
18920         * sysdeps/nacl/pthread-pids.h: New file.
18921         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18922         (create_thread): Use __nacl_get_tid to initialize PD->tid.
18924         * nptl/pthread-pids.h: New file.
18925         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18926         * nptl/nptl-init.c: Include <pthread-pids.h>.
18927         (__pthread_initialize_minimal_internal):
18928         Call __pthread_initialize_pids instead of set_tid_address syscall.
18930         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18931         * sysdeps/posix/usleep.c: ... here.
18933 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18935         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18936         call_pselect6 object.
18937         [$(subdir) = io]: Remove call_sync_file_range object.
18938         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18939         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18940         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18941         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18943 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
18945         * math/s_cproj.c: Add include "math_private.h".
18946         * math/s_cprojf.c: Likewise.
18947         * math/s_cprojl.c: Likewise.
18949 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
18951         [BZ #18244]
18952         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18953         high mantissa bit when testing whether P is a NaN.
18954         * math/libm-test.inc (remainder_test_data): Add more tests.
18955         (remquo_test_data): Likewise.
18957         [BZ #18049]
18958         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18959         below -32, return the argument, with underflow if subnormal.
18960         * math/auto-libm-test-in: Add more tests of atanh.
18961         * math/auto-libm-test-out: Regenerated.
18963 2015-05-19  Roland McGrath  <roland@hack.frob.com>
18965         [BZ #18434]
18966         * nptl/tst-sem15.c: New file.
18967         * nptl/Makefile (tests): Add it.
18968         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18969         s/<</>>/ to fix typo in EOVERFLOW check.
18970         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18972 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18974         * manual/strings.texi (envz_remove): Fix typo in safety
18975         annotations.
18977 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
18978             Steve Ellcey  <sellcey@imgtec.com>
18980         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18981         in order to avoid strict alias warnings.
18982         (iruserok_af): Ditto for ra.
18984 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
18986         [BZ #17581]
18987         * malloc/hooks.c
18988         (magicbyte): Convert to a function and avoid returning 0x01.
18989         (mem2mem_check): Avoid using a length byte equal to the magic byte.
18990         (mem2chunk_check): Fix unsigned comparisons to zero.
18991         Hoist defs of sz and magic.
18993 2015-05-19  Richard Henderson  <rth@redhat.com>
18995         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18997         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18999 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19001         [BZ #16159]
19002         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
19003         * malloc/arena.c (arena_lock): Check if arena is corrupt.
19004         (reused_arena): Find a non-corrupt arena.
19005         (heap_trim): Pass arena to unlink.
19006         * malloc/hooks.c (malloc_check_get_size): Pass arena to
19007         malloc_printerr.
19008         (top_check): Likewise.
19009         (free_check): Likewise.
19010         (realloc_check): Likewise.
19011         * malloc/malloc.c (malloc_printerr): Add arena argument.
19012         (unlink): Likewise.
19013         (munmap_chunk): Adjust.
19014         (ARENA_CORRUPTION_BIT): New macro.
19015         (arena_is_corrupt): Likewise.
19016         (set_arena_corrupt): Likewise.
19017         (sysmalloc): Use mmap if there are no usable arenas.
19018         (_int_malloc): Likewise.
19019         (__libc_malloc): Don't fail if arena_get returns NULL.
19020         (_mid_memalign): Likewise.
19021         (__libc_calloc): Likewise.
19022         (__libc_realloc): Adjust for additional argument to
19023         malloc_printerr.
19024         (_int_free): Likewise.
19025         (malloc_consolidate): Likewise.
19026         (_int_realloc): Likewise.
19027         (_int_memalign): Don't touch corrupt arenas.
19028         * malloc/tst-malloc-backtrace.c: New test case.
19030         * Makefile (summarize-tests): Fix return value on success.
19032         * manual/string.texi (Envz Functions): Add envz_remove.
19034 2015-05-18  Roland McGrath  <roland@hack.frob.com>
19036         * sysdeps/posix/opendir.c: Include <stdbool.h>.
19037         (invalid_name): New function, broken out of ...
19038         (__opendirat): ... here.  Call it.
19039         (need_isdir_precheck): New function, broken out of ...
19040         (__opendirat): ... here.  Call it.
19041         Use __fxstatat64, not __xstatat64.
19042         (opendir_oflags): New function, broken out of ...
19043         (__opendirat): ... here.  Call it.
19044         (opendir_tail): New function, broken out of ...
19045         (__opendirat): ... here.  Call it.
19046         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
19047         opendir_tail, rather than punting to __opendirat.
19048         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
19050 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19052         * .gitignore: Ignore generated *.pyc.
19054 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
19056         * include/stdio.h: Define __need_wint_t.
19057         * test-skeleton.c: Avoid `for' loop initial declaration.
19058         * nptl/tst-initializers1.c: Use test-skeleton.c.
19060 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19062         [BZ #18418]
19063         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
19065 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19067         [BZ #16352]
19068         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
19069         (__ieee754_atanh): Force underflow exception for results with
19070         small absolute value.
19071         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
19072         (__ieee754_atanhf): Force underflow exception for results with
19073         small absolute value.
19074         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
19075         (__ieee754_atanh): Force underflow exception for results with
19076         small absolute value.
19077         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
19078         (__ieee754_atanhf): Force underflow exception for results with
19079         small absolute value.
19080         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
19081         (__ieee754_atanhl): Force underflow exception for results with
19082         small absolute value.
19083         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
19084         (__ieee754_atanhl): Force underflow exception for results with
19085         small absolute value.
19086         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
19087         (__ieee754_atanhl): Force underflow exception for results with
19088         small absolute value.
19089         * math/auto-libm-test-in: Do not allow missing underflow
19090         exceptions from atanh.
19091         * math/auto-libm-test-out: Regenerated.
19093         [BZ #18221]
19094         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
19095         2**-28 as threshold for returning x or +/- 1/x.
19096         * math/auto-libm-test-in: Add more tests of tan.
19097         * math/auto-libm-test-out: Regenerated.
19099         [BZ #18220]
19100         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19101         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
19102         * math/auto-libm-test-in: Add another test of lgamma.
19103         * math/auto-libm-test-out: Regenerated.
19105 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
19107         * stdio-common/printf_fp.c (___printf_fp): Use abs.
19108         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
19109         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
19110         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
19111         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
19112         (ADD2A): Use fabs.  (SUB2A): Use fabs.
19113         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
19114         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
19115         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
19116         (log1): Use fabs.  (my_log2): Use fabs.
19117         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
19118         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
19119         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
19120         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
19121         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
19122         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
19123         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
19124         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
19125         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
19126         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
19127         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
19129 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19131         [BZ #18217]
19132         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
19133         as threshold for returning 1 - x.
19134         * math/auto-libm-test-in: Add more tests of erfc.
19135         * math/auto-libm-test-out: Regenerated.
19137 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
19139         [BZ #18196]
19140         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
19141         threshold for large arguments.
19142         * math/auto-libm-test-in: Add another test of atan.
19143         * math/auto-libm-test-out: Regenerated.
19145         [BZ #16339]
19146         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
19147         (__log1p): Force underflow exception for results with small
19148         absolute value.
19149         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
19150         (__log1pf): Force underflow exception for results with small
19151         absolute value.
19152         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
19153         (__log1p): Force underflow exception for results with small
19154         absolute value.
19155         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
19156         (__log1pf): Force underflow exception for results with small
19157         absolute value.
19158         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
19159         (__log1pl): Force underflow exception for results with small
19160         absolute value.
19161         * math/auto-libm-test-in: Do not allow missing underflow
19162         exceptions from log1p.
19163         * math/auto-libm-test-out: Regenerated.
19165 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
19166             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19168         [BZ #16704]
19169         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
19171 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
19173         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
19174         (libmvec): New variable.
19175         * configure.ac: Added option for mathvec build.
19176         * configure: Regenerated.
19177         * mathvec/Depend: New file.
19178         * mathvec/Makefile: New file.
19179         * shlib-versions: Added libmvec.
19180         * math/Makefile: Added rule for libm.so installation.
19182         * bits/math-vector.h: New file.
19183         * bits/libm-simd-decl-stubs.h: New header.
19184         * math/Makefile (headers): Added new header
19185         libm-simd-decl-stubs.h.
19186         * math/math.h (__MATHCALL_VEC): New macro.
19188         * math/gen-libm-have-vector-test.sh: Script generates series of macros
19189         for conditions in testing functions.
19190         * math/Makefile: Added call of libm-have-vector-test.sh.
19191         * math/libm-test.inc (HAVE_VECTOR): New macros.
19193         * math/libm-test.inc: START refactored.
19194         * math/test-double.c (TEST_MATHVEC): Add define.
19195         * math/test-float.c: Likewise.
19196         * math/test-idouble.c: Likewise.
19197         * math/test-ifloat.c: Likewise.
19198         * math/test-ildoubl.c: Likewise.
19199         * math/test-ldouble.c: Likewise.
19200         * sysdeps/generic/math-tests-arch.h
19201         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
19202         architecture check.
19204         * math/test-double.c (FUNC_TEST): New macro.
19205         * math/test-float.c: Likewise.
19206         * math/test-idouble.c: Likewise.
19207         * math/test-ifloat.c: Likewise.
19208         * math/test-ildoubl.c: Likewise.
19209         * math/test-ldouble.c: Likewise.
19210         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
19212 2015-05-13  Roland McGrath  <roland@hack.frob.com>
19214         * sysdeps/nacl/fdopendir.c: New file.
19216         * dirent/scandir-tail.c: New file.
19217         * dirent/scandir64-tail.c: New file.
19218         * dirent/Makefile (routines): Add them.
19219         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
19220         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
19221         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
19222         [!SCANDIR] (SCANDIR_TAIL): New macro.
19223         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
19224         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
19225         (SCANDIRAT): Macro removed.
19226         (SCANDIR_TAIL): New macro.
19227         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
19228         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
19229         (SCANDIRAT): Just call __opendirat and __scandir_tail.
19230         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
19231         (READDIR): Macro removed.
19232         (SCANDIR_TAIL): New macro.
19233         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
19234         (SCANDIR_TAIL): New macro.
19236         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
19237         * dirent/scandir-cancel.c: ... to this new file.
19238         * dirent/Makefile (routines): Add it.
19239         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
19240         * sysdeps/unix/sysv/linux/i386/scandir64.c
19241         (SKIP_SCANDIR_CANCEL): Macro removed.
19242         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
19244         * dirent/tst-scandir.c: New file.
19245         * dirent/tst-scandir64.c: New file.
19246         * dirent/Makefile (tests): Add them.
19248 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19250         [BZ #18409]
19251         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
19253 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19255         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
19256         list.
19258 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
19260         * benchtests/bench-strcoll.c: New benchmark.
19261         * benchtests/Makefile: Generate locales and run benchmark.
19262         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
19263         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19264         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
19265         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
19266         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
19267         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
19268         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
19269         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
19270         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
19271         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
19272         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
19273         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
19274         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
19275         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
19276         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
19277         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
19278         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
19279         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
19280         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
19281         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
19282         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
19283         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
19284         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
19285         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
19287 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
19289         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
19290         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19292 2015-05-12  Roland McGrath  <roland@hack.frob.com>
19294         * posix/uname-values.h: New file.
19295         * posix/uname.c: Include that instead of <config-name.h>.
19296         * sysdeps/nacl/uname-values.h: New file.
19297         * sysdeps/arm/nacl/uname-values.h: New file.
19299 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
19301         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
19302         splitting into fields.
19304 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
19306         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
19307         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
19308         * locale/localeinfo.h: Add enum collation_encoding_type.
19309         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
19310         * programs/ld-collate.c (collate_output): Add encoding type info.
19311         * string/strcoll_l.c (STRDIFF): New function.
19312         * (STRCOLL): Use STRDIFF to skip over equal prefix.
19313         * wcsmbs/wcscoll_l.c: Define STRDIFF.
19315 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
19317         [BZ #18397]
19318         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
19319         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
19320         <fpu_control.h> instead of <math/fpu_control.c>.
19321         * sysdeps/mips/mips32/fpu/Makefile: New file.
19323 2015-05-11  Andreas Schwab  <schwab@suse.de>
19325         [BZ #18007]
19326         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
19327         nss_endgrent.
19328         (_nss_compat_endgrent): Call nss_endgrent.
19329         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
19330         nss_endpwent.
19331         (_nss_compat_endpwent): Call nss_endpwent.
19332         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
19333         needent, call nss_setspent only if non-zero.
19334         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
19335         (internal_endspent): Don't call nss_endspent.
19336         (_nss_compat_endspent): Call nss_endspent.
19337         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
19338         Remove.  All uses removed.
19339         (internal_setent): Remove parameter stayopen, add parameter
19340         stream.  Use it instead of global variable.
19341         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
19342         (internal_endent, internal_getent): Add parameter stream.  Use it
19343         instead of global variable.
19344         (CONCAT(_nss_files_end,ENTNAME))
19345         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
19346         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
19347         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
19348         uses removed.
19349         (internal_setent, internal_endent): Add parameter stream.  Use it
19350         instead of global variable.
19351         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
19352         stream.
19353         (get_next_alias): Add parameter stream.
19354         (_nss_files_getaliasent_r): Pass global stream.
19355         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
19356         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
19357         (_nss_files_gethostbyname4_r): Pass local stream to
19358         internal_setent, internal_getent and internal_endent.  Remove
19359         locking.
19361 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19363         * tst-strfmon1.c (tests): Update expected currency symbol.
19365 2015-05-08  Roland McGrath  <roland@hack.frob.com>
19367         * sysdeps/nacl/gethostname.c: New file.
19369 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
19371         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
19372         and sinh.
19373         * math/auto-libm-test-out: Regenerated.
19374         * sysdeps/i386/fpu/libm-test-ulps: Update.
19375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19377 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
19379         [BZ #18125]
19380         * stdlib/tst-setcontext3.c: New file.
19381         * stdlib/tst-setcontext3.sh: New file.
19382         * stdlib/Makefile (tests): Add tst-setcontext3.
19383         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
19384         to verify test program created output file.
19385         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
19386         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
19387         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
19388         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
19390 2015-05-06  Roland McGrath  <roland@hack.frob.com>
19392         [BZ #18383]
19393         * elf/tst-tlsalign.c: New file.
19394         * elf/tst-tlsalign-static.c: New file.
19395         * elf/tst-tlsalign-lib.c: New file.
19396         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
19397         (tests-static): Add tst-tlsalign-static.
19398         (modules-names): Add tst-tlsalign-lib.
19399         (test-xfail-tst-tlsalign): New variable.
19400         (test-xfail-tst-tlsalign-static): New variable.
19402         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
19403         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
19405 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
19407         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
19408         csqrt, erfc, sin and sincos.
19409         * math/auto-libm-test-out: Regenerated.
19410         * sysdeps/i386/fpu/libm-test-ulps: Update.
19411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19413 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19415         * sysdeps/aarch64/libm-test-ulps: Update.
19417 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
19419         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
19420         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
19421         * math/auto-libm-test-out: Regenerated.
19422         * sysdeps/i386/fpu/libm-test-ulps: Update.
19423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19425 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19427         [BZ #18265]
19428         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
19429         (wcsncpy): Likewise.
19431 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19433         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19434         Assume __ASSUME_FALLOCATE is always true.
19435         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19436         (__posix_fallocate64_l64): Likweise.
19437         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
19438         (posix_fallocate): Likewise.
19439         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
19440         (__posix_fallocate64_l64): Likewise.
19441         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19442         [!__ASSUME_FALLOCATE]: Add comment.
19444 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19446         * sysdeps/unix/sysv/linux/i386/Makefile
19447         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
19448         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
19449         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
19450         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19451         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19452         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
19453         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
19455 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
19457         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
19458         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
19459         tgamma.
19460         * math/auto-libm-test-out: Regenerated.
19461         * sysdeps/i386/fpu/libm-test-ulps: Update.
19462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19464 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19466         * math/auto-libm-test-in: Add more tests of tgamma.
19467         * math/auto-libm-test-out: Regenerated.
19468         * sysdeps/i386/fpu/libm-test-ulps: Update.
19469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19471         * math/auto-libm-test-in: Add more tests of tanh.
19472         * math/auto-libm-test-out: Regenerated.
19473         * sysdeps/i386/fpu/libm-test-ulps: Update.
19474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19476         * math/auto-libm-test-in: Add more tests of tan.
19477         * math/auto-libm-test-out: Regenerated.
19478         * sysdeps/i386/fpu/libm-test-ulps: Update.
19479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19481         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
19482         * math/auto-libm-test-out: Regenerated.
19483         * sysdeps/i386/fpu/libm-test-ulps: Update.
19484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19486         * math/auto-libm-test-in: Add another test of pow.
19487         * math/auto-libm-test-out: Regenerated.
19488         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19490         * math/auto-libm-test-in: Add more tests of lgamma.
19491         * math/auto-libm-test-out: Regenerated.
19492         * sysdeps/i386/fpu/libm-test-ulps: Update.
19493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19495         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
19496         log1p.
19497         * math/auto-libm-test-out: Regenerated.
19498         * sysdeps/i386/fpu/libm-test-ulps: Update.
19499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19501 2015-05-01  Mark Wielaard  <mjw@redhat.com>
19503         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
19504         Elf64_Chdr structs and ELFCOMPRESS constants.
19506 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19508         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
19509         expm1.
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         * math/auto-libm-test-in: Add more tests of erf and erfc.
19515         * math/auto-libm-test-out: Regenerated.
19516         * sysdeps/i386/fpu/libm-test-ulps: Update.
19517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19519 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19521         * config.h.in (HAVE_AARCH64_BE): Add.
19523 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
19525         * math/auto-libm-test-in: Add more tests of csqrt.
19526         * math/auto-libm-test-out: Regenerated.
19527         * sysdeps/i386/fpu/libm-test-ulps: Update.
19528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19530         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19531         * math/auto-libm-test-out: Regenerated.
19532         * sysdeps/i386/fpu/libm-test-ulps: Update.
19533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19535         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
19537 2015-04-29  Roland McGrath  <roland@hack.frob.com>
19539         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
19540         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
19542         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
19543         (euidaccess, eaccess): Define as weak aliases.
19545         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
19546         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
19547         but __suseconds_t is often 'long int' so some sources assume that
19548         type is being used (e.g. they use %ld to print tv_usec).
19550 2015-04-29  Florian Weimer  <fweimer@redhat.com>
19552         [BZ #18007]
19553         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
19554         (CVE-2014-8121)
19555         * nss/tst-nss-getpwent.c: New file.
19556         * nss/Makefile (tests): Add new test.
19558 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
19560         [BZ #18346]
19561         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
19562         exponents less than 48 as cases where high part of mantissa needs
19563         examining to determine whether argument is integral.
19564         * math/libm-test.inc (round_test_data): Add more tests.
19566 2015-04-28  Mark Wielaard  <mjw@redhat.com>
19568         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
19570 2015-04-27  David S. Miller  <davem@davemloft.net>
19572         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
19573         __tls_get_addr.
19574         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19576 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
19578         [BZ#18333]
19579         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
19581 2015-04-27  Florian Weimer  <fweimer@redhat.com>
19583         [BZ#18333]
19584         * time/tzset.c (parse_tzname): Return error on memory allocation
19585         failure.
19586         * test-skeleton.c (struct temp_name_list): Change type of name
19587         member to non-const.
19588         (add_temp_file): Create a copy of the file name.
19589         (delete_temp_files): Deallocate memory.
19590         (create_temp_file): Add comment.
19592 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19594         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19595         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19597 2015-04-24  Roland McGrath  <roland@hack.frob.com>
19599         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19600         * sysdeps/arm/configure: Regenerated.
19602 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19604         [BZ #17715]
19605         * time/tzfile.c (__tzfile_read): Check for large values of
19606         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
19607         * time/tzset.c (__tzstring_len): New function, based on the old
19608         __tzstring function.
19609         (__tzstring): Call __tzstring_len.
19610         (parse_tzname): New helper function extracted from
19611         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
19612         the input string.
19613         (parse_offset): New helper function extracted from
19614         __tzset_parse_tz.  Replace switch with fallthrough with
19615         initialization before sscanf.
19616         (parse_rule): Likewise.
19617         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
19618         new-style function definition.
19619         * timezone/Makefile (tests): Add tst-tzset.
19620         (tst-tzset.out): Dependencies on time zone files.
19621         (tst-tzset-ENV): Set TZDIR.
19622         (testdata/XT%): Copy crafted time zone files.
19623         * timezone/README: Mention crafted time zone files.
19624         * timezone/testdata/XT1, timezone/testdata/XT2,
19625         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19626         files.
19627         * timezone/tst-tzset.c: New test.
19629 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19631         * Makeconfig (+gccwarn): Remove -Winline.
19633 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19635         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19637 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19639         * NEWS: Mention sysconf() cache information support for s390.
19640         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19642 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
19644         * math/k_casinh.c (__kernel_casinh): Use __copysign.
19645         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19646         (__nearbyint): Likewise.
19647         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19648         (copysignl): Likewise.
19650 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
19652         [BZ #18287]
19653         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19654         based on padding.  (CVE-2015-1781)
19656 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19658         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19659         libc-vdso.h.
19660         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19661         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19662         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19663         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19664         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19665         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19666         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19667         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19668         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19669         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19670         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19671         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19672         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19673         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19674         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19675         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19676         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19677         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19678         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19679         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19680         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19681         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19682         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19684 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
19686         * stdlib/setenv.c (__add_to_environ):
19687         Dump core quickly if setenv (..., NULL, ...) is called.
19688         This time, do it the right way, and pacify GCC with a pragma.
19690 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19692         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19693         IMAP->l_prev cannot be null, and #if out the code for the contrary
19694         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19695         believe that NS (&_dl_ns[NSID]) could point outside the array.
19697         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19698         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19699         before using NSID as an index.
19701 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
19703         [BZ #17825]
19704         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19705         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19706         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19708 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19710         Add preliminary port to Google Native Client on ARM.
19711         * abi-tags (.*-.*-nacl.*): New entry.
19712         * sysdeps/arm/nacl: New directory.
19713         * sysdeps/nacl: New directory.
19715 2015-04-16  David S. Miller  <davem@davemloft.net>
19717         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19718         lowlevellock-futex.h
19720 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
19722         * sysdeps/tile/configure.ac: New file.
19723         * sysdeps/tile/configure: Regenerated.
19725 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19727         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
19728         conditionals for weak_alias and libc_hidden_weak.
19729         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19730         libc_hidden_weak and weak_alias.
19731         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19732         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19733         and weak_alias for static one.
19735 2015-04-15  David S. Miller  <davem@davemloft.net>
19737         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19739 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19741         [BZ #18206]
19742         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19743           Use signed comparision instead of substraction to avoid
19744           overflow bug.
19745         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19746           Take the sign of ret.
19747         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19748           Do not expect precise return values. Only the sign matters.
19749         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19750         * wcsmbs/test-wcsncmp.c: New File.
19751         * string/test-strncmp.c: Add wcsncmp support.
19753 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19755         [BZ #6792]
19756         * math/w_log1p.c: New file.
19757         * math/w_log1pf.c: Likewise.
19758         * math/w_log1pl.c: Likewise.
19759         * math/Makefile (libm-calls): Add w_log1p.
19760         * math/s_log1pl.c (log1pl): Remove weak_alias.
19761         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19762         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19763         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19764         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19765         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19766         [NO_LONG_DOUBLE] (log1pl): Likewise.
19767         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19768         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19769         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19770         (log1p): Remove long_double_symbol.
19771         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19772         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19773         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19774         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19775         remove weak_alias for corresponding log1p function.
19776         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19777         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19778         * sysdeps/ia64/fpu/w_log1p.c: New file.
19779         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19780         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19781         * math/libm-test.inc (log1p_test_data): Add errno expectations.
19783 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
19785         [BZ #18247]
19786         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19787         decimal exponent by 1.
19788         * stdlib/tst-strtod-round-data: Add more tests.
19789         * stdlib/tst-strtod-round.c (tests): Regenerated.
19791 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
19793         * math/auto-libm-test-in: Add more tests of clog and clog10.
19794         * math/auto-libm-test-out: Regenerated.
19795         * sysdeps/i386/fpu/libm-test-ulps: Update.
19796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19798 2015-04-09  Roland McGrath  <roland@hack.frob.com>
19800         * Makeconfig (module-cppflags): Exclude all .v.i files.
19801         (skip-module-cppflags): Variable removed.
19803         * configure.ac (libc_config_ok): Initialize before reading
19804         preconfigure scripts, not after.
19805         * configure: Regenerated.
19807         * test-skeleton.c (TIMEOUT): Move #define to top level.
19808         (main): Grok environment variable TEST_DIRECT.  If set, print
19809         test expectation details into that file and then behave as if
19810         given --direct.
19812 2015-04-09  Florian Weimer  <fweimer@redhat.com>
19814         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19815         warning on 32-bit.
19817 2015-04-08  David S. Miller  <davem@davemloft.net>
19819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19821 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19823         * math/auto-libm-test-in: Add more tests of atanh.
19824         * math/auto-libm-test-out: Regenerated.
19825         * sysdeps/i386/fpu/libm-test-ulps: Update.
19826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19828         * math/auto-libm-test-in: Add more tests of atan.
19829         * math/auto-libm-test-out: Regenerated.
19830         * sysdeps/i386/fpu/libm-test-ulps: Update.
19831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19833 2015-04-08  Florian Weimer  <fweimer@redhat.com>
19835         * elf/pldd.c (main): Rewrite to use struct
19836         scratch_buffer instead of extend_alloca.
19837         * elf/pldd-xx.c (find_maps): Likewise.
19838         * grp/initgroups.c: Include <scratch_buffer.h> instead of
19839         <alloca.h>.
19840         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19841         scratch_buffer instead of extend_alloca.
19842         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19843         grp/compat-initgroups.c.
19844         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19845         Rewrite to use struct scratch_buffer instead of extend_alloca.
19846         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19847         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19849 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19851         * math/auto-libm-test-in: Add more tests of cbrt.
19852         * math/auto-libm-test-out: Regenerated.
19853         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19855         * math/auto-libm-test-in: Add more tests of cabs.
19856         * math/auto-libm-test-out: Regenerated.
19857         * sysdeps/i386/fpu/libm-test-ulps: Update.
19858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19860         [BZ #18210]
19861         [BZ #18211]
19862         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19863         (__ieee754_atan2): Set FE_TONEAREST mode for internal
19864         computations.
19865         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19866         clog10.
19867         * math/auto-libm-test-out: Regenerated.
19868         * sysdeps/i386/fpu/libm-test-ulps: Update.
19869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19871         [BZ #18197]
19872         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19873         (atan): Set FE_TONEAREST mode for internal computations.
19874         * math/auto-libm-test-in: Add more tests of atan.
19875         * math/auto-libm-test-out: Regenerated.
19877 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
19879         [BZ #17930]
19880         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19882 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19884         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19886 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19888         * include/scratch_buffer.h: New file.
19889         * malloc/scratch_buffer_grow.c: Likewise.
19890         * malloc/scratch_buffer_grow_preserve.c: Likewise.
19891         * malloc/scratch_buffer_set_array_size.c: Likewise.
19892         * malloc/tst-scratch_buffer.c: Likewise.
19893         * malloc/Makefile (routines): Add scratch_buffer_grow.
19894         (tests): Add test case.
19895         * malloc/Versions (GLIBC_PRIVATE): Export
19896         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19897         __libc_scratch_buffer_set_array_size.
19899 2015-04-06  Richard Henderson  <rth@redhat.com>
19901         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19902         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19904         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19905         unsigned int before printing.
19907 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19909         [BZ #17596]
19910         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19911         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19913 2015-04-02  Florian Weimer  <fweimer@redhat.com>
19915         * include/libc-internal.h (libc_max_align_t): Define.
19917 2015-04-02  Andreas Schwab  <schwab@suse.de>
19919         [BZ #16850]
19920         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19922 2015-04-02  Mel Gorman  <mgorman@suse.de>
19924         [BZ #17195]
19925         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19926         as well as the main arena.
19928 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19930         [BZ #18185]
19931         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19932         sharing L2 cache to 2 for Silvermont/Knights Landing.
19934 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19936         [BZ #17711]
19937         * config.make.in (have-protected-data): New.
19938         * configure.ac: Check linker support for protected data symbol.
19939         * configure: Regenerated.
19940         * elf/Makefile (modules-names): Add tst-protected1moda and
19941         tst-protected1modb if $(have-protected-data) is yes.
19942         (tests): Add tst-protected1a and tst-protected1b if
19943         $(have-protected-data) is yes.
19944         ($(objpfx)tst-protected1a): New.
19945         ($(objpfx)tst-protected1b): Likewise.
19946         (tst-protected1modb.so-no-z-defs): Likewise.
19947         * elf/tst-protected1a.c: New file.
19948         * elf/tst-protected1b.c: Likewise.
19949         * elf/tst-protected1mod.h: Likewise.
19950         * elf/tst-protected1moda.c: Likewise.
19951         * elf/tst-protected1modb.c: Likewise.
19953 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19955         [BZ #17711]
19956         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19957         indicates it is called from do_lookup_x on relocation against
19958         protected data, skip the data definion in the executable from
19959         copy reloc.
19960         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19961         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19962         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19963         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19964         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19965         otherwise to 0.
19966         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19967         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19968         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19969         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19970         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19971         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19973 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
19975         * sysdeps/nptl/pthread.h: Remove duplicate definition of
19976         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19978 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
19980         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19981         THREAD_SETMEM_NC.
19982         * sysdeps/x86_64/nptl/tls.h: Ditto.
19984 2015-03-27  Roland McGrath  <roland@hack.frob.com>
19986         * dlfcn/tststatic.c (main): Converted to ...
19987         (do_test): ... this.
19988         (TEST_FUNCTION): New macro.
19989         Include test-skeleton.c.
19991 2015-03-26  Alan Modra  <amodra@gmail.com>
19993         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19994         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
19995         zero for undefined weak.
19996         (elf_machine_plt_conflict): Similarly.
19998 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20000         * math/auto-libm-test-in: Add more tests of acosh, asinh and
20001         atanh.
20002         * math/auto-libm-test-out: Regenerated.
20003         * sysdeps/i386/fpu/libm-test-ulps: Update.
20004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20006         * math/auto-libm-test-in: Add another test of asin.
20007         * math/auto-libm-test-out: Regenerated.
20008         * sysdeps/i386/fpu/libm-test-ulps: Update.
20009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20011         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
20012         Remove macro.
20013         (LLL_EBX_REG): Likewise.
20014         (LLL_ENTER_KERNEL): Likewise.
20016         * math/auto-libm-test-in: Add more tests of asin.
20017         * math/auto-libm-test-out: Regenerated.
20018         * sysdeps/i386/fpu/libm-test-ulps: Update.
20019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20021         [BZ #18138]
20022         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
20023         libc_do_syscall_args): New structure.
20024         (INTERNAL_SYSCALL_MAIN_0): New macro.
20025         (INTERNAL_SYSCALL_MAIN_1): Likewise.
20026         (INTERNAL_SYSCALL_MAIN_2): Likewise.
20027         (INTERNAL_SYSCALL_MAIN_3): Likewise.
20028         (INTERNAL_SYSCALL_MAIN_4): Likewise.
20029         (INTERNAL_SYSCALL_MAIN_5): Likewise.
20030         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
20031         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
20032         Replace conditional definitions by conditional definitions of ....
20033         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
20034         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
20035         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
20036         (libpthread-sysdep_routines): Add libc-do-syscall.
20037         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
20038         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
20039         to __NR_futex not 240.
20041 2015-03-25  Alan Modra  <amodra@gmail.com>
20043         * NEWS: Advertise TLS optimization.
20044         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
20045         (DT_PPC_NUM): Increment.
20046         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
20047         (CHECK_STATIC_TLS): Use here.
20048         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
20049         TLS descriptors.
20050         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20051         * sysdeps/powerpc/dl-tls.c: New file.
20052         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
20053         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
20054         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
20055         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
20056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
20057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
20058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
20060 2015-03-25  Alan Modra  <amodra@gmail.com>
20062         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
20063         for overlapping .opd entries" to "support...".
20064         * sysdeps/powerpc/powerpc64/configure: Regenerate
20066 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20068         * math/auto-libm-test-in: Add more tests of acos.
20069         * math/auto-libm-test-out: Regenerated.
20070         * sysdeps/i386/fpu/libm-test-ulps: Update.
20071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20073         * math/auto-libm-test-in: Add more tests of expm1.
20074         * math/auto-libm-test-out: Regenerated.
20075         * sysdeps/i386/fpu/libm-test-ulps: Update.
20076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20078 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
20080         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20081         * math/auto-libm-test-out: Regenerated.
20082         * sysdeps/i386/fpu/libm-test-ulps: Update.
20083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20085         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20088         * math/auto-libm-test-in: Add more tests of log2.
20089         * math/auto-libm-test-out: Regenerated.
20090         * sysdeps/i386/fpu/libm-test-ulps: Update.
20091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20093 2015-03-23  Roland McGrath  <roland@hack.frob.com>
20095         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
20096         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
20097         _IO_IS_APPENDING bit in READ_WRITE instead.
20099 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20101         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20102         (__determine_cpumask_size): Replace extend_alloca with a
20103         variable-length array.  Do not treat res == 0 as an error.
20105 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20107         [BZ #18100]
20108         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
20109         and integer overflow.
20110         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
20111         (main): Add integer overflow tests.
20112         * manual/pattern.texi (Calling Wordexp): Document additional use
20113         for WRDE_SYNTAX.
20115 2015-03-23  Alan Modra  <amodra@gmail.com>
20117         * config.h.in: Remove HAVE_ASM_PPC_REL16.
20118         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
20119         and false branch of conditional.
20120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20121         Likewise.
20123 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
20125         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
20126         libc-modules.h
20127         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
20128         unused declaration of _hurd_intr_rpc_msg_in_trap.
20129         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
20130         defined instead of whether it is non-zero.
20131         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
20132         input constraint instead of both input and output constraint.  Use ecx
20133         clobber instead of %ecx.
20134         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
20135         mutex_unlock): Use a statement expression instead of an expression list.
20136         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
20137         type to vm_size_t instead of vm_address_t.
20138         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
20139         defined instead of whether it is non-zero.
20140         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
20141         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
20142         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
20143         comparisons with mapaddr.
20144         * nscd/nscd-client.h: Include <time.h>.
20145         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
20146         9th parameter to __vm_region instead of int.
20147         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
20148         * scripts/check-local-headers.sh (exclude): Add device/,
20149         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
20150         cthreads.h.
20152 2015-03-19  Roland McGrath  <roland@hack.frob.com>
20154         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
20155         to account for alignment padding.
20156         * sysdeps/arm/memmove.S: Likewise.
20158 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
20160         * sysdeps/unix/sysv/linux/generic/README: New file.
20162 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
20164         [BZ #18138]
20165         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
20166         (futex_abstimed_wait)
20167         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
20168         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
20169         of lll_futex_timed_wait.
20171 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
20173         [BZ #17542]
20174         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
20176 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
20178         [BZ #17090]
20179         [BZ #17620]
20180         [BZ #17621]
20181         [BZ #17628]
20182         * NEWS: Update.
20183         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
20184         entries with Static TLS too.  Skip entries past the end of the
20185         allocated DTV, from Alan Modra.
20186         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
20187         Static TLS DTV entry set up from...
20188         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
20189         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
20190         * nptl/allocatestack.c (init_one_static_tls): ... and here...
20191         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
20192         for Static TLS.
20193         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
20194         that the slot we find is associated with the given map before
20195         using its generation count.
20196         * nptl_db/db_info.c: Include ldsodefs.h.
20197         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
20198         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
20199         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
20200         (link_map::l_tls_offset): New struct field.
20201         (dtv_t::counter): Likewise.
20202         (rtld_global): New struct.
20203         (_rtld_global): New rtld variable.
20204         (dl_tls_dtv_slotinfo_list): New rtld global field.
20205         (dtv_slotinfo_list): New struct.
20206         (dtv_slotinfo): Likewise.
20207         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
20208         (td_lookup): Rename to...
20209         (td_mod_lookup): ... this.  Use new mod parameter instead of
20210         LIBPTHREAD_SO.
20211         * nptl_db/td_thr_tlsbase.c: Include link.h.
20212         (dtv_slotinfo_list, dtv_slotinfo): New functions.
20213         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
20214         addresses even if the DTV is out of date or missing them.
20215         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
20216         index zero-length arrays.
20217         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
20218         (td_lookup): Make it a macro implemented in terms of...
20219         (td_mod_lookup): ... this declaration.
20220         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
20221         (DB_MAIN_VARIABLE): Likewise.
20223 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20225         [BZ #18134]
20226         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20228 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
20230         * stdlib/setenv.c (__add_to_environ): Revert previous change.
20232 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20234         [BZ #18128]
20235         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
20236         (atomic_add, atomic_increment_and_test)
20237         (atomic_decrement_and_test): Fix 64-bit arithmetic.
20239 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
20241         * stdlib/setenv.c (__add_to_environ):
20242         Dump core quickly if setenv (..., NULL, ...) is called.
20244 2015-03-13  Roland McGrath  <roland@hack.frob.com>
20246         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
20247         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
20248         all the necessary asm magic in one place.
20249         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
20250         using those.
20252 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
20254         [BZ #14906]
20255         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
20256         traced file mtime. Use consistent log message.
20257         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
20258         (register_traced_file): Call install_watches. Always set mtime.
20259         (invalidate_cache): Iterate over all trace files. Call install_watches.
20260         (inotify_check_files): Don't inline. Handle watching parent
20261         directories and configuration file movement in and out.
20262         (handle_inotify_events): New function.
20263         (main_loop_poll): Call handle_inotify_events.
20264         (main_loop_epoll): Likewise.
20265         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
20266         (struct traced_file): Use array of inotify fds. Add parent directory,
20267         and basename.
20268         (struct database_dyn): Remove unused file_mtime.
20269         (init_traced_file): New inline function.
20270         (define_traced_file): New macro.
20271         * nss/nss_db/db-init.c: Use define_traced_file.
20272         (_nss_db_init): Use init_traced_file.
20273         * nss/nss_files/files-init.c: Use define_traced_file.
20274         (_nss_files_init): Use init_traced_file.
20276 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
20278         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
20279         [_LIBC]: Do not include <stdlib.h>.
20280         [!_LIBC] (abort): Remove declaration.
20281         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
20282         _FP_STATIC_ASSERT instead of conditionally calling abort.
20283         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
20284         (_FP_EXTEND_CNAN): Likewise.
20285         (FP_TRUNC): Likewise.
20286         (__FP_CLZ): Likewise.
20287         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
20289 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
20291         * manual/string.texi (XPG basename): Fix prototype.
20293 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20295         [BZ #18080]
20296         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
20297         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20298         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
20299         (__setcontext): Likewise.
20300         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
20301         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20302         Call rt_sigprocmask syscall one time to set new signal mask
20303         and retrieve the current signal mask instead of two calls.
20304         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
20305         (__swapcontext): Likewise.
20306         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
20307         * stdlib/tst-setcontext2.c: New file.
20309 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20311         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20313 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
20315         [BZ #18093]
20316         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
20317         the wrong size.
20319 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20321         [BZ #18043]
20322         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
20324 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20326         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
20327         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
20328         Remove define.
20329         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
20330         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
20331         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
20332         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
20333         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
20334         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
20335         define.
20336         * nptl_db/td_symbol_list.c (td_lookup): Remove
20337         HAVE_ASM_GLOBAL_DOT_NAME code.
20338         * sysdeps/powerpc/powerpc64/configure.ac: Remove
20339         HAVE_ASM_GLOBAL_DOT_NAME check.
20340         * sysdeps/powerpc/powerpc64/configure: Regenerate.
20341         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
20342         (DOT_LABEL): Remove define.
20343         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
20344         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
20345         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
20346         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
20347         (__TLS_GET_ADDR): Likewise.
20348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
20349         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
20351 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
20353         [BZ #18111]
20354         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
20355         (_FPU_SETCW): Initialize cw from fpsr before storing.
20356         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
20357         (fesetexceptflag): Rewrite using fpu_control.h.
20358         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
20360 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
20362         [BZ #18110]
20363         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
20364         asms.
20365         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20367 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
20369         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
20370         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
20371         abort.
20372         (_FP_FMA): Likewise.
20373         (_FP_DIV): Likewise.
20375 2015-03-10  Roland McGrath  <roland@hack.frob.com>
20377         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
20378         with 0 in that case.
20379         * Makefile (summarize-tests): New canned sequence, factored out of
20380         commands for targets tests and xtests.  Display summary lines that
20381         don't start with PASS: or XFAIL: rather than ones that do start with
20382         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
20383         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
20384         do start with ERROR: or FAIL:.
20385         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
20386         (except for [$(build-shared) = yes]).
20387         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
20388         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
20389         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
20390         * nptl/Makefile: Revert 2015-03-04 changes.
20391         [$(CXX) empty] (tests-unsupported): New variable.
20392         * debug/Makefile: Likewise.
20394         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
20395         gnulib file.  Replace __attribute with __attribute__ throughout.
20397 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
20399         * sysdeps/hppa/fpu/libm-test-ulps: Update.
20401 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20403         [BZ #18104]
20404         * math/auto-libm-test-in: Add another test of pow.
20405         * math/auto-libm-test-out: Regenerated.
20407 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20409         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
20410         $(config-cflags-nofma).
20412 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20414         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
20415         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
20416         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
20417         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
20418         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
20419         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
20420         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
20421         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
20422         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
20423         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
20424         Add comment on closing #endif.
20426 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20428         * posix/wordexp.c (CHAR_IN_SET): New macro.
20429         (parse_param): Use it.
20431 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20433         * sysdeps/powerpc/fpu/libm-test-ulps: update.
20435 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20437         [BZ #18043]
20438         * posix/wordexp.c (parse_param): Fix buffer overflow.
20439         * posix/wordexp-test.c (test_case): Add test case.
20441 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20443         [BZ #18042]
20444         * posix/wordexp.c (parse_backtick): Fix off-by-one.
20445         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
20447 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20449         [BZ #18043]
20450         * posix/wordexp-test.c (test_case): Add test for BZ #18043
20451         (do_bz18043): Delete.
20452         (at_page_end): New.
20453         (testit): Refactor to have words at the edge of unreadable page.
20455 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20457         [BZ #16734]
20458         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
20459         Cleanup read-only streams as well.
20460         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
20462 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20464         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
20465         <bits/libc-lockP.h>
20467 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
20469         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
20470         on [__KERNEL__].
20471         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
20472         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
20473         * soft-fp/op-common.h (_FP_DECL): Likewise.
20475 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20477         * elf/ifuncdep2.c (global): Replace
20478         __attribute__((visibility("protected"))) with
20479         asm (".protected global").
20480         * elf/ifuncmod1.c (global): Likewise.
20481         * elf/ifuncmod5.c (global): Likewise.
20483 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
20485         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
20486         <asm/sfp-machine.h> instead of <sfp-machine.h>.
20488 2015-03-06  Roland McGrath  <roland@hack.frob.com>
20490         * manual/install.texi (Configuring and compiling):
20491         Document test-wrapper-env-only.
20492         * INSTALL: Regenerated.
20494 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20496         [BZ #18043]
20497         * posix/wordexp.c (parse_param): Fix buffer overflow.
20498         * posix/wordexp-test.c (do_bz18043): Add test case.
20500 2015-03-06  Vincent Bernat  <vincent@bernat.im>
20502         * time/tst-strptime2.c (do_test): Ensure failing tests are
20503         reported correctly.
20504         * time/tst-strptime3.c (do_test): Likewise.
20506 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
20508         Fix aio_error thread-safety.
20509         * sysdeps/pthread/aio_error.c: New file
20510         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
20511         synchronization.
20513 2015-03-06  Florian Weimer  <fweimer@redhat.com>
20515         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
20516         (group_number, vfprintf): Use it.
20517         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
20518         (JUMP, REF): Use it.
20519         (WORK_BUFFER_SIZE): New enum constant.
20520         (process_arg, vfprintf): Use it.
20522 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
20524         * manual/errno.texi (Error Messages): Complete example function
20525         by adding missing #define.
20526         (program_invocation_name): Add statement indicating GNU
20527         extension and reference which header file declares the variable.
20528         (program_invocation_short_name): Likewise.
20530 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
20532         * manual/errno.texi (Error Messages): Delete strerror ISO C89
20533         compatibility note.
20535 2015-03-05  Roland McGrath  <roland@hack.frob.com>
20537         * Makeconfig (test-wrapper-env-only): New variable.
20538         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
20539         then use that with $(test-wrapper-env-only) rather than using
20540         $(test-wrapper-env) $(run-program-env) $($*-ENV).
20542 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
20544         [BZ #18082]
20545         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
20546         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
20547         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
20548         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
20549         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
20550         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
20551         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
20552         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
20553         Likewise.
20554         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
20555         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
20556         Likewise.
20557         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
20558         Likewise.
20559         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
20560         Likewise.
20561         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
20562         Likewise.
20563         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
20564         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
20565         Likewise.
20566         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
20567         Likewise.
20568         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
20569         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
20571 2015-03-04  Roland McGrath  <roland@hack.frob.com>
20573         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
20574         (ETH_ALEN): New macro.
20575         (struct ether_addr): Use it for length of ether_addr_octet.
20577         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
20578         (setdb): Don't call __nss_configure_lookup for "rpc".
20579         (do_test): Don't call test_rpc.
20580         (output_rpcent, test_rpc): Functions moved ...
20581         * sunrpc/test-rpcent.c: ... to this new file.
20582         * sunrpc/Makefile (tests): Add it.
20584         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20585         __xpg_sigpause.
20586         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20587         * nptl/tst-signal6.c: Likewise.
20588         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20589         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20591         * configure.ac (libc_cv_cxx_link_ok): New check.
20592         Reset CXX to empty if it fails to link.
20593         * configure: Regenerated.
20594         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20595         bug-atexit3-lib only if $(CXX) is nonempty.
20596         * nptl/Makefile (tests): Likewise for tst-cancel24.
20597         (tests, tests-static): Likewise for tst-cancel24-static.
20598         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20599         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20600         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20601         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20603 2015-03-04  Andreas Schwab  <schwab@suse.de>
20605         [BZ #17631]
20606         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20607         for non-GCC compilers.
20608         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20609         Likewise.
20611 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20613         [BZ #17776]
20614         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20615         integer before bitwise and assembly operations.
20616         (feclearexcept): Likewise.
20617         * math/test-fenvinline.c: New file.
20618         * math/Makefile: Add test-fenvinline test.
20620 2015-03-03  Alan Modra  <amodra@gmail.com>
20622         [BZ #16512]
20623         * scripts/localplt.awk: Strip off symbol version.
20624         * NEWS: Mention bug fix.
20626 2015-03-02  Roland McGrath  <roland@hack.frob.com>
20628         * sysdeps/pthread/timer_routines.c
20629         (timer_free_list, thread_free_list, thread_active_list): Make static.
20631 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
20633         [BZ #17779]
20634         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20635         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20636         Undefine.
20637         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20638         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20639         Likewise.
20640         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20641         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20642         Likewise.
20644 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20646         [BZ #18036]
20647         * posix/fnmatch_loop.c (END): Detect invalid pattern.
20648         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20650 2015-03-02  Andreas Schwab  <schwab@suse.de>
20652         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20653         variable name.
20655 2015-03-02  Florian Weimer  <fweimer@redhat.com>
20657         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20658         Return error status.
20660 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
20662         [BZ #15969]
20663         * locale/findlocale.c (_nl_find_locale): Introduce const
20664         version of loc_name and drop unsafe type casts.
20666 2015-02-27  Roland McGrath  <roland@hack.frob.com>
20668         * dlfcn/tststatic2.c (main): Converted to ...
20669         (do_test): ... this.
20670         (TEST_FUNCTION): New macro.
20671         Include test-skeleton.c.
20673 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
20675         [BZ #17711]
20676         * elf/Makefile (tests): Add vismain only if PIE is enabled.
20677         (tests-pie): Add vismain.
20678         (CFLAGS-vismain.c): New.
20679         * elf/vismain.c: Add comments for PIE requirement.
20681 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20683         [BZ #18046]
20684         [BZ #18047]
20685         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20686         0x1p-56L as threshold for just returning the argument.
20687         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20688         0x1p-32L as threshold for just returning the argument.
20689         * math/auto-libm-test-in: Add more tests of atanh.
20690         * math/auto-libm-test-out: Regenerated.
20691         * sysdeps/i386/fpu/libm-test-ulps: Update.
20692         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20694 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20696         * string/bcopy.c (bcopy): Call memmove for performance.
20698 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20700         * string/bzero.c (__bzero): Call memset for performance.
20702 2015-02-27  John David Anglin  <dave.anglin@bell.net>
20704         [BZ #18068]
20705         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20706         to 00100000.
20708 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20710         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20712 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20714         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20715         (__kernel_standard): Use CSTR macro when setting exc.name.
20716         * sysdeps/ieee754/Makefile [$(subdir) = math]
20717         (CFLAGS-k_standard.c): Remove variable.
20719         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20720         setting p and q from "else if" to "else".
20721         (qzero): Likewise.
20722         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20723         (qone): Likewise.
20724         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20725         (qzerof): Likewise.
20726         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20727         (qonef): Likewise.
20728         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20729         (qzero): Likewise.
20730         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20731         (qone): Likewise.
20733         [BZ #18038]
20734         [BZ #18039]
20735         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20736         return pi/2 for arguments below 0x1p-113L.
20737         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20738         return pi/2 for arguments below 0x1p-106L.
20739         * math/auto-libm-test-in: Add more tests of acos.
20740         * math/auto-libm-test-out: Regenerated.
20742         [BZ #16351]
20743         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20744         (MO): New macro.
20745         (__ieee754_asin): Force underflow exception for results with small
20746         absolute value.
20747         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20748         (MO): New macro.
20749         (__ieee754_asinf): Force underflow exception for results with
20750         small absolute value.
20751         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20752         (__ieee754_asin): Force underflow exception for results with small
20753         absolute value.
20754         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20755         (__ieee754_asinf): Force underflow exception for results with
20756         small absolute value.
20757         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20758         (__ieee754_asinl): Force underflow exception for results with
20759         small absolute value.
20760         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20761         (__ieee754_asinl): Force underflow exception for results with
20762         small absolute value.
20763         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20764         (__ieee754_asinl): Force underflow exception for results with
20765         small absolute value.
20766         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20767         Include <math.h>.
20768         * math/auto-libm-test-in: Do not mark underflow exceptions as
20769         possibly missing for bug 16351.
20770         * math/auto-libm-test-out: Regenerated.
20772         [BZ #18030]
20773         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20774         of power of 2 down when low part has opposite sign.
20775         * math/libm-test.inc (logb_test_data): Add more tests.
20777 2015-02-26  Andreas Schwab  <schwab@suse.de>
20779         [BZ #18032]
20780         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20781         over collating symbol inside a bracket expression.  Minor cleanup.
20782         * posix/tst-fnmatch3.c (do_test): Add test case.
20784 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20786         [BZ #18029]
20787         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20788         Adjust exponent of power of 2 down when low part has opposite
20789         sign.
20790         * math/libm-test.inc (ilogb_test_data): Add more tests.
20792 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
20794         [BZ #15969]
20795         * locale/findlocale.c (_nl_find_locale): Fix constness error in
20796         the previous change.
20798         [BZ #15969]
20799         * locale/findlocale.c (_nl_find_locale): Retry archive search
20800         after alias expansion.
20802 2015-02-25  Roland McGrath  <roland@hack.frob.com>
20804         * iconv/tst-iconv3.c (main): Converted to ...
20805         (do_test): ... this.
20806         (TEST_FUNCTION): New macro.
20807         Include test-skeleton.c.
20809         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20810         (convert): Make function static.
20811         (test_unalign): Likewise.  Add const to argument pointee types.
20812         (main): Replace with static function do_test.
20813         Print "Succeeded." only if RET is zero.
20814         (TEST_FUNCTION): New macro.
20815         Include test-skeleton.c.
20817         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20818         returns a null pointer.
20820 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20822         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20823         to __memcpy_ppc only for static builds.
20825 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
20827         [BZ #18020]
20828         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20829         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20830         * math/auto-libm-test-in: Add more tests of asinh.
20831         * math/auto-libm-test-out: Regenerated.
20832         * sysdeps/i386/fpu/libm-test-ulps: Update.
20833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20835 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
20837         [BZ #15850]
20838         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20839         and ip6_mtuinfo definitions here.
20840         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20841         in this define too.  Update comment.
20843 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
20845         * elf/sprof.c (load_shobj): Tweak error message to match others.
20847 2015-02-24  Kevin Easton  <kevin@guarana.org>
20849         [BZ #16145] (partial fix)
20850         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20851         to reduce lock contention.
20853 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
20855         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20856         (struct timex): Update time comment.
20857         (ADJ_SETOFFSET): Define.
20859 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20861         [BZ #18019]
20862         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20863         2**56 not 2**28 as threshold for log (2x) formula.
20864         * math/auto-libm-test-in: Add more tests of acosh.
20865         * math/auto-libm-test-out: Regenerated.
20866         * sysdeps/i386/fpu/libm-test-ulps: Update.
20867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20869 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20871         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20872         parenthesis around the buf assignment.
20873         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20875 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20877         [BZ #16783]
20878         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20879         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20880         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20881         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20882         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20883         * math/libm-test.inc (scalb_test_data): Add more tests.
20885 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20887         [BZ #17916]
20888         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20889         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20891 2015-02-24  Eric Rannaud  <e@nanocritical.com>
20893         [BZ #17523]
20894         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20895         * io/bits/fcntl2.h (open): Use it.
20896         (openat): Likewise.
20897         * io/open.c (__libc_open): Likewise.
20898         * io/open64.c (__libc_open64): Likewise.
20899         * io/open64_2.c (__open64_2): Likewise.
20900         * io/open_2.c (__open_2): Likewise.
20901         * io/openat.c (__openat): Likewise.
20902         * io/openat64.c (__openat64): Likewise.
20903         * io/openat64_2.c (__openat64_2): Likewise.
20904         * io/openat_2.c (__openat_2): Likewise.
20905         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20906         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20907         * sysdeps/posix/open64.c (__libc_open64): Likewise.
20908         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20909         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20910         (__open_nocancel): Likewise.
20911         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20912         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20913         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20915 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20917         [BZ #14841]
20918         * resolv/gethnamaddr.c (getanswer): Skip logging if
20919         RES_USE_DNSSEC is set.
20920         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20922 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20924         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20926 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
20928         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20929         201304L, for Unicode 7.
20931 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
20933         [BZ #17836]
20934         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20935         shared library.  Add gmon-start.os otherwise.
20936         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20937         $(objpfx)gmon-start.os if builing shared library.
20938         ($(objpfx)g$(static-start-installed-name)): Likewise.
20940 2015-02-23  Andreas Schwab  <schwab@suse.de>
20942         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20944 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20946         [BZ #17269]
20947         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20948         (enlarge_userbuf): Likewise.
20950 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
20952         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20953         * math/atest-exp.c (TIMEOUT): Adjust to 200.
20954         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20955         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20957 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
20959         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20960         expression inside statement expression.
20962 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20964         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20965         <sysdeps/nptl/lowlevellock.h> and remove macros and
20966         functions that are now defined there.
20967         (SYS_futex): Remove.
20968         (lll_compare_and_swap): Remove.
20969         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20971 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
20973         [BZ #17999]
20974         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20975         instead of scandirat.
20976         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20977         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20978         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20979         __scandirat.
20980         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20981         (__scandirat): Declare.  Use libc_hidden_proto.
20982         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20983         Remove variable.
20984         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20986 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20988         [BZ #15319]
20989         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20990         (MO): New macro.
20991         (__ieee754_atan2): For results with small absolute value, force
20992         underflow exception and remove excess range and precision from
20993         return value.
20994         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20995         (MO): New macro.
20996         (__ieee754_atan2f): For results with small absolute value, force
20997         underflow exception and remove excess range and precision from
20998         return value.
20999         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
21000         (MO): New macro.
21001         (__atan): For results with small absolute value, force underflow
21002         exception and remove excess range and precision from return value.
21003         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
21004         (MO): New macro.
21005         (__atanf): For results with small absolute value, force underflow
21006         exception and remove excess range and precision from return value.
21007         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
21008         <math.h>.
21009         (__ieee754_atan2): Force underflow exception for results with
21010         small absolute value.
21011         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
21012         <math_private.h>.
21013         (atan): Force underflow exception for results with small absolute
21014         value.
21015         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
21016         (__atanf): Force underflow exception for results with small
21017         absolute value.
21018         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
21019         <math.h>.
21020         (__atanl): Force underflow exception for results with small
21021         absolute value.
21022         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
21023         (__atanl): Force underflow exception for results with small
21024         absolute value.
21025         * sysdeps/x86/fpu/bits/mathinline.h
21026         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
21027         (__ieee754_atan2): Only define inline for long double.
21028         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21029         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
21030         * math/auto-libm-test-in: Do not mark underflow exceptions as
21031         possibly missing for bug 15319.  Add more tests of atan2.
21032         * math/auto-libm-test-out: Regenerated.
21033         * math/libm-test.inc (casin_test_data): Do not mark underflow
21034         exceptions as possibly missing for bug 15319.
21035         (casinh_test_data): Likewise.
21036         * sysdeps/i386/fpu/libm-test-ulps: Update.
21038 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
21040         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
21041         * sysdeps/mips/bits/endian.h: Fix comments.
21043 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21045         [BZ #17996]
21046         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
21047         (hdestroy_r): Likewise.
21048         (hsearch_r): Likewise.
21049         (__hcreate_r): Declare and use libc_hidden_proto.
21050         (__hdestroy_r): Likewise.
21051         (__hsearch_r): Likewise.
21052         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
21053         (hcreate): Call __hcreate_r instead of hcreate_r.
21054         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
21055         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
21056         as weak alias of __hcreate_r.
21057         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
21058         __hdestroy_r.
21059         (hsearch_r): Rename to __hsearch_r and define as weak alias of
21060         __hsearch_r.
21061         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
21062         Remove variable.
21063         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21064         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21065         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21066         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21068 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21070         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
21071         arena_lock into a single arena_get.
21073 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
21075         * dl-reloc.c: Inlucde libc-internal.h.
21076         (_dl_try_allocate_static_tls): Call ALIGN_UP.
21077         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
21078         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
21079         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
21080         (grow_heap): Likewise.
21081         * malloc/malloc.c: Include libc-internal.h.
21082         (do_check_malloc): Call powerof2.
21083         (sysmalloc): Use pagesize. Call ALIGN_UP.
21084         (systrim): Use pagesize.
21085         (mremap_chunk): Use pagesize. Call ALIGN_UP.
21086         (__libc_valloc): Use pagesize.
21087         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
21089 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21091         [BZ #17991]
21092         * include/sys/resource.h (__getrlimit64): Declare.  Use
21093         libc_hidden_proto.
21094         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
21095         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
21096         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
21097         getrlimit64.
21098         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
21099         __getrlimit64.
21100         [!getrlimit64] (getrlimit64): Define as weak alias of
21101         __getrlimit64.  Use libc_hidden_weak.
21102         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
21103         using __getrlimit64 not __new_getrlimit64.
21104         (__GI_getrlimit64): Likewise.
21105         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
21106         Likewise.
21107         (__GI_getrlimit64): Likewise.
21108         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
21109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
21110         (getrlimit): Add __getrlimit64 alias.
21111         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
21112         Likewise.
21113         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
21114         Remove variable.
21115         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21116         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21118 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
21120         * libio/fileops.c: Add missing sys/mman.h
21121         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
21123 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21125         * manual/math.texi (Errors in Math Functions): Clarify goals
21126         regarding inexact and underflow exceptions.
21128 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21130         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
21131         * sysdeps/mips/memset.S: Ditto.
21133 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21135         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
21137 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21139         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
21140         (__v1longjmp): Remove versioned symbol.
21141         (__v1siglongjmp): Remove alias and versioned symbol.
21142         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
21143         (__v2siglongjmp): Likewise.
21145 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21147         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
21149 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
21151         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
21153 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21155         [BZ #17987]
21156         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
21157         zero result does not depend on the sign resulting from
21158         subtraction.
21159         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21160         Likewise.
21161         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21162         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21163         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21164         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21165         * math/libm-test.inc (remquo_test_data): Add more tests.
21167 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
21169         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
21170         Problem reported by J William Piggott.
21172 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21174         [BZ #17978]
21175         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
21176         products 4 * y and 2 * y where those would overflow.
21177         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21178         Likewise.
21179         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21180         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21181         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21182         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21183         * math/libm-test.inc (remquo_test_data): Add more tests.
21185         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
21187         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
21188         [defined _COMPILING_NEWLIB].
21189         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
21190         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
21192         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
21193         [!defined __mips_isa_rev || __mips_isa_rev < 6].
21195 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21197         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
21198         acquired.
21200 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
21202         [BZ #17792]
21203         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
21204         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
21205         HOST_STACK_END_ADDR): Likewise.
21207 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
21209         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
21210         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
21211         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
21213 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21215         * sysdeps/generic/c++-types.data: New file.
21216         * sysdeps/generic/ld.abilist: New file.
21217         * sysdeps/generic/libBrokenLocale.abilist: New file.
21218         * sysdeps/generic/libanl.abilist: New file.
21219         * sysdeps/generic/libc.abilist: New file.
21220         * sysdeps/generic/libcrypt.abilist: New file.
21221         * sysdeps/generic/libdl.abilist: New file.
21222         * sysdeps/generic/libm.abilist: New file.
21223         * sysdeps/generic/libpthread.abilist: New file.
21224         * sysdeps/generic/libresolv.abilist: New file.
21225         * sysdeps/generic/librt.abilist: New file.
21227 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21229         [BZ #17569]
21230         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21231         Compute absolute value of x as modified by fmod, not original
21232         value of x.
21233         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
21234         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
21235         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
21236         RUN_TEST_ffI_f1_mod8.
21237         (remquo_test_data): Add more tests.
21239 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21241         * sysdeps/init_array/pt-crti.S: New file.
21243 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21245         [BZ #17967]
21246         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
21247         __builtin_fmaf instead of relying on contraction of a * b + c.
21249 2015-02-12  J William Piggott  <elseifthen@gmx.com>
21251         [BZ #17969]
21252         * manual/time.texi: correct the zoneinfo path in the TZ Variable
21253         node.
21255 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21257         [BZ #17964]
21258         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
21259         __builtin_fma instead of relying on contraction of a * b + c.
21261 2015-02-12  Roland McGrath  <roland@hack.frob.com>
21263         * Makeconfig (ASFLAGS): Add -Werror=undef.
21264         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
21265         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
21266         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
21268         * Makeconfig (after-link): New variable.
21269         (+link-pie, +link-pie-tests): Use it.
21270         (+link-static, +link-static-tests): Likewise.
21271         (+link, +link-tests): Likewise.
21272         * Makerules (build-module, build-module-asneeded): Likewise.
21273         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
21274         Likewise.
21275         * elf/Makefile ($(objpfx)ld.so): Likewise.
21277 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
21279         [BZ #17965]
21280         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
21281         both struct timeval and struct timespec.
21283 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21285         [BZ #16560]
21286         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21287         and redefine.
21288         (__ieee754_exp2l): Do not multiply small fractional parts by
21289         M_LN2l.
21290         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
21291         small argument.
21292         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21293         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21294         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
21295         * math/auto-libm-test-in: Add more tests of exp2.
21296         * math/auto-libm-test-out: Regenerated.
21298 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21300         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
21301         unaligned path.
21303 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21305         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
21306         little endian.
21308 2015-02-12  Andreas Schwab  <schwab@suse.de>
21310         [BZ #15790]
21311         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21312         Filter out elision flags from value returned in kind.
21313         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
21314         * nptl/tst-pthread-mutexattr.c: New file.
21316 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21318         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
21319         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
21320         into gnu-gnu, and update comment to refer to abi-tags.
21322 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
21324         [BZ #15467]
21325         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
21326         (__sincos): Set errno to EDOM for infinite argument.
21327         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
21328         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
21329         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
21330         (__sincosl): Set errno to EDOM for infinite argument.
21331         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
21332         (__sincosl): Set errno to EDOM for infinite argument.
21333         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
21334         (__sincosl): Set errno to EDOM for infinite argument.
21335         * math/libm-test.inc (sincos_test_data): Test errno setting.
21337 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
21339         * string/strxfrm_l.c: Remove #define STRCMP.
21340         * string/strcoll_l.c: Remove #define STRLEN.
21341         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
21342         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
21344 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
21346         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
21347         * sysdeps/mips/mips32/sfp-machine.h: ... here.
21348         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
21349         * sysdeps/mips/mips64/Makefile: ... here.
21350         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
21351         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
21352         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
21353         * sysdeps/mips/mips64/sfp-machine.h: ... here.
21354         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
21355         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
21356         * sysdeps/mips/mips64/n64/Implies: Likewise.
21358 2015-02-10  Roland McGrath  <roland@hack.frob.com>
21360         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
21361         <sys/time.h>, <string.h>, and <errno.h>.
21362         (dest_offset, dest_address, value, zero): Remove unused variables.
21363         (ldouble): Remove typedef.
21364         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
21365         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
21366         1).  Fix code style.
21367         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
21368         (check): Function removed.
21369         (CHECK): New macro.
21370         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
21371         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
21372         Don't call set_sigaction_FP and remove_sigaction_FP here.
21373         (ldouble_test): Just use 'long double' as macro argument, no need for
21374         the 'ldouble' typedef.
21375         (do_test): Set up SIGFPE handler at start, using plain signal rather
21376         than sigaction.  Fix code style.
21378 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
21380         [BZ #17949]
21381         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
21382         jump label.
21384 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21386         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
21387         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21389         * sysdeps/powerpc/configure.ac: Remove file.
21390         * sysdeps/powerpc/configure: Likewise.
21392         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21393         [sysdep_routines]: Remove wordcopy-power6 object.
21394         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21395         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
21396         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
21397         (__memmove_ppc32): Likewise.
21398         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
21399         file.
21400         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
21401         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
21402         Remove preprocessor.
21404         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21405         [sysdep_routines]: Remove wide chars objects.
21406         [wcsmbs]: New rule for wide char objects.
21408         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21409         Remove wordcopy-power6 obejct.
21410         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
21411         Use local call for wordcopy and memcpy symbols.
21412         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
21413         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
21414         implementation for loader.
21415         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
21417         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21418         Remove wordcopy-power7 object.
21419         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
21420         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
21421         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
21422         (_wordcopy_fwd_dest_aligned): Likewise.
21423         (_wordcopy_bwd_aligned): Likewise.
21424         (_wordcopy_bwd_dest_aligned): Likewise.
21426         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
21427         Rewrite to call __memmove_ppc instead of include default
21428         implementation.
21430         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21431         Remove wide chars objects.
21432         [wcsmbs]: New rule for wide char objects.
21434 2015-02-09  Andreas Schwab  <schwab@suse.de>
21436         [BZ #17912]
21437         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21438         in terms of __O_DIRECTORY.
21440 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21442         * time/getdate.c: Include <stdbool.h>.
21443         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
21444         call PTR_MANGLE.
21445         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
21446         PTR_DEMANGLE.
21448 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
21450         Add ersatz _Static_assert on older C hosts
21451         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
21452         pre-C11 C platform that is not known to support _Static_assert.
21454 2015-02-07  Richard Braun  <rbraun@sceen.net>
21456         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
21457         sigstate.
21458         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
21460 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21462         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
21463         priority against unexistent AIO_PRIO_DELTA_MAX.
21464         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
21465         instead of int.
21466         * misc/fchflags.c (fchflags): Likewise.
21467         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
21468         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
21469         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
21470         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
21471         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
21472         Declare macros.
21473         [__USE_MISC] (chflags, fchflags): Declare functions.
21474         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
21475         EINVAL when nfds is greater than FD_SETSIZE.
21476         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
21477         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
21478         45.
21479         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
21480         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
21481         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
21482         MACH_RCV_TIMED_OUT.
21483         * hurd/hurd/signal.h (_hurd_self_sigstate,
21484         _hurd_critical_section_lock, _hurd_critical_section_unlock):
21485         Explicit casts from void *.
21486         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
21487         * abi-tags: Rename gnu-gnu os into gnu.
21489         [BZ #4719]
21490         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
21491         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
21492         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
21493         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
21494         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
21495         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
21497         [BZ #17944]
21498         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
21499         duplicates ADDR->sun_path with sockaddr LEN limitation.
21500         * sysdeps/mach/hurd/connect.c: Include <string.h>
21501         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
21502         * sysdeps/mach/hurd/sendmsg.c: Likewise.
21503         * sysdeps/mach/hurd/sendto.c: Likewise.
21504         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
21505         implementing it by hand.
21507 2015-02-06  Roland McGrath  <roland@hack.frob.com>
21509         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
21510         Use sfi_breg on ldr.
21511         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
21512         Likewise.
21514         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
21515         it's defined.
21516         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
21517         Test SIGSETXID only if it's defined.
21519         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
21521         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
21522         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
21524         * nptl/tst-align2.c: Moved ...
21525         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
21526         * nptl/Makefile (tests): Remove tst-align2.
21527         * sysdeps/unix/sysv/linux/Makefile
21528         [$(subdir) = nptl] (tests): Add tst-align-clone.
21529         * nptl/tst-getpid1.c: Moved ...
21530         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
21531         * nptl/tst-getpid2.c: Moved ...
21532         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
21533         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
21534         * sysdeps/unix/sysv/linux/Makefile
21535         [$(subdir) = nptl] (tests): ... here.
21536         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
21537         * sysdeps/unix/sysv/linux/Makefile
21538         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
21540         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
21541         Drop trailing \n from perror argument.  Use return rather than exit.
21543         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
21544         on [SA_SIGINFO].
21545         * nptl/tst-cancel21.c (do_test): Likewise.
21546         * debug/tst-backtrace6.c: Include <signal.h> first thing.
21547         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
21548         [!SA_SIGINFO]: Make it a stub test.
21550         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
21551         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
21553         * posix/tst-getlogin.c: Move to ...
21554         * login/tst-getlogin.c: ... here.
21555         * posix/Makefile (tests): Move tst-getlogin to ...
21556         * login/Makefile (tests): ... here.
21558         * libio/tst-atime.c (do_test): Move local variables SV and E
21559         inside [ST_NOATIME] conditional.
21561         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
21563         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
21565         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
21566         (wait_code): New function replaces macro.
21567         Call nanosleep rather than syscall.
21569         * nptl/pt-system.c: Rewritten.  Put everything under
21570         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21571         Use IFUNC to redirect when possible.
21573         * nptl/pt-longjmp.c: Rewritten.  Put everything under
21574         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21575         Use IFUNC to redirect when possible.
21577         * nptl/pt-fork.c: Rewritten.  Put everything under
21578         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21579         Use IFUNC to redirect when possible.
21580         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
21582         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21583         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
21584         unconditionally nowadays.  This included the only reference to
21585         __vdso_clock_gettime that appears outside libc proper.
21586         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21587         Remove version set (containing only __vdso_clock_gettime).
21588         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21589         Add attribute_hidden.
21590         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21591         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21592         libc_hidden_data_def.
21593         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21594         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21596         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21597         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21598         setrpcent, and getrpcport to ...
21599         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21600         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21601         getrpcbynumber_r, and getrpcent_r to ...
21602         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21603         * inet/getrpcbyname.c: Moved ...
21604         * sunrpc/getrpcbyname.c: ... here.
21605         * inet/getrpcbyname_r.c: Moved ...
21606         * sunrpc/getrpcbyname_r.c: ... here.
21607         * inet/getrpcbynumber.c: Moved ...
21608         * sunrpc/getrpcbynumber.c: ... here.
21609         * inet/getrpcbynumber_r.c: Moved ...
21610         * sunrpc/getrpcbynumber_r.c: ... here.
21611         * inet/getrpcent.c: Moved ...
21612         * sunrpc/getrpcent.c: ... here.
21613         * inet/getrpcent_r.c: Moved ...
21614         * sunrpc/getrpcent_r.c: ... here.
21615         * inet/Makefile (routines): Move those to ...
21616         * sunrpc/Makefile (routines): ... here.
21617         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21618         the $(subdirs) list.
21619         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
21620         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21621         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21622         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21624         * elf/Makefile (routines): Include $(all-dl-routines), not just
21625         $(dl-routines).
21626         (rtld-routines): Likewise.  Use = rather than :=.
21627         * sysdeps/aarch64/Makefile [$(subdir) = elf]
21628         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21629         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21630         * sysdeps/arm/Makefile: Likewise.
21631         * sysdeps/i386/Makefile: Likewise.
21632         * sysdeps/x86_64/Makefile: Likewise.
21633         * sysdeps/hppa/Makefile [$(subdir) = elf]
21634         (sysdep_routines, sysdep-rtld-routines): Don't add
21635         $(sysdep-dl-routines) to these.
21636         * sysdeps/ia64/Makefile: Likewise.
21637         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21638         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21639         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21640         Don't add dl-static to these; sysdep-dl-routines alone is enough.
21641         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21642         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21643         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21644         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21645         * sysdeps/powerpc/Makefile [$(subdir) = elf]
21646         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21647         these; sysdep-dl-routines alone is enough.
21649 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
21651         [BZ #17932]
21652         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21653         where multiplication results in zero and third argument is finite
21654         and nonzero.
21655         * math/auto-libm-test-in: Add more tests of fma.
21656         * math/auto-libm-test-out: Regenerated.
21658         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21659         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21660         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21661         (_FP_CMP_EQ): Likewise.
21662         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21664         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21665         extra argument CHECK_NAN.  Redefine as wrapper around
21666         _FP_EXTEND_CNAN.
21668 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
21670         * version.h (RELEASE): Set to "stable".
21671         (VERSION): Set to "2.21"
21672         * include/features.h (__GLIBC_MINOR__): Set to 21.
21674         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21676 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21677             Paul Eggert  <eggert@cs.ucla.edu>
21679         [BZ #16618]
21680         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21681         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21682         size in bytes. Store needed elements in wpmax. Use needed size
21683         in bytes for extend_alloca.
21685 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
21687         * manual/install.texi: Latest tested versions are GCC 4.9.2,
21688         binutls 2.25, and texinfo 5.2.
21689         * INSTALL: Regenerate.
21690         * sysdeps/nios2/configure: Regenerate.
21691         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21692         * manual/contrib.texi: Update.
21693         * po/be.po: Update.
21694         * po/bg.po: Update.
21695         * po/ca.po: Update.
21696         * po/cs.po: Update.
21697         * po/da.po: Update.
21698         * po/de.po: Update.
21699         * po/el.po: Update.
21700         * po/eo.po: Update.
21701         * po/es.po: Update.
21702         * po/fi.po: Update.
21703         * po/fr.po: Update.
21704         * po/gl.po: Update.
21705         * po/hr.po: Update.
21706         * po/hu.po: Update.
21707         * po/ia.po: Update.
21708         * po/id.po: Update.
21709         * po/it.po: Update.
21710         * po/ja.po: Update.
21711         * po/ko.po: Update.
21712         * po/lt.po: Update.
21713         * po/nb.po: Update.
21714         * po/nl.po: Update.
21715         * po/pl.po: Update.
21716         * po/pt_BR.po: Update.
21717         * po/ru.po: Update.
21718         * po/rw.po: Update.
21719         * po/sk.po: Update.
21720         * po/sl.po: Update.
21721         * po/sv.po: Update.
21722         * po/tr.po: Update.
21723         * po/uk.po: Update.
21724         * po/vi.po: Update.
21725         * po/zh_CN.po: Update.
21726         * po/zh_TW.po: Update.
21728         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21729         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21730         * sysdeps/hppa/dl-irel.h: Remove #warning.
21731         * sysdeps/hppa/entry.h: Provide prototype for
21732         __canonicalize_funcptr_for_compare and cast argument.
21733         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21734         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21735         * sysdeps/hppa/sotruss-lib.c: New file.
21736         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21737         (atomic_compare_and_exchange_val_acq): Use __typeof__.
21738         (atomic_compare_and_exchange_bool_acq): Likewise.
21739         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21740         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21742         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21743         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21744         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21746 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
21748         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21749         called function in non-PIC case.
21751 2015-01-31  David S. Miller  <davem@davemloft.net>
21753         * sysdeps/sparc/sparc32/bits/atomic.h
21754         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21755         unlock not after it.
21756         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21757         volatile register usage warnings from the compiler.
21759         * sysdeps/sparc/nptl/sem_init.c: Delete.
21760         * sysdeps/sparc/nptl/sem_post.c: Delete.
21761         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21762         * sysdeps/sparc/nptl/sem_wait.c: Delete.
21763         * sysdeps/sparc/sparc32/sem_init.c: New file.
21764         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21765         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21766         padding explicitly initialized.
21767         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21768         padding for in-semaphore spinlock.
21769         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21770         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21771         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21772         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21773         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21774         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21775         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21776         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21777         version.
21778         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21779         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21781 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
21783         [BZ #17801]
21784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21785         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21786         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21787         New.
21788         (index_AVX_Fast_Unaligned_Load): Likewise.
21789         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21790         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21791         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21792         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21793         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21794         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21795         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21796         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21797         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21799 2015-01-29  Andreas Schwab  <schwab@suse.de>
21801         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21803 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
21805         [BZ #17892]
21806         * nscd/nscd_stat.c (send_stats): Initialize DATA.
21808 2015-01-28  Martin Sebor  <msebor@redhat.com>
21810         * math/README.libm-test: Clarify. Add "How to read the test output."
21812 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
21814         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21815         Define to 0.
21817 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
21819         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21820         (__HAVE_64B_ATOMICS): Define to 0.
21822 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21824         [BZ #17885]
21825         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21826         value to set as new flag.
21828         [BZ #16576]
21829         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21830         and use _ARCH_PPCSQ instead.
21831         (__ieee754_sqrt): Likewise.
21832         (__ieee754_sqrtf): Likewise.
21833         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21834         _ARCH_PPCSQ is defined.
21835         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21836         fsqrt instruction.
21837         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21838         _ARCH_PPCSQ is defined.
21839         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21840         fsqrts instruction.
21841         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21843 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21845         * iconv/loop.c: Suppress array out of bound warning caused by GCC
21846         bug (GCC BZ #64739).
21848 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
21850         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21851         Mark _retval as used.
21852         (lll_futex_wake_unlock): Likewise.
21853         (lll_futex_timed_wait_requeue_pi): Likewise.
21855         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21856         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21857         register variables.
21859         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21860         libm_hidden_def.
21862         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21863         (__bswap_64): Mark as __always_inline.
21865 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
21867         [BZ #15378]
21868         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21869         when none of the search directories exist.
21871 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21873         [BZ #17869]
21874         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21875         power8 in .machine directive.
21877         [BZ #17868]
21878         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21879         set dependency from opd value.
21881 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21883         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21884         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21885         architecture.
21887 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21889         [BZ #17870]
21890         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21891         with uint64_t.
21892         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21893         (uint64_t) 1.
21894         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21895         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21896         Replace 1UL with (uint64_t) 1.
21897         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21898         int with uint64_t.
21900 2015-01-23  Roland McGrath  <roland@hack.frob.com>
21902         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21903         (if_freenameindex): Likewise.
21905         * resource/getrlimit64.c: Add missing libc_hidden_def.
21907 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
21909         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21910         __label__.
21911         (_FP_FMA): Likewise.
21912         (_FP_TO_INT_ROUND): Likewise.
21913         (_FP_FROM_INT): Likewise.
21915 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21917         [BZ #16418]
21918         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21919         Make code racy and cancel safe.
21921 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
21923         * sysdeps/arm/unwind-resume.h: Fix copyright year.
21924         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21925         attribution.
21927         * pwd/tst-getpw.c: Rewrite.
21929         [BZ #17702]
21930         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21931         (modules-names): Add moddummy1 and moddummy2.
21932         ($(objpfx)tst-rec-dlopen): Define.
21933         * dlfcn/moddummy1.c: New file.
21934         * dlfcn/moddummy2.c: New file.
21935         * dlfcn/tst-rec-dlopen.c: New file.
21936         * elf/dl-cache.c (_dl_load_cache_lookup):
21937         Return char*. Copy result with alloca/strcpy/strdup.
21938         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21939         returns char*. Free cached. If not saving realname
21940         free cached.
21941         * elf/dl-open.c (dl_open_worker): Do not assert that
21942         _r_debug->r_state is RT_CONSISTENT.
21943         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21944         returns char*.
21946 2015-01-21  Torvald Riegel  <triegel@redhat.com>
21947             Carlos O'Donell  <carlos@redhat.com>
21949         [BZ #12674]
21950         * nptl/sem_waitcommon.c: New file.
21951         * nptl/sem_wait.c: Include sem_waitcommon.c.
21952         (__sem_wait_cleanup, do_futex_wait): Remove.
21953         (__new_sem_wait): Adapt.
21954         (__new_sem_trywait): New function.
21955         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21956         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21957         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21958         (sem_timedwait): Adapt.
21959         * nptl/sem_post.c (__new_sem_post): Adapt.
21960         (futex_wake): New function.
21961         (__old_sem_post): Add release MO fence.
21962         * nptl/sem_open.c (sem_open): Adapt.
21963         * nptl/sem_init.c (__new_sem_init): Adapt.
21964         (futex_private_if_supported): New function.
21965         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21966         (__old_sem_getvalue): Add using previous code.
21967         * sysdeps/nptl/internaltypes.h: Adapt.
21968         * nptl/tst-sem13.c (do_test): Adapt.
21969         * nptl/tst-sem11.c (main): Adapt.
21970         * nptl/sem_trywait.c: Remove.
21971         * nptl/DESIGN-sem.txt: Remove.
21972         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21973         (gen-as-const-headers): Remove structsem.sym.
21974         * nptl/structsem.sym: Remove.
21975         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21976         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21977         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21978         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21979         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21980         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21981         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21982         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21983         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21984         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21985         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21986         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21987         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21988         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21989         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21990         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21991         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21992         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21993         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21994         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21995         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21996         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21998 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
22000         * INSTALL: Regenerated.
22002         * po/libc.pot: Regenerated.
22004 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
22005             Sandra Loosemore  <sandra@codesourcery.com>
22006             Andrew Jenner  <andrew@codesourcery.com>
22007             Joseph Myers  <joseph@codesourcery.com>
22008             Nathan Sidwell  <nathan@codesourcery.com>
22010         * NEWS: Mention new Nios II port.
22011         * sysdeps/nios2/Implies: New file.
22012         * sysdeps/nios2/Makefile: New file.
22013         * sysdeps/nios2/Subdirs: New file.
22014         * sysdeps/nios2/Versions: New file.
22015         * sysdeps/nios2/__longjmp.S: New file.
22016         * sysdeps/nios2/abort-instr.h: New file.
22017         * sysdeps/nios2/backtrace.c: New file.
22018         * sysdeps/nios2/bits/endian.h: New file.
22019         * sysdeps/nios2/bits/fenv.h: New file.
22020         * sysdeps/nios2/bits/link.h: New file.
22021         * sysdeps/nios2/bits/setjmp.h: New file.
22022         * sysdeps/nios2/bsd-_setjmp.S: New file.
22023         * sysdeps/nios2/bsd-setjmp.S: New file.
22024         * sysdeps/nios2/configure: New generated file.
22025         * sysdeps/nios2/configure.ac: New file.
22026         * sysdeps/nios2/crti.S: New file.
22027         * sysdeps/nios2/crtn.S: New file.
22028         * sysdeps/nios2/dl-init.c: New file.
22029         * sysdeps/nios2/dl-machine.h: New file.
22030         * sysdeps/nios2/dl-sysdep.h: New file.
22031         * sysdeps/nios2/dl-tls.h: New file.
22032         * sysdeps/nios2/dl-trampoline.S: New file.
22033         * sysdeps/nios2/gccframe.h: New file.
22034         * sysdeps/nios2/gmp-mparam.h: New file.
22035         * sysdeps/nios2/jmpbuf-offsets.h: New file.
22036         * sysdeps/nios2/jmpbuf-unwind.h: New file.
22037         * sysdeps/nios2/ldsodefs.h: New file.
22038         * sysdeps/nios2/libc-tls.c: New file.
22039         * sysdeps/nios2/libm-test-ulps: New file.
22040         * sysdeps/nios2/machine-gmon.h: New file.
22041         * sysdeps/nios2/math-tests.h: New file.
22042         * sysdeps/nios2/math_private.h: New file.
22043         * sysdeps/nios2/memusage.h: New file.
22044         * sysdeps/nios2/nptl/Makefile: New file.
22045         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
22046         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
22047         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
22048         * sysdeps/nios2/nptl/pthreaddef.h: New file.
22049         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
22050         * sysdeps/nios2/nptl/tls.h: New file.
22051         * sysdeps/nios2/preconfigure: New file.
22052         * sysdeps/nios2/s_fma.c: New file.
22053         * sysdeps/nios2/s_fmaf.c: New file.
22054         * sysdeps/nios2/setjmp.S: New file.
22055         * sysdeps/nios2/sfp-machine.h: New file.
22056         * sysdeps/nios2/sotruss-lib.c: New file.
22057         * sysdeps/nios2/stackguard-macros.h: New file.
22058         * sysdeps/nios2/stackinfo.h: New file.
22059         * sysdeps/nios2/start.S: New file.
22060         * sysdeps/nios2/sysdep.h: New file.
22061         * sysdeps/nios2/tls-macros.h: New file.
22062         * sysdeps/nios2/tst-audit.h: New file.
22063         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
22064         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
22065         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
22066         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
22067         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
22068         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
22069         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
22070         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
22071         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
22072         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
22073         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
22074         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
22075         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
22076         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
22077         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
22078         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
22079         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
22080         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
22081         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
22082         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
22083         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
22084         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
22085         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
22086         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
22087         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
22088         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
22089         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
22090         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
22091         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
22092         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
22093         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
22094         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
22095         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
22096         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
22097         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
22098         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
22099         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
22100         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
22101         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
22102         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
22103         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
22104         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
22105         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
22106         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
22108 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22110         [BZ #17844]
22111         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
22112         (getutent): Use weak_alias in non SHARED case
22113         and default_symbol_version in SHARED case.
22114         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
22115         (getutent_r, pututline): Likewise.
22116         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
22117         (getutid): Likewise.
22118         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
22119         (getutid_r): Likewise.
22120         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
22121         (getutline): Likewise.
22122         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
22123         (getutline_r): Likewise.
22124         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
22125         (updwtmp): Likewise.
22127 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22129         [BZ #17848]
22130         * sysdeps/s390/s390-32/memcmp.S
22131         (memcmp_g5): Rename to __memcmp_g5.
22132         * sysdeps/s390/s390-32/memcpy.S
22133         (memcpy_g5): Rename to __memcpy_g5.
22134         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22135         (memcpy_mvcle) Rename to __memcpy_mvcle.
22136         * sysdeps/s390/s390-32/memset.S
22137         (memset_g5): Rename to __memset_g5.
22138         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22139         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22140         and use prefixed functions.
22141         * sysdeps/s390/s390-32/multiarch/memcmp.S
22142         (memcmp_z196): Rename to __memcmp_z196.
22143         (memcmp_z10): Rename to __memcmp_z10.
22144         (memcmp): Set alias to __memcmp_g5.
22145         (bcmp): Set alias to __memcmp_g5.
22146         * sysdeps/s390/s390-32/multiarch/memcpy.S
22147         (memcpy_z196): Rename to __memcpy_z196.
22148         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22149         (memcpy_z10): Rename to __memcpy_z10.
22150         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22151         (memcpy): Set alias to __memcpy_g5.
22152         * sysdeps/s390/s390-32/multiarch/memset.S
22153         (memset_z196): Rename to __memset_z196.
22154         Jump to __memset_mvcle instead of memset_mvcle.
22155         (memset_z10): Rename to __memset_z10.
22156         Jump to __memset_mvcle instead of memset_mvcle.
22157         (memset_mvcle) Rename to __memset_mvcle.
22158         (memset): Set alias to __memset_g5.
22159         * sysdeps/s390/s390-64/memcmp.S
22160         (memcmp_z900): Rename to __memcmp_z900.
22161         * sysdeps/s390/s390-64/memcpy.S
22162         (memcpy_z900): Rename to __memcpy_z900.
22163         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22164         (memcpy_mvcle) Rename to __memcpy_mvcle.
22165         * sysdeps/s390/s390-64/memset.S
22166         (memset_z900): Rename to __memset_z900.
22167         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
22168         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22169         and use prefixed functions.
22170         * sysdeps/s390/s390-64/multiarch/memcmp.S
22171         (memcmp_z196): Rename to __memcmp_z196.
22172         (memcmp_z10): Rename to __memcmp_z10.
22173         (memcmp): Set alias to __memcmp_z900.
22174         (bcmp): Set alias to __memcmp_z900.
22175         * sysdeps/s390/s390-64/multiarch/memcpy.S
22176         (memcpy_z196): Rename to __memcpy_z196.
22177         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22178         (memcpy_z10): Rename to __memcpy_z10.
22179         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22180         (memcpy): Set alias to __memcpy_z900.
22181         * sysdeps/s390/s390-64/multiarch/memset.S
22182         (memset_z196): Rename to __memset_z196.
22183         Jump to __memset_mvcle instead of memset_mvcle.
22184         (memset_z10): Rename to __memset_z10.
22185         Jump to __memset_mvcle instead of memset_mvcle.
22186         (memset_mvcle) Rename to __memset_mvcle.
22187         (memset): Set alias to __memset_z900.
22189 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
22191         [BZ #17748]
22192         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
22193         __fesetenv instead of fesetenv.
22195 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22197         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
22198         macro.
22200 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22202         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
22203         regression on LE.
22205         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
22206         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
22207         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22208         strncmp-power8 object.
22209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22210         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
22211         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
22212         * NEWS: Update.
22214 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22215             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22217         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
22218         trailing byte check.
22220 2015-01-13  David S. Miller  <davem@davemloft.net>
22222         * include/signal.h (__sigreturn): Guard with __USE_MISC.
22224 2015-01-13  Roland McGrath  <roland@hack.frob.com>
22226         * login/logout.c (logout): Use memset rather than bzero.
22227         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
22228         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
22229         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
22230         (_gethtbyaddr): Likewise.
22231         * locale/programs/simple-hash.c (bcopy): Macro removed.
22233 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22235         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22236         Add strcmp-power8 object.
22237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22238         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
22239         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
22240         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
22241         __strcmp_power8 implementation.
22242         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
22243         * NEWS: Update.
22245         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22246         Add strncpy-power8 and stpncpy-power8 objects.
22247         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22248         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
22249         implementations.
22250         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
22251         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
22252         __stpncpy_power8 implementation.
22253         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
22254         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
22255         __strncpy_power8 implementation.
22256         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
22257         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
22258         * NEWS: Update.
22260         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
22261         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
22262         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
22264         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22265         strncat-power8 object.
22266         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
22267         __strcat_power8 implementation.
22268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22269         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
22270         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
22271         optimized strcat for power8.
22273         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22274         strcpy-power8 and stpcpy-power8 objects.
22275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22276         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
22277         implementations.
22278         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
22279         multiarch stpcpy implementation for POWER8.
22280         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
22281         multiarch strcpy implementation for POWER8.
22282         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
22283         __strcpy_power8 function.
22284         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
22285         stpcpy for POWER8.
22286         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
22287         strcpy for POWER8.
22288         * NEWS: Update.
22290 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
22292         [BZ #16009]
22293         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
22294         weights and rules. Use do_xfrm_cached if data fits in cache,
22295         do_xfrm otherwise.  Moved former main loop to...
22296         * (do_xfrm_cached): New function.
22297         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
22298         find_idx, find_position and stack_push.
22299         * (find_idx): New function.
22300         * (find_position): Likewise.
22301         * localedata/sort-test.sh: Added test run for do_xfrm.
22302         * localedata/xfrm-test.c (main): Added command line option
22303         -nocache to run the test with strings that are too large for
22304         the STRXFRM cache.
22306 2015-01-13  Torvald Riegel  <triegel@redhat.com>
22308         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
22309         variable to lll_futex_wake call, not the value itself.
22311 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
22313         [BZ #17803]
22314         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
22315         twom64.  Adjust value to 0x1p-64L.
22316         (__scalblnl): Only return standard underflowing result for K <=
22317         -64 not K <= -63; adjust exponent for underflowing result by 64
22318         not 63.
22319         * math/libm-test.inc (scalbn_test_data): Add more tests.
22320         (scalbln_test_data): Likewise.
22322         [BZ #17834]
22323         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
22324         0x1p63L.
22325         (__scalblnl): Get new exponent of adjusted subnormal value from ES
22326         not HX.
22327         * math/libm-test.inc (scalbn_test_data): Add more tests.
22328         (scalbln_test_data): Likewise.
22330 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22331             Stefani Seibold  <stefani@seibold.net>
22333         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
22334         (sysdep_routines): Add dl-vdso here, ...
22335         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
22336         (sysdep_routines): ... not here.
22337         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
22338         fallback when vDSO is not presented.
22339         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22340         Define with libc_hidden_proto/libc_hidden_data_def definitions.
22341         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
22342         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
22343         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
22344         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
22345         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
22346         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
22347         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
22348         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
22349         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
22350         fallback configurable symbol when vDSO is not available.
22351         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
22352         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
22353         be able to redefine fallback symbol when vDSO is not available.
22354         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
22355         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
22357 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22359         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
22360         (TLS_INIT_TP): Add tm_capable initialization.
22361         (TLS_DEFINE_INIT_TP): Likewise.
22362         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
22363         TCB.
22364         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
22365         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
22366         calculation.
22367         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
22368         transactoion is lock elision is built and TCB tm_capable is set.
22369         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
22370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22371         (INTERNAL_SYSCALL_NCS): Likewise.
22372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22373         (INTERNAL_SYSCALL_NCS): Likewise.
22374         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
22376         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
22377         for powerpc.
22378         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22379         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
22380         and remove it for 32 bits case.
22381         [pthread_rwlock_t] (__rwelision): New field for lock elision.
22382         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
22383         initialization.
22384         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
22385         Disable lock elision with rdlocks if elision is not available.
22387         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
22388         (sysdep_routines): Add lock elision objects.
22389         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22390         [pthread_mutex_t] (__spins): Rework to add lock elision field.
22391         [pthread_mutex_t] (__elision): Add field.
22392         [__PTHREAD_SPINS]: Adjust to init lock elision field.
22393         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
22394         elision definitions for powerpc.
22395         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
22396         implementation of lock elision for powerpc.
22397         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
22398         implementation of timed lock elision for powerpc.
22399         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
22400         implementation of trylock with lock elision for powerpc.
22401         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
22402         implementaion of unlock for lock elision for powerpc.
22403         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
22404         automatic enable lock elision for mutexes.
22405         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
22406         transaction execution definitions for powerpc.
22407         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
22408         definitions.
22409         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
22410         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
22411         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
22412         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
22413         * NEWS: Update.
22415 2015-01-09  Roland McGrath  <roland@hack.frob.com>
22417         * sysdeps/posix/shm-directory.c: Use <> rather than ""
22418         for #include of <shm-directory.h>.
22420 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
22422         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
22423         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
22425 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
22427         [BZ #17791]
22428         * NEWS: Mention bug fix.
22429         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
22430         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
22431         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
22433 2015-01-09  Torvald Riegel <triegel@redhat.com>
22435         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
22437 2015-01-09  Torvald Riegel <triegel@redhat.com>
22439         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
22441 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22443         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
22444         pointer and cast to uintptr_t.
22446 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22448         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
22449         removed.
22450         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
22452 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22454         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
22455         of 0.
22457 2015-01-08  Roland McGrath  <roland@hack.frob.com>
22459         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
22460         <nptl/pthreadP.h> instead.
22461         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
22463         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
22464         already defined.
22465         [__SIGRTMIN] (init): Function removed.
22466         [__SIGRTMIN] (initialized): Variable removed.
22467         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
22468         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
22469         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
22470         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
22471         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
22472         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
22473         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
22474         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
22475         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
22476         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
22477         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
22478         * sysdeps/nptl/allocrtsig.c: New file.
22479         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
22480         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
22481         * sysdeps/generic/testrtsig.h: File removed.
22483         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
22484         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
22486         * nptl/nptl-init.c (pthread_functions): Conditionalize
22487         .ptr__nptl_setxid initialization on [SIGSETXID].
22489         * sysdeps/nptl/sys/procfs.h: New file.
22490         * nptl_db/Makefile (headers): Add it.
22491         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
22493         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
22494         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
22495         * nptl/pthread_attr_setaffinity.c: Include it.
22496         * nptl/pthread_setattr_default_np.c: Likewise.
22497         * nptl/check-cpuset.h: New file.
22499 2015-01-08  Richard Henderson  <rth@redhat.com>
22501         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
22502         (CFLAGS-tst-execstack-prog.c): Likewise.
22503         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
22505 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
22506             Sandra Loosemore  <sandra@codesourcery.com>
22507             Andrew Jenner  <andrew@codesourcery.com>
22508             Joseph Myers  <joseph@codesourcery.com>
22509             Nathan Sidwell  <nathan@codesourcery.com>
22511         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
22512         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
22513         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
22514         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
22515         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
22516         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
22517         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
22518         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
22519         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
22520         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
22521         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
22522         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
22523         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
22524         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
22525         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
22526         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
22527         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
22529 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22531         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
22532         timespec struct member in syscall macro.
22533         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22534         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
22535         first timeval struct member in syscall macro.
22536         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
22538 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
22540         [BZ #17748]
22541         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
22542         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
22543         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
22544         __feupdateenv and define as weak alias of __feupdateenv.  Use
22545         libm_hidden_weak.
22546         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
22547         libm_hidden_def.
22548         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
22549         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
22550         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22551         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
22552         libm_hidden_def.
22553         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
22554         __feupdateenv and define as weak alias of __feupdateenv.  Use
22555         libm_hidden_weak.
22556         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
22557         libm_hidden_def.
22558         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
22559         __feupdateenv and define as weak alias of __feupdateenv.  Use
22560         libm_hidden_weak.
22561         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
22562         libm_hidden_def.
22563         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22564         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22565         (__feupdateenv): Likewise.
22566         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
22567         __feupdateenv and define as weak alias of __feupdateenv.  Use
22568         libm_hidden_weak.
22569         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22570         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
22571         libm_hidden_def.
22572         * sysdeps/tile/math_private.h (__feupdateenv): New inline
22573         function.
22574         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
22575         libm_hidden_def.
22576         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
22577         __feupdateenv instead of feupdateenv.
22578         (default_libc_feupdateenv_test): Likewise.
22579         (libc_feresetround_ctx): Likewise.
22581 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22583         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
22584         prototype.
22586 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
22588         * posix/regcomp.c (parse_bracket_exp): Initialize type to
22589         COLL_SYM in a couple of places to avoid uninitialized variable
22590         wanings on tilegx gcc 4.8.2.
22592 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22594         * sysdeps/aarch64/strcpy.S: New file.
22595         * sysdeps/aarch64/stpcpy.S: New file.
22596         * NEWS: Updated.
22598 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22600         * sysdeps/aarch64/strrchr.S: New file.
22601         * NEWS: Updated.
22603 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
22605         [BZ #17658]
22606         * stdlib/setenv.c: Fix memory leak when setting large,
22607         duplicate string.
22609 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
22611         [BZ #17273]
22612         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22613         and tabs from buffer before parsing fstab entry.
22614         * misc/tst-mntent.c (main): Add test for mount entry with
22615         trailing spaces and tabs.
22617 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
22619         [BZ #17748]
22620         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
22621         * math/fesetround.c (fesetround): Rename to __fesetround and
22622         define as weak alias of __fesetround.  Use libm_hidden_weak.
22623         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22624         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22625         * sysdeps/arm/fesetround.c (fesetround): Likewise.
22626         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22627         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22628         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22629         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22630         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22631         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22632         __fesetround_inline.
22633         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22634         __fesetround_inline instead of __fesetround.
22635         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22636         __fesetround and define as weak alias of __fesetround.  Use
22637         libm_hidden_weak.  Call __fesetround_inline instead of
22638         __fesetround.
22639         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22640         __fesetround and define as weak alias of __fesetround.  Use
22641         libm_hidden_weak.
22642         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22643         Likewise.
22644         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22645         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22646         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22647         * sysdeps/tile/math_private.h (__fesetround): New inline function.
22648         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22649         __fesetround and define as weak alias of __fesetround.  Use
22650         libm_hidden_weak.
22651         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22652         __fesetround instead of fesetround.
22653         (default_libc_feholdexcept_setround): Likewise.
22654         (libc_feholdsetround_ctx): Likewise.
22655         (libc_feholdsetround_noex_ctx): Likewise.
22657         [BZ #17748]
22658         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22659         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22660         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22661         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22662         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22663         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22664         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22665         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22666         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22667         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22668         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22669         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22670         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22671         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22672         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22673         libm_hidden_def.
22674         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22675         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22676         Likewise.
22677         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22678         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22679         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22680         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22681         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22682         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22683         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22684         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22685         __fesetenv instead of fesetenv.
22686         (libc_feresetround_noex_ctx): Likewise.
22687         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22688         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22689         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22690         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22691         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22692         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22693         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22694         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22695         (__feupdateenv): Likewise.
22696         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22697         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22698         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22699         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22701 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22703         [BZ #17806]
22704         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22705         addresses have been freed.
22707 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22709         * resolv/res_init.c (__res_vinit): Improve comments about nserv
22710         and nservall.
22712 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
22714         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22715         Clean up check_pf allocation pattern. addresses
22717 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22719         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22720         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22721         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22722         * nptl/pthread_exit.c (__pthread_exit): Likewise.
22723         * nptl/pthread_join.c (pthread_join): Likewise.
22724         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22725         * sysdeps/posix/waitid.c (__waitid): Likewise.
22726         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22727         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22728         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22729         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22730         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22731         Likewise.
22732         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22733         (__libc_pread64): Likewise.
22734         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22735         (__libc_pwrite): Likewise.
22736         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22737         (__libc_pwrite64): Likewsie.
22738         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22739         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22740         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22741         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22742         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22743         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22744         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22746         Likewise.
22747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22748         (__libc_pread64): Likewise.
22749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22750         Likewise.
22751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22752         (__libc_pwrite64): Likewise.
22753         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22754         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22755         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22756         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22757         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22758         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22759         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22760         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22761         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22762         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22763         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22764         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22765         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22766         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22767         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22768         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22769         Likewise.
22771 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22773         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22774         (CFLAGS-test-double.c): Likewise.
22775         (CFLAGS-test-ldouble.c): Likewise.
22776         (CPPFLAGS-test-ifloat.c): Likewise.
22777         (CPPFLAGS-test-idouble.c): Likewise.
22778         (CPPFLAGS-test-ildoubl.c): Likewise.
22779         (CFLAGS-test-test-fenv.c): Remove variable.
22780         (CFLAGS-test-misc.c): Likewise.
22782 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
22784         [BZ #17797]
22785         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22786         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22787         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22788         CLOCKS_PER_SEC == 1000000.
22789         * time/clocktest.c (main): Replace %ld with %jd and cast to
22790         intmax_t.
22792 2015-01-05  Roland McGrath  <roland@hack.frob.com>
22794         * sysdeps/generic/unwind-resume.h: New file.
22795         * sysdeps/gnu/unwind-resume.c: Include it.
22796         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22797         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22798         argument list.
22799         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22800         global rather than static.
22801         (_Unwind_Resume): Update user.
22802         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22803         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
22804         rather than static.  Add __attribute__ ((cold)).
22805         (_Unwind_Resume, __gcc_personality_v0): Update callers.
22806         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22807         * sysdeps/arm/arm-unwind-resume.S: New file.
22808         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22809         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22810         * sysdeps/arm/Makefile [$(subdir) = csu]
22811         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22812         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22813         Add rt-arm-unwind-resume.
22814         [$(subdir) = nptl]
22815         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22816         Add pt-arm-unwind-resume.
22817         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22818         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22820 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22822         [BZ #17748]
22823         * include/fenv.h (__feholdexcept): Declare.  Use
22824         libm_hidden_proto.
22825         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22826         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
22827         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22828         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22829         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22830         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22831         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22832         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22833         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22834         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22835         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22836         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22837         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22838         (feholdexcept): Likewise.
22839         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22840         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22841         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22842         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22843         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22844         __feholdexcept instead of feholdexcept.
22845         (default_libc_feholdexcept_setround): Likewise.
22847 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22849         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22850         to avoid using stl/str to align destination.
22852 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22854         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22856 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22858         [BZ #17796]
22859         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22860         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22861         Define as weak alias not strong alias.
22863 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22865         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22866         bltzal with addiupc.
22867         (RTLD_START): Ditto.
22869 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
22871         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22872         for __vdso_* functions in declarations.
22873         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22874         definitions.
22875         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22876         INTERNAL_VSYSCALL): Use struct return types to check for error.
22878         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22879         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22880         function with cast from llround().
22881         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22882         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22883         Define.
22885 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22887         [BZ #17793]
22888         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22889         Define as weak alias not strong alias.
22891         [BZ #17635]
22892         * ctype/ctype-c99.c: New file.  isblank implementation moved from
22893         ...
22894         * ctype/ctype-extn.c: ... here.
22895         (__isblank_l): Move to ...
22896         * ctype/ctype-c99_l.c: ... here.  New file.
22897         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22898         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22899         Remove variable.
22900         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22901         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22902         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22903         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22904         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22906         [BZ #17777]
22907         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22908         (posix_fadvise64): Define as weak alias not strong alias.
22909         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22910         (posix_fallocate64): Likewise.
22911         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22912         Remove variable.
22913         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22914         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22915         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22916         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22917         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22919 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
22921         [BZ #16191]
22922         * NEWS: Mention bug fix.
22923         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22924         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22925         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22926         (HOST_STACK_END_ADDR): Likewise.
22928 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22930         [BZ #17748]
22931         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
22932         * math/fegetround.c (fegetround): Rename to __fegetround and
22933         define as weak alias of __fegetround.  Use libm_hidden_weak.
22934         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22935         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22936         * sysdeps/arm/fegetround.c (fegetround): Likewise.
22937         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22938         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22939         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22940         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22941         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22942         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22943         Undefine after rather than before function definition; use
22944         parentheses around function name in definition.
22945         (__fegetround): Also undefine macro after function definition.
22946         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22947         __fegetround and define as weak alias of __fegetround.  Use
22948         libm_hidden_weak.  Do not undefine as macro.
22949         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22950         Likewise.
22951         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22952         __fegetround and define as weak alias of __fegetround.  Use
22953         libm_hidden_weak.
22954         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22955         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22956         * sysdeps/tile/math_private.h (__fegetround): New inline function.
22957         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22958         __fegetround and define as weak alias of __fegetround.  Use
22959         libm_hidden_weak.
22960         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22961         __fegetround instead of fegetround.
22963         [BZ #17782]
22964         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22965         Condition macro definition on [__USE_MISC].
22967         [BZ #17781]
22968         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22969         (struct sigaction): Change type of sa_flags field to int.
22971         [BZ #17780]
22972         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22973         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22974         __glibc_reserved0.
22976         * nptl/version.c (banner): Use single year in copyright notice.
22978         * NEWS: Update copyright dates.
22979         * catgets/gencat.c (print_version): Likewise.
22980         * csu/version.c (banner): Likewise.
22981         * debug/catchsegv.sh: Likewise.
22982         * debug/pcprofiledump.c (print_version): Likewise.
22983         * debug/xtrace.sh (do_version): Likewise.
22984         * elf/ldconfig.c (print_version): Likewise.
22985         * elf/ldd.bash.in: Likewise.
22986         * elf/pldd.c (print_version): Likewise.
22987         * elf/sotruss.sh: Likewise.
22988         * elf/sprof.c (print_version): Likewise.
22989         * iconv/iconv_prog.c (print_version): Likewise.
22990         * iconv/iconvconfig.c (print_version): Likewise.
22991         * locale/programs/locale.c (print_version): Likewise.
22992         * locale/programs/localedef.c (print_version): Likewise.
22993         * login/programs/pt_chown.c (print_version): Likewise.
22994         * malloc/memusage.sh (do_version): Likewise.
22995         * malloc/memusagestat.c (print_version): Likewise.
22996         * malloc/mtrace.pl: Likewise.
22997         * manual/libc.texinfo: Likewise.
22998         * nptl/version.c (banner): Likewise.
22999         * nscd/nscd.c (print_version): Likewise.
23000         * nss/getent.c (print_version): Likewise.
23001         * nss/makedb.c (print_version): Likewise.
23002         * posix/getconf.c (main): Likewise.
23003         * scripts/test-installation.pl: Likewise.
23004         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23006 2015-01-02  Will Newton  <will.newton@linaro.org>
23008         * sysdeps/arm/armv7/configure: Removed.
23009         * sysdeps/arm/armv7/configure.ac: Likewise.
23011 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23013         * All files with FSF copyright notices: Update copyright dates
23014         using scripts/update-copyrights.
23015         * intl/plural.c: Regenerated.
23016         * locale/programs/charmap-kw.h: Likewise.
23017         * locale/programs/locfile-kw.h: Likewise.
23019 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23021         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
23023 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23025         [BZ #17748]
23026         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
23027         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
23028         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23029         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23030         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23031         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
23032         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23033         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
23034         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23035         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23036         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23037         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23038         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23039         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23040         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
23041         libm_hidden_def.
23042         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
23043         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
23044         Likewise.
23045         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23046         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23047         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23048         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23049         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
23050         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23051         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23052         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
23053         __fegetenv instead of fegetenv.
23054         (libc_feholdsetround_noex_ctx): Likewise.
23056 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23058         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
23059         (Elf_MIPS_ABIFlags_v0): New structure.
23060         (EF_MIPS_FP64): Define.
23061         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
23062         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
23063         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
23064         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
23065         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
23066         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
23067         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
23068         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
23069         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
23070         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
23071         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
23072         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
23073         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
23074         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
23075         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
23076         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
23077         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
23078         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
23079         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
23080         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
23081         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
23082         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
23083         field.
23084         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
23085         EF_MIPS_FP64.
23086         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
23087         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
23088         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
23089         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
23090         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
23091         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
23092         * sysdeps/mips/tst-abi-interlink.c: Likewise.
23093         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
23094         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
23095         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
23096         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
23097         record the current FP ABI extension.
23098         (mips-mode-switch): Define to show if kernel headers support mode
23099         switching.
23100         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23101         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
23102         supported SYSV ABI version to 3.
23103         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
23104         feature.
23106 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23107             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23109         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
23110         path.
23111         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
23113 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23115         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
23116         __fegetround and redefine to call __fegetround.  Remove condition
23117         on [!__NO_MATH_INLINES].
23118         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
23119         function.
23120         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
23121         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23122         Remove macro.
23123         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
23124         instead of <fenv_libc.h>.
23125         (__llrintl): Call fegetround instead of __fegetround.
23126         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
23127         instead of <fenv_libc.h>.
23128         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23129         (__lrintl): Call fegetround instead of __fegetround.
23130         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
23131         instead of <fenv_libc.h>.
23132         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23133         (__rintl): Call fegetround instead of __fegetround.
23135 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23137         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
23138         arrays.
23140 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23142         [BZ #17775]
23143         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
23144         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
23145         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
23147 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23149         * sysdeps/i386/tls-macros.h: Include <features.h>.
23150         (TLS_LE): Use non-PIC version for GCC >= 5.0.
23151         (TLS_IE): Likewise.
23152         (TLS_LD): Likewise.
23153         (TLS_GD): Likewise.
23154         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
23155         define for GCC >= 5.0.
23157 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
23159         * math/test-fenv.c (test_single_exception, set_single_exc,
23160         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
23161         feexcp_mask_test, feenable_test, fe_single_test): Add
23162         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
23163         case where they are not used.
23164         * math/libm-test.inc: Likewise.
23165         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
23166         unused in the absence of FP rounding/exception support.
23167         * stdio-common/tst-printf-round.c: Likewise.
23168         * stdlib/tst-strtod-round.c: Likewise.
23169         * stdlib/tst-strtod-underflow.c: Likewise.
23171 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
23173         [BZ #17723]
23174         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
23175         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
23176         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23177         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23178         libm_hidden_weak.
23179         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
23180         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23181         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
23182         libm_hidden_def.
23183         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23184         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23185         libm_hidden_weak.
23186         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
23187         Likewise.
23188         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
23189         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23190         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23191         libm_hidden_weak.
23192         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23193         libm_hidden_def.
23194         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23195         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
23196         (__feraiseexcept): Likewise.
23197         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23198         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23199         libm_hidden_weak.
23200         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23201         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23202         libm_hidden_def.
23203         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
23204         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
23205         Use libm_hidden_def.
23206         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
23207         libm_hidden_def.
23208         (feraiseexcept): Define as weak not strong alias.  Use
23209         libm_hidden_weak.
23210         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
23211         New inline function.  Factored out of ...
23212         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
23213         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
23214         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
23215         feraiseexcept.
23216         * math/w_acos.c (__acos): Likewise.
23217         * math/w_asin.c (__asin): Likewise.
23218         * math/w_ilogb.c (__ilogb): Likewise.
23219         * math/w_j0.c (y0): Likewise.
23220         * math/w_j1.c (y1): Likewise.
23221         * math/w_jn.c (yn): Likewise.
23222         * math/w_log.c (__log): Likewise.
23223         * math/w_log10.c (__log10): Likewise.
23224         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
23225         * sysdeps/aarch64/fpu/math_private.h
23226         (libc_feupdateenv_test_aarch64): Likewise.
23227         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23228         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
23229         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
23230         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23231         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23232         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23233         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
23234         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23235         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23236         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23238 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23240         [BZ #17732]
23241         * io/test-utime.c (main): Replace %ld with %jd and cast to
23242         intmax_t.
23243         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
23244         * nptl/tst-mutex5.c: Include <stdint.h>.
23245         (do_test): Replace %ld with %jd and cast to intmax_t.
23246         * posix/tst-regex.c (run_test): Likewise.
23247         (run_test_backwards): Likewise.
23248         * rt/tst-clock.c: Include <stdint.h>.
23249         (clock_test): Replace %ld with %jd and cast to intmax_t.
23250         * rt/tst-cpuclock1.c: Include <stdint.h>.
23251         (do_test): Replace %lu with %ju and cast to uintmax_t.
23252         * rt/tst-cpuclock2.c: Include <stdint.h>.
23253         (do_test): Replace %lu with %ju and cast to uintmax_t.
23254         * rt/tst-mqueue1.c: Include <stdint.h>.
23255         (check_attrs): Replace %ld with %jd and cast to intmax_t.
23256         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
23257         intmax_t.
23258         * rt/tst-mqueue4.c (do_test): Likewise.
23259         * rt/tst-timer4.c: Include <stdint.h>.
23260         (check_ts): Replace %ld with %jd and cast to intmax_t.
23261         (do_test): Likewise.
23262         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
23263         and cast to intmax_t.
23264         * sysdeps/pthread/tst-timer.c (main): Likewise.
23265         * time/clocktest.c (main): Likewise.
23266         * time/tst-posixtz.c (do_test): Likewise.
23267         * timezone/tst-timezone.c (main): Likewise.
23269 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23270             H.J. Lu  <hongjiu.lu@intel.com>
23272         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
23273         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
23274         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
23275         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
23276         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
23277         version if bit_Fast_Unaligned_Load is set.
23278         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23279         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23280         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23281         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23282         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23283         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23284         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23285         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
23286         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
23287         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
23288         to 4.
23289         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
23290         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
23291         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
23292         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
23294 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
23296         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
23297         instead of #if to avoid a Wundef warning.
23298         * stdlib/tst-limits.c (do_test): Likewise.
23300         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
23301         parallel other exception macros.
23302         (fegetenv): Convert from macro to extern inline so that it applies
23303         retroactively to inline functions already seen by the compiler.
23304         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
23306         * posix/Makefile (before-compile): Use $(objpfx) for
23307         posix-conf-vars-def.h.
23309 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23311         * posix/getconf.c (main): Use size_t for type of I.
23312         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
23313         NSPEC.
23315         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
23316         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
23317         * posix/posix-envs.def: Likewise.
23318         * sysdeps/posix/sysconf.c: Likewise.
23319         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
23320         (specs): Remove array.
23321         * scripts/gen-posix-conf-vars.awk: Support generation of specs
23322         array.
23324         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
23325         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
23326         (__sysconf): Use CONF_IS_* macros.
23328         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
23329         ($(objpfx)posix-conf-vars-def.h): New target.
23330         * posix/posix-conf-vars.list: New file.
23331         * posix/posix-conf-vars.h: New file.
23332         * posix/confstr.c: Include posix-conf-vars.h.
23333         (confstr): Use CONF_IS_* macros.
23334         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
23335         CONF_IS_* macros.
23336         * scripts/gen-posix-conf-vars.awk: New file.
23338 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
23340         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
23341         fegetround): Add no-op macros to avoid linknamespace issues.
23343         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
23344         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
23346         * sysdeps/unix/sysv/linux/tile/sysdep.h
23347         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
23348         assembly-specific section to avoid a redefinition warning.
23350         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
23351         long before casting to pointer to avoid a cast warning.
23353 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
23355         * sysdeps/tile/tilegx/Implies: New file.
23357 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
23359         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
23361 2014-12-23  Florian Weimer  <fweimer@redhat.com>
23363         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
23365 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23367         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
23368         not define.
23369         * sysdeps/unix/sysv/linux/utimes.c: Do not include
23370         <kernel-features.h>.
23371         (__utimes) [__NR_utimes]: Make code unconditional.
23372         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
23373         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23374         (__ASSUME_UTIMES): Do not undefine.
23375         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23376         (__ASSUME_UTIMES): Likewise.
23377         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23378         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
23379         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
23380         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
23382 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23384         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
23386 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
23388         [BZ #17747]
23389         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
23390         alias to weak alias for j0l, y0l.
23391         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
23392         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
23394         [BZ #17746]
23395         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
23396         conversion.
23398 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23400         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
23401         to zero if not already defined.
23403 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23405         [BZ #17724]
23406         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
23407         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
23408         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
23409         (char *) casts added.
23410         * sysdeps/ieee754/k_standardf.c: New file.
23411         * sysdeps/ieee754/k_standardl.c: Likewise.
23412         * math/Makefile (libm-support): Remove k_standard.
23413         (libm-calls): Add k_standard.
23415 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23417         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23418         Optimize to avoid an unnecessary FPCR read.
23420 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23422         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23423         Optimize to reduce FPCR/FPSR accesses.
23425 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23427         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
23428         Call libc_fetestexcept_aarch64.
23430 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23432         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
23433         Call libc_fesetround_aarch64.
23435 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23437         [BZ #17733]
23438         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
23439         (__bind): Do not define as weak alias.
23440         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
23441         define.
23442         (__getsockname): Do not define as weak alias.
23444 2014-12-22  Will Newton  <will.newton@linaro.org>
23446         * manual/install.texi: Document that we require bison 2.7
23447         or above.
23448         * INSTALL: Regenerate.
23449         * configure.ac: Use AC_CHECK_PROG_VER instead of
23450         AC_PATH_PROG when checking for bison and check for
23451         version 2.7 or above.
23452         * configure: Regenerate.
23454 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
23456         [BZ #17745]
23457         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
23458         * sysdeps/tile/ffsll.c (ffsll): To here.
23460         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
23462 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23464         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
23465         if not defined.
23466         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
23467         definition.
23468         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23469         hidden ___tls_get_addr.
23470         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23471         hidden __tls_get_addr.
23472         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
23473         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
23474         Likewise.
23476 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
23478         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
23479         _dl_init call.
23481 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23483         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
23484         from "call _dl_init@PLT".
23485         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
23487 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
23489         * manual/search.texi: (Array Sort Function): Clarify stable sorting
23490         guarantees.
23492 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
23494         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
23496 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23498         [BZ #17744]
23499         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
23500         strnlen.
23502 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23504         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
23505         of multu on MIPSr6.
23506         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
23507         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
23508         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
23509         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
23510         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
23512 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23514         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
23515         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
23516         (PTR_SUBU): Use subu for mips32r6/mips64r6.
23517         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
23518         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
23519         mips32r6/mips64r6.
23520         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
23522 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
23524         * string/strncat.c (STRNCAT): Simplify implementation.
23526 2014-12-19  David S. Miller  <davem@davemloft.net>
23528         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
23529         access the quad as both a long double and as a series of 4 words.
23531         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
23532         link_map->l_info array access.
23534 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23536         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
23538         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
23539         * math/atest-exp2.c (TIMEOUT): Likewise.
23540         * math/atest-sincos.c (TIMEOUT): Likewise.
23542 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23544         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
23545         -Wno-error with -fno-builtin-lround.
23547 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23549         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
23550         Contains futex constants and functions moved over from ...
23551         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
23552         <lowlevellock-futex.h>.
23553         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23554         (lll_timedwait_tid): Add comments and parentheses around macro
23555         arguments.
23557 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23559         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
23560         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
23561         (__lll_private_flag): Remove.
23562         (lll_futex_wait): Likewise.
23563         (lll_futex_timed_wait): Likewise.
23564         (lll_futex_wake): Likewise.
23565         (lll_futex_requeue): Likewise.
23566         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23567         (__lll_timedwait_tid): Spell out argument names.
23568         (lll_timedwait_tid): Add comments and parentheses around macro
23569         arguments.
23570         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
23571         LLL_SHARED and LLL_PRIVATE usable from assembly code.
23573 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23575         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
23576         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23577         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23578         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23579         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
23580         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
23581         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
23582         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
23583         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
23584         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23585         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23586         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23587         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23588         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23589         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23590         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23591         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23592         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23593         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23595 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23597         * sysdeps/x86_64/x32/Makefile: New file.
23599 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23601         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23602         1L with (mp_limb_t) 1.
23604 2014-12-17  Roland McGrath  <roland@hack.frob.com>
23606         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23607         * nptl/libc_pthread_init.c: ... here.
23608         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23609         * nptl/register-atfork.c: ... here.
23611         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23612         Use pthread_sigmask rather than INTERNAL_SYSCALL.
23613         Use assert_perror to check its return value.
23614         (__gai_create_helper_thread): Likewise.
23616         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23618         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23620 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
23622         [BZ #17725]
23623         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23624         __profil_counter.
23625         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23626         Likewise.
23627         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23628         Likewise.
23629         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23630         Likewise.
23631         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23632         (profil_counter): Likewise.
23633         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23634         (profil_counter): Likewise.
23635         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23636         Likewise.
23637         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23638         Likewise.
23639         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23640         (profil_counter): Likewise.
23641         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23642         Likewise.
23643         [!__profil_counter] (profil_counter): Define as weak alias of
23644         __profil_counter.
23645         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23646         (profil_counter): Rename to __profil_counter.
23647         [!__profil_counter] (profil_counter): Define as weak alias of
23648         __profil_counter.
23649         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23650         (profil_counter): Rename to __profil_counter.
23651         [!__profil_counter] (profil_counter): Define as weak alias of
23652         __profil_counter.
23653         * sysdeps/posix/profil.c: Update comment referring to
23654         profil_counter.
23655         (__profil): Use __profil_counter instead of profil_counter.
23656         * sysdeps/posix/sprofil.c (profil_counter): Rename to
23657         __profil_counter.  Use __profil_counter_ushort and
23658         __profil_counter_uint in definitions.
23659         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23660         instead of profil_counter_uint and profil_counter_ushort.
23662         [BZ #17722]
23663         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23664         define as weak alias of __inet_makeaddr.
23665         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23666         as weak alias of __inet_addr.
23667         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23668         as weak alias of __inet_pton.  Use libc_hidden_weak.
23669         * include/arpa/inet.h (__inet_pton): Declare.  Use
23670         libc_hidden_proto.
23671         (inet_makeaddr): Don't use libc_hidden_proto.
23672         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
23673         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23674         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
23675         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23676         Remove variable.
23677         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23678         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23680 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
23682         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23684 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23686         * stdio-common/bug-vfprintf-nargs.c (do_test):
23687         Cast value to intptr_t to avoid format warning
23688         for usage with PRIdPTR printing macro.
23690 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23692         * libio/tst-widetext.c (do_test):
23693         Use format type %td instead of %Zd for ptrdiff_t
23694         in order to avoid format warning.
23696 2014-12-17  Andreas Schwab  <schwab@suse.de>
23698         * nscd/mem.c (gc): Add size_t cast to match printf format.
23700 2014-12-16  Roland McGrath  <roland@hack.frob.com>
23702         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23703         (init): Apply PTR_MANGLE to pointers before storing them.
23704         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23705         before using them.
23707 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
23709         [BZ #17719]
23710         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23711         define as weak alias of __memrchr.
23712         (__memrchr): Do not define as strong alias of memrchr.
23713         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23714         Remove variable.
23715         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23716         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23717         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23719         [BZ #17717]
23720         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23721         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
23722         (if_indextoname): Rename to __if_indextoname and define as weak
23723         alias of __if_indextoname.  Use libc_hidden_weak.
23724         (if_freenameindex): Rename to __if_freenameindex and define as
23725         weak alias of __if_freenameindex.
23726         (if_nameindex): Rename to __if_nameindex and define as weak alias
23727         of __if_nameindex.
23728         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23729         __if_nametoindex and define as weak alias of __if_nametoindex.
23730         Use libc_hidden_weak.
23731         (if_freenameindex): Rename to __if_freenameindex and define as
23732         weak alias of __if_freenameindex.
23733         (if_nameindex): Rename to __if_nameindex and define as weak alias
23734         of __if_nameindex.
23735         (if_indextoname): Rename to __if_indextoname and define as weak
23736         alias of __if_indextoname.  Use libc_hidden_weak.
23737         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23738         __if_nametoindex and define as weak alias of __if_nametoindex.
23739         Use libc_hidden_weak.
23740         (if_freenameindex): Rename to __if_freenameindex and define as
23741         weak alias of __if_freenameindex.  Use libc_hidden_weak.
23742         (if_nameindex_netlink): Use __if_freenameindex instead of
23743         if_freenameindex.
23744         (if_nameindex): Rename to __if_nameindex and define as weak alias
23745         of __if_nameindex.  Use libc_hidden_weak.
23746         (if_indextoname): Rename to __if_indextoname and define as weak
23747         alias of __if_indextoname.  Use libc_hidden_weak.
23748         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23749         libc_hidden_proto.
23750         [!_ISOMAC] (__if_freenameindex): Likewise.
23751         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23752         if_nametoindex.
23753         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23754         variable.
23755         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23756         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23757         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23758         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23759         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23760         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23761         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23763         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23764         Remove variable.
23765         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23766         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23768 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23770         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23771         subscript above bounds'
23773         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23774         bounds.
23776 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
23778         * libio/tst-fopenloc.c: Use test-skeleton.c.
23780         * stdlib/tst-bsearch.c: Use test-skeleton.c.
23781         (entry): Rename to ITEM.
23782         (do_test, comp): Adjust.
23784         * stdio-common/tst-fseek.c: Use test-skeleton.c.
23786 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23788         * string/tester.c: Include <libc-internal.h>.
23789         (test_memset): Ignore -Wmemset-transposed-args.
23791 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23793         * misc/tst-mntent2.c (do_test): Fix warning.
23795 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23797         * elf/tst-unique4lib.cc(a): Mark as used.
23799 2014-12-16  Florian Weimer  <fweimer@redhat.com>
23801         [BZ #17630]
23802         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23803         names.
23805 2014-12-16  Allan McRae  <allan@archlinux.org>
23807         * stdio-common/Makefile (tests): Re-add bug26.
23809 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
23811         [BZ #17657]
23812         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23813         static array.
23815 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
23817         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23818         (__lll_lock_wait): Likewise.
23819         (__lll_timedlock_wait): Likewise.
23820         (__lll_timedwait_tid): Likewise.
23821         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23822         (__lll_robust_timedlock_wait): Likewise.
23823         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23824         (lll_cond_trylock): Likewise.
23825         (__lll_lock): Likewise.
23826         (__lll_robust_lock): Likewise.
23827         (__lll_cond_lock): Likewise.
23828         (lll_robust_cond_lock): Likewise.
23829         (__lll_timedlock): Likewise.
23830         (__lll_robust_timedlock): Likewise.
23831         (__lll_unlock): Likewise.
23832         (__lll_robust_unlock): Likewise.
23833         (lll_wait_tid): Likewise.
23834         (lll_timedwait_tid): Likewise.
23836 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23838         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23840 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23842         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23844 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23846         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23847         * stdio-common/tst-sprintf.c: Likewise.
23849 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23851         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23853 2014-12-15  Jeff Law  <law@redhat.com>
23855         [BZ #16617]
23856         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23857         on the heap.  (CVE-2012-3406)
23858         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23859         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
23860         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23862 2014-12-15  Will Newton  <will.newton@linaro.org>
23864         * manual/install.texi: Bump required version of texinfo
23865         to 4.7 from 4.5.
23866         * INSTALL: Regenerated.
23867         * configure.ac: Check for makeinfo version 4.7 and above.
23868         * configure: Regenerated.
23870 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23872         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23873         PREFIX, string constant to insert between directory and name.
23874         * sysdeps/posix/shm_open.c: Update caller.
23875         * sysdeps/posix/shm_unlink.c: Likewise.
23876         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23877         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23878         (SEM_SHM_PREFIX): New macro.
23879         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23880         [$(have-thread-library) = no].
23881         * nptl/Makefile (libpthread-routines): Add shm-directory.
23882         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23883         * sysdeps/nptl/shm-directory.h: New file.
23884         * sysdeps/posix/shm-directory.c
23885         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23886         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23887         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23888         INTERNAL_SYSCALL.
23889         (__where_is_shmfs): Function removed.
23890         (mountpoint, defaultmount, defaultdir, __namedsem_once):
23891         Variables removed.
23892         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23893         Use SHM_GET_NAME.
23894         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
23896         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23897         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23898         unconditional for use inside libpthread.
23899         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23901 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23903         * nptl/pthread_getaffinity.c: New file.
23904         * nptl/pthread_setaffinity.c: New file.
23905         * nptl/pthread_getname.c: New file.
23906         * nptl/pthread_setname.c: New file.
23908         * nptl/pthread_create.c (START_THREAD_DEFN)
23909         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23911 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23912             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23914         * resolv/res_send.c (send_vc): Disable warning resplen may
23915         be used uninitialized.
23917 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23919         * nptl/tst-mutex6.c
23920         (ATTR_NULL): New define checks ATTR against NULL.
23921         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23922         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23924 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
23926         [BZ #17581]
23927         * malloc/hooks.c
23928         (mem2mem_check): Revert my previous change.
23929         (malloc_check_get_size): Revert my previous change.
23930         (mem2chunk_check): Revert my previous change.
23932 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23934         * sysdeps/posix/shm-directory.c: New file.
23935         * sysdeps/posix/shm-directory.h: New file.
23936         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23937         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23938         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
23939         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23940         Transmute EPERM to EACCES.
23941         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23942         from ...
23943         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
23944         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23946 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23948         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23949         pointer and cast to uintptr_t.
23950         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23951         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23952         Add cast to avoid warning.
23953         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23955 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23957         * nptl/semaphore.h: Move to ...
23958         * sysdeps/pthread/semaphore.h: ... here.
23959         * Makefile (installed-headers): Change nptl/semaphore.h to
23960         sysdeps/pthread/semaphore.h.
23962 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23964         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23965         generated error format strings.
23967         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23968         -Wformat-extra-args warnings for scanf formats.
23969         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23970         test of zero-length format (duh).
23971         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23972         corner-case scanf format test.
23973         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23974         generated fprintf format string.
23975         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23976         corner-case sprintf format tests.
23977         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23978         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23979         -Wformat-extra-args warnings throughout.
23980         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23981         (CFLAGS-scanf4.c): Likewise.
23982         (CFLAGS-scanf7.c): Likewise.
23983         (CFLAGS-tst-sprintf.c): Likewise.
23984         (CFLAGS-tst-printf.c): Likewise.
23985         (CFLAGS-tst-printfsz.c): Likewise.
23987 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23989         * include/cpio.h: New file.
23990         * include/fmtmsg.h: Likewise.
23992         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
23993         corresponding format argument to size_t.
23994         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
23995         arguments.
23996         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
23997         corresponding format argument to size_t.
23998         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
23999         arguments.
24000         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
24001         corresponding format argument to size_t.
24002         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
24003         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
24004         (CFLAGS-tst-mbswcs2.c): Likewise.
24005         (CFLAGS-tst-mbswcs3.c): Likewise.
24006         (CFLAGS-tst-mbswcs4.c): Likewise.
24007         (CFLAGS-tst-mbswcs5.c): Likewise.
24008         (CFLAGS-tst-trans.c): Likewise.
24010 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24012         * posix/regexbug1.c (main): Use "%s" format with regerror results,
24013         rather than assuming they won't contain any '%'s.
24015 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
24017         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
24018         inhibit_loop_to_libcall to avoid recursive calls.
24019         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
24020         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
24022 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24024         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
24025         prototype.
24027 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24029         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
24030         integer value instead of boolean.
24032 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24034         * malloc/malloc.c: Fix powerof2 check.
24036 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24038         * locale/programs/locfile.h (maybe_swap_uint32):
24039         Remove inline and add unused attribute.
24041 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24043         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24044         Truncating assembler expression to a .long expression.
24046 2014-12-11  Andreas Schwab  <schwab@suse.de>
24048         * elf/rtld.c (struct map_args): Constify str member.
24049         (do_preload): Constify fname argument.
24051 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24053         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
24054         constants definition.
24056 2014-12-11  Andreas Schwab  <schwab@suse.de>
24058         [BZ #16657]
24059         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
24060         FORCE_ELISION instead of DO_ELISION.
24061         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
24062         Remove.
24063         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
24064         Likewise.
24066         * iconvdata/gconv-modules: Remove duplicate entry.
24068 2014-12-11  Will Newton  <will.newton@linaro.org>
24070         Merge gettext 0.19.3 into intl/.
24072         This involves a number of cosmetic changes to comments
24073         and ANSI function definitions and prototypes throughout
24074         all the files. The gettext copyright header is used but
24075         with the date ranges taken from the glibc copy.
24077         * NEWS: Add gettext merge to 2.21.
24078         * intl/bindtextdom.c: Switch to gettext copyright.
24079         Use ANSI definitions and prototypes.
24080         Use gl_* locking primitives rather than __libc_* ones.
24081         Use __builtin_expect rather than __glibc_likely/unlikely.
24082         * intl/dcgettext.c: Switch to gettext copyright.
24083         Use ANSI definitions and prototypes.
24084         * intl/dcigettext.c: Switch to gettext copyright.
24085         Use ANSI definitions and prototypes.
24086         (INTDIV0_RAISES_SIGFPE): New define.
24087         Use gl_* locking primitives rather than __libc_* ones.
24088         Include eval-plural.h instead of plural-eval.c.
24089         Use __builtin_expect rather than __glibc_likely/unlikely.
24090         * intl/dcngettext.c: Switch to gettext copyright.
24091         Use ANSI definitions and prototypes.
24092         * intl/dgettext.c: Likewise.
24093         * intl/dngettext.c: Likewise.
24094         * intl/plural-eval.c: Renamed to...
24095         * intl/eval-plural.h: ...this.
24096         * intl/explodename.c: Switch to gettext copyright.
24097         Use ANSI definitions and prototypes.
24098         (_nl_explode_name): Use strchr instead of __rawmemchr.
24099         * intl/finddomain.c: Switch to gettext copyright.
24100         Use ANSI definitions and prototypes.
24101         Use gl_* locking primitives rather than __libc_* ones.
24102         (_nl_find_domain): Use malloc rather than alloca for
24103         allocation of temporary locale name.
24104         * intl/gettext.c: Switch to gettext copyright.
24105         Use ANSI definitions and prototypes.
24106         * intl/gettextP.h: Switch to gettext copyright.
24107         Use ANSI definitions and prototypes.
24108         Use gl_* locking primitives rather than __libc_* ones.
24109         * intl/gmo.h: Switch to gettext copyright.
24110         (struct sysdep_string): Move struct segment_pair outside of
24111         struct definition.
24112         * intl/hash-string.c: Use ANSI definitions and prototypes.
24113         * intl/hash-string.h: Switch to gettext copyright.
24114         Use ANSI definitions and prototypes.
24115         * intl/l10nflist.c: Switch to gettext copyright.
24116         Use ANSI definitions and prototypes.
24117         (_nl_normalize_codeset): Avoid integer overflow.
24118         * intl/loadinfo.h: Switch to gettext copyright.
24119         Use ANSI definitions and prototypes.
24120         (LIBINTL_DLL_EXPORTED): New define.
24121         (PATH_SEPARATOR): New define.
24122         * intl/loadmsgcat.c: Switch to gettext copyright.
24123         * intl/localealias.c: Switch to gettext copyright.
24124         Use ANSI definitions and prototypes.
24125         (_nl_expand_alias): Use PATH_SEPARATOR.
24126         * intl/ngettext.c: Switch to gettext copyright.
24127         Use ANSI definitions and prototypes.
24128         * intl/plural-exp.c: Likewise.
24129         * intl/plural-exp.h: Switch to gettext copyright.
24130         Use ANSI definitions and prototypes.
24131         (struct expression): Move definition of enum operator outside
24132         of struct definition.
24133         * intl/plural.c: Regenerate.
24134         * intl/plural.y: Switch to gettext copyright.
24135         Use ANSI definitions and prototypes.
24136         Port to bison 3.0.
24137         * intl/textdomain.c: Switch to gettext copyright.
24138         Use ANSI definitions and prototypes.
24139         Use gl_* locking primitives rather than __libc_* ones.
24141 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
24143         * debug/warning-nop.c: Add used atrribute.
24145 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24147         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
24149         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
24150         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
24151         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
24153 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24154             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24156         [BZ #17634]
24157         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
24158         Undefine after defining function.  Define as weak alias of
24159         __wcschr.  Use libc_hidden_weak.
24160         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
24161         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
24162         (libc_hidden_def): Also define __GI___wcschr alias.
24163         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
24164         __wcschr and define as weak alias of __wcschr.
24165         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
24166         __wcschr.
24167         [!WCSCHR] (DEFAULT_WCSCHR): Define.
24168         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
24169         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
24170         libc_hidden_weak.  Do not use libc_hidden_def.
24171         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
24172         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
24173         __GI___wcschr alias.
24174         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
24175         [IS_IN (libc)] (wcschr): Define as macro expanding to
24176         __redirect_wcschr.
24177         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
24178         [IS_IN (libc)] (__wcschr_power6): Likewise.
24179         [IS_IN (libc)] (__wcschr_power7): Likewise.
24180         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
24181         instead of wcschr.
24182         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
24183         __libc_wcschr.
24184         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
24185         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
24186         __wcschr and define as weak alias of __wcschr.  Use
24187         libc_hidden_builtin_def.
24188         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
24189         as weak alias of __wcschr.  Use libc_hidden_weak.
24190         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
24191         wcschr.
24192         * time/era.c (_nl_init_era_entries): Likewise.
24193         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
24194         variable.
24195         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24196         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24198 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24200         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
24201         format for long int variable.
24203 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
24205         [BZ #10672]
24206         * manual/search.texi: (Array Sort Function): Remove claim how to make
24207         qsort stable.
24209 2014-12-10  Andreas Schwab  <schwab@suse.de>
24211         [BZ #12847]
24212         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
24213         user-controlled locks.
24215 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
24217         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
24218         register.
24220 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24222         * configure.ac (--disable-werror): New configure option.
24223         (enable_werror): New AC_SUBST.
24224         * configure: Regenerated.
24225         * config.make.in (enable-werror): New variable.
24226         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
24227         -Wno-error=undef.
24228         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
24229         * manual/install.texi (Configuring and compiling): Document
24230         --disable-werror.
24231         * INSTALL: Regenerated.
24232         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
24233         (CFLAGS-tst-chk2.c): Likewise.
24234         (CFLAGS-tst-chk3.c): Likewise.
24235         (CFLAGS-tst-chk4.cc): Likewise.
24236         (CFLAGS-tst-chk5.cc): Likewise.
24237         (CFLAGS-tst-chk6.cc): Likewise.
24238         (CFLAGS-tst-lfschk1.c): Likewise.
24239         (CFLAGS-tst-lfschk2.c): Likewise.
24240         (CFLAGS-tst-lfschk3.c): Likewise.
24241         (CFLAGS-tst-lfschk4.cc): Likewise.
24242         (CFLAGS-tst-lfschk5.cc): Likewise.
24243         (CFLAGS-tst-lfschk6.cc): Likewise.
24245         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
24246         (main): Disable -Wdeprecated-declarations around calls to
24247         register_printf_function.
24249         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
24250         (do_test): Disable -Wdiv-by-zero around some calls to
24251         fwrite_unlocked and fread_unlocked.
24253         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
24254         (DIAG_POP_NEEDS_COMMENT): Likewise.
24255         (_DIAG_STR1): Likewise.
24256         (_DIAG_STR): Likewise.
24257         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
24258         * stdio-common/bug21.c: Include <libc-internal.h>.
24259         (do_test): Disable -Wformat around call to sscanf.
24260         * stdio-common/scanf14.c: Include <libc-internal.h>.
24261         (main): Disable -Wformat around some calls to scanf functions.
24263 2014-12-09  Torvald Riegel  <triegel@redhat.com>
24265         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
24267 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24269         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
24270         stack variable alignment.
24272 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
24274         [BZ #17682]
24275         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
24276         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
24277         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
24278         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
24279         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
24280         __getrlimit instead of getrlimit.
24281         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
24282         __gettimeofday instead of gettimeofday.
24283         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24284         Likewise.
24285         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24286         Likewise.
24287         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24288         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
24289         Remove variable.
24290         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24291         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24293 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24295         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
24296         for wide-character tests.
24298 2014-12-04  Roland McGrath  <roland@hack.frob.com>
24300         * io/openat64.c: #include <libc-internal.h>
24301         (__openat64): Prototypify.  Use ignore_value on MODE.
24302         * io/openat.c: Likewise.
24303         * misc/reboot.c: #include <libc-internal.h>
24304         (reboot): Prototypify.  Use ignore_value on HOWTO.
24305         * misc/ptrace.c: #include <libc-internal.h>
24306         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
24308 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
24310         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
24311         XPG4, UNIX98 and XOPEN2K.
24312         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
24313         Remove variable.
24314         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24316 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24318         * libio/fileops.c: Use ISO C style for function definitions.
24319         * libio/iofopen.c: Likewise.
24320         * libio/wfileops.c: Likewise.
24322         [BZ #17653]
24323         * libio/fileops.c (_IO_new_file_underflow): Unset cached
24324         offset on EOF.
24325         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
24326         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
24327         (fgets_func): Function pointer to fgets and fgetws.
24328         (do_ftell_test): Add test to verify ftell value after read
24329         EOF.
24330         (do_test): Set fgets_func.
24332         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
24333         O_TRUNC flag for w and w+ modes.
24334         (do_rewind_test): Likewise.
24335         (do_ftell_test): Likewise.
24336         (do_write_test): Likewise.
24338         [BZ #17647]
24339         * libio/fileops.c (do_ftell): Seek only when there are
24340         unflushed writes.
24341         * libio/wfileops.c (do_ftell_wide): Likewise.
24342         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
24343         test case.
24344         (do_one_test): Call it.
24346 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
24348         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
24349         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
24350         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
24351         Remove variable.
24352         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24353         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24354         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24356 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24358         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
24359         Remove variable.
24360         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24362         [BZ #17668]
24363         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
24364         as weak alias of __getifaddrs.  Use libc_hidden_weak.
24365         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24366         __freeifaddrs.  Use libc_hidden_weak.
24367         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
24368         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
24369         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24370         __freeifaddrs.  Use libc_hidden_weak.
24371         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
24372         __getifaddrs and define as weak alias of __getifaddrs.  Use
24373         libc_hidden_weak.
24374         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24375         __freeifaddrs.  Use libc_hidden_weak.
24376         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
24377         Remove variable.
24378         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24379         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24381 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24383         [BZ #17601]
24384         * sysdeps/mips/start.S (__start): Use indirect jump to call
24385         __libc_start_main.
24387 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24389         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
24391         * nptl/tst-mutex1.c: Include <stdbool.h>.
24392         [!ATTR] (ATTR_NULL): New macro.
24393         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
24394         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
24395         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
24397         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
24398         to char *.
24400         [BZ #17665]
24401         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
24402         Change conditional to [__USE_MISC].
24404         [BZ #17664]
24405         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
24406         fgets_unlocked.
24407         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
24408         __fgets_unlocked.
24409         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
24410         fgets_unlocked.
24411         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
24412         Remove variable.
24413         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24414         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24415         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24416         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24417         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24418         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24419         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24420         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24421         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24423         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
24425 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24427         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24428         Remove strpbrk objects.
24429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24430         (__libc_ifunc_impl_list): Remove strpbrk implementation.
24431         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
24432         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
24433         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
24434         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
24436         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24437         Remove strcspn objects.
24438         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24439         (__libc_ifunc_impl_list): Remove strcspn implementation.
24440         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
24441         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
24442         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
24443         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
24445         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24446         Remove strspn objetcs.
24447         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24448         (__libc_ifunc_impl_list): Remove strspn implementation.
24449         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
24450         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24451         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
24452         * sysdeps/powerpc/powerpc64/strspn.S: New file.
24454 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
24456         [BZ #17581]
24457         * malloc/hooks.c
24458         (mem2mem_check): Add a terminator to the chain of checking blocks.
24459         (malloc_check_get_size): Use it here.
24460         (mem2chunk_check): Ditto.
24462 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24464         * sysdeps/powerpc/powerpc64/strtok.S: New file.
24465         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
24467 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
24469         * bits/ioctl-types.h: Indent preprocessor directives correctly.
24471         * nptl/nptl-init.c: Include libc-internal.h.
24472         (__pthread_initialize_minimal_internal): Use ROUND_UP.
24474         * elf/ldconfig.c (search_dir): Expand comment.
24476 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
24478         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
24479         variable.
24480         (linknamespace-symlist-stdlibs-tests): Likewise.
24481         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
24482         instead of $(objpfx)symlist-stdlibs.
24483         (linknamespace-libs-isoc): New variable.
24484         (linknamespace-libs): Use $(linknamespace-libs-isoc).
24485         (linknamespace-libs-ISO): New variable.
24486         (linknamespace-libs-ISO99): Likewise.
24487         (linknamespace-libs-ISO11): Likewise.
24488         (linknamespace-libs-XPG3): Likewise.
24489         (linknamespace-libs-XPG4): Likewise.
24490         (linknamespace-libs-POSIX): Likewise.
24491         (linknamespace-libs-UNIX98): Likewise.
24492         (linknamespace-libs-XOPEN2K): Likewise.
24493         (linknamespace-libs-POSIX2008): Likewise.
24494         (linknamespace-libs-XOPEN2K8): Likewise.
24495         ($(objpfx)symlist-stdlibs): Replace by
24496         $(linknamespace-symlist-stdlibs-tests).  Use
24497         $(linknamespace-libs-$*) as set of libraries.
24498         ($(linknamespace-header-tests)): Update dependencies.  Use
24499         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
24500         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
24501         * conform/linknamespace.pl: Remove comment about considering
24502         definitions of symbols from irrelevant libraries.
24504 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
24506         [BZ #13862]
24507         * elf/dl-tls.c: Include <atomic.h>.
24508         (oom): Remove #ifdef SHARED/#endif.
24509         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
24510         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
24511         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
24512         big enough.
24513         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
24514         * nptl/Makefile (tests): Add tst-stack4.
24515         (modules-names): Add tst-stack4mod.
24516         ($(objpfx)tst-stack4): New.
24517         (tst-stack4mod.sos): Likewise.
24518         ($(objpfx)tst-stack4.out): Likewise.
24519         ($(tst-stack4mod.sos)): Likewise.
24520         (clean): Likewise.
24521         * nptl/tst-stack4.c: New file.
24522         * nptl/tst-stack4mod.c: Likewise.
24524 2014-11-27  J. Brown  <jb999@gmx.de>
24526         * sysdeps/x86/bits/string.h: Add recent CPUs.
24528 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24530         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
24531         sigblock.
24533         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
24534         feof.
24536         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
24537         variable.
24539 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
24541         * nscd/connections.c: Include libc-internal.h because of macro
24542         usage ignore_value.
24544 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24546         * string/bits/string3.h (__warn_memset_zero_len): Don't
24547         declare for gcc newer than 5.0.
24548         (memset): Don't test for zero-length __LEN for gcc newer than
24549         5.0.
24551 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24553         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
24554         size_t for %zu format.
24556         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
24557         difference, not %ju.
24559 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24561         * include/libc-internal.h (ignore_value): New macro.
24562         * nscd/connections.c (restart): Wrap calls to setuid and setgid
24563         with ignore_value.
24565         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
24566         definition.
24568         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
24569         pthread_cleanup_push to void *.
24571         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
24572         Undefine.
24574         [BZ #16619]
24575         [BZ #16740]
24576         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24577         instead of 1L << 52.
24579         * libio/bug-rewind.c (do_test): Check fwscanf return values.
24580         * libio/bug-rewind2.c (do_test): Likewise.
24582         * debug/test-stpcpy_chk-ifunc.c: Remove file.
24583         * debug/test-strcpy_chk-ifunc.c: Likewise.
24584         * wcsmbs/test-wcschr-ifunc.c: Likewise.
24585         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24586         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24587         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24588         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24589         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24590         * Rules [$(multi-arch) = no] (tests): Do not filter out
24591         $(tests-ifunc).
24592         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24593         * debug/Makefile (tests-ifunc): Remove variable.
24594         (tests): Do not add $(tests-ifunc).
24595         * wcsmbs/Makefile (tests-ifunc): Remove variable.
24596         (tests): Do not add $(tests-ifunc).
24597         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24598         [TEST_IFUNC]: Remove conditionals.
24599         * string/test-string.h (TEST_IFUNC): Remove macro.
24600         [TEST_IFUNC]: Remove conditionals.
24602         * string/test-strchr.c [!WIDE] (L): New macro.
24603         [WIDE] (L): Likewise.
24604         (check1): Use CHAR instead of char.  Use L on string and character
24605         constants.
24607 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
24609         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24610         tests.
24611         * sysdeps/powerpc/bits/atomic.h
24612         (__arch_atomic_exchange_and_add_32_acq): Add definition.
24613         (__arch_atomic_exchange_and_add_32_rel): Likewise.
24614         (atomic_exchange_and_add_acq): Likewise.
24615         (atomic_exchange_and_add_rel): Likewise.
24616         * sysdeps/powerpc/powerpc32/bits/atomic.h
24617         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24618         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24619         * sysdeps/powerpc/powerpc64/bits/atomic.h
24620         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24621         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24623 2014-11-26  Torvald Riegel  <triegel@redhat.com>
24625         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24626         Change synchronization of __sched_fifo_min_prio and
24627         __sched_fifo_max_prio.
24628         * nptl/pthread_mutexattr_getprioceiling.c
24629         (pthread_mutexattr_getprioceiling): Likewise.
24630         * nptl/pthread_mutexattr_setprioceiling.c
24631         (pthread_mutexattr_setprioceiling): Likewise.
24632         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24633         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24634         Likewise.
24636 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24638         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24639         void.
24641 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24643         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24644         third argument const.
24646 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
24648         fnmatch: work around GCC compiler warning bug with uninit var
24649         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24650         This works around a bug with x86-64 GCC 4.9.2 and earlier
24651         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24652         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24653         used uninitialized in this function [-Wmaybe-uninitialized]".
24655 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24657         * posix/bug-regex31.c (main): Return RES not 0.
24659 2014-11-25  Anton Blanchard <anton@samba.org>
24661         * sysdeps/powerpc/bits/atomic.h
24662         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24664 2014-11-24  Sterling Augustine  <saugustine@google.com>
24666         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24668 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
24670         [BZ #17608]
24671         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24673 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
24675         [BZ #17633]
24676         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24677         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24678         variable.
24679         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24680         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24682 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24684         * string/strncpy.c (strncpy): Improve performance by using memset.
24686 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24688         * string/strcpy.c (strcpy):
24689         Improve performance by using strlen and memcpy.
24691 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
24693         * string/strcoll_l.c (get_next_seq): __always_inline.
24694         * string/strcoll_l.c (do_compare): __always_inline.
24696 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24698         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24699         defined.
24700         * include/mqueue.h: Likewise.
24701         * include/stdlib.h: Likewise.
24703         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24704         (get_null_defines): Adjust.
24705         * sunrpc/Makefile: Adjust comment.
24706         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24707         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24708         (CFLAGS-interp.c): Likewise.
24709         (CFLAGS-ldconfig.c): Likewise.
24710         (CPPFLAGS-.os): Likewise.
24711         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24712         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24713         * extra-modules.mk (extra-modules.mk): Likewise.
24714         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24715         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24716         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24717         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24718         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24719         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24720         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24721         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24722         * iconvdata/Makefile (CPPFLAGS): Likewise.
24723         (cpp-srcs-left): Add libof for all iconvdata routines.
24724         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24725         * include/assert.h: Likewise.
24726         * include/ctype.h: Likewise.
24727         * include/errno.h: Likewise.
24728         * include/libc-symbols.h: Likewise.
24729         * include/math.h: Likewise.
24730         * include/netdb.h: Likewise.
24731         * include/resolv.h: Likewise.
24732         * include/stdio.h: Likewise.
24733         * include/stdlib.h: Likewise.
24734         * include/string.h: Likewise.
24735         * include/sys/stat.h: Likewise.
24736         * include/wctype.h: Likewise.
24737         * intl/l10nflist.c: Likewise.
24738         * libidn/idn-stub.c: Likewise.
24739         * libio/libioP.h: Likewise.
24740         * nptl/libc_multiple_threads.c: Likewise.
24741         * nptl/pthreadP.h: Likewise.
24742         * posix/regex_internal.h: Likewise.
24743         * resolv/res_hconf.c: Likewise.
24744         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24745         * sysdeps/arm/memmove.S: Likewise.
24746         * sysdeps/arm/sysdep.h: Likewise.
24747         * sysdeps/generic/_itoa.h: Likewise.
24748         * sysdeps/generic/symbol-hacks.h: Likewise.
24749         * sysdeps/gnu/errlist.awk: Likewise.
24750         * sysdeps/gnu/errlist.c: Likewise.
24751         * sysdeps/i386/i586/memcpy.S: Likewise.
24752         * sysdeps/i386/i586/memset.S: Likewise.
24753         * sysdeps/i386/i686/memcpy.S: Likewise.
24754         * sysdeps/i386/i686/memmove.S: Likewise.
24755         * sysdeps/i386/i686/mempcpy.S: Likewise.
24756         * sysdeps/i386/i686/memset.S: Likewise.
24757         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24758         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24759         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24760         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24761         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24762         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24763         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24764         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24765         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24766         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24767         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24768         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24769         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24770         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24771         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24772         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24773         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24774         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24775         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24776         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24777         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24778         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24779         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24780         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24781         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24782         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24783         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24784         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24785         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24786         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24787         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24788         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24789         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24790         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24791         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24792         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24793         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24794         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24795         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24796         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24797         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24798         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24799         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24800         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24801         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24802         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24803         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24804         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24805         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24806         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24807         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24808         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24809         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24810         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24811         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24812         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24813         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24814         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24815         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24816         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24817         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24818         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24819         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24820         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24821         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24822         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24823         * sysdeps/posix/closedir.c: Likewise.
24824         * sysdeps/posix/opendir.c: Likewise.
24825         * sysdeps/posix/readdir.c: Likewise.
24826         * sysdeps/posix/rewinddir.c: Likewise.
24827         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24828         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24829         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24830         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24831         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24832         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24833         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24834         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24835         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24836         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24837         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24838         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24839         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24840         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24841         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24842         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24843         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24844         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24845         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24846         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24847         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24848         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24849         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24850         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24851         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24852         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24853         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24854         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24855         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24856         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24857         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24858         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24859         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24860         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24861         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24862         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24863         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24864         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24865         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24866         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24867         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24868         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24869         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24870         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24871         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24872         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24873         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24874         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24875         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24876         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24877         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24878         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24879         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24880         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24881         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24882         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24883         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24884         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24885         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24886         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24887         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24888         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24889         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24890         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24891         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24892         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24893         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24894         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24895         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24896         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24897         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24898         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24899         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24900         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24901         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24902         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24903         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24904         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24905         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24906         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24907         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24908         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24909         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24910         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24911         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24912         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24913         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24914         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24915         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24916         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24917         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24918         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24919         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24920         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24921         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24922         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24923         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24924         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24925         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24926         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24927         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24928         * sysdeps/unix/alpha/sysdep.S: Likewise.
24929         * sysdeps/unix/alpha/sysdep.h: Likewise.
24930         * sysdeps/unix/make-syscalls.sh: Likewise.
24931         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24932         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24933         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24934         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24935         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24936         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24937         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24938         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24939         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24940         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24941         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24942         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24943         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24944         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24945         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24946         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24947         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24948         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24949         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24950         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24951         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24952         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24953         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24954         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24955         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24956         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24957         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24960         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24961         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24962         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24963         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24964         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24965         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24966         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24967         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24968         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24969         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24970         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24971         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24972         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24973         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24974         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24975         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24976         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24977         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24978         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24979         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24980         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24981         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24982         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24983         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24984         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24985         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24986         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24987         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24988         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24989         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24990         * sysdeps/x86_64/memcpy.S: Likewise.
24991         * sysdeps/x86_64/memmove.c: Likewise.
24992         * sysdeps/x86_64/memset.S: Likewise.
24993         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24994         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24995         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24996         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24997         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24998         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24999         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25000         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25001         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25002         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25003         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25004         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25005         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
25006         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25007         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25008         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
25009         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25010         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25011         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25012         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25013         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
25014         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25015         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25016         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25017         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25018         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25019         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25020         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
25021         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25022         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25023         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
25024         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25025         * sysdeps/x86_64/strcmp.S: Likewise.
25027         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
25029         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
25030         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
25031         * elf/rtld-Rules: Likewise.
25032         * elf/setup-vdso.h: Likewise.
25033         * include/assert.h: Likewise.
25034         * include/bits/stdlib-float.h: Likewise.
25035         * include/errno.h: Likewise.
25036         * include/sys/stat.h: Likewise.
25037         * include/unistd.h: Likewise.
25038         * sysdeps/aarch64/setjmp.S: Likewise.
25039         * sysdeps/alpha/setjmp.S: Likewise.
25040         * sysdeps/arm/__longjmp.S: Likewise.
25041         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
25042         * sysdeps/arm/setjmp.S: Likewise.
25043         * sysdeps/arm/sysdep.h: Likewise.
25044         * sysdeps/generic/_itoa.h: Likewise.
25045         * sysdeps/generic/dl-sysdep.h: Likewise.
25046         * sysdeps/generic/ldsodefs.h: Likewise.
25047         * sysdeps/i386/dl-tls.h: Likewise.
25048         * sysdeps/i386/setjmp.S: Likewise.
25049         * sysdeps/m68k/setjmp.c: Likewise.
25050         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
25051         * sysdeps/mach/hurd/opendir.c: Likewise.
25052         * sysdeps/posix/getcwd.c: Likewise.
25053         * sysdeps/posix/opendir.c: Likewise.
25054         * sysdeps/posix/profil.c: Likewise.
25055         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25056         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25057         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25058         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25059         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25060         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
25061         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25062         * sysdeps/s390/dl-tls.h: Likewise.
25063         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25064         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25065         * sysdeps/sh/sh3/setjmp.S: Likewise.
25066         * sysdeps/sh/sh4/setjmp.S: Likewise.
25067         * sysdeps/unix/alpha/sysdep.h: Likewise.
25068         * sysdeps/unix/arm/sysdep.S: Likewise.
25069         * sysdeps/unix/i386/sysdep.S: Likewise.
25070         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25071         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25072         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25073         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25074         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25075         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25076         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25077         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25078         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25079         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25080         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25081         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25082         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25085         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25086         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25087         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25088         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25089         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25090         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25091         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25092         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25093         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25094         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25095         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25096         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25097         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25098         * sysdeps/x86_64/setjmp.S: Likewise.
25100         * include/math.h: Use IS_IN instead of IS_IN_libm.
25101         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
25102         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25103         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25104         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
25105         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25106         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25107         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25108         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25109         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25110         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25111         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
25112         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
25113         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
25114         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
25115         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
25116         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
25117         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25118         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
25119         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25120         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
25121         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
25122         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
25123         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
25124         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
25125         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
25126         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
25127         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
25128         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25129         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25130         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
25131         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
25132         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25133         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25135         Likewise.
25136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
25137         Likewise.
25138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
25139         Likewise.
25140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
25141         Likewise.
25142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
25143         Likewise.
25144         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25145         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
25146         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25147         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25148         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25149         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
25151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
25152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
25153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
25154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
25155         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
25156         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
25157         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25158         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25159         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25160         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25161         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25162         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25163         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25164         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
25165         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
25166         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
25167         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
25168         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
25169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25170         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
25172         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
25173         * nptl/pthreadP.h: Likewise.
25174         * nptl_db/structs.def: Likewise.
25175         * sysdeps/arm/sysdep.h: Likewise.
25176         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25177         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25178         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
25179         * sysdeps/unix/alpha/sysdep.h: Likewise.
25180         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25181         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25182         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25183         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25184         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25185         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25186         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25187         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25188         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25189         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25190         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25191         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25192         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25193         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25196         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25197         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25198         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25199         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25200         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25201         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25202         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25203         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25204         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
25205         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25207         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
25208         * nptl/pthreadP.h: Likewise.
25209         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25210         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25211         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25212         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25213         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25214         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25215         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25216         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25217         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25218         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25219         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25220         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25222         Likewise.
25223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25224         Likewise.
25225         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25226         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25227         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25228         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25229         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25230         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25231         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25232         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25234         * dlfcn/dladdr.c: Use IS_IN.
25235         * dlfcn/dladdr1.c: Likewise.
25236         * dlfcn/dlclose.c: Likewise.
25237         * dlfcn/dlerror.c: Likewise.
25238         * dlfcn/dlinfo.c: Likewise.
25239         * dlfcn/dlmopen.c: Likewise.
25240         * dlfcn/dlopen.c: Likewise.
25241         * dlfcn/dlsym.c: Likewise.
25242         * dlfcn/dlvsym.c: Likewise.
25244         * include/ifaddrs.h: Use IS_IN.
25245         * inet/check_pf.c: Likewise.
25246         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25247         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
25249         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
25250         IS_IN_ldconfig.
25251         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
25252         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
25254         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
25255         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
25256         IS_IN (libc).
25258         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
25260         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
25261         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25262         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25263         * include/libc-symbols.h (IS_IN_LIB): New macro.
25264         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
25265         * include/netdb.h: Likewise.
25266         * include/stap-probe.h: Remove all uses of IN_LIB.
25268         * Makeconfig (module-cppflags-real): Define MODULE_NAME
25269         instead of IN_MODULE.
25270         * include/libc-symbols.h (IN_MODULE): Define using
25271         MODULE_NAME.
25272         (PASTE_NAME, PASTE_NAME1): New macros.
25273         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
25274         of IN_LIB.
25275         (STAP_PROBE_ASM): Likewise.
25277 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25279         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
25280         __mach_init in dlopened libc.
25282 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
25284         * sysdeps/arm/preconfigure.ac: Delete EABI check.
25285         * sysdeps/arm/preconfigure: Regenerate.
25287 2014-11-21  Roland McGrath  <roland@hack.frob.com>
25289         * nptl/pthread_create.c (__pthread_create_2_1): Set
25290         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
25291         when copying values from IATTR into PD.
25293 2014-11-21  Will Newton  <will.newton@linaro.org>
25294             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
25296         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
25297         Refactor inline-asm.  Also add comment.
25299         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
25300         ElfW macro instead of hardcoded Elf64 types.
25301         (la_aarch64_gnu_pltenter): Likewise.
25302         * sysdeps/aarch64/dl-machine.h
25303         (elf_machine_runtime_setup): Use ElfW(Addr).
25305         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
25306         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
25307         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
25308         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
25309         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
25310         (R_AARCH64_TLS_DTPMOD64): Rename to ..
25311         (R_AARCH64_TLS_DTPMOD): This.
25312         (R_AARCH64_TLS_DTPREL64): Rename to ...
25313         (R_AARCH64_TLS_DTPREL): This.
25314         (R_AARCH64_TLS_TPREL64): Rename to ...
25315         (R_AARCH64_TLS_TPREL): This.
25316         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
25317         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
25318         R_AARCH64_TLS_TPREL64.
25319         (elf_machine_rela): Likewise.
25321 2014-11-21  Torvald Riegel  <triegel@redhat.com>
25323         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
25324         by setting it to 0.  64b atomics are not supported currently.
25326 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25328         [BZ #16469]
25329         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
25330         search domain names.
25332 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25334         [BZ #16469]
25335         * NEWS: Update.
25336         * resolv/res_query.c (__libc_res_nquerydomain): Retain
25337         trailing dot.
25338         * posix/tst-getaddrinfo5.c: New.
25339         * posix/Makefile (tests): Add it.
25341 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25343         [BZ #14498]
25344         * NEWS: Fixed.
25345         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
25346         after parsing line but before break_if_match.
25347         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
25348         if there is a protocol mismatch.
25350 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
25352         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
25353         because the potential race is on the user-supplied stream.
25355 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25357         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
25358         string literal if not passed a buffer.
25359         * manual/job.texi (ctermid): Update reasoning, note deviation
25360         from posix, suggest mtasurace when not passed a buffer, for
25361         future non-preliminary safety notes.
25363 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25365         * manual/users.texi (cuserid): Fix MT-Safety note for the case
25366         of not passing it a buffer.
25367         Reported by Peng Haitao.
25369 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25371         * manual/Makefile ($(objpfx)stamp-summary): Require
25372         check-safety.sh to pass.
25373         * manual/check-safety.sh: Wish for verification that every
25374         @deftypefn and @deftypefun is followed by a @safety remark.
25376 2014-11-20  Roland McGrath  <roland@hack.frob.com>
25378         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
25380         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
25381         PTHREAD_CANCEL_ASYNCHRONOUS.
25382         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
25383         send SIGCANCEL.
25385         * nptl/default-sched.h: New file.
25386         * sysdeps/unix/sysv/linux/default-sched.h: New file.
25387         * nptl/pthread_create.c: Include it.
25388         (__pthread_create_2_1): Use collect_default_sched instead of making
25389         Linux syscalls here directly.
25391 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25393         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
25394         __pthread_once): Use C11 atomics.
25396 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25398         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
25400 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25402         * include/atomic.h (__atomic_link_error, __atomic_check_size,
25403         atomic_thread_fence_acquire, atomic_thread_fence_release,
25404         atomic_thread_fence_seq_cst, atomic_load_relaxed,
25405         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
25406         atomic_compare_exchange_weak_relaxed,
25407         atomic_compare_exchange_weak_acquire,
25408         atomic_compare_exchange_weak_release,
25409         atomic_exchange_acquire, atomic_exchange_release,
25410         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
25411         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
25412         atomic_fetch_and_acquire,
25413         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
25415 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25417         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
25418         USE_ATOMIC_COMPILER_BUILTINS): Define.
25419         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
25420         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25421         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
25422         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25423         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
25424         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25425         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
25426         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25427         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
25428         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25429         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
25430         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25431         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
25432         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25433         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
25434         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25435         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25436         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25437         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25438         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25439         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
25440         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25441         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25442         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25443         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
25444         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25445         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25446         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25447         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
25448         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25449         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
25450         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25451         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
25452         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25453         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25454         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25455         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
25456         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25457         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
25458         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25460 2014-11-19  Roland McGrath  <roland@hack.frob.com>
25462         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
25463         the sched_priority value here.  It was already checked when the user
25464         called pthread_attr_setschedparam.
25466         * nptl/tst-bad-schedattr.c: New file.
25467         * nptl/Makefile (tests): Add it.
25469 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
25470             Florian Weimer  <fweimer@redhat.com>
25471             Joseph Myers  <joseph@codesourcery.com>
25472             Adam Conrad  <adconrad@0c3.net>
25473             Andreas Schwab  <schwab@suse.de>
25474             Brooks  <bmoses@google.com>
25476         [BZ #17625]
25477         * wordexp-test.c (__dso_handle): Add prototype.
25478         (__register_atfork): Likewise.
25479         (__app_register_atfork): New function.
25480         (registered_forks): New global.
25481         (register_fork): New function.
25482         (test_case): Add 3 new tests for WRDE_CMDSUB.
25483         (main): Call __app_register_atfork.
25484         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
25485         fork count is non-zero fail the test.
25486         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
25487         is set.
25488         (parse_dollars): Remove check for WRDE_NOCMD.
25489         (parse_dquote): Likewise.
25491 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25493         * Makeconfig (built-modules): List non-library modules to be
25494         built.
25495         (module-cppflags): Include libc-modules.h for
25496         everything except shlib-versions.v.i.
25497         (CPPFLAGS): Use it.
25498         (before-compile): Add libc-modules.h.
25499         ($(common-objpfx)libc-modules.h,
25500         $(common-objpfx)libc-modules.stmp): New targets.
25501         (common-generated): Add libc-modules.h and libc-modules.stmp.
25502         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
25503         * include/libc-symbols.h: Don't include libc-modules.h.
25504         * include/libc-modules.h: Remove file.
25505         * scripts/gen-libc-modules.awk: New script to generate
25506         libc-modules.h.
25507         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
25508         Depend on libc-modules.stmp.
25510         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
25512         * Makeconfig (in-module): Get value of libof set for the
25513         translation unit.
25514         (CPPFLAGS): Use $(in-module).
25515         * Makerules: Don't suffix routine names for nonlib.
25516         * include/libc-modules.h: New file.
25517         * include/libc-symbols.h: Include libc-modules.h
25518         (IS_IN): New macro to replace IS_IN_* macros.
25519         * elf/Makefile: Set libof-* for each routine.
25520         * elf/rtld-Rules: Likewise.
25521         * extra-modules.mk: Likewise.
25522         * iconv/Makefile: Likewise.
25523         * iconvdata/Makefile: Likewise.
25524         * locale/Makefile: Likewise.
25525         * malloc/Makefile: Likewise.
25526         * nss/Makefile: Likewise.
25527         * sysdeps/gnu/Makefile: Likewise.
25528         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
25529         * sysdeps/unix/sysv/linux/Makefile: Likewise.
25530         * sysdeps/s390/s390-64/Makefile: Likewise.
25531         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
25532         CPPFLAGS for nscd instead of nonlib.
25534 2014-11-18  Roland McGrath  <roland@hack.frob.com>
25536         * nptl/createthread.c: New file.
25538         * nptl/createthread.c: Moved ...
25539         * sysdeps/unix/sysv/linux/createthread.c: ... here.
25541         * nptl/createthread.c: Add proper top-line comment.
25542         (do_clone): Folded into ...
25543         (create_thread): ... here.  Take new arguments STOPPED_START and
25544         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
25545         increment __nptl_threads, do event-reporting logic, do
25546         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
25547         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
25548         resource cleanup if sched_setaffinity or sched_setscheduler fails,
25549         just send SIGCANCEL.
25550         * nptl/pthread_create.c: Forward-declare create_thread before
25551         including createthread.c.
25552         (start_thread): Use new macro START_THREAD_DEFN to replace defining
25553         declaration, and new macro START_THREAD_SELF to replace argument.
25554         Remove return statement.
25555         (report_thread_creation): New function.
25556         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
25557         synchronization logic, and __nptl_nthreads increment here, around
25558         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
25559         PD->parent_cancelhandling here, before create_thread.  When
25560         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
25561         __deallocate_stack, and ENOMEM translation here.
25563 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
25565         [BZ #17616]
25566         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
25567         (mptwo): Rename to __mptwo.
25568         (__inv): Use __mptwo instead of mptwo.
25569         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
25570         (mptwo): Rename to __mptwo.
25571         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
25572         of mpone and __mptwo instead of mptwo.
25573         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
25574         instead of mpone.
25575         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25576         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
25577         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
25578         of mpone and __mptwo instead of mptwo.
25579         (__mpranred): Use __mpone instead of mpone.
25580         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
25581         variable.
25582         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25583         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25584         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25585         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25586         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25587         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25588         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25589         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25590         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25591         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25592         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25593         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25594         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25595         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25596         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25597         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25598         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25599         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25600         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25602 2014-11-18  Tom de Vries  <tom@codesoucery.com>
25604         * manual/signal.texi (Primitives Interrupted by Signals): In section,
25605         replace BSD Handler xref with BSD Signal Handling.
25607 2014-11-17  Richard Henderson  <rth@redhat.com>
25609         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25610         (_FP_PACK_RAW_2): Remove.
25611         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25612         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25613         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25614         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25615         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25616         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25617         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25618         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25619         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25620         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25621         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25622         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25623         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25624         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25625         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25626         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25628 2014-11-14  Roland McGrath  <roland@hack.frob.com>
25630         * signal/signal.h [__USE_MISC]
25631         (struct sigvec): Remove type.
25632         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25633         (sigvec): Remove declaration.
25634         * sysdeps/posix/sigvec.c: Moved ...
25635         * signal/sigvec.c: ... here, replacing old file.
25636         (struct sigvec): New type, copied from old signal.h definition.
25637         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25638         (__sigvec): Convert definition to prototype.
25639         (sigvec): Replace weak_alias with compat_symbol.
25640         * signal/Versions (libc: GLIBC_2.21): New version set.
25641         * include/signal.h: Remove __sigvec declaration.
25642         * sysdeps/unix/bsd/sigvec.c: Remove file.
25643         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25644         * manual/signal.texi (BSD Handler): Remove subsection.
25645         Move siginterrupt up to ...
25646         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
25647         (Blocking in BSD): Fold subsection into its parent.
25648         * NEWS: Mention sigvec removal.
25650 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25652         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25653         (DLA_FMS): Make definition conditional only on [__FMA4__].
25654         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25655         definition.
25657         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25658         Make definition conditional only on [PROF].
25659         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25660         definition.
25661         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25662         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25664         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25665         !__GNUC__].
25666         * include/signal.h (__sigpause): Move declaration above call to
25667         libc_hidden_proto.
25668         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25669         variable.
25670         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25671         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25673 2014-11-14  David S. Miller  <davem@davemloft.net>
25675         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25676         Define before including <string/memcpy.c> and <string/mempcpy.c>.
25678 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25680         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25681         * configure: Regenerated.
25682         * manual/install.texi (Tools for Compilation): Document a
25683         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25684         compiler verified to work.
25685         * INSTALL: Regenerated.
25687         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25688         redeclare with asm name.
25689         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25690         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25691         including <string.h>.
25692         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25693         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25694         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25695         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25696         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25697         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25698         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25700 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
25702         * stdlib/strtol.c (__strtol): Use prototype definition.
25704         [BZ #17594]
25705         * stdlib/strtol.c (SYM__): New macro.
25706         (SYM__1): Likewise.
25707         (__strtol): Likewise.
25708         (strtol): Rename to __strtol and define as weak alias of
25709         __strtol.  Use libc_hidden_weak.
25711 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25713         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25714         Use numbered labels in inline assembly.
25716 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25718         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25719         Add setjmp LIBC_PROBE.
25720         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25721         Likewise.
25722         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25723         Add longjmp, longjmp_target LIBC_PROBE.
25724         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25725         Likewise.
25727 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25729         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25730         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25731         to get rid of unused variable warning.
25733 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25735         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25736         Check for unwind_backtrace ==  NULL only in SHARED case.
25737         (__backchain_backtrace): Compile only in SHARED case.
25738         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25739         Likewise.
25740         (__backchain_backtrace): Declare as static.
25742 2014-11-12  Roland McGrath  <roland@hack.frob.com>
25744         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25745         (__libc_multiple_threads_ptr): Variable moved ...
25746         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25748 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
25750         * conform/GlibcConform.pm: New file.
25751         * conform/conformtest.pl: Use GlibcConform module.
25752         * conform/linknamespace.pl: New file.
25753         * conform/list-header-symbols.pl: Likewise.
25754         * conform/Makefile (linknamespace-symlists-base): New variable.
25755         (linknamespace-symlists-tests): Likewise.
25756         (linknamespace-header-base): Likewise.
25757         (linknamespace-header-tests): Likewise.
25758         (tests-special): Add new tests.
25759         ($(linknamespace-symlists-tests)): New rule.
25760         (linknamespace-libs): New variable.
25761         ($(objpfx)symlist-stdlibs): New rule.
25762         ($(linknamespace-header-tests)): Likewise.
25763         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25764         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25765         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25766         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25767         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25768         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25769         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25770         (test-xfail-ISO/math.h/linknamespace): Likewise.
25771         (test-xfail-ISO/signal.h/linknamespace): Likewise.
25772         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25773         (test-xfail-ISO/time.h/linknamespace): Likewise.
25774         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25775         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25776         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25777         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25778         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25779         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25780         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25781         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25782         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25783         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25784         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25785         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25786         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25787         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25788         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25789         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25790         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25791         (test-xfail-XPG3/search.h/linknamespace): Likewise.
25792         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25793         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25794         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25795         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25796         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25797         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25798         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25799         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25800         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25801         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25802         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25803         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25804         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25805         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25806         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25807         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25808         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25809         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25810         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25811         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25812         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25813         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25814         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25815         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25816         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25817         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25818         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25819         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25820         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25821         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25822         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25823         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25824         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25825         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25826         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25827         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25828         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25829         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25830         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25831         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25832         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25833         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25834         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25835         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25836         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25837         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25838         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25839         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25840         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25841         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25842         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25843         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25844         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25845         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25846         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25847         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25848         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25849         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25850         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25851         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25852         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25853         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25854         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25855         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25856         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25857         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25858         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25859         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25860         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25861         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25862         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25863         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25864         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25865         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25866         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25867         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25868         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25869         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25870         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25871         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25872         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25873         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25874         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25875         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25876         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25877         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25878         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25879         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25880         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25881         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25882         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25883         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25884         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25885         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25886         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25887         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25888         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25889         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25890         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25891         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25892         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25893         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25894         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25895         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25896         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25897         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25898         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25899         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25900         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25901         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25902         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25903         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25904         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25905         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25906         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25907         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25908         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25909         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25910         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25911         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25912         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25913         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25914         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25915         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25916         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25917         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25918         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25919         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25920         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25921         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25922         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25923         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25925         [BZ #17589]
25926         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25927         of fgets_unlocked.
25929         [BZ #17585]
25930         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25931         (memmem): Rename to __memmem and define as weak alias of
25932         __memmem.  Use libc_hidden_weak.
25933         (__memmem): Use libc_hidden_def.
25934         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
25935         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25936         memmem.
25938         [BZ #17582]
25939         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25940         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
25941         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25942         and define as weak alias of __fgets_unlocked.  Use
25943         libc_hidden_weak.
25944         (__fgets_unlocked): Use libc_hidden_def.
25945         * include/stdio.h (__fgets_unlocked): Declare.  Use
25946         libc_hidden_proto.
25947         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25948         __fgets_unlocked instead of fgets_unlocked.
25949         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25950         (GET_NPROCS_CONF_PARSER): Likewise.
25951         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25952         (GET_NPROCS_CONF_PARSER): Likewise.
25954         [BZ #17574]
25955         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25956         weak alias of __wmemset.  Use libc_hidden_weak.
25957         (__wmemset): Use libc_hidden_def.
25958         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
25959         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25960         of wmemset.
25962         [BZ #17573]
25963         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25964         with asm name __mempcpy.
25965         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25967         [BZ #17572]
25968         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25969         and define as weak alias of __rawmemchr.
25970         (__rawmemchr): Do not define as strong alias of rawmemchr.
25972         [BZ #17571]
25973         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25974         alias of __qsort_r.
25975         (qsort): Call __qsort_r instead of qsort_r.
25976         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25977         (__qsort_r): Declare.  Call libc_hidden_proto.
25978         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25979         instead of qsort_r.
25980         * nscd/gai.c (__qsort_r): Define to qsort_r.
25981         * posix/tst-rfc3484.c (__qsort_r): Likewise.
25982         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25983         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25985         [BZ #17570]
25986         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25987         define as weak alias of __malloc_info.
25989         [BZ #17584]
25990         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25991         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25992         (__rewinddir): Use libc_hidden_def.
25993         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25994         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25995         (__rewinddir): Use libc_hidden_def.
25996         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25997         weak alias of __rewinddir.  Don't use libc_hidden_def.
25998         (__rewinddir): Use libc_hidden_def.
25999         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
26000         (__rewinddir): Use libc_hidden_proto.
26001         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
26002         rewinddir.
26003         (__getcwd): Use __rewinddir instead of rewinddir.
26005         [BZ #17583]
26006         * libio/fileno.c (fileno): Rename to __fileno and define as weak
26007         alias of __fileno.  Use libc_hidden_weak.
26008         (__fileno): Use libc_hidden_def.
26009         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
26010         * libio/ftello.c (ftello): Rename to __ftello and define as weak
26011         alias of __ftello.
26012         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
26013         __ftello.
26014         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
26015         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
26016         libc_hidden_def.
26017         (fread_unlocked): Don't use libc_hidden_ver.
26018         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
26019         and define as weak alias of __fread_unlocked.  Don't use
26020         libc_hidden_def.
26021         (__fread_unlocked): Use libc_hidden_def.
26022         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
26023         (ftello): Don't use libc_hidden_proto.
26024         (__ftello): Declare.  Use libc_hidden_proto.
26025         (fread_unlocked): Don't use libc_hidden_proto.
26026         (__fread_unlocked): Declare.  Use libc_hidden_proto.
26027         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
26028         and __ftello instead of fileno, fread_unlocked and ftello.
26030 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26032         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
26033         GOT12.
26034         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26035         Likewise.
26036         (_dl_start_user): Likewise.
26037         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
26039 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
26040             Siddhesh Poyarekar  <siddhesh@redhat.com>
26042         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
26043         Move argv and envp down instead of moving argc up.
26044         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
26046 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
26048         [BZ #17506]
26049         * test-skeleton.c (main): Return successful if one of
26050         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
26051         * string/tst-strcoll-overflow.c: Define expected status.
26053 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
26055         [BZ #17475]
26056         * locale/iso-639.def: Define Bhili and Tulu language codes.
26058 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
26060         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
26062 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
26064         [BZ #17555]
26065         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
26067 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26069         * configure.ac: Updated check of minimal required version to
26070         2.22.
26071         * manual/install.texi (Tools for Compilation): Updated version
26072         number.
26073         * configure: Regenerated.
26074         * INSTALL: Likewise.
26076 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
26078         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
26079         __tls_get_addr.
26081 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
26083         * include/sys/wait.h (__libc_waitpid): Remove declaration.
26084         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
26085         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26086         libc_hidden_weak.
26087         (waitpid): Define as alias of __waitpid.
26088         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
26089         __waitpid.
26090         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26091         libc_hidden_weak.
26092         (waitpid): Define as alias of __waitpid.
26093         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
26094         __libc_waitpid alias.
26095         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
26096         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
26097         Likewise.
26098         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
26099         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
26100         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
26101         alias.
26102         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
26103         __waitpid.
26104         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26105         libc_hidden_weak.
26106         (waitpid): Define as alias of __waitpid.
26108 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
26110         * manual/llio.texi: Add comment that write safety has been
26111         fixed in Linux.
26113         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
26114         (localplt-build-dso): Add elf/ld.so.
26115         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
26116         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
26117         and free for ld.so.
26118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
26119         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
26120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
26121         Likewise.
26122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26123         Likewise.
26124         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
26125         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
26126         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
26127         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
26128         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26129         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
26130         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
26131         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
26132         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26133         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
26134         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26136 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
26138         [BZ #14132]
26139         * include/libc-symbols.h (INTUSE): Remove macro.
26140         (INTDEF): Likewise.
26141         (INTVARDEF): Likewise.
26142         (_INTVARDEF): Likewise.
26143         (INTDEF2): Likewise.
26144         (INTVARDEF2): Likewise.
26145         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
26146         rtld_hidden_def instead of INTVARDEF.
26147         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
26148         (_dl_starting_up_internal): Remove declaration.
26149         (_dl_starting_up): Use rtld_hidden_proto.
26150         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
26151         declaration.
26152         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
26153         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
26154         _dl_starting_up.
26155         * elf/dl-writev.h (_dl_writev): Likewise.
26156         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
26157         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
26158         _dl_starting_up_internal.
26160 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26162         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26163         test-skeleton.c.
26165 2014-11-05  Will Newton  <will.newton@linaro.org>
26167         * benchtests/Makefile: (bench-malloc): Add malloc thread
26168         scalability benchmark.
26169         * benchtests/bench-malloc-threads.c: New file.
26171 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
26173         * sysdeps/aarch64/strchrnul.S: New file.
26175 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26177         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
26178         definition.
26179         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26180         Likwise.
26181         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26182         Likewise.
26183         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26184         Likewise.
26185         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26186         Likewise.
26187         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26188         Likewise.
26190 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
26192         * catgets/test-gencat.c: Use test-skeleton.c.
26193         * catgets/tst-catgets.c: Likewise.
26194         * csu/tst-empty.c: Likewise.
26195         * elf/tst-audit2.c: Likewise.
26196         * elf/tst-global1.c: Likewise.
26197         * elf/tst-pathopt.c: Likewise.
26198         * elf/tst-piemod1.c: Likewise.
26199         * elf/tst-tls10.c: Likewise.
26200         * elf/tst-tls11.c: Likewise.
26201         * elf/tst-tls12.c: Likewise.
26202         * gnulib/tst-gcc.c: Likewise.
26203         * iconvdata/tst-e2big.c: Likewise.
26204         * iconvdata/tst-loading.c: Likewise.
26205         * iconv/tst-iconv1.c: Likewise.
26206         * iconv/tst-iconv2.c: Likewise.
26207         * inet/test-inet6_opt.c: Likewise.
26208         * inet/tst-gethnm.c: Likewise.
26209         * inet/tst-network.c: Likewise.
26210         * inet/tst-ntoa.c: Likewise.
26211         * intl/tst-codeset.c: Likewise.
26212         * intl/tst-gettext2.c: Likewise.
26213         * intl/tst-gettext3.c: Likewise.
26214         * intl/tst-ngettext.c: Likewise.
26215         * intl/tst-translit.c: Likewise.
26216         * io/test-stat.c: Likewise.
26217         * libio/test-fmemopen.c: Likewise.
26218         * libio/tst-freopen.c: Likewise.
26219         * libio/tst-sscanf.c: Likewise.
26220         * libio/tst-ungetwc1.c: Likewise.
26221         * libio/tst-ungetwc2.c: Likewise.
26222         * libio/tst-widetext.c: Likewise.
26223         * localedata/tst-ctype.c: Likewise.
26224         * localedata/tst-digits.c: Likewise.
26225         * localedata/tst-leaks.c: Likewise.
26226         * localedata/tst-mbswcs1.c: Likewise.
26227         * localedata/tst-mbswcs2.c: Likewise.
26228         * localedata/tst-mbswcs3.c: Likewise.
26229         * localedata/tst-mbswcs4.c: Likewise.
26230         * localedata/tst-mbswcs5.c: Likewise.
26231         * localedata/tst-setlocale.c: Likewise.
26232         * localedata/tst-trans.c: Likewise.
26233         * localedata/tst-wctype.c: Likewise.
26234         * localedata/tst-xlocale1.c: Likewise.
26235         * login/tst-grantpt.c: Likewise.
26236         * malloc/tst-calloc.c: Likewise.
26237         * malloc/tst-malloc.c: Likewise.
26238         * malloc/tst-mallocstate.c: Likewise.
26239         * malloc/tst-mcheck.c: Likewise.
26240         * malloc/tst-mtrace.c: Likewise.
26241         * malloc/tst-obstack.c: Likewise.
26242         * math/atest-exp2.c: Likewise.
26243         * math/atest-exp.c: Likewise.
26244         * math/atest-sincos.c: Likewise.
26245         * math/test-matherr.c: Likewise.
26246         * math/test-misc.c: Likewise.
26247         * math/test-powl.c: Likewise.
26248         * math/tst-definitions.c: Likewise.
26249         * misc/tst-dirname.c: Likewise.
26250         * misc/tst-efgcvt.c: Likewise.
26251         * misc/tst-fdset.c: Likewise.
26252         * misc/tst-hsearch.c: Likewise.
26253         * misc/tst-mntent2.c: Likewise.
26254         * nptl/tst-sem7.c: Likewise.
26255         * nptl/tst-sem8.c: Likewise.
26256         * nptl/tst-sem9.c: Likewise.
26257         * nss/test-netdb.c: Likewise.
26258         * posix/tst-fnmatch.c: Likewise.
26259         * posix/tst-getlogin.c: Likewise.
26260         * posix/tst-gnuglob.c: Likewise.
26261         * posix/tst-mmap.c: Likewise.
26262         * pwd/tst-getpw.c: Likewise.
26263         * resolv/tst-inet_ntop.c: Likewise.
26264         * rt/tst-timer.c: Likewise.
26265         * stdio-common/test-fseek.c: Likewise.
26266         * stdio-common/test-popen.c: Likewise.
26267         * stdio-common/test-vfprintf.c: Likewise.
26268         * stdio-common/tst-cookie.c: Likewise.
26269         * stdio-common/tst-fileno.c: Likewise.
26270         * stdio-common/tst-gets.c: Likewise.
26271         * stdio-common/tst-obprintf.c: Likewise.
26272         * stdio-common/tst-perror.c: Likewise.
26273         * stdio-common/tst-sprintf2.c: Likewise.
26274         * stdio-common/tst-sprintf3.c: Likewise.
26275         * stdio-common/tst-sprintf.c: Likewise.
26276         * stdio-common/tst-swprintf.c: Likewise.
26277         * stdio-common/tst-tmpnam.c: Likewise.
26278         * stdio-common/tst-unbputc.c: Likewise.
26279         * stdio-common/tst-wc-printf.c: Likewise.
26280         * stdlib/tst-environ.c: Likewise.
26281         * stdlib/tst-fmtmsg.c: Likewise.
26282         * stdlib/tst-limits.c: Likewise.
26283         * stdlib/tst-rand48-2.c: Likewise.
26284         * stdlib/tst-rand48.c: Likewise.
26285         * stdlib/tst-random2.c: Likewise.
26286         * stdlib/tst-random.c: Likewise.
26287         * stdlib/tst-strtol.c: Likewise.
26288         * stdlib/tst-strtoll.c: Likewise.
26289         * stdlib/tst-tls-atexit.c: Likewise.
26290         * stdlib/tst-xpg-basename.c: Likewise.
26291         * string/test-ffs.c: Likewise.
26292         * string/tst-bswap.c: Likewise.
26293         * string/tst-inlcall.c: Likewise.
26294         * string/tst-strtok.c: Likewise.
26295         * string/tst-strxfrm.c: Likewise.
26296         * sysdeps/x86_64/tst-audit10.c: Likewise.
26297         * sysdeps/x86_64/tst-audit3.c: Likewise.
26298         * sysdeps/x86_64/tst-audit4.c: Likewise.
26299         * sysdeps/x86_64/tst-audit5.c: Likewise.
26300         * time/tst-ftime_l.c: Likewise.
26301         * time/tst-getdate.c: Likewise.
26302         * time/tst-mktime3.c: Likewise.
26303         * time/tst-mktime.c: Likewise.
26304         * time/tst-posixtz.c: Likewise.
26305         * time/tst-strptime2.c: Likewise.
26306         * time/tst-strptime3.c: Likewise.
26307         * wcsmbs/tst-btowc.c: Likewise.
26308         * wcsmbs/tst-mbrtowc.c: Likewise.
26309         * wcsmbs/tst-mbsrtowcs.c: Likewise.
26310         * wcsmbs/tst-wchar-h.c: Likewise.
26311         * wcsmbs/tst-wcpncpy.c: Likewise.
26312         * wcsmbs/tst-wcrtomb.c: Likewise.
26313         * wcsmbs/tst-wcsnlen.c: Likewise.
26314         * wcsmbs/tst-wcstof.c: Likewise.
26316 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
26318         [BZ #14132]
26319         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
26320         INTDEF.
26321         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
26322         declaration.
26323         (_dl_mcount): Use rtld_hidden_proto.
26324         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
26325         _dl_mcount.
26326         * elf/rtld.c (_rtld_global_ro): Likewise.
26328         [BZ #14132]
26329         * elf/dl-init.c (_dl_init): Don't use INTDEF.
26330         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
26331         of _dl_init_internal.
26332         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
26333         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
26334         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
26335         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
26336         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
26337         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
26338         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
26339         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
26340         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26341         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
26342         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
26343         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
26344         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26345         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26346         * sysdeps/tile/dl-start.S (_start): Likewise.
26347         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
26348         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
26350         [BZ #14132]
26351         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
26352         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
26353         (rtld_progname): Make macro definition unconditional.
26354         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
26355         INTDEF.
26356         (dlmopen_doit): Do not use INTUSE with _dl_argv.
26357         (dl_main): Likewise.
26358         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26359         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
26360         instead of _dl_argv_internal.
26361         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26362         __GI__dl_argv instead of INTUSE(_dl_argv).
26363         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
26364         __GI__dl_argv instead of _dl_argv_internal.
26366         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
26367         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
26368         macro.
26369         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
26370         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
26371         New macro.
26372         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
26373         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
26374         macro.
26375         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
26376         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
26378 2014-11-04  Andreas Schwab  <schwab@suse.de>
26380         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
26382 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26384         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
26385         mtvsrd instruction in binary form.
26387 2014-11-03  Andreas Schwab  <schwab@suse.de>
26389         [BZ #17522]
26390         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
26391         for less than MB_LEN_MAX use a local buffer of that size.
26392         * libio/tst-fputws.c: New file.
26393         * libio/Makefile (tests): Add tst-fputws.
26395 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
26397         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
26398         the size of the fpu_fr.fpu_dregs[] array.
26400 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
26402         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
26403         (__nanosleep): Do not define as alias.
26404         (nanosleep): Define as alias of __nanosleep.
26405         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
26406         __libc_nanosleep name.
26408 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26410         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
26411         install.texi in comment.
26413 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26415         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
26416         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
26417         ... add here and use lwsync or sync ...
26418         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
26419         ... and add here using lwsync.
26421 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26423         * elf/dl-machine-reject-phdr.h: New file.
26424         * elf/dl-load.c: #include that.
26425         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
26426         if that returned true.
26428 2014-10-31  Roland McGrath  <roland@hack.frob.com>
26430         [BZ #17496]
26431         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
26432         gen-as-const-headers chunk.  Add a big scare comment after the last
26433         safe place to touch before-compile.
26435 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26437         * manual/install.texi (Tools for Compilation): Update autoconf
26438         version requirements.
26439         * INSTALL: Regenerated.
26441         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
26442         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
26443         (__libc_pselect): Likewise.
26445         [BZ #14138]
26446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
26447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26451 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26453         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
26454         correct barrier instruction.
26455         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
26456         Likewise.
26457         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
26458         Likewise.
26460 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26462         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
26463         after defining inlines.  Instead, just use parens to defeat macro
26464         expansion of __isctype in its declaration.
26466 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26468         * include/sys/uio.h (__libc_readv): Remove declaration.
26469         (__libc_writev): Likewise.
26470         * misc/readv.c (__libc_readv): Rename to __readv.
26471         (__readv): Do not define as alias.
26472         (readv): Define as alias of __readv.
26473         * misc/writev.c (__libc_writev): Rename to __writev.
26474         (__writev): Do not define as alias.
26475         (writev): Define as alias of __writev.
26476         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
26477         (__readv): Do not define as alias.
26478         (readv): Define unconditionally as alias of __readv.
26479         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
26480         (__writev): Do not define as alias.
26481         (writev): Define unconditionally as alias of __writev.
26482         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
26483         name.
26484         (writev): Do not define __libc_writev name.
26486 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26488         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
26489         (convert_charseq): New function, broken out of ...
26490         (use_from_charmap): ... here.  Call it.
26491         (use_to_charmap): Use convert_charseq and free instead of duplicating
26492         its code with a variable-length stack struct.
26494 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26496         * include/fcntl.h (__libc_creat): Remove declaration.
26497         * io/creat.c (__libc_creat): Rename to creat.
26498         (creat): Do not define as alias.
26499         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
26500         of creat instead of __libc_creat.
26501         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
26502         to creat.
26503         (creat): Do not define as alias.
26504         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
26505         __libc_creat.
26506         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
26507         __libc_creat name.
26508         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
26509         Likewise.
26511 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
26513         * manual/llio.texi: Add comments discussing why write() may be
26514         considered MT-unsafe on Linux.
26516 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
26518         * dl-load.c (local_strdup): Remove.
26519         (expand_dynamic_string_token): Use __strdup.
26520         (decompose_rpath): Likewise.
26521         (_dl_map_object): Likewise.
26523 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
26525         [BZ #14132]
26526         * sysdeps/generic/unwind-dw2-fde.c
26527         (__register_frame_info_bases_internal): Do not declare.
26528         (__register_frame_info_table_bases_internal): Likewise.
26529         (__deregister_frame_info_bases_internal): Likewise.
26530         (__register_frame_info_bases): Declare and use hidden_proto before
26531         definition.  Use hidden_def instead of INTDEF.
26532         (__register_frame_info_table_bases): Likewise.
26533         (__deregister_frame_info_bases): Likewise.
26534         (__register_frame_info): Do not use INTUSE.
26535         (__register_frame): Likewise.
26536         (__register_frame_info_table): Likewise.
26537         (__register_frame_table): Likewise.
26538         (__deregister_frame_info): Likewise.
26539         (__deregister_frame): Likewise.
26541 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
26543         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26544         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
26545         not undefine.
26546         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
26547         Likewise.
26548         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
26549         Likewise.
26551 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
26553         [BZ #14138]
26554         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
26555         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
26556         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
26557         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
26558         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
26559         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
26560         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
26561         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
26562         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
26563         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
26564         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
26565         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
26566         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
26567         syscall.
26568         (setfsuid): Likewise.
26569         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
26570         (setfsuid): Likewise.
26571         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
26572         (setfsuid): Likewise.
26573         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
26574         Likewise.
26575         (setfsuid): Likewise.
26576         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
26577         (setfsuid): Likewise.
26578         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
26579         Likewise.
26580         (setfsuid): Likewise.
26582 2014-10-27  Andreas Schwab  <schwab@suse.de>
26584         [BZ #17501]
26585         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26586         check for Slow_SSE4_2 feature bit.
26587         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26588         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26589         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26590         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
26592 2014-10-24  Roland McGrath  <roland@hack.frob.com>
26594         * configure.ac: Validate compiler version with a empirical test of
26595         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26596         $CC -v output.
26597         * configure: Regenerated.
26599         * inet/htons.c (htons): Prototypify.
26600         * inet/htonl.c (htonl): Likewise.
26602 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26604         * string/strncat.c (strncat): Improve performance by using strlen.
26606 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26608         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26610 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26612         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26613         Call libc_fetestexcept_aarch64.
26615 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26617         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26618         Call libc_feholdexcept_aarch64.
26620 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26622         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26623         Call get_rounding_mode.
26625 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26627         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26628         Simplify logic.
26630 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26632         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26633         Simplify logic.
26635 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
26637         [BZ #14138]
26638         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26639         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26640         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26641         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26642         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26643         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26644         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26645         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26646         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26647         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26648         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26649         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26650         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26651         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26652         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26653         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26654         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26655         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26656         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26657         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26658         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26659         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26660         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26661         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26662         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26663         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26664         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26665         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26666         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26667         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26668         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26669         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26670         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26671         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26672         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26673         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26674         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26675         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26676         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26677         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26678         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26679         syscall.
26680         (geteuid): Likewise.
26681         (getgid): Likewise.
26682         (getuid): Likewise.
26683         (getresgid): Likewise.
26684         (getresuid): Likewise.
26685         (getgroups): Likewise.
26686         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26687         (geteuid): Likewise.
26688         (getgid): Likewise.
26689         (getuid): Likewise.
26690         (getresgid): Likewise.
26691         (getresuid): Likewise.
26692         (getgroups): Likewise.
26693         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26694         (geteuid): Likewise.
26695         (getgid): Likewise.
26696         (getuid): Likewise.
26697         (getresgid): Likewise.
26698         (getresuid): Likewise.
26699         (getgroups): Likewise.
26700         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26701         Likewise.
26702         (geteuid): Likewise.
26703         (getgid): Likewise.
26704         (getuid): Likewise.
26705         (getresgid): Likewise.
26706         (getresuid): Likewise.
26707         (getgroups): Likewise.
26708         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26709         (geteuid): Likewise.
26710         (getgid): Likewise.
26711         (getuid): Likewise.
26712         (getresgid): Likewise.
26713         (getresuid): Likewise.
26714         (getgroups): Likewise.
26715         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26716         Likewise.
26717         (geteuid): Likewise.
26718         (getgid): Likewise.
26719         (getuid): Likewise.
26720         (getgroups): Likewise.
26722         [BZ #14138]
26723         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26724         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26725         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26726         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26727         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26728         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26729         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26730         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26731         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26732         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26733         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26734         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26735         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26736         __chown.
26737         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26738         (lchown): Likewise.
26739         (fchown): Likewise.
26740         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26741         Likewise.
26742         (lchown): Likewise.
26743         (fchown): Likewise.
26744         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26745         (lchown): Likewise.
26746         (fchown): Likewise.
26747         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26748         Likewise.
26749         (lchown): Likewise.
26750         (fchown): Likewise.
26752 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26754         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26755         Simplify logic.
26757 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26759         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26760         Cleanup logic.
26762 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26764         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26765         Remove unused include.
26767 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26769         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26770         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26771         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26772         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26774 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
26775             Helge Deller <deller@gmx.de>
26777         [BZ #17508]
26778         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26779         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26780         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26782 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
26784         [BZ #14132]
26785         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26786         Remove macro definition.
26787         (__ashrdi3_v_glibc20): Likewise.
26788         (__lshrdi3_v_glibc20): Likewise.
26789         (__cmpdi2_v_glibc20): Likewise.
26790         (__ucmpdi2_v_glibc20): Likewise.
26791         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26792         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26793         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26794         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26795         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26796         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26798 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26800         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26801         old GNU extension [0] syntax.
26802         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26803         alloca rather than an array member with variable length.
26804         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26805         * nscd/nscd.c (invalidate_db): New function, broken out of ...
26806         (parse_opt): ... here.  Likewise use alloca there.
26807         Validate the -i argument before checking for rootness.
26808         (send_shutdown): New function, broken out of ...
26809         (parse_opt): ... here.
26811 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26813         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26814         macro to get at the _rt_local_ro field.
26815         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26816         ([PIC] case) or _dl_hwcap ([!PIC] case).
26817         * sysdeps/arm/setjmp.S: Likewise.
26819         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26820         * sysdeps/arm/configure.ac: New check to define it.
26821         * sysdeps/arm/configure: Regenerated.
26822         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26823         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26824         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26825         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26826         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26827         Use move/movt pair instead of a load.
26828         (LDST_GLOBAL): Macro removed.
26829         (LDR_GLOBAL): New macro replaces it.
26830         (LDR_HIDDEN): New macro.
26831         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26832         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26834         * setjmp/tst-setjmp-static.c: New file.
26835         * setjmp/Makefile (tests): Add it.
26836         (tests-static): New variable.
26838 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
26840         [BZ #17485]
26841         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26843 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
26845         [BZ #14132]
26846         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26848 2014-10-21  Roland McGrath  <roland@hack.frob.com>
26850         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26852 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26854         * io/fts.c (dirent_not_directory): New function.
26855         (fts_build): Call it.
26857 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26859         * nptl/version.c (__nptl_main): Use normal __write rather than
26860         INTERNAL_SYSCALL.
26861         (banner): Update copyright years.
26863         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26864         gettimeofday.
26865         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26866         * nptl/pthread_cond_timedwait.c: Likewise.
26867         * nptl/pthread_mutex_timedlock.c: Likewise.
26868         * nptl/sem_timedwait.c: Likewise.
26870         * sysdeps/nptl/bits/libc-lock.h
26871         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26872         (__libc_lock_init_recursive): Return void, not 0.
26873         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26874         (__libc_rwlock_init): Likewise.
26875         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26877 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26879         [BZ #15215]
26880         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26881         (__pthread_once_slow): ... here.
26882         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26883         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26885 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26887         [BZ #15215]
26888         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26889         __PTHREAD_ONCE_FORK_GEN_INCR): New.
26890         * sysdeps/nptl/fork.c (__libc_fork): Use them.
26891         * nptl/pthread_once.c (__pthread_once): Likewise.
26892         Update comments.
26894 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
26896         [BZ #14138]
26897         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26898         name.
26899         (writev): Use __libc_writev as strong name.
26900         * sysdeps/unix/sysv/linux/readv.c: Remove file.
26901         * sysdeps/unix/sysv/linux/writev.c: Likewise.
26903 2014-10-17  Roland McGrath  <roland@hack.frob.com>
26905         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26907         * sysdeps/i386/nptl/tls.h
26908         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26909         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26910         New macros.
26911         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26912         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26913         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26914         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26915         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26916         Call CHECK_THREAD_SYSINFO instead of doing an assert.
26918         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26919         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26920         on [__NR_futex].
26921         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26922         broken out of ...
26923         (__pthread_mutex_init): ... here.  Call it.
26924         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26925         Conditionalize PI cases on [__NR_futex].
26926         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26927         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26928         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26930         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26931         conditional on [SIGSETXID].
26932         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26933         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26934         is defined.  Likewise for SIGSETXID.
26935         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26936         Conditionalize definitions on [SIGSETXID].
26937         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26938         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26939         unblocking on [SIGCANCEL].
26941         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26942         [__NR_set_robust_list].
26944 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26946         * string/strcoll_l.c (get_next_seq): Fix up formatting.
26947         (do_compare): Likewise.
26949 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
26951         [BZ #15884]
26952         * string/strcoll_l.c: Don't include stdio.h.
26953         (coll_seq): Remove members idxarr and rulearr.
26954         (get_next_seq_cached): Remove function.
26955         (get_next_seq): Likewise.
26956         (get_next_seq_nocache): Rename to get_next_seq.
26957         (do_compare): Remove function.
26958         (do_compare_nocache): Rename to do_compare.
26959         (STRCOLL): Remove weight and rules cache.
26961 2014-10-16  Roland McGrath  <roland@hack.frob.com>
26963         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26964         * sysdeps/arm/sfp-machine.h: ... to here.
26965         * sysdeps/arm/Implies: Remove arm/soft-fp.
26967 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
26969         * conform/data/sys/utsname.h-data (*_t): Allow.
26970         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26971         [POSIX] (WEXITED): Do not expect constant.
26972         [POSIX] (WSTOPPED): Likewise.
26973         [POSIX] (WNOHANG): Likewise.
26974         [POSIX] (WNOWAIT): Likewise.
26975         [POSIX] (siginfo_t): Do not expect type or elements.
26976         [POSIX] (pid_t): Do not expect type.
26977         [POSIX] (signal.h): Do not allow header.
26978         [POSIX] (sys/resource.h): Likewise.
26979         [POSIX] (si_*): Do not allow pattern.
26980         [POSIX] (W*): Likewise.
26981         [POSIX] (P_*): Likewise.
26982         [POSIX] (BUS_*): Likewise.
26983         [POSIX] (CLD_*): Likewise.
26984         [POSIX] (FPE_*): Likewise.
26985         [POSIX] (ILL_*): Likewise.
26986         [POSIX] (POLL_*): Likewise.
26987         [POSIX] (SEGV_*): Likewise.
26988         [POSIX] (SI_*): Likewise.
26989         [POSIX] (TRAP_*): Likewise.
26990         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26991         variable.
26993 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26995         [BZ #12926]
26996         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26997         infinite loop when __recvmsg returns 0.
26999 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
27001         * CANCEL-FCT-WAIVE: Remove file.
27002         * CANCEL-FILE-WAIVE: Likewise.
27004         [BZ #14132]
27005         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
27006         instead of INTVARDEF.
27007         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27008         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
27009         rtld_hidden_data_def instead of INTVARDEF.
27010         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27011         * elf/dl-deps.c (expand_dst): Likewise.
27012         * elf/dl-load.c (_dl_dst_count): Likewise.
27013         (_dl_dst_substitute): Likewise.
27014         (decompose_rpath): Likewise.
27015         (_dl_init_paths): Likewise.
27016         (open_path): Likewise.
27017         (_dl_map_object): Likewise.
27018         * elf/rtld.c (dl_main): Likewise.
27019         (process_dl_audit): Likewise.
27020         (process_envvars): Likewise.
27021         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
27022         Remove declaration.
27023         (__libc_enable_secure): Use rtld_hidden_proto.
27025 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27027         * elf/dl-load.c
27028         (add_path): New function broken out of _dl_rtld_di_serinfo.
27029         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
27031 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27033         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
27034         parentheses around macro arguments.
27035         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
27036         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
27037         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
27038         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
27039         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
27040         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27041         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27042         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
27043         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
27044         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
27045         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
27046         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
27047         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
27048         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
27049         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
27050         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
27051         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
27052         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
27053         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
27054         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
27055         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
27056         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
27057         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
27058         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27059         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27060         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
27061         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
27062         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
27063         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
27064         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
27065         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
27066         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
27067         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
27068         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
27069         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
27070         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
27071         Likewise.
27072         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
27073         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27074         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27075         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
27076         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
27077         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
27078         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
27079         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
27080         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
27081         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
27082         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
27083         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
27084         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
27085         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
27086         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
27087         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27088         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27089         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
27090         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
27091         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
27092         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
27093         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
27094         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
27095         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
27096         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
27097         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
27098         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
27099         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
27100         (_FP_FRAC_SRS_1): Likewise.
27101         (_FP_FRAC_CLZ_1): Likewise.
27102         (_FP_MUL_MEAT_1_imm): Likewise.
27103         (_FP_MUL_MEAT_1_wide): Likewise.
27104         (_FP_MUL_MEAT_1_hard): Likewise.
27105         (_FP_SQRT_MEAT_1): Likewise.
27106         (_FP_FRAC_ASSEMBLE_1): Likewise.
27107         (_FP_FRAC_DISASSEMBLE_1): Likewise.
27108         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
27109         (__FP_CLZ_2): Likewise.
27110         (_FP_MUL_MEAT_2_wide): Likewise.
27111         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27112         (_FP_MUL_MEAT_2_gmp): Likewise.
27113         (_FP_MUL_MEAT_2_120_240_double): Likewise.
27114         (_FP_SQRT_MEAT_2): Likewise.
27115         (_FP_FRAC_ASSEMBLE_2): Likewise.
27116         (_FP_FRAC_DISASSEMBLE_2): Likewise.
27117         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
27118         (_FP_FRAC_CLZ_4): Likewise.
27119         (_FP_MUL_MEAT_4_wide): Likewise.
27120         (_FP_MUL_MEAT_4_gmp): Likewise.
27121         (_FP_SQRT_MEAT_4): Likewise.
27122         (_FP_FRAC_ASSEMBLE_4): Likewise.
27123         (_FP_FRAC_DISASSEMBLE_4): Likewise.
27124         * soft-fp/op-common.h (_FP_CMP): Likewise.
27125         (_FP_CMP_EQ): Likewise.
27126         (_FP_CMP_UNORD): Likewise.
27127         (_FP_TO_INT): Likewise.
27128         (_FP_FROM_INT): Likewise.
27129         [!__FP_CLZ] (__FP_CLZ): Likewise.
27130         (_FP_DIV_HELP_imm): Likewise.
27131         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
27132         Likewise.
27133         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
27134         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
27135         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
27136         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
27137         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
27138         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27139         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27140         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
27141         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
27142         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
27143         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
27144         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
27145         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
27146         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
27147         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
27148         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
27149         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
27150         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
27151         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
27152         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
27153         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
27154         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
27155         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
27156         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27157         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27158         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
27159         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
27160         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
27161         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
27162         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
27163         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
27164         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
27165         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
27166         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
27167         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
27168         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
27169         (FP_UNPACK_RAW_SP): Likewise.
27170         (FP_PACK_RAW_S): Likewise.
27171         (FP_PACK_RAW_SP): Likewise.
27172         (FP_UNPACK_S): Likewise.
27173         (FP_UNPACK_SP): Likewise.
27174         (FP_UNPACK_SEMIRAW_S): Likewise.
27175         (FP_UNPACK_SEMIRAW_SP): Likewise.
27176         (FP_PACK_S): Likewise.
27177         (FP_PACK_SP): Likewise.
27178         (FP_PACK_SEMIRAW_S): Likewise.
27179         (FP_PACK_SEMIRAW_SP): Likewise.
27180         (_FP_SQRT_MEAT_S): Likewise.
27181         (FP_CMP_S): Likewise.
27182         (FP_CMP_EQ_S): Likewise.
27183         (FP_CMP_UNORD_S): Likewise.
27184         (FP_TO_INT_S): Likewise.
27185         (FP_FROM_INT_S): Likewise.
27187         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
27189         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
27190         (FP_EX_INVALID_IMZ): Likewise.
27191         (FP_EX_INVALID_IMZ_FMA): Likewise.
27192         (FP_EX_INVALID_ISI): Likewise.
27193         (FP_EX_INVALID_ZDZ): Likewise.
27194         (FP_EX_INVALID_IDI): Likewise.
27195         (FP_EX_INVALID_SQRT): Likewise.
27196         (FP_EX_INVALID_CVI): Likewise.
27197         (FP_EX_INVALID_VC): Likewise.
27198         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
27199         "invalid" exceptions.
27200         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
27201         (_FP_ADD_INTERNAL): Likewise.
27202         (_FP_MUL): Likewise.
27203         (_FP_FMA): Likewise.
27204         (_FP_DIV): Likewise.
27205         (_FP_CMP_CHECK_NAN): Likewise.
27206         (_FP_SQRT): Likewise.
27207         (_FP_TO_INT): Likewise.
27208         (FP_EXTEND): Likewise.
27210 2014-10-09  Allan McRae  <allan@archlinux.org>
27212         * po/fr.po: Update French translation from translation project.
27214 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27216         [BZ #14132]
27217         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
27218         of INTDEF.
27219         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
27220         (__cxa_atexit): Use libc_hidden_proto.
27221         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
27223         [BZ #14132]
27224         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
27225         declaration.
27226         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
27227         [!_ISOMAC] (__iswspace_l_internal): Likewise.
27228         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
27229         [!_ISOMAC] (__iswctype_internal): Likewise.
27230         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
27231         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
27232         alias.
27233         (fcntl): Remove __fcntl_internal alias.
27234         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
27235         __connect_internal alias.
27236         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
27237         Likewise.
27239         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
27240         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
27241         FP_DENORM_ZERO.
27242         (_FP_CHECK_FLUSH_ZERO): New macro.
27243         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
27244         (_FP_CMP): Likewise.
27245         (_FP_CMP_EQ): Likewise.
27246         (_FP_TO_INT): Do not set inexact for subnormal arguments if
27247         FP_DENORM_ZERO.
27248         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
27249         (FP_TRUNC): Likewise.
27251         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
27252         treated as invalid conversion, not as normal exponent.
27254         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
27255         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
27256         (_FP_CMP_EQ): Likewise.
27257         (_FP_CMP_UNORD): Likewise.
27258         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
27259         (FP_CMP_EQ_D): Likewise.
27260         (FP_CMP_UNORD_D): Likewise.
27261         * soft-fp/extended.h (FP_CMP_E): Likewise.
27262         (FP_CMP_EQ_E): Likewise.
27263         (FP_CMP_UNORD_E): Likewise.
27264         * soft-fp/quad.h (FP_CMP_Q): Likewise.
27265         (FP_CMP_EQ_Q): Likewise.
27266         (FP_CMP_UNORD_Q): Likewise.
27267         * soft-fp/single.h (FP_CMP_S): Likewise.
27268         (FP_CMP_EQ_S): Likewise.
27269         (FP_CMP_UNORD_S): Likewise.
27270         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
27271         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
27272         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
27273         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
27274         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
27275         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
27276         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
27277         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
27278         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
27279         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
27280         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
27281         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
27282         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
27283         to FP_CMP_Q.
27284         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
27285         FP_CMP_Q.
27286         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
27287         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
27288         FP_CMP_EQ_Q.
27289         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
27290         FP_CMP_Q.
27291         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
27292         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
27293         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
27294         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
27295         FP_CMP_EQ_Q.
27296         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
27297         FP_CMP_Q.
27298         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
27299         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
27300         FP_CMP_EQ_Q.
27301         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
27302         FP_CMP_Q.
27303         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
27304         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
27305         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
27306         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
27307         FP_CMP_EQ_Q.
27309         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
27310         a subnormal result, set the underflow exception if trapping on
27311         underflow is enabled.
27312         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
27313         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
27314         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
27315         redefine to 0.
27316         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
27317         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27318         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27319         * soft-fp/extendxftf2.c (__extendxftf2): Use
27320         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
27322         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
27323         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
27324         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27325         FP_HANDLE_EXCEPTIONS.
27326         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
27327         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27328         FP_HANDLE_EXCEPTIONS.
27329         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
27330         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27331         FP_HANDLE_EXCEPTIONS.
27332         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
27333         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27334         FP_HANDLE_EXCEPTIONS.
27336 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
27338         [BZ #14132]
27339         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
27340         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
27341         use INTUSE.
27342         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
27343         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
27344         Remove alias.
27345         (__adjtimex): Define using libc_hidden_ver.
27346         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
27347         Remove declaration.
27348         (ntp_gettime): Call __adjtimex directly.
27349         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
27350         Remove declaration.
27351         (ntp_gettimex): Call __adjtimex directly.
27352         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
27353         __adjtimex_internal alias.
27355 2014-10-08  Roland McGrath  <roland@hack.frob.com>
27357         [BZ #17460]
27358         * nscd/nscd.c (more_help): Rewrite list of tables collection
27359         using xstrdup and asprintf.
27361         * nscd/nscd_conf.c: Remove local xstrdup declaration.
27363 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27364             Roland McGrath  <roland@hack.frob.com>
27366         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
27367         (do_lookup_unique): ... local function 'enter' here; update callers.
27369 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
27371         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
27372         compat_symbol calls on [SHARED].
27373         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
27374         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
27375         Remove.
27376         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27377         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
27378         (oldsetrlimit): Remove.
27379         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27381         (lchown): New syscall entry.
27382         (oldsetrlimit): Remove.
27383         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27384         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
27385         (oldsetrlimit): Remove.
27386         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27388         [BZ #14138]
27389         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
27390         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
27391         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
27392         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
27393         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27394         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
27395         (fchown): Likewise.
27396         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
27397         (fchown): Likewise.
27398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
27399         Likewise.
27401 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27403         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
27404         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
27405         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
27406         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
27407         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
27408         Likewise.
27409         (__old_sem_post): Likewise.
27411 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
27413         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
27414         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
27415         HAVE_CLOCK_GETTIME_VSYSCALL macros.
27416         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
27417         Use INLINE_VSYSCALL macro.
27418         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
27419         __vdso_clock_gettime.
27420         * sysdeps/unix/sysv/linux/tile/init-first.c
27421         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
27422         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
27423         __vdso_clock_gettime.
27425         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
27426         to set up frame more cleanly.
27428         * sysdeps/tile/memcmp.c: New file.
27430         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
27432         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
27433         * sysdeps/tile/tilegx/strcasestr.c: New file.
27434         * sysdeps/tile/tilegx/strnlen.c: New file.
27435         * sysdeps/tile/tilegx/strstr.c: New file.
27437         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
27439 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
27441         * nptl/tst-setuid3.c: Write errors to stdout.
27443 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27445         * elf/dl-deps.c
27446         (preload): New functions broken out of _dl_map_object_deps.
27447         (_dl_map_object_deps):  Remove a nested function. Update call sites.
27449 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
27451         [BZ #14138]
27452         * sysdeps/unix/sysv/linux/execve.c: Remove file.
27453         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
27455 2014-10-01  Steve Ellcey  <sellcey@mips.com>
27457         * sysdeps/mips/strcmp.S: New.
27459 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
27461         [BZ #14138]
27462         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
27463         (linkat): Likewise.
27464         (mkdirat): Likewise.
27465         (readlinkat): Likewise.
27466         (renameat): Likewise.
27467         (symlinkat): Likewise.
27468         (unlinkat): Likewise.
27469         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
27470         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
27471         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
27472         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
27473         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
27474         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
27475         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
27477 2014-09-30  Will Newton  <will.newton@linaro.org>
27479         * math/math.h: Define long double math functions if
27480         _LIBC_TEST is defined.
27481         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
27483         * localedata/Makefile: Move assignment to tests-special
27484         into an ifdef testing run-built-tests.
27485         * timezone/Makefile: Likewise.
27487 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
27489         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
27490         with $(BASH) not $(SHELL).
27492 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
27493             Matthew LeGendre  <legendre1@llnl.gov>
27495         [BZ #17411]
27496         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
27497         l_reloc_result.
27499 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27501         * stdio-common/printf_fp.c
27502         (hack_digit): New function, broken out of ...
27503         (__printf_fp): ... local function here.  Update call sites.
27504         hack_digit now takes an additional parameter that is a pointer
27505         to a struct of the referenced locals.  Those locals moved inside
27506         the struct and references updated.
27508 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
27510         * aclocal.m4: Require autoconf 2.69.
27511         * configure: Regenerated.
27512         * sysdeps/aarch64/configure: Likewise.
27513         * sysdeps/alpha/configure: Likewise.
27514         * sysdeps/arm/armv7/configure: Likewise.
27515         * sysdeps/arm/configure: Likewise.
27516         * sysdeps/ia64/configure: Likewise.
27517         * sysdeps/mach/configure: Likewise.
27518         * sysdeps/mips/configure: Likewise.
27519         * sysdeps/s390/configure: Likewise.
27520         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
27521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
27523         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
27524         file.
27525         * sysdeps/ia64/configure.ac: Likewise.
27527 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
27529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
27530         specify symbol version for ld.so.  Do not include entry for
27531         libpthread.
27532         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27533         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27534         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27536         [BZ #14171]
27537         * Makeconfig [$(build-shared) = yes]
27538         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
27539         makefiles.
27540         [$(build-shared) = yes && $(soversions.mk-done) = t]
27541         ($(common-objpfx)gnu/lib-names.h): Remove rule.
27542         [$(build-shared) = yes && $(soversions.mk-done) = t]
27543         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
27544         to Makerules.
27545         [$(build-shared) = yes && $(soversions.mk-done) = t]
27546         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
27547         here.
27548         [$(build-shared) = yes && $(soversions.mk-done) = t]
27549         (common-generated): Don't append gnu/lib-names.h and
27550         gnu/lib-names.stmp here.
27551         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
27552         (lib-names-h-abi): New variable.
27553         [$(build-shared) = yes && $(soversions.mk-done) = t]
27554         (lib-names-stmp-abi): Likewise.
27555         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27556         abi-variants] (before-compile): Append
27557         $(common-objpfx)$(lib-names-h-abi).
27558         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27559         abi-variants] (common-generated): Append gnu/lib-names.h.
27560         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27561         abi-variants] (install-others-nosubdir): Depend on
27562         $(inst_includedir)/$(lib-names-h-abi).
27563         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27564         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
27565         [$(build-shared) = yes && $(soversions.mk-done) = t]
27566         ($(common-objpfx)$(lib-names-h-abi)): New rule.
27567         [$(build-shared) = yes && $(soversions.mk-done) = t]
27568         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
27569         [$(build-shared) = yes && $(soversions.mk-done) = t]
27570         (common-generated): Append $(lib-names-h-abi) and
27571         $(lib-names-stmp-abi).
27572         * scripts/lib-names.awk: Do not handle multi being set.
27573         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
27574         Remove variable.
27575         (abi-lp64_be-ld-soname): Likewise.
27576         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
27577         Likewise.
27578         (abi-hard-ld-soname): Likewise.
27579         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
27580         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
27581         Remove variable.
27582         (abi-o32_hard-ld-soname): Likewise.
27583         (abi-o32_soft_2008-ld-soname): Likewise.
27584         (abi-o32_hard_2008-ld-soname): Likewise.
27585         (abi-n32_soft-ld-soname): Likewise.
27586         (abi-n32_hard-ld-soname): Likewise.
27587         (abi-n32_soft_2008-ld-soname): Likewise.
27588         (abi-n32_hard_2008-ld-soname): Likewise.
27589         (abi-n64_soft-ld-soname): Likewise.
27590         (abi-n64_hard-ld-soname): Likewise.
27591         (abi-n64_soft_2008-ld-soname): Likewise.
27592         (abi-n64_hard_2008-ld-soname): Likewise.
27593         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27594         Likewise.
27595         (abi-64-v2-ld-soname): Likewise.
27596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27597         ld.so entries.
27598         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27599         variable.
27600         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27601         entry.
27602         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27603         variable.
27604         (abi-64-ld-soname): Likewise.
27605         (abi-x32-ld-soname): Likewise.
27606         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27607         entry.
27608         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27610 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
27612         [BZ #14138]
27613         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27614         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27615         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27616         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27617         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27618         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27619         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27620         syscall entry for GLIBC_2.2 symbol version.
27621         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27622         Likewise.
27623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27624         (setrlimit): Likewise.
27625         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27626         Likewise.
27628 2014-09-23  Will Newton  <will.newton@linaro.org>
27630         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27631         _LINUX_ARM_SYSDEP_H include guard too.
27632         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27633         define.
27635 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27637         * sysdeps/unix/sysv/linux/eventfd.c:
27638         Make first argument unsigned.
27639         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27640         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27642 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
27644         [BZ #16852]
27645         * socket/recvmmsg.c (recvmmsg): Drop const argument.
27646         * socket/sys/socket.h: Likewise.
27647         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27649 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27651         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27653 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
27655         * time/tst-ftime.c: New test.
27656         * time/Makefile (tests): Add tst-ftime.
27658 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
27660         * soft-fp/extended.h: Fix comment formatting.
27661         * soft-fp/op-1.h: Likewise.
27662         * soft-fp/op-2.h: Likewise.
27663         * soft-fp/op-4.h: Likewise.
27664         * soft-fp/op-8.h: Likewise.
27665         * soft-fp/op-common.h: Likewise.
27666         * soft-fp/soft-fp.h: Likewise.
27668         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27670 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
27672         [BZ #6652]
27673         * Makeconfig (soversions-default-setname): Remove variable.
27674         ($(common-objpfx)soversions.i): Don't pass default_setname to
27675         soversions.awk.
27676         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27677         oldest_abi to abi-versions.awk.
27678         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27679         * config.make.in (oldest-abi): Remove variable.
27680         * configure.ac (--enable-oldest-abi): Remove configure option.
27681         * configure: Regenerated.
27682         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27683         text.
27684         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27685         * scripts/soversions.awk: Do not handle default_setname variable.
27686         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27687         variable.
27688         * sysdeps/mach/hurd/configure: Regenerated.
27689         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27690         variable.
27691         * sysdeps/unix/sysv/linux/configure: Regenerated.
27693 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27695         * elf/Makefile (CFLAGS-interp.c): Remove.
27696         ($(elf-objpfx)runtime-linker.h): Generate header with linker
27697         path string.
27698         * elf/interp.c: Include generated runtime-linker.h
27700         * Makerules (lib%.so): Don't include $(+interp) in
27701         prerequisites.
27702         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27703         * dlfcn/eval.c: Remove file.
27705         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27706         macros.
27708         [BZ #17266]
27709         * misc/sys/cdefs.h: Define __extern_always_inline for clang
27710         4.2 and newer.
27712         [BZ #17370]
27713         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27715 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27716             Jakub Jelinek  <jakub@redhat.com>
27718         [BZ #17266]
27719         * libio/stdio.h: Check definition of __fortify_function
27720         instead of __extern_always_inline to include bits/stdio2.h.
27721         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27722         check if __extern_always_inline is defined.
27723         [__USE_MISC || __USE_XOPEN]: Likewise.
27724         [__USE_ISOC99] Likewise.
27725         * misc/sys/cdefs.h (__fortify_function): Define only if
27726         __extern_always_inline is defined.
27727         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27728         __extern_always_inline and __extern_inline only for g++-4.3
27729         and newer or a compatible gcc.
27731 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
27733         [BZ #17371]
27734         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27735         last change to handle zero prefix length.
27737 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27739         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27740         _SC_REGEX_VERSION.
27742         * posix/getconf.c (vars): Add _POSIX_IPV6 and
27743         _POSIX_RAW_SOCKETS.
27745 2014-09-13  Allan McRae  <allan@archlinux.org>
27747         * po/ru.po: Update Russian translation from translation project.
27749 2014-09-12  Roland McGrath  <roland@hack.frob.com>
27751         * locale/programs/locale.c (show_locale_vars): Inline local function
27752         into its sole call site.  Clean up some style nits.
27753         (print_item): New function, broken out of ...
27754         (show_info): ... local function here.  Clean up style nits.
27756         * locale/programs/ld-ctype.c (set_one_default): New function, broken
27757         out of ...
27758         (set_class_defaults): ... local function set_default here.
27759         Define set_default as a macro locally to pass constant parameters.
27760         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27761         rather than a shared local.
27763         * stdlib/rpmatch.c (try): New function, broken out of ...
27764         (rpmatch): ... local function here.  Also, prototypify definition.
27766 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
27768         * scripts/soversions.awk: Do not handle configuration names.
27769         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27770         vendor and os variables to soversions.awk.
27771         * configure.ac: Do not modify gnu-* host_os.
27772         * configure: Regenerated
27773         * shlib-versions: Remove first column with configuration names.
27774         * nptl/shlib-versions: Likewise.
27775         * nptl_db/shlib-versions: Likewise.
27776         * sysdeps/hppa/shlib-versions: Likewise.
27777         * sysdeps/m68k/shlib-versions: Likewise.
27778         * sysdeps/mach/hurd/shlib-versions: Likewise.
27779         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27780         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27781         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27782         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27783         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27784         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27785         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27786         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27788         Likewise.
27789         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27790         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27791         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27792         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27793         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27794         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27795         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27796         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27799         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27801         Regenerated.
27802         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27804         Condition symbol version definitions on [HAVE_ELFV2_ABI].
27806         * shlib-versions: Remove OS-specific entries.  Moved to files in
27807         sysdeps.
27808         * sysdeps/mach/hurd/shlib-versions: New file.
27809         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27811         * nptl/shlib-versions: Remove architecture-specific entries.
27812         Moved to files in sysdeps.
27813         * shlib-versions: Likewise.
27814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27815         file.
27816         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27817         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27818         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27819         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27821         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27822         (UDP_NO_CHECK6_RX): Likewise.
27824 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27826         * sysdeps/posix/sysconf.c (__sysconf): Spell
27827         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27829 2014-08-12  Florian Weimer  <fweimer@redhat.com>
27831         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27832         loading.
27833         * iconv/Versions (__gconv_transliterate): Export for use from
27834         gconv modules.
27835         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27836         (struct __gconv_trans_data, __gconv_trans_fct,
27837         __gconv_trans_context_fct, __gconv_trans_query_fct,
27838         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27839         definitions.
27840         (struct __gconv_step_data): Remove __trans member.
27841         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
27842         longer hidden.  Remove unused trans_data argument.
27843         * iconv/gconv_int.h (struct trans_struct): Remove definition.
27844         (__gconv_translit_find): Remove declaration.
27845         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
27846         prototype.
27847         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27848         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27849         trans_data argument.  Add hidden definition.
27850         (__gconv_translit_find): Remove.
27851         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27852         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27853         * iconv/skeleton.c: Remove transliteration initialization.
27854         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27855         __gconv_step_data initialization.
27856         * libio/iofwide.c (__libio_translit_): Remove.
27857         (_IO_fwide): Adjust struct __gconv_step_data initialization.
27858         * wcsmbs/btowc.c (__btowc): Likewise.
27859         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27860         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27861         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27862         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27863         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27864         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27865         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27866         * wcsmbs/wctob.c (wctob): Likewise.
27868 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27870         [BZ #16194]
27871         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27872         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
27873         register usage.
27874         * sysdeps/x86/Makefile: Adjust.
27876 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27877             Roland McGrath  <roland@hack.frob.com>
27879         * locale/weight.h: Add include guard.
27880         (findidx): Make static rather than auto; take new parameters
27881         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27882         * locale/weightwc.h: Likewise.
27883         * posix/fnmatch_loop.c
27884         (FCT): Change type of EXTRA from int32_t to wint_t.
27885         Don't include either header inside the function.
27886         Call FINDIDX rather than findidx, and pass new arguments.
27887         #undef FINDIDX at the end of the file.
27888         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27889         FINDIDX before including fnmatch_loop.c for the non-wide version.
27890         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27891         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27892         for the wide version.
27893         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27894         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27895         Pass new arguments to findidx.
27896         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27897         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27898         Don't #include it inside the function.  Pass new arguments to findidx.
27899         * posix/regex_internal.h
27900         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27901         (re_string_elem_size_at): Don't #include it inside the function.
27902         Pass new arguments to findidx.
27903         * string/strcoll_l.c: #include WEIGHT_H at top level.
27904         (get_next_seq): Don't #include it inside the function.
27905         Pass new arguments to findidx.
27906         (get_next_seq_nocache): Likewise.
27907         * string/strxfrm_l.c: #include WEIGHT_H at top level.
27908         (STRXFRM): Don't #include it inside the function.
27909         Pass new arguments to findidx.
27911 2014-09-11  Florian Weimer  <fweimer@redhat.com>
27913         [BZ #17344]
27914         * malloc/malloc.c (unlink): Turn asserts into a call to
27915         malloc_printerr.
27917 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
27919         [BZ #17370]
27920         * libio/wfileops (do_ftell_wide): Free OUT.
27922 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
27924         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27926 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27928         [BZ #17363]
27929         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27930         group if the current group is empty.
27932 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27934         * benchtests/bench-memset.c (test_main): Add more test from size
27935         from 32 to 512 bytes.
27936         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27937         Add POWER8 memset object.
27938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27939         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27940         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27941         implementation.
27942         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27943         Likewise.
27944         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27945         multiarch POWER8 memset optimization.
27946         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27947         POWER8 memset optimization.
27949         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27950         Remove bzero multiarch objects.
27951         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27952         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27953         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27954         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27955         Remove define.
27956         [__bzero]: Redefine to specific name.
27957         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27958         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27959         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27960         define.
27961         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27962         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27964 2014-09-10  Florian Weimer  <fweimer@redhat.com>
27966         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27967         warnings into errors.
27969         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27970         __cxa_thread_atexit_impl prototype.
27972 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27974         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27975         Fix capitalization of error message.
27977 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27979         * sysdeps/mips/preconfigure: Modify ABI tests.
27981 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
27983         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27985 2014-09-07  Roland McGrath  <roland@hack.frob.com>
27986             Carlos O'Donell  <carlos@systemhalted.org>
27988         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27989         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27990         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27991         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27992         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27993         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27994         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27995         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27996         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27997         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27998         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27999         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
28000         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
28001         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
28002         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
28003         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
28004         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
28005         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
28006         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
28007         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
28008         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
28009         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
28010         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
28011         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
28012         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
28013         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
28014         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
28015         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
28016         Deconditionalize the code that was previously under [RESET_PID].
28017         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
28018         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
28019         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
28020         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
28021         include sysdep.h.
28023 2014-09-08  Allan McRae  <allan@archlinux.org>
28025         * version.h (RELEASE): Set to "development".
28026         (VERSION): Set to "2.20.90"
28028 2014-09-07  Allan McRae  <allan@archlinux.org
28030         * version.h (RELEASE): Set to "stable".
28031         (VERSION): Set to "2.20"
28032         * include/features.h (__GLIBC_MINOR__): Set to 20.
28034         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
28035         Liebler.
28037         * po/ko.po: Update Korean translation from translation project.
28039 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
28041         [BZ #17354]
28042         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
28043         macro for handling signed relocations.
28045 2014-09-03  Florian Weimer  <fweimer@redhat.com>
28047         [BZ #17325]
28048         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
28049         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
28050         assert.
28051         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
28052         * iconvdata/ibm935.c (BODY): Likewise.
28053         * iconvdata/ibm937.c (BODY): Likewise.
28054         * iconvdata/ibm939.c (BODY): Likewise.
28055         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
28056         assert.
28057         * iconvdata/Makefile (iconv-test.out): Pass module list to test
28058         script.
28059         * iconvdata/run-iconv-test.sh: New test loop for checking for
28060         decoder crashers.
28062 2014-09-02  Khem Raj  <raj.khem@gmail.com>
28064         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
28065         libm_hidden_ver.
28067 2014-09-01  Allan McRae  <allan@archlinux.org>
28069         * po/eo.po: Update Esperanto translation from translation project.
28071         * po/ca.po: Update Catalan translation from translation project.
28073 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28075         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
28076         __proc_dostop call.
28078 2014-08-27  Mark Wielaard  <mjw@redhat.com>
28080         [BZ #17319]
28081         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
28082         to call set_thread_area instead of hand written asm.
28083         (__NR_set_thread_area): Removed define.
28084         (TLS_FLAG_WRITABLE): Likewise.
28085         (__ASSUME_SET_THREAD_AREA): Remove check.
28086         (TLS_EBX_ARG): Remove define.
28087         (TLS_LOAD_EBX): Likewise.
28089 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28091         Simplify atomicity of socket creation in bind.
28093         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
28094         looking up the name after linking the file.
28096 2014-08-27  Allan McRae  <allan@archlinux.org>
28098         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28100 2014-08-26  Florian Weimer  <fweimer@redhat.com>
28102         [BZ #17187]
28103         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
28104         trans_compare, open_translit, __gconv_translit_find):
28105         Remove module loading code.
28107 2014-08-26  Allan McRae  <allan@archlinux.org>
28109         * po/vi.po: Update Vietnamese translation from translation project.
28111         * po/uk.po: Update Ukrainian translation from translation project.
28113         * po/fr.po: Update French translation from translation project.
28115         * po/ru.po: Update Russian translation from translation project.
28117         * po/pl.po: Update Polish translation from translation project.
28119         * po/cs.po: Update Czech translation from translation project.
28121         * po/de.po: Update German translation from translation project.
28123         * po/bg.po: Update Bulgarian translation from translation project.
28125         * po/sv.po: Update Sweedish translation from translation project.
28127         * po/nl.po: Update Dutch translation from translation project.
28129         * po/es.po: Update Spanish translation from translation project.
28131 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28133         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
28135         * catgets/Makefile (CPPFLAGS-gencat): Remove.
28136         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
28137         (CPPFLAGS-iconvconfig): Likewise.
28138         * timezone/Makefile (CPPFLAGS-zic): Likewise.
28140         * include/libc-symbols.h: Remove unnecessary check for
28141         NOT_IN_libc.
28142         * nptl/pthreadP.h: Likewise.
28143         * sysdeps/aarch64/setjmp.S: Likewise.
28144         * sysdeps/alpha/setjmp.S: Likewise.
28145         * sysdeps/arm/sysdep.h: Likewise.
28146         * sysdeps/i386/setjmp.S: Likewise.
28147         * sysdeps/m68k/setjmp.c: Likewise.
28148         * sysdeps/posix/getcwd.c: Likewise.
28149         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28150         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28151         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28152         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28153         * sysdeps/sh/sh3/setjmp.S: Likewise.
28154         * sysdeps/sh/sh4/setjmp.S: Likewise.
28155         * sysdeps/unix/alpha/sysdep.h: Likewise.
28156         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28157         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28158         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28159         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28162         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28163         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28164         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28165         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28166         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28167         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28168         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28169         * sysdeps/x86_64/setjmp.S: Likewise.
28171 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
28173         [BZ #17263]
28174         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
28175         <stdint.h>.
28176         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
28177         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
28179 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28181         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
28183         [BZ #17262]
28184         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
28185         and __x86_64__ when disabling x87 inline functions.
28187 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
28189         [BZ #17259]
28190         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
28191         asm statement with __cpuid_count.
28193 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
28195         * configure.ac: Change __ehdr_start code to dereference the struct.
28196         Run readelf on the output to look for relocations.
28197         * configure: Regenerated.
28199 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
28201         [BZ #17261]
28202         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
28203         value to 0.
28204         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
28206 2014-08-12  Roland McGrath  <roland@hack.frob.com>
28208         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
28210 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
28212         [BZ #16892]
28213         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
28214         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
28216 2014-08-12  Sean Anderson  <seanga2@gmail.com>
28218         * malloc/malloc.c: Fix typo in comment.
28220 2014-08-09  Allan McRae  <allan@archlinux.org>
28222         * Regenerate libc.po.
28224 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
28226         * intl/tst-gettext2.sh: Check every lang file for creation.
28228 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28230         * sysdeps/aarch64/fpu/math_private.h
28231         (libc_feholdsetround_noex_aarch64_ctx): New function.
28233 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28235         * sysdeps/arm/armv6/strcpy.S (strcpy):
28236         Fix performance issue in misaligned cases.
28238 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28240         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
28241         Move definition from termios.h.
28242         (struct termio): Likewise.
28243         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28244         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28245         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28246         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28247         Likewise.
28248         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
28249         Move definition to ioctl-types.h
28250         (struct termio): Likewise.
28251         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28252         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28253         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28254         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28255         Likewise.
28257 2014-08-05  Richard Henderson  <rth@redhat.com>
28259         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
28260         exceptions.
28261         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
28262         Add fraiseexcpt.
28263         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
28264         Use __feraiseexcept.
28265         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
28266         Protect libm symbols with IS_IN_libm.
28268         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
28270 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
28272         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
28274 2014-08-04  Will Newton  <will.newton@linaro.org>
28276         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
28277         file.
28279 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
28281         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
28282         variants for each function.
28284 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28286         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
28287         appended ...
28288         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
28289         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
28290         appended ...
28291         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
28292         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
28293         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
28294         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
28295         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
28296         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
28297         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
28298         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
28299         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
28300         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
28301         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
28302         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
28303         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
28304         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
28305         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
28306         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
28307         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
28308         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
28309         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
28310         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
28311         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
28312         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
28313         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
28314         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
28315         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
28316         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
28317         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
28318         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
28319         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
28320         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
28321         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
28322         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
28323         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
28324         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
28325         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
28326         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
28327         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
28328         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
28329         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
28330         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
28331         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
28332         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
28333         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
28334         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
28335         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
28336         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
28337         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
28338         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
28339         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
28340         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
28341         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
28342         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
28343         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
28344         Update #include.
28345         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
28346         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
28348 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28350         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
28351         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
28352         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
28353         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
28354         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
28355         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
28357 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28359         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
28360         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
28361         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28362         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
28364 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28366         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
28367         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
28368         (__libc_vfork): Define function under this name.
28369         (__vfork): Define as an alias.
28370         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
28371         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
28373 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28375         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
28376         that was previously under [RESET_PID].
28377         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
28379 2014-08-04  Andreas Schwab  <schwab@suse.de>
28381         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
28383 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
28385         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
28386         (main): Likewise.
28388 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28390         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
28392 2014-08-01  Richard Henderon  <rth@redhat.com>
28394         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
28395         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
28396         typo in exact zero test.
28397         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28398         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28399         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28401 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28403         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
28404         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
28405         * sysdeps/arm/sysdep.h: ... here.
28406         [!__ASSEMBLER__]: Include <stdint.h>.
28408 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28410         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
28411         (HAVE_WCTYPE_H): Likewise.
28412         (HAVE_ISWCTYPE): Likewise.
28413         (ENABLE_NLS): Likewise.
28414         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
28415         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
28417         * posix/regex_internal.c: Check if DEBUG is defined and is
28418         set.
28420         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
28421         (HAVE_MBSRTOWCS): Likewise.
28422         * posix/fnmatch.c: Include string.h unconditionally.
28424 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28426         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
28427         reversal.
28429 2014-07-31  Roland McGrath  <roland@hack.frob.com>
28431         * sysdeps/generic/safe-fatal.h: New file.
28432         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
28433         * nptl/forward.c: Include it.
28434         (__pthread_unwind): Use __safe_fatal as default action, rather
28435         than a bogus use of INTERNAL_SYSCALL that could never work.
28437         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
28438         * configure.ac (libc_cv_builtin_trap): New test.
28439         * configure: Regenerated.
28440         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
28441         (ABORT_INSTRUCTION): Define using __builtin_trap.
28443         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
28444         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
28445         * sysdeps/nptl/nptl-signals.h: New file.
28446         * nptl/pthreadP.h: Include <nptl-signals.h>.
28448 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28450         * sysdeps/s390/s390-64/utf16-utf32-z9.c
28451         (ONE_DIRECTION): Define.
28452         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28453         (ONE_DIRECTION): Define.
28454         * sysdeps/s390/s390-64/utf8-utf32-z9.c
28455         (ONE_DIRECTION): Define.
28457 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28459         * sysdeps/s390/Makefile: Delete file.
28460         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
28461         * sysdeps/s390/__longjmp.c: Delete file.
28462         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
28463         Remove fields __flags and __reserved.
28464         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
28465         and add versioning.
28466         * sysdeps/s390/rtld-__longjmp.c: Delete file.
28467         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28468         * sysdeps/s390/rtld-setjmp.S: Likewise.
28469         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
28470         * sysdeps/s390/s390-32/__longjmp.c: ... here.
28471         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
28472         * sysdeps/s390/s390-32/setjmp.S: ... here.
28473         Add versioning.
28474         (__sigsetjmp): Remove setting __flags field.
28475         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
28476         * sysdeps/s390/s390-64/__longjmp.c: ... here.
28477         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
28478         * sysdeps/s390/s390-64/setjmp.S: ... here.
28479         Add versioning.
28480         (__sigsetjmp): Remove setting __flags field.
28481         * sysdeps/s390/setjmp.S: Delete file.
28482         * sysdeps/s390/sigjmp.c: Likewise.
28483         * sysdeps/s390/v1-longjmp.c: Likewise.
28484         * sysdeps/s390/v1-setjmp.h: Likewise.
28485         * sysdeps/s390/v1-sigjmp.c: Likewise.
28486         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
28487         Remove v1-longjmp_chk.
28488         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
28489         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
28490         Include debug/longjmp_chk.c and add versioning.
28491         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
28492         Include nptl/pt-longjmp.c and add versioning.
28493         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
28494         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
28495         Include __longjmp.c.
28496         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28497         Move to ...
28498         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
28499         (__getcontext): Remove setting __flags field.
28500         Add versioning.
28501         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28502         Don't restore upper high grps.
28503         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
28504         Likewise.
28505         (__swapcontext): Remove setting uc_flags field.
28506         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
28507         Delete file.
28508         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28509         Include __longjmp.c.
28510         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28511         Move to ...
28512         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
28513         (__getcontext): Remove setting __flags field.
28514         Add versioning.
28515         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
28516         (__swapcontext): Remove setting uc_flags field.
28517         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
28518         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
28519         Remove fields uc_high_gprs and __reserved.
28520         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
28521         New file with reverted content.
28522         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
28523         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
28524         Regenerated.
28525         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
28526         Regenerated.
28528 2014-07-31  Andreas Schwab  <schwab@suse.de>
28530         * config.h.in (HAVE_IFUNC): Define to 0.
28531         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
28532         definedness.
28534 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
28536         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28537         memmove-avx-unaligned, memcpy-avx-unaligned and
28538         mempcpy-avx-unaligned.
28539         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28540         Add tests for AVX memcpy functions.
28541         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
28542         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
28543         memcpy_chk.
28544         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
28545         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
28546         memmove_chk.
28547         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
28548         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
28549         mempcpy_chk.
28550         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
28551         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
28552         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
28554 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28556         [BZ #17213]
28557         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
28558         powerpc64le.
28560 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
28562         [BZ #16839]
28563         * manual/llio.texi: Add section about open file description locks.
28564         * manual/examples/ofdlocks.c: Example of open file description
28565         lock usage.
28566         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
28567         F_OFD_SETLK, and F_OFD_SETLKW.
28569 2014-07-23  Allan McRae  <allan@archlinux.org>
28571         * po/es.po: Update Spanish translation from translation project.
28573 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
28575         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
28577 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
28579         [BZ #17078]
28580         * sysdeps/arm/dl-machine.h (elf_machine_rela)
28581         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
28582         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
28584 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
28586         [BZ #17088]
28587         * math/fesetenv.c (__fesetenv)
28588         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28589         * math/feupdateenv.c (__feupdateenv)
28590         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28592         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28593         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28594         (__ASSUME_SOCKETCALL): Do not define.
28596         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28597         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28598         (__ASSUME_SOCKETCALL): Do not define.
28599         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28600         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28601         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28602         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28603         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28604         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28605         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28606         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28608         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28609         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28610         (__ASSUME_SOCKETCALL): Do not define.
28611         (__ASSUME_IPC64): Define unconditionally.
28612         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28613         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28614         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28615         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28616         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28617         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28618         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28619         Likewise.
28621         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28622         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28623         (__ASSUME_SOCKETCALL): Do not define.
28624         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28625         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28626         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28627         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28628         (__ASSUME_REQUEUE_PI): Define unconditionally.
28629         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28630         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28631         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28632         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28633         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28634         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28636         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28637         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28638         (__ASSUME_SOCKETCALL): Do not define.
28639         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28640         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28641         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28642         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28643         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28644         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28646         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28647         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28648         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28649         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28650         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28651         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28652         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28653         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28654         (__ASSUME_GETCPU_SYSCALL): Likewise.
28656         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28657         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
28658         cases for individual architectures.
28659         * sysdeps/gnu/configure: Regenerated.
28660         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28661         LIBC_SLIBDIR_RTLDDIR.
28662         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28663         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28664         LIBC_SLIBDIR_RTLDDIR.
28665         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28667         LIBC_SLIBDIR_RTLDDIR.
28668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28669         Regenerated.
28670         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28671         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28672         file.
28673         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28674         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28675         file.
28676         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28677         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28678         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28679         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28681         * sysdeps/aarch64/shlib-versions: Move to ...
28682         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28683         * sysdeps/alpha/shlib-versions: Move to ...
28684         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28685         * sysdeps/arm/shlib-versions: Move to ...
28686         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28687         * sysdeps/hppa/shlib-versions: Move all contents except for
28688         libgcc_s entry to ...
28689         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
28690         entry from ...
28691         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
28692         * sysdeps/ia64/shlib-versions: Move to ...
28693         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
28694         entry from ...
28695         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
28696         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28697         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28698         * sysdeps/microblaze/shlib-versions: Move to ...
28699         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28700         * sysdeps/mips/shlib-versions: Move to ...
28701         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
28702         entry from ...
28703         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
28704         * sysdeps/tile/shlib-versions: Move to ...
28705         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28706         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28707         from ...
28708         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
28709         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28710         entry from ...
28711         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
28713 2014-07-17  Will Newton  <will.newton@linaro.org>
28715         * sysdeps/arm/bits/atomic.h
28716         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28717         (__arch_compare_and_exchange_bool_16_int): Likewise.
28718         (__arch_compare_and_exchange_bool_64_int): Likewise.
28720         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28721         into an #else block.
28723 2014-07-16  Roland McGrath  <roland@hack.frob.com>
28725         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28726         just Linux configurations.  Test empirically that the compiler sets
28727         __ARM_EABI__, rather than using the tuple to decide.
28728         * sysdeps/arm/preconfigure: Regenerated.
28729         * sysdeps/unix/sysv/linux/arm/configure: File removed.
28730         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28731         contents appended ...
28732         * sysdeps/arm/configure.ac: ... here.
28733         * sysdeps/arm/configure: Regenerated.
28735 2014-07-15  Roland McGrath  <roland@hack.frob.com>
28737         * nptl/pthread_kill.c: New file.
28738         * nptl/pthread_sigmask.c: New file.
28739         * nptl/pthread_sigqueue.c: New file.
28741         * sysdeps/nptl/lowlevellock.h: New file.
28742         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28743         * sysdeps/nptl/lowlevellock-futex.h: New file.
28745         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28746         Remove dead declarations.
28748 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
28750         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28751         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28752         config-cflags-avx2.
28753         * sysdeps/x86_64/configure.ac: Likewise.
28754         * sysdeps/i386/configure: Regenerated.
28755         * sysdeps/x86_64/configure: Likewise.
28756         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28757         memset-avx2 only if config-cflags-avx2 is yes.
28758         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28759         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28760         defined.
28761         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28762         only if HAVE_AVX2_SUPPORT is defined.
28763         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28765 2014-07-14  Alan Modra  <amodra@gmail.com>
28767         [BZ #17153]
28768         * elf/elf.h (DT_PPC64_NUM): Correct value.
28769         * NEWS: Add to fixed bug list.
28771 2014-07-13  Jim Meyering  <meyering@fb.com>
28773         [BZ 17150]
28774         regex: don't deref NULL upon heap allocation failure
28775         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28776         failure in one more place.
28777         To trigger the segfault, configure grep -with-included-regex,
28778         build it, and run these commands:
28779         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28781 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
28783         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28785 2014-07-11  Richard Henderson  <rth@redhat.com>
28787         * sysdeps/aarch64/libm-test-ulps: Update.
28789 2014-07-10  Florian Weimer  <fweimer@redhat.com>
28791         [BZ #17135]
28792         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28793         * nptl/allocatestack.c (__nptl_setxid_error): New function.
28794         (__nptl_setxid): Initialize error member.  Call
28795         __nptl_setxid_error.
28796         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28797         * nptl/descr.h (struct xid_command): Add error member.
28798         * nptl/tst-setuid3.c: New file.
28799         * nptl/Makefile (tests): Add it.
28801 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28803         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28804         New define.
28805         (__lll_trylock): Use __lll_base_trylock.
28806         (__lll_cond_trylock): Likewise.
28808 2014-07-10  Roland McGrath  <roland@hack.frob.com>
28810         * nptl/pthread_create.c (start_thread): Use atomic_or and
28811         lll_futex_wake directly rather than lll_robust_dead.
28812         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28813         (lll_robust_dead): Macro removed.
28814         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28815         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28816         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28817         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28818         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28819         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28820         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28821         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28822         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28823         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28824         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28825         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28826         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28827         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28828         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28830         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28831         Use atomic_compare_and_exchange_val_acq directly rather than
28832         lll_robust_trylock.
28833         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28834         (__lll_robust_trylock, lll_robust_trylock): Removed.
28835         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28836         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28837         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28838         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28839         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28840         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28841         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28842         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28843         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28844         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28845         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28846         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28847         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28848         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28850 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28852         * manual/locale.texi (Locale Names): New section documenting
28853         locale name syntax.  Adjust menu and node chaining accordingly.
28854         (Choosing Locale): Reference Locale Names, Locale Categories.
28855         Mention setting LC_ALL=C.  Reflect that name syntax is now
28856         documented.
28857         (Locale Categories): New section title.  Reference Locale Names.
28858         LC_ALL is an environment variable, but not a category.
28859         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28860         description, now in Locale Name.  Reference that section.  Locale
28861         name syntax is now documented.
28863 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28865         [BZ #17137]
28866         * locale/findlocale.c (name_present, valid_locale_name): New
28867         functions.
28868         (_nl_find_locale): Use the loc_name variable to store name
28869         candidates.  Call name_present and valid_locale_name to check and
28870         validate locale names.  Return an error if the locale is invalid.
28872 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28874         * locale/setlocale.c (setlocale): Use strdup for allocating
28875         composite name copy.
28877 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28879         Sync up with gnulib.
28880         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28881         [!_LIBC && ENABLE_NLS]: Include gettext.h.
28882         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28883         and _GL_ARG_NONNULL.
28884         [USE_UNLOCKED_IO]: Include unlocked-io.h.
28885         [!_LIBC]: Include code for Windows and Cygwin.
28886         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28887         Include prototype for int strerror_r.
28888         [!_LIBC] (is_open): New function.
28889         (flush_stdout): New function.
28890         (print_errno_message): Use it.
28891         (error): Likewise.
28892         (error_at_line): Likewise.
28893         (error_tail) Add function attribute macros.  Use
28894         __builtin_expect.
28896         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28898         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28900         * io/ftw.c: Include sys/param.h unconditionally.
28902         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28904         [BZ #17125]
28905         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28906         libc_freeres_ptr.
28907         (freecache): New function to free CACHE on exit.
28909         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28910         initialization.
28912 2014-07-09  David S. Miller  <davem@davemloft.net>
28914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28916         * sysdeps/sparc/nptl/internaltypes.h: Delete.
28917         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28918         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28919         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28920         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28921         * sysdeps/sparc/nptl/sem_init.c: Likewise.
28922         * sysdeps/sparc/nptl/sem_post.c: Likewise.
28923         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28924         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28925         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28926         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28927         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28928         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28930 2014-07-09  Andreas Schwab  <schwab@suse.de>
28932         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28933         output.
28934         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28935         (do_test): Likewise.
28937         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28939 2014-07-09  Will Newton  <will.newton@linaro.org>
28941         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28942         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28943         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28944         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28945         * sysdeps/hppa/start.S (_start): Likewise.
28947 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28949         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28951         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28952         defined.
28954 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28956         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28957         after checking that it is non-NULL.
28959         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28961 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28963         * sysdeps/powerpc/memmove.c: Remove file.
28964         * sysdeps/powerpc/powerpc32/power4/memcopy.h
28965         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28966         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28967         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28968         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28969         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28970         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28971         string memmove instead of removed powerpc one.
28973         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28974         [weak_alias]: Fix compiler warning due trailing data.
28975         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28976         [weak_alias]: Likewise.
28977         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28978         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28981         (__libc_ifunc_impl_list): Add memmove functions.
28983 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28985         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28986         Remove code.
28987         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28988         Likewise.
28989         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28990         Likewise.
28991         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28992         Likewise.
28993         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28994         Likewise.
28995         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28996         Likewise.
28997         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28998         Likewise.
28999         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
29000         Likewise.
29001         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
29002         Likewise.
29003         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
29004         Likewise.
29005         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
29006         Likewise.
29007         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
29008         Likewise.
29009         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
29010         Likewise.
29011         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
29012         Likewise.
29013         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
29014         Likewise.
29015         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
29016         Likewise.
29017         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
29018         Likewise.
29020 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29022         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
29023         to avoid alignment traps in non-cacheable memory.
29024         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29026         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
29027         multiarch objects.
29028         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
29029         file: multiarch power7 memmove.
29030         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
29031         multiarch default memmove.
29032         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
29033         multiarch memove for powerpc32/power4.
29035         * string/bcopy.c: Use full path to include memmove.c.
29036         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
29037         multiarch objects.
29038         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
29039         bcopy for powerpc64.
29040         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
29041         bcopy for powerpc64.
29042         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
29043         and memmove implementations.
29044         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
29045         optimized multiarch memmove for POWER7/powerpc64.
29046         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
29047         default multiarch memmove for powerpc64.
29048         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
29049         multiarch for powerpc64.
29050         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
29051         for POWER7/powerpc64.
29052         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
29053         memmove for POWER7/powerpc64.
29055         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
29056         glibc default one.
29058         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
29059         __ELF_NATIVE_CLASS equal to 64.
29061 2014-07-07  Roland McGrath  <roland@hack.frob.com>
29063         * sysdeps/nptl/lowlevellock.h: File removed.
29065         * NEWS: NPTL is no longer an add-on!
29066         * nptl/internaltypes.h: Moved ...
29067         * sysdeps/nptl/internaltypes.h: ... here.
29068         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
29069         * sysdeps/nptl/fork.c: Likewise.
29070         * sysdeps/nptl/gai_misc.h: Likewise.
29071         * sysdeps/nptl/librt-cancellation.c: Likewise.
29072         * sysdeps/nptl/jmp-unwind.c: Likewise.
29073         * sysdeps/nptl/setxid.h: Likewise.
29074         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
29075         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
29076         * sysdeps/unix/sysv/linux/arm/Implies: New file.
29077         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
29078         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
29079         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
29080         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
29081         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
29082         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
29083         * sysdeps/unix/sysv/linux/mips/Implies: New file.
29084         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
29085         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
29086         * sysdeps/unix/sysv/linux/sh/Implies: New file.
29087         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
29088         * sysdeps/unix/sysv/linux/tile/Implies: New file.
29089         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
29090         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
29091         * nptl/Makeconfig: Moved ...
29092         * sysdeps/nptl/Makeconfig: ... here.
29093         * nptl/configure: File removed.
29094         * nptl/ANNOUNCE: File removed.
29095         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
29096         * sysdeps/unix/sysv/linux/configure: Regenerated.
29098         * nptl/Makefile (routines): Add libc_pthread_init,
29099         libc_multiple_threads, register-atfork and unregister-atfork.
29100         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
29101         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
29102         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
29103         pthread-pi-defines.sym, structsem.sym.
29104         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
29105         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
29106         [$(subdir) = nptl] (tests): Add tst-setgetname.
29107         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
29108         * sysdeps/unix/sysv/linux/sigaction.c: Just include
29109         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
29110         [!LIBC_SIGACTION]: Remove aliases.
29111         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29112         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29113         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29114         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
29115         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29116         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
29117         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29118         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29119         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29120         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
29121         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
29122         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
29123         __libc_allocate_rtsig_private.
29124         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
29125         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
29126         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29127         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29128         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
29129         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
29130         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
29131         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
29132         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
29133         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
29134         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
29135         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
29136         * nptl/internaltypes.h: ... here.
29137         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
29138         * sysdeps/nptl/jmp-unwind.c: ... here.
29139         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
29140         * nptl/libc-lowlevellock.c: ... here.
29141         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
29142         * nptl/libc_multiple_threads.c: ... here.
29143         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
29144         * nptl/libc_pthread_init.c: ... here.
29145         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
29146         * nptl/lowlevelbarrier.sym: ... here.
29147         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
29148         * nptl/lowlevelcond.sym: ... here.
29149         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
29150         * nptl/lowlevellock.c: ... here.
29151         * nptl/lowlevellock.h: Moved ...
29152         * sysdeps/nptl/lowlevellock.h: ... here.
29153         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
29154         * nptl/lowlevelrobustlock.c: ... here.
29155         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
29156         * nptl/lowlevelrobustlock.sym: ... here.
29157         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
29158         * nptl/lowlevelrwlock.sym: ... here.
29159         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
29160         * nptl/pt-fork.c: ... here.
29161         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
29162         * nptl/pthread-pi-defines.sym: ... here.
29163         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
29164         * nptl/pthread_attr_getaffinity.c: ... here.
29165         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
29166         * nptl/pthread_attr_setaffinity.c: ... here.
29167         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
29168         * nptl/pthread_mutex_cond_lock.c: ... here.
29169         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29170         Update #include.
29171         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
29172         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
29173         * nptl/pthread_once.c: ... here, replacing old file.
29174         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
29175         * nptl/pthread_yield.c: ... here.
29176         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
29177         * nptl/register-atfork.c: ... here.
29178         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
29179         * nptl/sem_post.c: ... here.
29180         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
29181         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
29182         * nptl/sem_timedwait.c: ... here.
29183         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
29184         * nptl/sem_trywait.c: ... here.
29185         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
29186         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
29187         * nptl/sem_wait.c: ... here.
29188         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
29189         * nptl/structsem.sym: ... here.
29190         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
29191         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
29192         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
29193         * nptl/unregister-atfork.c: ... here.
29194         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
29195         * nptl/unwindbuf.sym: ... here.
29196         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
29197         * sysdeps/nptl/fork.c: ... here.
29198         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
29199         * sysdeps/nptl/fork.h: ... here.
29200         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
29201         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
29202         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
29203         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
29204         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
29205         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
29206         * sysdeps/unix/sysv/linux/getpid.c: ... here.
29207         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
29208         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
29209         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
29210         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
29211         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
29212         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
29213         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
29214         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
29215         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
29216         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
29217         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
29218         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
29219         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
29220         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
29221         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
29222         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
29223         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
29224         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
29225         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
29226         * sysdeps/unix/sysv/linux/raise.c: ... here.
29227         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
29228         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
29229         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
29230         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
29231         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
29232         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
29233         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
29234         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
29235         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
29236         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
29237         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
29238         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
29239         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
29240         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
29241         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
29243 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29245         * sysdeps/generic/memcopy.h: Add comment for
29246         MEMCPY_OK_FOR_FWD_MEMMOVE.
29248 2014-07-04  Will Newton  <will.newton@linaro.org>
29250         * string/memchr.c: Merge from gnulib.
29251         [_LIBC]: Remove conditionals.
29252         (__ptr_t): Remove define.
29253         (LONG_MAX_32_BITS): Likewise.
29254         (LONG_MAX): Likewise.
29255         (MEMCHR): Use ANSI prototype and optimize algorithm.
29257         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
29259 2014-07-03  Roland McGrath  <roland@hack.frob.com>
29261         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
29262         (lll_futex_timed_wait_bitset): Fix syscall argument count.
29264         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
29265         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
29266         in a bare environment with no <stdlib.h> installed.
29267         * sysdeps/nptl/configure: Regenerated.
29269         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
29271         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
29272         AC_EGREP_CPP for kernel header checks, so they only succeed if
29273         including <linux/version.h> actually works right.
29274         * sysdeps/unix/sysv/linux/configure: Regenerated.
29276         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
29277         value so it's not diagnosed as unused.
29279         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
29280         thing) with "ifeq ($(subdir),rt)".
29282 2014-07-03  Richard Henderson  <rth@redhat.com>
29284         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
29285         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
29286         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
29288         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
29289         (math_force_eval): New.
29291         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
29292         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
29294         * sysdeps/alpha/fpu/s_round.c: Remove file.
29295         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
29297         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
29298         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
29299         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
29300         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
29301         (_dl_start, print_statistics): Likewise.
29302         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
29303         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
29305         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29306         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29307         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29308         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29309         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29310         (HP_SMALL_TIMING_AVAIL): Define.
29311         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29312         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29313         (HP_SMALL_TIMING_AVAIL): Define.
29314         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29315         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29317         * sysdeps/aarch64/hp-timing.h: New file.
29319         * sysdeps/generic/hp-timing.h: Remove dead comment.
29320         * sysdeps/generic/hp-timing-common.h: New file.
29321         * sysdeps/alpha/hp-timing.h: Include it.
29322         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
29323         * sysdeps/i386/i686/hp-timing.h: Likewise.
29324         * sysdeps/ia64/hp-timing.h: Likewise.
29325         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29326         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29327         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29328         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29329         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
29330         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
29331         (hp_timing_t): New.
29333         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
29334         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
29335         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
29336         * elf/rtld.c (_dl_start_final): Likewise.
29337         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
29338         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29339         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29340         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29341         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29342         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29343         (HP_TIMING_DIFF_INIT): Remove.
29344         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29345         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29346         (HP_TIMING_DIFF_INIT): Remove.
29347         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29348         * sysdeps/i386/i686/hp-timing.c: Remove file.
29349         * sysdeps/x86_64/hp-timing.c: Remove file.
29350         * sysdeps/ia64/hp-timing.c: Remove file.
29351         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
29352         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
29353         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
29354         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
29356         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
29357         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
29358         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
29359         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29360         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29361         (HP_TIMING_ACCUM): Remove.
29362         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29363         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
29364         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29366         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
29367         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
29368         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
29369         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
29370         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
29371         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29372         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
29373         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29375         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
29377 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
29379         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
29381 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29383         Sync up with gettext.
29384         * intl/loadmsgcat.c: Define O_BINARY if not defined.
29385         [_MSC_VER]: Include malloc.h
29386         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
29387         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
29388         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
29389         TEMP_FAILURE_RETRY.  Cast return of alloca.
29390         [!_LIBC] Call gl_rwlock_init.
29391         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
29393 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29395         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
29396         before checking its value.
29398 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29400         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
29402         * debug/memcpy_chk.c: Don't include pagecopy.h.
29403         * debug/mempcpy_chk.c: Likewise.
29404         * string/memcpy.c: Likewise.
29405         * string/memmove.c: Likewise.
29406         * sysdeps/powerpc/memmove.c: Likewise.
29407         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
29408         definition of PAGE_COPY_FWD_MAYBE here...
29409         * sysdeps/generic/pagecopy.h: ... from here.
29410         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
29412 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29413             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29415         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
29416         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
29417         optimizations.
29418         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29419         (__libc_ifunc_impl_list): Likewise.
29420         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
29421         multiarch strcat for PPC64.
29422         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
29423         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
29425 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29427         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
29429 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29431         * intl/loadmsgcat.c: Remove declaration of
29432         get_sysdep_segment_value.
29433         (get_sysdep_segment_value): Use ISO C style.
29434         (_nl_load_domain): Use ISO C style.  Get rid of redundant
29435         semicolon.  Fix typo and formatting in comment.
29436         (_nl_unload_domain): Use ISO C style.
29438         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
29440 2014-07-02  Will Newton  <will.newton@linaro.org>
29442         * malloc/obstack.c: Merge from gnulib master.
29443         [HAVE_CONFIG_H]: Remove conditional code.
29444         [!_LIBC]: Include config.h.
29445         [!ELIDE_CODE]: Don't include inttypes.h, include
29446         stdint.h unconditionally.
29447         (print_and_abort): Mark as _Noreturn.
29448         (_obstack_allocated_p): Mark as __attribute_pure__.
29449         (obstack_free): Rename to __obstack_free.
29450         [!__attribute__]: Remove conditional code.
29451         * malloc/obstack.h: Merge from gnulib master.
29452         [__cplusplus]: Move conditional down.
29453         [!__attribute_pure__]: Define __attribute_pure__ here
29454         if it is not already defined.
29455         (_obstack_memory_used): Mark as __attribute_pure__.
29456         [!__obstack_free]: Define as obstack_free.
29457         [__GNUC__]: Remove check for ancient NeXT gcc.
29459 2014-07-02  Will Newton  <will.newton@linaro.org>
29460             Paul Eggert  <eggert@cs.ucla.edu>
29462         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
29464 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29466         * resolv/gethnamaddr.c: Add comment warning that the file is
29467         not maintained.
29469 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
29471         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
29472         entries.
29474         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
29475         entry for aio_cancel and aio_cancel64.
29476         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
29477         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
29478         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
29479         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
29480         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
29481         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
29482         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
29483         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
29484         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
29485         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
29486         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
29487         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
29488         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
29490 2014-07-01  Roland McGrath  <roland@hack.frob.com>
29492         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
29493         * nptl/pthread_mutex_lock.c: Likewise.
29494         * nptl/pthread_mutex_timedlock.c: Likewise.
29495         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
29497 2014-07-01  Richard henderson  <rth@redhat.com>
29499         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
29500         (__isnan, __isnanl): Remove.
29501         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
29503         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29505 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29507         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29509 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29511         * resolv/nss_dns/dns-host.c (getanswer_r)
29512         [MULTI_PTRS_ARE_ALIASES]: Remove code.
29514 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
29516         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29517         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
29518         undefine.
29519         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
29520         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
29522 2014-07-01  Roland McGrath <roland@hack.frob.com>
29524         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
29525         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
29527         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
29528         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
29530         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
29531         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
29532         ... here.
29533         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
29534         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
29536         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
29537         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
29538         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
29539         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
29541         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
29542         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
29543         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
29544         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
29545         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
29546         Moved ...
29547         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
29548         ... here.
29549         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
29550         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
29551         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
29552         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
29553         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
29554         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
29555         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
29556         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
29557         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
29558         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
29559         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
29560         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
29561         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
29562         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
29563         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
29564         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
29565         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
29566         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
29567         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
29568         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
29569         ... here.
29570         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
29571         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
29572         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
29573         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
29574         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
29575         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
29576         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
29577         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
29579 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
29581         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
29582         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
29583         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
29584         Add sysdep.
29586 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29590 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29592         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29593         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29595         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29597         * sysdeps/arm/libm-test-ulps: Regenerated.
29599 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29600             Roland McGrath <roland@hack.frob.com>
29602         * test-skeleton.c (signal_handler): Kill the whole process group
29603         before killing the child individually.
29604         (main): Report any failure on `setpgid'.
29606 2014-06-30  Roland McGrath  <roland@hack.frob.com>
29608         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29609         from _TLS_H to _ARM_NPTL_TLS_H.
29610         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29611         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29613 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29615         [BZ #16539]
29616         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29617         (__expm1l): Return argument unchanged when small but not
29618         subnormal.
29620         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29621         include macro name.
29622         (_FP_UNPACK_RAW_1_P): Likewise.
29623         (_FP_PACK_RAW_1): Likewise.
29624         (_FP_PACK_RAW_1_P): Likewise.
29625         (_FP_MUL_MEAT_1_wide): Likewise.
29626         (_FP_MUL_MEAT_DW_1_hard): Likewise.
29627         (_FP_MUL_MEAT_1_hard): Likewise.
29628         (_FP_DIV_MEAT_1_imm): Likewise.
29629         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29630         (_FP_DIV_MEAT_1_udiv): Likewise.
29631         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29632         (_FP_UNPACK_RAW_2): Likewise.
29633         (_FP_UNPACK_RAW_2_P): Likewise.
29634         (_FP_PACK_RAW_2): Likewise.
29635         (_FP_PACK_RAW_2_P): Likewise.
29636         (_FP_MUL_MEAT_DW_2_wide): Likewise.
29637         (_FP_MUL_MEAT_2_wide): Likewise.
29638         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29639         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29640         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29641         (_FP_MUL_MEAT_2_gmp): Likewise.
29642         (_FP_DIV_MEAT_2_udiv): Likewise.
29643         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29644         (_FP_FRAC_SRL_4): Likewise.
29645         (_FP_FRAC_SRST_4): Likewise.
29646         (_FP_FRAC_SRS_4): Likewise.
29647         (_FP_UNPACK_RAW_4): Likewise.
29648         (_FP_UNPACK_RAW_4_P): Likewise.
29649         (_FP_PACK_RAW_4): Likewise.
29650         (_FP_PACK_RAW_4_P): Likewise.
29651         (_FP_MUL_MEAT_DW_4_wide): Likewise.
29652         (_FP_MUL_MEAT_4_wide): Likewise.
29653         (_FP_MUL_MEAT_4_gmp): Likewise.
29654         (umul_ppppmnnn): Likewise.
29655         (_FP_DIV_MEAT_4_udiv): Likewise.
29656         (__FP_FRAC_ADD_4): Likewise.
29657         (__FP_FRAC_SUB_3): Likewise.
29658         (__FP_FRAC_SUB_4): Likewise.
29659         (__FP_FRAC_DEC_3): Likewise.
29660         (__FP_FRAC_DEC_4): Likewise.
29661         (__FP_FRAC_ADDI_4): Likewise.
29662         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29663         (_FP_FRAC_SRL_8): Likewise.
29664         (_FP_FRAC_SRS_8): Likewise.
29666         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29667         include macro name.
29668         (FP_UNPACK_RAW_EP): Likewise.
29669         (FP_PACK_RAW_E): Likewise.
29670         (FP_PACK_RAW_EP): Likewise.
29671         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29672         (_FP_ISSIGNAN): Likewise.
29673         (_FP_ADD_INTERNAL): Likewise.
29674         (_FP_FMA): Likewise.
29675         (_FP_CMP): Likewise.
29676         (_FP_SQRT): Likewise.
29677         (_FP_TO_INT): Likewise.
29678         (_FP_FROM_INT): Likewise.
29679         (FP_EXTEND): Likewise.
29680         (_FP_DIV_MEAT_N_loop): Likewise.
29682 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29684         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29685         throughout.
29687 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
29689         [BZ #17097]
29690         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29691         result with correct sign in case of exponents that produce
29692         overflow except for X very close to 1.
29694 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
29696         mktime: merge #if/#ifdef usage from glibc
29697         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29698         as that works with both Glibc's and Gnulib's style.
29699         See thread starting at Siddhesh Poyarekar's bug report at:
29700         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29702 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29704         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29705         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29706         * sysdeps/tile/tilegx/memmove.c: Remove file.
29708 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29710         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29711         abi-name definition.
29712         * scripts/soversions.awk: Do not handle or generate ABI lines.
29713         * shlib-versions: Remove ABI entries.
29714         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29715         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29717 2014-06-27  Roland McGrath  <roland@hack.frob.com>
29719         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29720         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29721         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29722         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29723         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29724         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29725         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29726         Moved ...
29727         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29728         ... here.
29729         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29730         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29731         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29732         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29733         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29734         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29735         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29736         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29737         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29738         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29739         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29740         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29741         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29742         Moved ...
29743         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29744         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29745         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29746         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29747         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29748         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29749         Moved ...
29750         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29751         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29752         Moved ...
29753         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29754         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29755         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29756         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29757         Moved ...
29758         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29759         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29760         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29761         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29762         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29763         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29764         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29765         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29766         Moved ...
29767         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29768         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29769         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29770         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29771         Moved ...
29772         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29773         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29774         Moved ...
29775         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29776         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29777         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29778         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29779         Moved ...
29780         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29781         ... here.
29782         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29783         Identical file removed.
29784         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29785         Moved ...
29786         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29787         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29788         Identical file removed.
29789         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29790         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29791         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29792         Moved ...
29793         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29794         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29795         Identical file removed.
29796         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29797         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29798         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29799         Identical file removed.
29800         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29801         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29802         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29803         Identical file removed.
29804         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29805         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29806         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29807         Identical file removed.
29808         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29809         Moved ...
29810         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29811         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29812         Identical file removed.
29813         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29814         Moved ...
29815         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29816         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29817         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29818         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29819         Identical file removed.
29820         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29821         Moved ...
29822         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29823         ... here.
29824         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29825         Identical file removed.
29826         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29827         Moved ...
29828         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29829         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29830         Identical file removed.
29831         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29832         Moved ...
29833         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29834         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29835         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29836         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29837         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29838         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29839         Moved ...
29840         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29841         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29842         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29844         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29845         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29846         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29847         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29848         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29850 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
29852         [BZ #17092]
29853         * nscd/nscd.c (monitor_child): Return exit status of child
29854         instead of return value from wait syscall.
29856 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29858         * configure.ac (libc_commonpagesize): Remove variable.
29859         (libc_relro_required): Likewise.
29860         (libc_cv_z_relro): Remove configure test.
29861         * configure: Regenerated.
29862         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29863         variable.
29864         (libc_relro_required): Likewise.
29865         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29866         (libc_relro_required): Likewise.
29867         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29868         (libc_relro_required): Likewise.
29869         * sysdeps/arm/preconfigure: Regenerated.
29870         * sysdeps/ia64/preconfigure: Remove file.
29871         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29872         variable.
29873         (libc_relro_required): Likewise.
29875         [BZ #16561]
29876         [BZ #16562]
29877         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29878         (__ieee754_yn): Set FE_TONEAREST mode internally and then
29879         recompute overflowing results in original rounding mode.
29880         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29881         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29882         recompute overflowing results in original rounding mode.
29883         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29884         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29885         recompute overflowing results in original rounding mode.
29886         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29887         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29888         recompute overflowing results in original rounding mode.
29889         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29890         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29891         recompute overflowing results in original rounding mode.
29892         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29893         (libc_feholdsetround_ctx): New macro.
29894         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29895         * sysdeps/i386/fpu/libm-test-ulps: Update.
29896         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29898 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29900         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29901         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29902         corresponding .cpsetup call.
29904 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29906         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29907         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29908         * sysdeps/arm/Makefile [$(subdir) = csu]
29909         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29910         (static-only-routines): Add aeabi_read_tp here.
29911         (shared-only-routines): Add libc-aeabi_read_tp here.
29912         (CFLAGS-libc-start.c): Add -fexceptions here.
29913         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29914         (sysdep_routines, static-only-routines, shared-only-routines):
29915         Don't add to these here.
29916         (CFLAGS-libc-start.c): Likewise.
29918         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29919         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29920         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29921         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29922         * sysdeps/arm/Makefile [$(subdir) = rt]
29923         (librt-sysdep_routines, librt-shared-only-routines):
29924         Append rt-aeabi_unwind_cpp_pr1 here.
29925         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29926         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29927         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29928         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29929         Append nptl-aeabi_unwind_cpp_pr1 here.
29930         (tests): Filter out tst-cleanupx4 here.
29931         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29932         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29933         Don't do those here.
29935 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29937         * scripts/list-sources.sh: Do not handle ports specially.
29939 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29941         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29942         * sysdeps/arm/feupdateenv.c: Likewise.
29944         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29946 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29948         * manual/texinfo.tex: Update to version 2014-05-05.10 with
29949         trailing whitespace removed.
29950         * scripts/config.guess: Update to version 2014-03-23.
29951         * scripts/config.sub: Update to version 2014-05-01
29952         * scripts/install-sh: Update to version 2013-12-25.23.
29953         * scripts/move-if-change: Update from gnulib.
29955 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29957         * debug/memmove_chk.c: Remove pagecopy.h include.
29959 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
29961         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
29962         identical to gnulib mktime.
29964 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29966         * configure.ac: Do not test for machine being rs6000.  Do not test
29967         for powerpc*-*soft.
29968         * configure: Regenerated.
29970         [BZ #11505]
29971         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29972         test.
29973         * configure: Regenerated.
29974         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29975         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29976         Remove configure test.
29977         * sysdeps/arm/configure: Regenerated.
29978         * sysdeps/nptl/configure.ac: Do not check
29979         libc_cv_asm_cfi_directives.
29980         * sysdeps/nptl/configure: Regenerated.
29981         * sysdeps/x86_64/nptl/configure.ac: Remove file.
29982         * sysdeps/x86_64/nptl/configure: Remove generated file.
29983         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29984         unconditional.
29985         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29987 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29989         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29990         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29991         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29992         it is defined.
29994         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29995         instead of whether it is defined.
29996         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29997         * sysdeps/hppa/dl-machine.h: Likewise.
29998         * sysdeps/ia64/dl-machine.h: Likewise.
29999         * sysdeps/m68k/dl-machine.h: Likewise.
30000         * sysdeps/microblaze/dl-machine.h: Likewise.
30001         * sysdeps/mips/dl-machine.: Likewise.
30002         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30003         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30004         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30005         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30006         * sysdeps/sh/dl-machine.h: Likewise.
30007         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30008         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30009         * sysdeps/tile/dl-machine.h: Likewise.
30010         * sysdeps/x86_64/dl-machine.h: Likewise.
30012         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
30013         code.
30014         (verify_persistent_db): Likewise.
30016 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
30019         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
30020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
30021         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
30022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30023         Moved ...
30024         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
30025         ... here.
30026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
30027         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
30028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
30029         Identical file removed.
30030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
30031         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
30032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
30033         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
30034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
30035         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
30036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
30037         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
30038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
30039         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
30040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30041         Moved ...
30042         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
30043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
30044         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
30045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
30046         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
30047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30048         Moved ...
30049         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
30050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
30051         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
30052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
30053         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
30054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30055         Identical file removed.
30056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
30057         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
30058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
30059         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
30060         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30061         Moved ...
30062         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
30063         ... here.
30064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
30065         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
30066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
30067         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
30068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
30069         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
30070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
30071         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
30072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
30073         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
30074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30075         Moved ...
30076         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
30077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
30078         Moved ...
30079         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
30080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
30081         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
30082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30083         Moved ...
30084         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
30085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
30086         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
30088         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
30089         folded into ...
30090         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
30091         * sysdeps/unix/sysv/linux/s390/Versions
30092         (libpthread: GLIBC_2.19): New version set.
30093         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
30094         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
30095         (librt: GLIBC_2.3.3): New version set.
30096         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
30097         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
30098         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
30099         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
30100         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
30101         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
30102         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
30103         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
30104         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
30105         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
30106         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
30107         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
30108         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
30109         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
30110         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
30111         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
30112         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
30113         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
30114         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
30115         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
30116         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
30117         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
30118         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
30119         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
30120         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
30121         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
30122         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
30123         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
30124         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
30125         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
30126         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
30127         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
30128         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
30129         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
30130         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
30131         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
30132         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
30133         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
30134         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
30135         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
30136         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
30137         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
30138         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
30139         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
30140         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
30142         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
30143         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
30144         (__libc_vfork): Define the function under this name.
30145         [!NOT_IN_libc] (__vfork): Make this an alias.
30146         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30147         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
30148         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
30149         (__libc_vfork): Define the function under this name.
30150         [!NOT_IN_libc] (__vfork): Make this an alias.
30151         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30152         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
30153         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
30154         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
30155         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
30156         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30158         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
30159         code that was previously under [RESET_PID].
30160         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
30161         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
30162         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
30164         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
30165         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
30166         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
30167         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
30168         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
30169         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
30170         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
30171         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
30172         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
30173         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
30174         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
30175         Moved ...
30176         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
30177         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
30178         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
30179         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
30180         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
30181         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
30182         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
30183         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
30184         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
30185         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
30186         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
30187         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
30188         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
30189         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
30190         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
30191         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
30192         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
30193         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
30194         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
30195         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
30196         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
30197         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
30198         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
30199         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
30200         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
30201         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
30202         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
30203         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
30204         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
30206 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30208         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
30209         that was previously under [RESET_PID].
30210         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
30212 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30214         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
30215         not undefine and redefine.
30216         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
30217         [O_CLOEXEC]: Make code unconditional.
30218         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
30219         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
30220         <kernel-features.h>.
30221         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
30222         conditional variable definition.
30223         (shm_open) [O_CLOEXEC]: Make code unconditional.
30224         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
30225         code.
30227         * configure.ac (USE_REGPARMS): Don't define here.
30228         * configure: Regenerated.
30229         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
30230         * sysdeps/i386/configure: Regenerated.
30232         * nptl/createthread.c: Don't include kernel-features.h.
30233         * nptl/pthread_cancel.c: Likewise.
30234         * nptl/pthread_condattr_setclock.c: Likewise.
30235         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
30236         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
30237         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
30238         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
30239         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
30240         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
30241         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30242         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
30243         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30244         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
30245         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
30246         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
30247         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
30248         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
30249         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
30250         * nscd/gai.c: Likewise.
30251         * nss/nss_db/db-open.c: Likewise.
30252         * sysdeps/generic/ldsodefs.h: Likewise.
30253         * sysdeps/sh/nptl/tls.h: Likewise.
30254         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30255         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
30256         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
30257         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
30258         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
30259         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30260         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
30261         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30262         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30263         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30264         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30265         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30266         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
30267         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
30268         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
30269         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
30270         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
30271         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
30272         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
30273         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
30274         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
30275         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
30276         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
30277         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
30278         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
30279         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
30280         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
30281         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
30282         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30283         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
30284         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
30285         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
30286         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
30287         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30288         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30289         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30290         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30291         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
30292         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
30293         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30294         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30295         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
30296         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
30297         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30298         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
30299         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
30300         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
30301         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
30302         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
30303         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
30304         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
30305         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
30306         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
30307         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30308         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
30309         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30310         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30311         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
30312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
30314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
30315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
30316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
30317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
30318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
30319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
30320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
30323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
30324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
30325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
30326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
30332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
30333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
30334         * sysdeps/unix/sysv/linux/pread.c: Likewise.
30335         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
30336         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
30337         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
30338         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
30339         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
30340         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
30341         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
30342         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
30343         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
30344         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
30345         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
30346         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
30347         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
30348         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
30349         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
30350         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30351         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
30352         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
30353         * sysdeps/unix/sysv/linux/system.c: Likewise.
30354         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
30355         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30356         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30357         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30358         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30359         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30360         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30362         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
30363         * configure: Regenerated.
30364         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
30366         * configure.ac (base_machine): Do not set specially for particular
30367         machines here.
30368         * configure: Regenerated.
30369         * sysdeps/powerpc/preconfigure: Move machine and base_machine
30370         settings from configure.ac.
30371         * sysdeps/i386/preconfigure: New file.
30372         * sysdeps/s390/preconfigure: Likewise.
30373         * sysdeps/sh/preconfigure: Likewise.
30374         * sysdeps/sparc/preconfigure: Likewise.
30376 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30378         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
30379         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
30380         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
30381         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
30382         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
30383         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
30384         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
30385         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
30386         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
30387         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
30388         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
30389         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
30390         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
30391         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
30392         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30393         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
30394         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
30395         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
30396         * sysdeps/sparc/sparc64/Makefile: ... appended here.
30398         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
30399         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
30400         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
30401         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
30402         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
30403         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
30404         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
30405         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
30406         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
30407         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
30408         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
30409         * sysdeps/sparc/sparc32/sem_post.c: ... here.
30410         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
30411         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
30412         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
30413         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
30414         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
30415         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
30416         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
30417         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
30418         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
30419         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
30420         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
30421         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
30422         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
30423         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
30424         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
30425         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
30426         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
30427         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
30428         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
30429         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
30430         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
30431         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
30432         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
30433         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
30434         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
30435         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
30437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
30438         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
30439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
30440         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
30441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30442         Moved ...
30443         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
30444         ... here.
30445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
30446         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
30447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
30448         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
30449         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
30450         Moved ...
30451         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
30452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
30453         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
30454         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
30455         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
30456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
30457         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
30458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30459         Moved ...
30460         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
30461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30462         Moved ...
30463         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
30465         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
30466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30467         Moved ...
30468         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
30469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
30470         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
30471         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
30472         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
30473         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
30474         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
30475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
30476         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
30477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30478         Moved ...
30479         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
30480         ... here.
30481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
30482         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
30483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
30484         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
30485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
30486         Moved ...
30487         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
30488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
30489         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
30490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
30491         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
30492         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
30493         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
30494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30495         Moved ...
30496         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
30497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30498         Moved ...
30499         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
30500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
30501         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
30502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30503         Moved ...
30504         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
30505         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
30506         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
30507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
30508         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
30510 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30512         * timezone/checktab.awk: Update from tzcode 2014e.
30513         * timezone/private.h: Likewise.
30514         * timezone/tzfile.h: Likewise.
30515         * timezone/zdump.c: Likewise.
30516         * timezone/zic.c: Likewise.
30518         * sysdeps/unix/sysv/linux/kernel-features.h
30519         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
30520         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
30521         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
30522         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30523         Remove conditional code.
30525 2014-06-25  Will Newton  <will.newton@linaro.org>
30527         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
30528         (_dl_arm_cap_flags): Add HWCAP2 values.
30529         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
30530         (_DL_HWCAP_COUNT): Increase to 37.
30531         (_DL_HWCAP_LAST): New define.
30532         (_DL_HWCAP2_LAST): New define.
30533         (_dl_procinfo): Add support for printing
30534         AT_HWCAP2 entries.
30535         (_dl_string_hwcap): Use _dl_hwcap_string.
30537 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30541 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30543         * README: Do not mention ports directory.
30545         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
30546         Remove macro.
30547         * sysdeps/unix/sysv/linux/futimes.c: Do not include
30548         <kernel-features.h>.
30549         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
30550         conditional variable definition.
30551         (__futimes): Update comment.
30552         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
30553         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
30555         [BZ #16560]
30556         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
30557         arguments close to 0.
30558         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
30559         Likewise.
30560         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
30561         Likewise.
30562         * math/auto-libm-test-in: Add more tests of exp10.
30563         * math/auto-libm-test-out: Regenerated.
30564         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30566         * sysdeps/unix/sysv/linux/kernel-features.h
30567         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
30568         * sysdeps/unix/sysv/linux/readv.c: Do not include
30569         <kernel-features.h>.
30570         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30571         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30572         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30573         unconditional.
30574         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30575         conditional code.
30576         * sysdeps/unix/sysv/linux/writev.c: Do not include
30577         <kernel-features.h>.
30578         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30579         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30580         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30581         unconditional.
30582         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30583         conditional code.
30585 2014-06-25  Will Newton  <will.newton@linaro.org>
30587         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30588         comment changes throughout the file.  Remove checks
30589         for HAVE_*_H definitions that are not required.
30590         (__gen_tempname): Call abort if an unknown kind value is
30591         passed.
30593 2014-06-25  Andreas Schwab  <schwab@suse.de>
30595         [BZ #17086]
30596         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30597         scalbln, scalblnf, scalblnl in libc.
30599 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30601         [BZ #17086]
30602         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30603         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30604         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30606 2014-06-24  Roland McGrath  <roland@hack.frob.com>
30608         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30609         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30610         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30611         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30612         Update #include.
30613         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30614         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30615         Update #include.
30616         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30617         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30618         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30619         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30620         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30621         * sysdeps/x86/bits/pthreadtypes.h: ... here.
30622         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30623         * sysdeps/x86/bits/semaphore.h: ... here.
30624         * sysdeps/x86/nptl/elide.h: Moved ...
30625         * sysdeps/x86/elide.h: ... here.
30626         * sysdeps/x86_64/nptl/Implies: File removed.
30627         * sysdeps/i386/nptl/Implies: File removed.
30629 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
30631         [BZ #16539]
30632         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30633         return the argument for normal arguments with exponent below -64.
30634         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30635         Likewise.
30636         * math/auto-libm-test-in: Add another test of expm1.
30637         * math/auto-libm-test-out: Regenerated.
30639         [BZ #16287]
30640         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30641         calling __erfcl for arguments at least 16.
30642         * math/auto-libm-test-in: Add more tests of erf.
30643         * math/auto-libm-test-out: Regenerated.
30645         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30646         individual architectures.
30647         * sysdeps/unix/sysv/linux/configure: Regenerated.
30648         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30649         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30650         * sysdeps/unix/sysv/linux/powerpc/configure.ac
30651         (ldd_rewrite_script): Define variable.
30652         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30654         file.
30655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30656         generated file.
30657         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30658         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30659         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30660         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30661         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30662         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30663         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30664         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30666 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30668         [BZ #17084]
30669         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30670         Rename member __data.d to __data.__elision_data.
30672 2014-06-24  Wilco  <wdijkstr@arm.com>
30674         * NEWS: Add 16918 to fixed bug list.
30676 2014-06-24  Wilco  <wdijkstr@arm.com>
30678         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30680 2014-06-24  Wilco  <wdijkstr@arm.com>
30682         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30683         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30684         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30685         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30686         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30687         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30688         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30689         Use _FPU_MASK_RM.
30691 2014-06-24  Wilco  <wdijkstr@arm.com>
30693         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30695 2014-06-24  Wilco  <wdijkstr@arm.com>
30697         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30698         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30699         * sysdeps/arm/fesetround.c (fesetround): Remove space.
30700         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30702 2014-06-24  Wilco  <wdijkstr@arm.com>
30704         [BZ #16918]
30705         * sysdeps/arm/feupdateenv.c (feupdateenv):
30706         Rewrite to reduce FPSCR accesses and fix return value.
30708 2014-06-24  Wilco  <wdijkstr@arm.com>
30710         * sysdeps/arm/fclrexcpt.c (feclearexcept):
30711         Optimize to avoid unnecessary FPSCR writes.
30712         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30713         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30714         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30715         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30717 2014-06-24  Wilco  <wdijkstr@arm.com>
30719         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30720         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30721         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30722         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30723         Call libc_fetestexcept_vfp.
30724         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30725         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30726         __SOFTFP__ ifdef so that they can be built for softfp.
30728 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30730         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30731         argument type signed char.
30733         * Makerules (check-abi): Dump diff of symlist if the test
30734         fails.
30736 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30738         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30739         using abort.
30741         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30742         Remove unused variable ST.
30744 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30746         [BZ #16354]
30747         [BZ #17061]
30748         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30749         small arguments before calling __expm1.
30750         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30751         small arguments before calling __expm1f.
30752         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30753         small arguments before calling __expm1l.
30754         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30755         Likewise.
30756         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30757         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
30758         spurious underflow for some cosh tests.
30759         * math/auto-libm-test-out: Regenerated.
30760         * sysdeps/i386/fpu/libm-test-ulps: Update.
30762         [BZ #17050]
30763         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30764         (__ieee754_y1): Set errno if return value overflows.
30765         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30766         (__ieee754_y1f): Set errno if return value overflows.
30767         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30768         (__ieee754_y1l): Set errno if return value overflows.
30769         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30770         (__ieee754_y1l): Set errno if return value overflows.
30771         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30772         * math/auto-libm-test-out: Regenerated.
30774         * math/gen-auto-libm-tests.c: Document use of
30775         ignore-zero-inf-sign.
30776         (input_flag_type): Add value flag_ignore_zero_inf_sign.
30777         (input_flags): Add ignore-zero-inf-sign.
30778         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30779         * math/gen-libm-test.pl (generate_testfile): Handle
30780         ignore-zero-inf-sign.
30781         * math/auto-libm-test-in: Mark some cpow tests with
30782         ignore-zero-inf-sign and some with xfail-rounding.
30783         * math/auto-libm-test-out: Regenerated.
30784         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30785         * sysdeps/i386/fpu/libm-test-ulps: Update.
30786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30788         [BZ #16315]
30789         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30790         overflowing or underflowing operations take place with sign of
30791         result.
30792         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30793         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30794         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30795         (__ieee754_pow): Recompute overflowing and underflowing results in
30796         original rounding mode.
30797         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30798         (__powl_helper): Allow negative argument X and scale negated value
30799         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
30800         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30801         overflowing or underflowing operations take place with sign of
30802         result.
30803         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30804         Include <math.h>.
30805         * math/auto-libm-test-in: Add more tests of pow.
30806         * math/auto-libm-test-out: Regenerated.
30807         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30808         (pow_tonearest_test_data): Remove.
30809         (pow_test_tonearest): Likewise.
30810         (pow_towardzero_test_data): Likewise.
30811         (pow_test_towardzero): Likewise.
30812         (pow_downward_test_data): Likewise.
30813         (pow_test_downward): Likewise.
30814         (pow_upward_test_data): Likewise.
30815         (pow_test_upward): Likewise.
30816         (main): Don't call removed functions.
30817         * sysdeps/i386/fpu/libm-test-ulps: Update.
30818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30820 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30823         Moved ...
30824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30826         Moved ...
30827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30829         Moved ...
30830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30832         Moved ...
30833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30835         File removed.
30836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30837         File removed.
30838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30839         File removed.
30840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30841         File removed.
30842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30843         File removed.
30844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30845         File removed.
30846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30847         File removed.
30848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30849         File removed.
30850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30851         File removed.
30852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30853         File removed.
30854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30855         File removed.
30856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30857         File removed.
30858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30859         Moved ...
30860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30862         Moved ...
30863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30864         ... here.
30865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30866         Moved ...
30867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30869         Moved ...
30870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30872         Moved ...
30873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30875         Moved ...
30876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30878         Moved ...
30879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30881         Moved ...
30882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30884         Moved ...
30885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30888         ... here.
30889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30890         Moved ...
30891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30893         Moved ...
30894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30895         ... here.
30896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30897         Moved ...
30898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30899         ... here.
30900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30901         Moved ...
30902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30903         ... here.
30904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30905         Moved ...
30906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30908         Moved ...
30909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30913         Moved ...
30914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30915         ... here.
30916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30917         Moved ...
30918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30919         ... here.
30920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30921         Moved ...
30922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30924         Moved ...
30925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30927         Moved ...
30928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30930         Moved ...
30931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30933         Moved ...
30934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30935         ... here.
30936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30937         Moved ...
30938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30940         Moved ...
30941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30943         Moved ...
30944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30946         Moved ...
30947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30951         Moved ...
30952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30954         Moved ...
30955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30957         Moved ...
30958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30959         ... here.
30960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30961         Moved ...
30962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30963         ... here.
30964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30965         Moved ...
30966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30967         ... here.
30968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30969         Moved ...
30970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30972         Moved ...
30973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30975         Moved ...
30976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30978         Moved ...
30979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30980         ... here.
30981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30982         Moved ...
30983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30984         ... here.
30985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30986         Moved ...
30987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30988         ... here.
30989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30990         Moved ...
30991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30993         Moved ...
30994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30996 2014-06-23  Will Newton  <will.newton@linaro.org>
30997             Wilco  <wdijkstr@arm.com>
30999         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
31000         implementation.  Include get-rounding-mode.h.
31001         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
31002         [!libc_feholdsetround_noex_ctx]: Define
31003         libc_feholdsetround_noex_ctx.
31004         [!libc_feholdsetround_noexf_ctx]: Define
31005         libc_feholdsetround_noexf_ctx.
31006         [!libc_feholdsetround_noexl_ctx]: Define
31007         libc_feholdsetround_noexl_ctx.
31008         (libc_feholdsetround_ctx): New function.
31009         (libc_feresetround_ctx): New function.
31010         (libc_feholdsetround_noex_ctx): New function.
31011         (libc_feresetround_noex_ctx): New function.
31013 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31015         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
31016         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
31017         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
31018         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
31019         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
31020         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
31022         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
31023         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
31024         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
31025         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
31026         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
31027         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
31028         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
31029         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
31030         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
31031         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
31032         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
31033         Moved ...
31034         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
31035         ... here.
31036         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
31037         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
31038         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
31039         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
31040         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
31041         Moved ...
31042         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
31043         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
31044         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
31045         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
31046         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
31047         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
31048         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
31049         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
31050         Moved ...
31051         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
31052         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
31053         Moved ...
31054         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
31055         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
31056         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
31057         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
31058         Moved ...
31059         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
31060         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
31061         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
31062         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
31063         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
31064         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
31065         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
31066         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
31067         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
31068         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
31069         Moved ...
31070         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
31071         ... here.
31072         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
31073         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
31074         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
31075         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
31076         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
31077         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
31078         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
31079         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
31080         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
31081         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
31082         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
31083         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
31084         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
31085         Moved ...
31086         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
31087         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
31088         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
31089         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
31090         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
31091         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
31092         Moved ...
31093         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
31094         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
31095         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
31096         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
31097         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
31099         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
31100         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
31101         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
31102         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
31103         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
31104         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
31105         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
31106         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
31107         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
31108         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
31109         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
31110         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
31111         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
31112         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
31113         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
31114         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
31115         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
31116         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
31117         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
31118         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
31119         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
31120         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
31121         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
31122         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
31123         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
31124         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
31125         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
31126         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
31128 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31130         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31131         (FALLOC_FL_COLLAPSE_RANGE): New macro.
31132         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
31133         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
31134         (IPV6_PMTUDISC_INTERFACE): Likewise.
31135         (IPV6_PMTUDISC_OMIT): Likewise.
31137 2014-06-23  Andreas Schwab  <schwab@suse.de>
31139         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
31140         Remove unused errout label.
31142 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31144         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
31145         macro: hardware supports Vector Crypto instructions.
31147 2014-06-23  Will Newton  <will.newton@linaro.org>
31149         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
31150         rather than __builtin_expect.
31152         * elf/dl-lookup.c (undefined_msg): Remove variable.
31153         (_dl_lookup_symbol_x): Replace undefined_msg with string
31154         literal.
31156         * elf/dl-lookup.c (do_lookup_unique): New function.
31157         (do_lookup_x): Move STB_GNU_UNIQUE handling code
31158         to a separate function.
31160 2014-06-23  Andreas Schwab  <schwab@suse.de>
31162         [BZ #17079]
31163         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
31164         before reading the next line.
31166 2014-06-23  Will Newton  <will.newton@linaro.org>
31168         * test-skeleton.c (signal_handler): Use printf and %m
31169         rather than perror.  Use printf rather than fprintf to
31170         stderr.  Use puts rather than fputs to stderr.
31171         (main): Likewise.
31173 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
31175         * nscd/nscd.c (thread_info_t): Remove typedef.
31176         (thread_info): Remove variable.
31178 2014-06-21  Allan McRae  <allan@archlinux.org>
31180         * NEWS: Mention CVE-2014-4043.
31182 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31184         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
31185         * nptl/smp.h: ... here.
31187         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
31189         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
31190         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
31191         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
31192         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
31194         * nptl/allocatestack.c: Include <stack-aliasing.h>.
31195         * nptl/stack-aliasing.h: New file.
31196         * sysdeps/i386/i686/stack-aliasing.h: New file.
31197         * sysdeps/i386/i686/nptl/Makefile: File removed.
31198         * sysdeps/x86_64/stack-aliasing.h: New file.
31199         * sysdeps/x86_64/nptl/Makefile
31200         (CFLAGS-pthread_create.c): Variable removed.
31202         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
31203         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
31204         old file.
31205         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
31206         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
31207         old file.
31209 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
31211         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31212         (__ASSUME_SIGFRAME_V2): Remove macro.
31213         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
31214         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
31215         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
31216         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
31217         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
31218         Declare as function.  Remove conditional macro definitions.
31219         (__default_rt_sa_restorer): Likewise.
31220         (__default_sa_restorer_v1): Remove declaration.
31221         (__default_sa_restorer_v2): Likewise.
31222         (__default_rt_sa_restorer_v1): Likewise.
31223         (__default_rt_sa_restorer_v2): Likewise.
31224         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
31225         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
31226         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
31228 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31230         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
31231         (libpthread-routines): Add sysdep.
31232         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
31233         * sysdeps/unix/sysv/linux/sparc/Versions
31234         (libpthread: GLIBC_2.3.3): New version set.
31235         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
31236         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
31237         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
31238         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
31239         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
31240         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
31241         Moved ...
31242         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
31243         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
31244         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
31245         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
31246         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
31247         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
31248         * sysdeps/sparc/nptl/sem_init.c: ... here.
31249         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
31250         * sysdeps/sparc/nptl/sem_post.c: ... here.
31251         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
31252         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
31253         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
31254         * sysdeps/sparc/nptl/sem_wait.c: ... here.
31255         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
31256         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
31257         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
31258         (libpthread-routines): Add cpu_relax.
31259         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
31260         File removed.
31261         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
31262         (librt: GLIBC_2.3.3): New version set.
31263         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
31264         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
31265         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
31266         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
31267         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
31268         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
31269         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
31270         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
31271         Moved ...
31272         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
31273         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
31274         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
31275         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
31276         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
31277         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
31278         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
31279         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
31280         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
31281         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
31282         Moved ...
31283         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
31284         Update #include.
31285         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
31286         Moved ...
31287         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
31288         Update #include.
31289         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
31290         Moved ...
31291         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
31292         Update #include.
31293         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
31294         Moved ...
31295         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
31296         Update #include.
31297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
31298         Moved ...
31299         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
31300         Update #include.
31301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
31302         Moved ...
31303         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
31304         Update #include.
31305         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
31306         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
31307         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
31308         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
31309         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
31310         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
31311         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
31312         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
31313         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
31314         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
31315         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31316         Moved ...
31317         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
31318         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
31319         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
31320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
31321         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
31323 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31325         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
31326         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
31327         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31328         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
31329         * nscd/nscd.c: Likewise.
31330         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
31331         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
31332         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
31333         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
31335         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
31336         <kernel-features.h>.
31337         (init_mq_netlink): Remove conditional have_sock_cloexec
31338         definitions.  Remove code conditional on have_sock_cloexec < 0.
31339         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
31340         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
31341         * sysdeps/unix/sysv/linux/opensock.c: Do not include
31342         <kernel-features.h>.
31343         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
31344         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
31346 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31348         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31349         Add tests for memset_chk and memset.
31351         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
31352         with AVX2_Usable.
31354 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31356         [BZ #16046]
31357         * elf/tst-dl-iter-static.c: New file.
31358         * elf/Makefile (tests-static): Add tst-dl-iter-static.
31360         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
31361         error.
31363 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31365         * sysdeps/unix/sysv/linux/kernel-features.h
31366         (__ASSUME_F_GETOWN_EX): Remove macro.
31367         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
31368         <kernel-features.h>.
31369         (miss_F_GETOWN_EX): Remove variable or macro.
31370         (do_fcntl): Do not check miss_F_GETOWN_EX.
31371         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
31373         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
31374         Remove macro.
31375         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
31376         [!__ASSUME_AT_RANDOM]: Remove conditional code.
31377         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
31379         * sysdeps/unix/sysv/linux/kernel-features.h
31380         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
31381         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
31382         [ADJ_OFFSET_SS_READ]: Make code unconditional.
31383         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
31385 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31387         [BZ #17075]
31388         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
31389         Fix calculation of the symbol's value.
31390         * sysdeps/arm/tst-armtlsdescloc.c: New file.
31391         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
31392         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
31393         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
31394         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
31395         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
31396         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
31397         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
31398         (modules-names): Add `tst-armtlsdescmod',
31399         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
31400         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
31401         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31402         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
31403         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
31404         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31405         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
31406         ($(objpfx)tst-armtlsdescloc): New dependency.
31407         ($(objpfx)tst-armtlsdescextnow): Likewise.
31408         ($(objpfx)tst-armtlsdescextlazy): Likewise.
31409         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
31410         TLS scheme support.
31411         * sysdeps/arm/configure: Regenerate.
31413 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31415         * include/fcntl.h (__atfct_seterrno): Remove prototype.
31416         (__atfct_seterrno_2): Likewise.
31417         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
31418         <kernel-features.h>.
31419         (__ASSUME_ATFCTS): Do not undefine and redefine.
31420         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
31421         (__have_atfcts): Remove conditional definition.
31422         (__fxstatat([__NR_fstatat64]: Make code unconditional.
31423         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
31424         unreachable if [__ASSUME_ATFCTS].
31425         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
31426         not undefine and redefine.
31427         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
31428         <kernel-features.h>.
31429         (faccessat) [__NR_faccessat]: Make code unconditional.
31430         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
31431         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
31432         <kernel-features.h>.
31433         (fchmodat) [__NR_fchmodat]: Make code unconditional.
31434         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31435         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
31436         <kernel-features.h>.
31437         (fchownat) [__NR_fchownat]: Make code unconditional.
31438         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
31439         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
31440         <kernel-features.h>.
31441         (futimesat) [__NR_futimesat]: Make code unconditional.
31442         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
31443         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31444         <kernel-features.h>.
31445         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31446         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31447         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31448         <kernel-features.h>.
31449         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
31450         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31451         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
31452         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31453         <kernel-features.h>.
31454         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
31455         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31456         * sysdeps/unix/sysv/linux/linkat.c: Do not include
31457         <kernel-features.h>.
31458         (linkat) [__NR_linkat]: Make code unconditional.
31459         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31460         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
31461         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
31462         <kernel-features.h>.
31463         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
31464         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31465         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
31466         <kernel-features.h>.
31467         (mkdirat) [__NR_mkdirat]: Make code unconditional.
31468         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
31469         * sysdeps/unix/sysv/linux/openat.c: Do not include
31470         <kernel-features.h>.
31471         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
31472         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
31473         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
31474         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
31475         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
31476         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
31477         <kernel-features.h>.
31478         (readlinkat) [__NR_readlinkat]: Make code unconditional.
31479         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
31480         result of INLINE_SYSCALL directly, not via int variable.
31481         * sysdeps/unix/sysv/linux/renameat.c: Do not include
31482         <kernel-features.h>.
31483         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
31484         (renameat) [__NR_renameat]: Make code unconditional.
31485         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
31486         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
31487         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
31488         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
31489         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
31490         (__ASSUME_ATFCTS): Do not undefine and redefine.
31491         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
31492         <kernel-features.h>.
31493         (symlinkat) [__NR_symlinkat]: Make code unconditional.
31494         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31495         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
31496         <kernel-features.h>.
31497         (unlinkat) [__NR_unlinkat]: Make code unconditional.
31498         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31499         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
31500         (__ASSUME_ATFCTS): Do not undefine and redefine.
31501         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31502         <kernel-features.h>.
31503         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31504         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31505         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31506         <kernel-features.h>.
31507         (__xmknodat) [__NR_mknodat]: Make code unconditional.
31508         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31510 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31512         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
31514 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
31516         [BZ #17069]
31517         * posix/regcomp.c (parse_reg_exp): Deallocate partially
31518         constructed tree before returning error.
31519         * posix/bug-regexp36.c: Expand test case.
31521 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
31523         [BZ #6803]
31524         * math/libm-test.inc (scalbln_test_date):
31525         Add errno expectations.
31526         * math/w_scalblnf.c: New File.
31527         Add wrapper which checks for setting errno to ERANGE.
31528         Add weak_alias for corresponding scalbln function.
31529         * math/w_scalbln.c: Likewise.
31530         * math/w_scalblnl.c: Likewise.
31531         * math/Makefile (libm-calls): Add w_scalbln.
31532         * sysdeps/ieee754/flt-32/s_scalblnf.c:
31533         Remove weak_alias for corresponding scalbln function.
31534         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31535         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31536         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31537         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31538         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
31539         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31540         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
31541         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31542         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
31543         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
31544         Remove long_double_symbol for scalblnl function in libm, libc.
31545         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
31546         Add wrapper which checks for setting errno to ERANGE.
31547         Add long_double_symbol for scalblnl function in libm, libc.
31548         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
31549         Remove long_double_symbol for scalblnl in libm.
31550         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
31551         Add wrapper which checks for setting errno to ERANGE.
31552         Add long_double_symbol for scalblnl function in libm.
31553         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
31554         Do not use wrapper because of own implementation.
31556 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
31558         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
31559         3 bytes for __pad1 for x32.
31560         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
31562 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
31563             H.J. Lu  <hongjiu.lu@intel.com>
31565         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
31566         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
31567         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31568         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31569         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31571 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
31573         [BZ #17069]
31574         * posix/regcomp.c (parse_expression): Deallocate partially
31575         constructed tree before returning error.
31576         * posix/Makefile.c (tests): Add bug-regex36.
31577         (generated): Add bug-regex36.mtrace.
31578         (tests-special): Add $(objpfx)bug-regex36-mem.out
31579         (bug-regex36-ENV): New variable.
31580         ($(objpfx)bug-regex36-mem.out): New rule.
31581         * posix/bug-regex36.c: New file.
31583 2014-06-19  Will Newton  <will.newton@linaro.org>
31585         * malloc/malloc.c (systrim): If extra is zero then return
31586         early.
31588 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31590         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31592 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
31594         * sysdeps/aarch64/strchr.S: New file.
31596 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31598         [BZ #17022]
31599         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31600         from arguments -2 or below.
31601         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31602         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31604 2014-06-18  Andreas Schwab  <schwab@suse.de>
31606         [BZ #17062]
31607         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31608         of a bracket expr not to run off the end of the string.
31609         * posix/Makefile (tests): Add tst-fnmatch3.
31610         * posix/tst-fnmatch3.c: New file.
31612 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31614         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31615         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31616         [$(cross-compiling) = no]: Likewise.
31617         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31618         [$(cross-compiling) = no]: Likewise.
31620 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31622         [BZ #17031]
31623         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31624         double, adjusted for any remainder from the high double.
31625         * math/libm-test.inc (nearbyint): Add tests.
31626         (rint): Likewise.
31628 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31630         * nptl/sysdeps/powerpc/Makefile: Moved ...
31631         * sysdeps/powerpc/nptl/Makefile: ... here.
31632         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31633         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31634         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31635         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31636         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31637         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31638         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31639         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31640         * nptl/sysdeps/powerpc/tls.h: Moved ...
31641         * sysdeps/powerpc/nptl/tls.h: ... here.
31643 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
31645         [BZ #16681]
31646         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31647         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31648         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31649         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31650         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31651         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31652         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31653         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31654         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31656 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
31658         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31660 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
31662         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31663         defined operator.
31665         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31666         $TIMEOUTFACTOR.
31668 2014-06-16  Florian Weimer  <fweimer@redhat.com>
31670         [BZ #17058]
31671         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31672         non-executed part of the test.
31674 2014-06-16  Andreas Schwab  <schwab@suse.de>
31676         * string/bits/string2.h (strdup, strndup): Update feature guard.
31678 2014-06-14  David S. Miller  <davem@davemloft.net>
31680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31682 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
31684         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31685         that was previously under [RESET_PID].
31686         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31688         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31689         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31690         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31691         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31692         (__libc_vfork): New strong alias.
31693         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31695 2014-06-14 Andi Kleen  <ak@linux.intel.com>
31697         * sysdeps/generic/elide.h: New file.
31699 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31701         * Makefile (installed-headers): Adjust path of pthread.h header.
31703 2014-06-13  Roland McGrath  <roland@hack.frob.com>
31705         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31706         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31707         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31708         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31710         * nptl/sysdeps/s390/Makefile: Moved ...
31711         * sysdeps/s390/nptl/Makefile: ... here.
31712         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31713         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31714         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31715         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31716         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31717         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31718         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31719         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31720         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31721         * sysdeps/s390/nptl/pthreaddef.h: ... here.
31722         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31723         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31724         * nptl/sysdeps/s390/tls.h: Moved ...
31725         * sysdeps/s390/nptl/tls.h: ... here.
31727         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31728         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31730 2014-06-13  David S. Miller  <davem@davemloft.net>
31732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31733         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31735         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31736         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31737         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31738         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31739         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31740         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31741         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31742         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31743         Remove RESET_PID cpp guards.
31744         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31745         Remove RESET_PID cpp guards.
31746         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31748 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
31750         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31751         __sp to uintptr_t.
31753 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31755         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31756         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31757         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31758         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31759         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31760         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31761         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31762         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31763         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31764         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31765         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31766         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31767         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31768         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31769         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31770         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31771         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31772         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31773         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31774         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31776         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31777         (pthread_rwlock_rdlock): Add elision.
31778         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31779         (pthread_rwlock_wrlock): Add elision.
31780         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31781         (pthread_rwlock_trywrlock): Add elision.
31782         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31783         (pthread_rwlock_tryrdlock): Add elision.
31784         * nptl/pthread_rwlock_unlock.c: Include elide.h.
31785         (pthread_rwlock_tryrdlock): Add elision unlock.
31786         * nptl/sysdeps/pthread/pthread.h:
31787         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31788         (PTHREAD_RWLOCK_INITIALIZER,
31789         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31790         Handle new elision field.
31791         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31792         * sysdeps/arm/nptl/bits/pthreadtypes.h
31793         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31794         * sysdeps/sh/nptl/bits/pthreadtypes.h
31795         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31796         * sysdeps/tile/nptl/bits/pthreadtypes.h
31797         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31798         * sysdeps/a/nptl/bits/pthreadtypes.h
31799         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31800         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31801         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31802         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31803         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31804         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31805         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31806         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31807         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31808         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31809         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31810         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31811         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31812         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31813         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31814         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31815         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31816         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31817         (elision_init): Set try_xbegin to zero when no RTM.
31818         * sysdeps/x86/nptl/bits/pthreadtypes.h
31819         (pthread_rwlock_t): Change __pad1 to __rwelision.
31820         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31822 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31824         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31825         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31826         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31827         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31829 2014-06-13  Meador Inge  <meadori@codesourcery.com>
31831         [BZ #16996]
31832         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31833         that the cached result has been set before returning it.
31835 2014-06-12  Roland McGrath  <roland@hack.frob.com>
31837         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31838         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31839         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31840         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31841         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31842         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31844         * nptl/sysdeps/sparc/Makefile: Moved ...
31845         * sysdeps/sparc/nptl/Makefile: ... here.
31846         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31847         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31848         * nptl/sysdeps/sparc/tls.h: Moved ...
31849         * sysdeps/sparc/nptl/tls.h: ... here.
31850         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31851         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31852         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31853         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31854         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31855         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31856         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31857         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31858         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31859         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31860         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31861         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31862         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31863         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31864         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31865         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31866         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31867         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31868         Update #include.
31869         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31870         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31871         Update #include.
31872         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31873         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31874         Update #include.
31875         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31876         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31877         Update #include.
31879         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31881         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31882         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31884         * sysdeps/pthread/posix-timer.h: Include <list.h>.
31885         (struct list_links): Type removed.
31886         (struct thread_node, struct timer_node): Replace struct list_links
31887         with struct list_head.
31888         (list_unlink_ip): Likewise.
31889         * sysdeps/pthread/timer_routines.c
31890         (timer_free_list, thread_free_list, thread_active_list): Likewise.
31891         (list_append, list_insbefore): Likewise.
31892         (list_init): Function removed.
31893         (thread_init, init_module): Use INIT_LIST_HEAD instead.
31894         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31895         * sysdeps/pthread/Makefile: ... here, new file.
31897         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31898         * sysdeps/nptl/Implies: ... here.
31899         * sysdeps/unix/sysv/linux/Implies: Add nptl.
31900         * nptl/sysdeps/pthread/list.h: Moved ...
31901         * include/list.h: ... here.
31902         * nptl/sysdeps/pthread/createthread.c: Moved ...
31903         * nptl/createthread.c: ... here.
31904         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31905         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31906         * nptl/pt-longjmp.c: ... here.
31907         * nptl/sysdeps/pthread/Makefile: Moved ...
31908         * sysdeps/nptl/Makefile: ... here.
31909         * nptl/sysdeps/pthread/Subdirs: Moved ...
31910         * sysdeps/nptl/Subdirs: ... here.
31911         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31912         * sysdeps/nptl/aio_misc.h: ... here.
31913         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31914         * sysdeps/nptl/bits/libc-lock.h: ... here.
31915         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31916         * sysdeps/nptl/bits/libc-lockP.h: ... here.
31917         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31918         * sysdeps/nptl/bits/stdio-lock.h: ... here.
31919         * nptl/sysdeps/pthread/configure: Moved ...
31920         * sysdeps/nptl/configure: ... here.
31921         * nptl/sysdeps/pthread/configure.ac: Moved ...
31922         * sysdeps/nptl/configure.ac: ... here.
31923         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31924         * sysdeps/nptl/gai_misc.h: ... here.
31925         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31926         * sysdeps/nptl/librt-cancellation.c: ... here.
31927         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31928         * sysdeps/nptl/malloc-machine.h: ... here.
31929         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31930         * sysdeps/nptl/pthread-functions.h: ... here.
31931         * nptl/sysdeps/pthread/pthread.h: Moved ...
31932         * sysdeps/nptl/pthread.h: ... here.
31933         * nptl/sysdeps/pthread/setxid.h: Moved ...
31934         * sysdeps/nptl/setxid.h: ... here.
31935         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31936         * sysdeps/nptl/sigfillset.c: ... here.
31937         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31938         * sysdeps/nptl/tcb-offsets.h: ... here.
31939         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31940         * sysdeps/nptl/tst-mqueue8x.c: ... here.
31941         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31942         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31943         * nptl/sysdeps/pthread/allocalim.h: Moved ...
31944         * sysdeps/pthread/allocalim.h: ... here.
31945         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31946         * sysdeps/pthread/bits/sigthread.h: ... here.
31947         * nptl/sysdeps/pthread/flockfile.c: Moved ...
31948         * sysdeps/pthread/flockfile.c: ... here.
31949         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31950         * sysdeps/pthread/ftrylockfile.c: ... here.
31951         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31952         * sysdeps/pthread/funlockfile.c: ... here.
31953         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31954         * sysdeps/pthread/posix-timer.h: ... here.
31955         * nptl/sysdeps/pthread/timer_create.c: Moved ...
31956         * sysdeps/pthread/timer_create.c: ... here.
31957         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31958         * sysdeps/pthread/timer_delete.c: ... here.
31959         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31960         * sysdeps/pthread/timer_getoverr.c: ... here.
31961         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31962         * sysdeps/pthread/timer_gettime.c: ... here.
31963         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31964         * sysdeps/pthread/timer_routines.c: ... here.
31965         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31966         * sysdeps/pthread/timer_settime.c: ... here.
31967         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31968         * sysdeps/pthread/tst-timer.c: ... here.
31969         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31970         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31972         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31973         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31975         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31976         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31977         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31978         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31979         Update #include target.
31980         * nptl/sysdeps/i386/i686/Makefile: Moved ...
31981         * sysdeps/i386/i686/nptl/Makefile: ... here.
31982         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31983         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31984         Update #include target.
31985         * nptl/sysdeps/i386/i686/tls.h: Moved ...
31986         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
31987         * nptl/sysdeps/i386/Makefile: Moved ...
31988         * sysdeps/i386/nptl/Makefile: ... here.
31989         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31990         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31991         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31992         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31993         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31994         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31995         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31996         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31997         * sysdeps/i386/nptl/pthreaddef.h: ... here.
31998         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31999         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
32000         * nptl/sysdeps/i386/tls.h: Moved ...
32001         * sysdeps/i386/nptl/tls.h: ... here.
32003         * sysdeps/sh/Makefile [$(subdir) = csu]
32004         (gen-as-const-headers): Add tcb-offsets.sym.
32005         * nptl/sysdeps/sh/Makefile: File removed.
32006         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
32007         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
32008         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
32009         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
32010         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
32011         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
32012         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
32013         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
32014         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
32015         * sysdeps/sh/nptl/pthreaddef.h: ... here.
32016         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
32017         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
32018         * nptl/sysdeps/sh/tls.h: Moved ...
32019         * sysdeps/sh/nptl/tls.h: ... here.
32020         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
32021         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
32022         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
32023         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
32024         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
32025         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
32026         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
32027         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
32028         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
32029         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
32030         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
32031         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
32032         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
32033         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
32034         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
32035         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
32036         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
32037         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
32038         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
32039         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
32040         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
32041         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
32042         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
32043         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
32044         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
32045         Moved ...
32046         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
32047         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
32048         Moved ...
32049         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
32050         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
32051         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
32052         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
32053         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
32054         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
32055         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
32056         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
32057         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
32058         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
32059         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
32060         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
32061         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
32062         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
32063         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
32064         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
32065         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
32066         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
32067         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
32069 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32071         * posix/spawn_faction_addopen.c: Include string.h.
32073 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32075         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
32076         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
32077         * nptl/sysdeps/x86_64/Makefile: Moved ...
32078         * sysdeps/x86_64/nptl/Makefile: ... here.
32079         * nptl/sysdeps/x86_64/configure: Moved ...
32080         * sysdeps/x86_64/nptl/configure: ... here.
32081         * nptl/sysdeps/x86_64/configure.ac: Moved ...
32082         * sysdeps/x86_64/nptl/configure.ac: ... here.
32083         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
32084         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
32085         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
32086         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
32087         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
32088         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
32089         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
32090         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
32091         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
32092         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
32093         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
32094         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
32095         * nptl/sysdeps/x86_64/tls.h: Moved ...
32096         * sysdeps/x86_64/nptl/tls.h: ... here.
32097         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
32098         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
32099         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
32100         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
32102         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
32104 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32108 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
32110         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
32111         type.
32112         [POSIX] (off_t): Likewise.
32113         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
32114         [POSIX] (S_ISBLK): Require macro.
32115         [POSIX] (S_ISCHR): Likewise.
32116         [POSIX] (S_ISDIR): Likewise.
32117         [POSIX] (S_ISFIFO): Likewise.
32118         [POSIX] (S_ISREG): Likewise.
32119         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
32120         optional-macro.
32121         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
32122         type.
32123         [POSIX] (time_t): Likewise.
32124         [POSIX] (timer_t): Likewise.
32126 2014-06-11  Florian Weimer  <fweimer@redhat.com>
32128         [BZ #17048]
32129         * posix/spawn_int.h (struct __spawn_action): Make the path string
32130         non-const to support deallocation.
32131         * posix/spawn_faction_addopen.c
32132         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
32133         * posix/spawn_faction_destroy.c
32134         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
32135         path in all spawn_do_open actions.
32136         * posix/tst-spawn.c (do_test): Exercise the copy operation in
32137         posix_spawn_file_actions_addopen.
32139 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
32141         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
32142         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
32143         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
32144         conditional code always true.
32145         (__libc_vfork): New alias.
32147 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32149         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32150         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
32152         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
32154         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32155         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
32157         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32158         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
32160         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32161         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
32163 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32165         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
32166         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
32167         multiarch strcmp for PPC64.
32168         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
32169         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
32170         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
32171         multiarch optimizations.
32172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32173         (__libc_ifunc_impl_list): Likewise.
32175 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32177         * benchtests/scripts/validate_benchout.py: New script.
32178         * benchtests/Makefile (bench-func): Call it.
32179         * benchtests/scripts/benchout.schema.json: New file.
32181 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
32183         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
32184         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
32185         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
32186         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
32187         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
32188         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
32189         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
32190         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
32191         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
32192         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
32193         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
32194         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
32195         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
32196         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
32197         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
32198         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
32199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
32200         Moved ...
32201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
32202         ... here.
32203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
32204         Moved ...
32205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
32206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
32207         Moved ...
32208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
32209         ... here.
32210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
32211         Moved ...
32212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
32213         ... here.
32214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
32215         Moved ...
32216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
32217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
32218         Moved ...
32219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
32220         ... here.
32221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
32222         Moved ...
32223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
32224         ... here.
32225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
32226         Moved ...
32227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
32228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
32229         Moved ...
32230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
32231         ... here.
32232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
32233         Moved ...
32234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
32235         ... here.
32236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
32237         Moved ...
32238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
32239         ... here.
32240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
32241         Moved ...
32242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
32243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
32244         Moved ...
32245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
32246         ... here.
32247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
32248         Moved ...
32249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
32250         ... here.
32251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
32252         Moved ...
32253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
32254         ... here.
32255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
32256         Moved ...
32257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
32258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
32259         Moved ...
32260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
32261         ... here.
32262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
32263         Moved ...
32264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
32265         ... here.
32266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
32267         Moved ...
32268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
32269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
32270         Moved ...
32271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
32272         ... here.
32273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
32274         Moved ...
32275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
32276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
32277         Moved ...
32278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
32279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
32280         Moved ...
32281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
32282         ... here.
32283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
32284         Moved ...
32285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
32286         ... here.
32287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
32288         Moved ...
32289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
32290         ... here.
32291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
32292         Moved ...
32293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
32294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
32295         Moved ...
32296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
32297         ... here.
32298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
32299         Moved ...
32300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
32301         ... here.
32302         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
32303         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
32304         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
32305         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
32306         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
32307         Moved ...
32308         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
32309         ... here.
32310         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
32311         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
32312         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
32313         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
32314         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
32315         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
32316         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
32317         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
32318         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
32319         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
32320         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
32321         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
32322         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
32323         Moved ...
32324         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
32325         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
32326         Moved ...
32327         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
32328         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
32329         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
32330         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
32331         Moved ...
32332         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
32333         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
32334         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
32335         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
32336         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
32337         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
32338         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
32340 2014-06-10  Wilco  <wdijkstr@arm.com>
32342         * math/test-fenv-return.c: New file.
32343         * math/Makefile: Add new test test-fenv-return.
32345 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
32347         [BZ #17042]
32348         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
32349         when x - 1 is zero.
32350         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
32351         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
32352         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
32353         0.0L for an argument of 1.0L.
32354         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
32355         Likewise.
32356         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
32357         value when x - 1 is zero.
32358         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
32359         * sysdeps/i386/fpu/libm-test-ulps: Update.
32360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32362 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
32364         [BZ #15119]
32365         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
32367 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32369         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
32370         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
32372 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32374         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32375         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
32377         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32378         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
32380         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32381         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
32383         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32384         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
32386         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
32387         if not already defined.
32388         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
32389         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
32390         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
32391         (TLS_INIT_TP): Use it.
32392         (TLS_DEFINE_INIT_TP): New macro.
32393         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
32395 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
32397         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
32398         constant.
32399         [POSIX] (IXANY): Likewise.
32400         [POSIX] (OLCUC): Likewise.
32401         [POSIX || POSIX2008] (CBAUD): Do not allow.
32402         [POSIX || POSIX2008] (DEFECHO): Likewise.
32403         [POSIX || POSIX2008] (ECHOCTL): Likewise.
32404         [POSIX || POSIX2008] (ECHOKE): Likewise.
32405         [POSIX || POSIX2008] (ECHOPRT): Likewise.
32406         [POSIX || POSIX2008] (EXTA): Likewise.
32407         [POSIX || POSIX2008] (EXTB): Likewise.
32408         [POSIX || POSIX2008] (FLUSHO): Likewise.
32409         [POSIX || POSIX2008] (LOBLK): Likewise.
32410         [POSIX || POSIX2008] (PENDIN): Likewise.
32411         [POSIX || POSIX2008] (SWTCH): Likewise.
32412         [POSIX || POSIX2008] (VDISCARD): Likewise.
32413         [POSIX || POSIX2008] (VDSUSP): Likewise.
32414         [POSIX || POSIX2008] (VLNEXT): Likewise.
32415         [POSIX || POSIX2008] (VREPRINT): Likewise.
32416         [POSIX || POSIX2008] (VSTATUS): Likewise.
32417         [POSIX || POSIX2008] (VWERASE): Likewise.
32418         (B*): Change to B[0123456789]*.
32419         * conform/data/time.h-data [POSIX || UNIX98]
32420         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
32421         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32422         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
32423         [POSIX] (tm_*): Do not allow.
32425 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
32427         * Makefile (install): Don't set LANGUAGE.
32428         * Makefile.in (install): Likewise.
32429         * assert/Makefile (test-assert-ENV): Remove variable.
32430         (test-assert-perr-ENV): Likewise.
32431         * elf/Makefile (neededtest4-ENV): Likewise.
32432         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32433         [$(cross-compiling) = no]: Don't set LANGUAGE.
32434         * io/ftwtest-sh (LANG): Remove variable.
32435         * libio/Makefile (tst-widetext-ENV): Likewise.
32436         * manual/install.texi (Running make install): Don't refer to
32437         environment settings for make install.
32438         * INSTALL: Regenerated.
32439         * nptl/tst-tls6.sh: Don't set LANG.
32440         * posix/globtest.sh (LANG): Remove variable.
32441         * string/Makefile (tester-ENV): Likewise.
32442         (inl-tester-ENV): Likewise.
32443         (noinl-tester-ENV): Likewise.
32444         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32445         [$(cross-compiling) = no]: Don't set LANGUAGE.
32446         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
32447         without explicit environment settings.
32449 2014-06-06  Roland McGrath  <roland@hack.frob.com>
32451         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
32452         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
32453         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
32454         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
32456 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
32458         * crypt/crypt-private.h [DOS]: Add some includes taken from the
32459         other files in the crypt directory.
32460         * crypt/crypt.c: Remove duplicate includes.
32461         * crypt/crypt-entry.c: Likewise.
32462         * crypt/crypt_util.c: Likewise.
32464 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
32466         * Makeconfig (run-program-env): New variable.
32467         (run-program-prefix-before-env): Likewise.
32468         (run-program-prefix-after-env): Likewise.
32469         (run-program-prefix): Define in terms of new variables.
32470         (built-program-cmd-before-env): New variable.
32471         (built-program-cmd-after-env): Likewise.
32472         (built-program-cmd): Define in terms of new variables.
32473         (test-program-prefix-before-env): New variable.
32474         (test-program-prefix-after-env): Likewise.
32475         (test-program-prefix): Define in terms of new variables.
32476         (test-program-cmd-before-env): New variable.
32477         (test-program-cmd-after-env): Likewise.
32478         (test-program-cmd): Define in terms of new variables.
32479         * Rules (make-test-out): Use $(run-program-env).
32480         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
32481         (help): Do not mention environment variables.  Mention
32482         --timeoutfactor option.
32483         (timeoutfactor): New variable.
32484         (blacklist_exports): Remove function.
32485         (exports): Remove variable.
32486         (command): Do not include ${exports}.
32487         * manual/install.texi (Configuring and compiling): Do not mention
32488         test wrappers preserving environment variables.  Mention that last
32489         assignment to a variable must take precedence.
32490         * INSTALL: Regenerated.
32491         * benchtests/Makefile (run-bench): Use $(run-program-env).
32492         * catgets/Makefile ($(objpfx)test1.cat): Use
32493         $(built-program-cmd-before-env), $(run-program-env) and
32494         $(built-program-cmd-after-env).
32495         ($(objpfx)test2.cat): Do not specify environment variables
32496         explicitly.
32497         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
32498         $(run-program-env) and $(built-program-cmd-after-env).
32499         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
32500         $(run-program-env) and $(test-program-cmd-after-env).
32501         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
32502         explicitly.
32503         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
32504         run_program_env and test_program_cmd_after_env arguments.
32505         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
32506         * elf/tst-pathopt.sh: Use run_program_env argument.
32507         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
32508         $(test-wrapper-env) and $(run-program-env).
32509         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
32510         run_program_env arguments.
32511         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
32512         * intl/Makefile ($(objpfx)tst-gettext.out): Use
32513         $(test-program-prefix-before-env), $(run-program-env) and
32514         $(test-program-prefix-after-env).
32515         ($(objpfx)tst-gettext2.out): Likewise.
32516         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
32517         run_program_env and test_program_prefix_after_env arguments.
32518         * intl/tst-gettext2.sh: Likewise.
32519         * intl/tst-gettext4.sh: Do not set environment variables
32520         explicitly.
32521         * intl/tst-gettext6.sh: Likewise.
32522         * intl/tst-translit.sh: Likewise.
32523         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
32524         $(test-program-prefix-before-env), $(run-program-env) and
32525         $(test-program-prefix-after-env).
32526         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
32527         run_program_env and test_program_prefix_after_env arguments.
32528         * math/Makefile (run-regen-ulps): Use $(run-program-env).
32529         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
32530         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
32531         explicitly with each use of ${test_wrapper_env}.
32532         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
32533         $(test-program-prefix-before-env), $(run-program-env) and
32534         $(test-program-prefix-after-env).
32535         * posix/tst-getconf.sh: Do not set environment variables
32536         explicitly.
32537         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
32538         run_program_env and test_program_prefix_after_env arguments.
32539         * stdio-common/tst-printf.sh: Do not set environment variables
32540         explicitly.
32541         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
32542         $(test-program-prefix-before-env), $(run-program-env) and
32543         $(test-program-prefix-after-env).
32544         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
32545         run_program_env and test_program_prefix_after_env arguments.
32546         Split $test calls into $test_pre and $test.
32547         * timezone/Makefile (build-testdata): Use
32548         $(built-program-cmd-before-env), $(run-program-env) and
32549         $(built-program-cmd-after-env).
32551 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32553         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
32554         strlen for non SHARED builds.
32556 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32558         * nptl/allocatestack.c (check_list): Inlined function...
32559         (__reclaim_stacks): ... here.
32561 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32563         [BZ #15698]
32564         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32565         memory overrun.
32567 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
32569         * Rules (make-test-out): Include
32570         LOCPATH=$(common-objpfx)localedata in default environment.
32571         * debug/Makefile (tst-chk1-ENV): Remove variable.
32572         (tst-chk2-ENV): Likewise.
32573         (tst-chk3-ENV): Likewise.
32574         (tst-chk4-ENV): Likewise.
32575         (tst-chk5-ENV): Likewise.
32576         (tst-chk6-ENV): Likewise.
32577         (tst-lfschk1-ENV): Likewise.
32578         (tst-lfschk2-ENV): Likewise.
32579         (tst-lfschk3-ENV): Likewise.
32580         (tst-lfschk4-ENV): Likewise.
32581         (tst-lfschk5-ENV): Likewise.
32582         (tst-lfschk6-ENV): Likewise.
32583         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
32584         (tst-iconv7-ENV): Likewise.
32585         * intl/Makefile (LOCPATH-ENV): Likewise.
32586         (tst-codeset-ENV): Likewise.
32587         (tst-gettext3-ENV): Likewise.
32588         (tst-gettext5-ENV): Likewise.
32589         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32590         (tst-fopenloc-ENV): Likewise.
32591         (tst-fgetws-ENV): Remove variable.
32592         (tst-ungetwc1-ENV): Likewise.
32593         (tst-ungetwc2-ENV): Likewise.
32594         (bug-ungetwc2-ENV): Likewise.
32595         (tst-swscanf-ENV): Likewise.
32596         (bug-ftell-ENV): Likewise.
32597         (tst-fgetwc-ENV): Likewise.
32598         (tst-fseek-ENV): Likewise.
32599         (tst-ftell-partial-wide-ENV): Likewise.
32600         (tst-ftell-active-handler-ENV): Likewise.
32601         (tst-ftell-append-ENV): Likewise.
32602         * posix/Makefile (tst-fnmatch-ENV): Likewise.
32603         (tst-regexloc-ENV): Likewise.
32604         (bug-regex1-ENV): Likewise.
32605         (tst-regex-ENV): Likewise.
32606         (tst-regex2-ENV): Likewise.
32607         (bug-regex5-ENV): Likewise.
32608         (bug-regex6-ENV): Likewise.
32609         (bug-regex17-ENV): Likewise.
32610         (bug-regex18-ENV): Likewise.
32611         (bug-regex19-ENV): Likewise.
32612         (bug-regex20-ENV): Likewise.
32613         (bug-regex22-ENV): Likewise.
32614         (bug-regex23-ENV): Likewise.
32615         (bug-regex25-ENV): Likewise.
32616         (bug-regex26-ENV): Likewise.
32617         (bug-regex30-ENV): Likewise.
32618         (bug-regex32-ENV): Likewise.
32619         (bug-regex33-ENV): Likewise.
32620         (bug-regex34-ENV): Likewise.
32621         (bug-regex35-ENV): Likewise.
32622         (tst-rxspencer-ENV): Likewise.
32623         (tst-rxspencer-no-utf8-ENV): Likewise.
32624         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32625         (tst-sscanf-ENV): Likewise.
32626         (tst-swprintf-ENV): Likewise.
32627         (tst-swscanf-ENV): Likewise.
32628         (test-vfprintf-ENV): Likewise.
32629         (scanf13-ENV): Likewise.
32630         (bug14-ENV): Likewise.
32631         (tst-grouping-ENV): Likewise.
32632         * stdlib/Makefile (tst-strtod-ENV): Likewise.
32633         (tst-strtod3-ENV): Likewise.
32634         (tst-strtod4-ENV): Likewise.
32635         (tst-strtod5-ENV): Likewise.
32636         (testmb2-ENV): Likewise./
32637         * string/Makefile (tst-strxfrm-ENV): Likewise.
32638         (tst-strxfrm2-ENV): Likewise.
32639         (bug-strcoll1-ENV): Likewise.
32640         (test-strcasecmp-ENV): Likewise.
32641         (test-strncasecmp-ENV): Likewise.
32642         * time/Makefile (tst-strptime-ENV): Likewise.
32643         (tst-ftime_l-ENV): Likewise.
32644         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32645         (tst-mbrtowc-ENV): Likewise.
32646         (tst-wcrtomb-ENV): Likewise.
32647         (tst-mbrtowc2-ENV): Likewise.
32648         (tst-c16c32-1-ENV): Likewise.
32649         (tst-mbsnrtowcs-ENV): Likewise.
32651 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32653         * manual/resource.texi (How to get information about the memory
32654         subsystem?): Fix typo.
32655         Reported by Peon de la Parra Ivan <peon@keba.com>
32657 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
32659         [BZ #16882]
32660         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32661         (pthread_spin_lock): Branch out of spin loop to proper location.
32662         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32663         (pthread_spin_lock): Likewise.
32665         * nptl/tst-spin4.c: New test.
32666         * nptl/Makefile (tests): Add tst-spin4.
32668 2014-06-03  Andreas Schwab  <schwab@suse.de>
32670         [BZ #15946]
32671         * resolv/res_send.c (send_dg): Reload file descriptor after
32672         calling reopen.
32674 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
32676         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32678 2014-06-03  Richard Henderson  <rth@redhat.com>
32680         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32681         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32682         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32683         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
32684         in the SAVE_PID block.
32685         (__libc_vfork): New alias.
32686         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32688         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32689         child in registers, not on the stack.  Remove RESET_PID conditionals.
32690         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32692 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32694         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32696 2014-06-03  Wilco  <wdijkstr@arm.com>
32698         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32699         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32700         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32701         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32702         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32703         Likewise.
32705 2014-06-03  Wilco  <wdijkstr@arm.com>
32707         * sysdeps/aarch64/fpu/math_private.h
32708         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32709         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32710         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32711         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32712         Fix declarations.
32714 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32716         * crypt/crypt-private.h: Include ufc-crypt.h.
32717         (__b64_from_24bit): Declare extern.
32718         * crypt/crypt_util.c(__b64_from_24bit): New function.
32719         (b64t): New static const variable.
32720         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32721         (b64t): Remove variable.
32722         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32723         * crypt/sha256-crypt.c: Include crypt-private.h.
32724         (b64t): Remove variable.
32725         (__sha256_crypt_r): Remove b64_from_24bit and replace
32726         with __b64_from_24bit.
32727         * crypt/sha512-crypt.c: Likewise.
32729 2014-06-02  Roland McGrath  <roland@hack.frob.com>
32731         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32732         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32733         Label the code __libc_vfork rather than __vfork.
32734         [!NOT_IN_libc] (vfork): Define as weak alias.
32735         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32736         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32737         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32739 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32741         * malloc/malloc.c (malloc_info): Fix format specifier for
32742         n_mmaps.
32744 2014-06-02  Wilco  <wdijkstr@arm.com>
32746         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32747         FPCR write.
32749 2014-06-02  Wilco  <wdijkstr@arm.com>
32751         [BZ #17009]
32752         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32753         Rewrite to reduce FPCR/FPSR accesses.
32755 2014-06-01  David S. Miller  <davem@davemloft.net>
32757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32759 2014-05-31  David S. Miller  <davem@davemloft.net>
32761         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32762         to occur in round to nearest mode when |x| >= 2.0
32764 2014-05-30  Richard Henderson  <rth@twiddle.net>
32766         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32767         (PSEUDO_RET_NOERRNO): Remove.
32768         (ret): Don't redefine.
32769         (ret_NOERRNO): Define in terms of ret.
32770         (ret_ERRVAL): Likewise.
32772         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32773         use of PSEUDO_RET; perform the error check directly.
32775 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
32777         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32778         with __int128_t.
32780 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32782         * malloc/malloc (malloc_info): Fix formatting.
32784 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32785             Roland McGrath  <roland@hack.frob.com>
32787         * malloc/malloc (malloc_info): Also print mmapped statistics.
32789 2014-05-30  Roland McGrath  <roland@hack.frob.com>
32791         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32792         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32794 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
32796         * malloc/malloc.c (malloc_info): Inline mi_arena.
32798 2014-05-29  Richard Henderson  <rth@twiddle.net>
32800         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32801         Remove comma before expanding ASM_ARGS_##nr.
32802         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32803         Make _x0 a strict output; make _x8 a strict input; adjust expansion
32804         of ASM_ARGS_##nr.
32805         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32806         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32807         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32808         (ASM_ARGS_1): Add leading comma.
32810         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32811         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32812         to __errno_location.
32813         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32814         Remove the expected plt for __errno_location.
32816         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32817         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32818         call to __read_tp.
32820         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32821         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
32822         it and break it down.
32823         (DOCARGS_0, DOCARGS_1): Do nothing.
32824         (DOCARGS_2): Update to store into the new stack frame.
32825         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32826         (UNDOCARGS_1): Update to restore from the new stack frame.
32827         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32828         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32830         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32831         (SINGLE_THREAD_P): New parameter for result regno.
32832         (PSEUDO): Update to match; use cbz instead of beq.
32834         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32835         Use ENTRY to define the _nocancel entry point.  Share the syscall
32836         and syscall error check paths with the cancel path.
32837         (PSEUDO_END): New.
32839         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32840         whitespace; tabs before and after asm mnemonics.
32842 2014-05-29  Eric Wong  <normalperson@yhbt.net>
32844         [BZ #15132]
32845         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32846         Call fstat64 or stat64 internally, depending on arguments passed.
32847         Replace stat buffer argument with file descriptor argument.
32848         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32849         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32850         Pass fd to __internal_statvfs instead of calling fstat64.
32851         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32852         Pass fd to __internal_statvfs64 instead of calling fstat64.
32853         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32854         Pass -1 to __internal_statvfs instead of calling stat64.
32855         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32856         Pass -1 to __internal_statvfs64 instead of calling stat64.
32858 2014-05-28  Roland McGrath  <roland@hack.frob.com>
32860         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32861         that was previously under [RESET_PID].
32862         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32864         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32865         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32867 2014-05-27  Roland McGrath  <roland@hack.frob.com>
32869         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32871         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32872         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32874 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
32876         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32878 2014-05-27  Andreas Schwab  <schwab@suse.de>
32880         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32881         TLS_INIT_TP macro.
32882         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32883         * elf/rtld.c (init_tls, dl_main): Likewise.
32884         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32885         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32886         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32887         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32888         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32889         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32890         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32891         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32892         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32893         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32894         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32895         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32896         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32897         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32898         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32899         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32900         * sysdeps/generic/tls.h: Update description.
32902 2014-05-27  Will Newton  <will.newton@linaro.org>
32904         [BZ #16990]
32905         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32906         and restore r2 rather than just restoring.
32908 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32910         [BZ #16724]
32911         * libio/tst-ftell-append.c: New test case.
32912         * libio/Makefile (tests): Add test case.
32913         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32914         append mode.
32915         * libio/wfileops.c (do_ftell_wide): Likewise.
32917 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32921         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32922         ...
32923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32925         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32926         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32927         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32928         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32929         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32930         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32931         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32932         Moved ...
32933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32934         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32935         Moved ...
32936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32937         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32938         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32939         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32940         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32941         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32942         ...
32943         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32944         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32945         Moved ...
32946         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32947         here.
32948         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32949         ...
32950         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32951         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32952         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32954         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32955         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32956         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32957         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32959         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32960         merge into ...
32961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32962         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32963         ...
32964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32965         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32966         ...
32967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32968         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32969         Moved ...
32970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32971         here.
32972         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32973         Moved ...
32974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32975         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32976         Moved ...
32977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32980         conditional [RESET_PID].
32981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32982         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32983         removed.
32984         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32985         removed.
32987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32988         <tcb-offsets.h>.
32989         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32990         (__libc_vfork): New strong alias.
32991         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32992         removed.
32993         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32994         Removed.
32996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32997         <tcb-offsets.h>.
32998         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32999         (__libc_vfork): New strong alias.
33000         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
33001         removed.
33002         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
33003         removed.
33005 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
33007         * malloc/malloc.c (mi_arena): New function.
33008         (malloc_info): Remove nested function mi_arena. Call non-nosted
33009         function mi_arena.
33011 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33013         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
33014         by insrwi.
33015         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33016         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33017         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
33018         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
33019         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
33020         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
33021         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
33023 2014-05-26  Andreas Schwab  <schwab@suse.de>
33025         [BZ #16984]
33026         * locale/programs/repertoire.c (repertoire_read): Add slash
33027         between I18NPATH element and file name.
33028         * locale/programs/locfile.c (locfile_read): Likewise.
33030 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33032         * nptl/pthread_mutexattr_settype.c
33033         (__pthread_mutexattr_settype):
33034         Disable lock elision for PTHREAD_MUTEX_NORMAL.
33036 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33038         * nptl/tst-mutex5 (do_test):
33039         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
33041 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33043         * benchtests/README: Document 'init' directive.
33044         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
33045         BENCH_INIT.
33046         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
33047         (parse_file): Recognize 'init' directive.
33049 2014-05-26  Kyle McMartin  <kyle@redhat.com>
33051         [BZ #16796]
33052         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
33053         alignment of struct pthread.
33055 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33057         [BZ #16878]
33058         * nscd/netgroupcache.c (addgetnetgrentX): Look for
33059         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33060         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
33061         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33063 2014-05-25  Richard Henderson  <rth@twiddle.net>
33065         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33066         (SINGLE_THREAD_P_PIC): Remove.
33067         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
33068         (SINGLE_THREAD_P_PIC): Remove.
33070         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
33071         branch to syscall error ...
33072         (PSEUDO): ... here.
33073         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
33074         from __local_syscall_error to .Lsyscall_error.
33075         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
33076         (SYSCALL_ERROR): Update label name.
33078         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33079         Do not use DOARGS/UNDOARGS.
33080         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
33081         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
33082         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
33083         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
33084         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
33086         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
33087         block comment.
33089         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
33090         define if !NOT_IN_libc.
33091         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
33092         define with non-default symbol versions.
33094 2014-05-23  Richard Henderson  <rth@twiddle.net>
33096         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
33097         (vfork, __vfork): Define via compat_symbol.
33099         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
33100         [!HAVE_IFUNC] (vfork_compat): Remove.
33101         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
33103 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33105         [BZ #16978]
33106         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
33107         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
33108         variable.
33110 2014-05-23  Richard Henderson  <rth@twiddle.net>
33112         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
33113         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
33114         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
33115         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
33117         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
33118         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
33119         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
33120         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
33121         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
33122         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
33123         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
33124         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
33125         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
33126         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
33127         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
33128         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
33129         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
33130         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
33131         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
33132         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
33133         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
33134         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
33135         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
33136         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
33137         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
33138         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
33139         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
33140         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
33141         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
33142         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
33143         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
33144         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
33145         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
33146         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
33147         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
33148         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
33149         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
33150         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
33151         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
33152         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
33153         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
33154         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
33155         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
33156         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
33157         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
33158         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
33159         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
33160         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
33161         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
33162         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
33163         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
33164         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
33165         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
33166         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
33167         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
33168         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
33169         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
33170         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
33171         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
33172         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
33174         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
33175         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
33176         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
33177         before exiting on error.
33178         (__libc_vfork): New strong alias.
33179         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
33180         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
33182         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
33183         that was previously under [RESET_PID].
33184         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
33186         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
33188 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33190         [BZ #16977]
33191         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
33192         value when x - 1 is zero.
33193         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
33194         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
33195         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
33196         0.0L for an argument of 1.0L.
33197         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
33198         Likewise.
33199         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
33200         value when x - 1 is zero.
33201         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
33202         * sysdeps/i386/fpu/libm-test-ulps: Update.
33203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33205 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33207         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
33208         alphasort and versionsort.
33210 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33212         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
33213         macro.
33214         [copysignf]: Likewise.
33216 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33218         * crypt/md5-crypt.c: Fix formatting.
33220 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33222         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
33223         (b64_from_24bit): New function.
33225 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33227         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
33228         libc_hidden_builtin_def to ifunc.
33229         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33230         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
33232 2014-05-21  Roland McGrath  <roland@hack.frob.com>
33234         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
33235         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
33237 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
33239         * nscd/Depend (linuxthreads): Remove.
33240         (nptl): Add.
33241         * resolv/Depend (linuxthreads): Remove.
33242         * rt/Depend (linuxthreads): Remove.
33244         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
33245         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
33246         $(common-objpfx)elf/.
33247         (link-libc-before-gnulib): Likewise.
33248         (elfobjdir): Remove variable.
33249         * Makefile (install): Use $(elf-objpfx) instead of
33250         $(common-objpfx)elf/.
33251         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
33252         $(elfobjdir)/.
33253         (link-libc-deps): Likewise.
33254         ($(common-objpfx)libc.so): Likewise.
33255         ($(common-objpfx)linkobj/libc.so): Likewise.
33256         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
33257         instead of $(common-objpfx)elf/.
33258         (symbolic-link-list): Likewise.
33259         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33260         [$(cross-compiling) = no]: Likewise.
33261         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
33262         $(elfobjdir)/.
33263         (static-gnulib-arch): Likewise.
33264         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33265         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
33266         $(common-objpfx)elf/.
33268 2014-05-21  Richard Henderson  <rth@redhat.com>
33270         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33271         (SINGLE_THREAD_P): Use the correct width load.  Fold
33272         into the ldr offset.
33274         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
33275         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
33277 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
33279         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
33280         (libgcc_s_resume): Use __attribute_used__.
33281         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
33282         Likewise.
33284 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33286         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
33287         optimization when used with float constants.
33289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33291 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
33293         [BZ #16915]
33294         * locale/nl_langinfo_l.c: Make direct reference to every
33295         _nl_current_CATEGORY symbol.
33296         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
33297         (tests-static): Add tst-langinfo-static.
33298         (tests-special): Add tst-langinfo-static.out.
33299         ($(objpfx)tst-langinfo.out): Redirect output.
33300         ($(objpfx)tst-langinfo-static.out): New.
33301         * localedata/tst-langinfo.sh: Send output to stdout.
33302         * localedata/tst-langinfo-static.c: New file.
33304         [BZ #16965]
33305         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
33306         when the shift amount is modulo the limb size.
33308 2014-05-20  Richard Henderson  <rth@redhat.com>
33310         [BZ #16967]
33311         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
33312         Change type of sa_flags from unsigned int to int.
33314         [BZ #16966]
33315         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
33317         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
33319 2014-05-20  Will Newton  <will.newton@linaro.org>
33321         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33322         Test the return value of the system call in the nocancel case.
33324 2014-05-20  Will Newton  <will.newton@linaro.org>
33325             Yvan Roux  <yvan.roux@linaro.org>
33327         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
33328         #include of asm/ptrace.h.
33329         (PTRACE_GET_THREAD_AREA): Remove #undef.
33330         (PTRACE_GETHBPREGS): Likewise.
33331         (PTRACE_SETHBPREGS): Likewise.
33332         (struct user_regs_struct): New structure.
33333         (struct user_fpsimd_struct): New structure.
33334         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
33335         #include of asm/ptrace.h and second #include of sys/user.h.
33336         (PTRACE_GET_THREAD_AREA): Remove #undef.
33337         (PTRACE_GETHBPREGS): Likewise.
33338         (PTRACE_SETHBPREGS): Likewise.
33339         (ELF_NGREG): Use new struct user_regs_struct.
33340         (elf_fpregset_t): Use new struct user_fpsimd_struct.
33342 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33344         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
33345         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
33347 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
33349         [BZ #16958]
33350         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
33351         membar to avoid block loads/stores to overlap previous stores.
33353 2014-05-17  Richard Henderson  <rth@redhat.com>
33355         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
33356         Create the __##syscall_name##_nocancel entry point.
33357         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
33358         Remove; let the sysdep-cancel.h code create it.
33360 2014-05-17  David S. Miller  <davem@davemloft.net>
33362         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
33363         Protect with __USE_GNU.
33364         (TIOCSET_TEMPT): Likewise.
33365         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33366         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
33367         these are already provided in bits/ioctl-types.h
33369 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33371         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
33372         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
33374         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
33375         Use wait4 regardless of [__NR_waitpid].
33377 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33379         PR libgcc/60166
33380         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33381         (_FP_NANSIGN_Q): Set the quiet bit.
33383 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
33385         * benchtests/Makefile
33386         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
33387         not $(common-objpfx)math/libm.so.
33388         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
33389         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
33390         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
33391         $(common-objpfx)dlfcn/libdl.so.
33392         ($(objpfx)tst-audit8): Depend on $(libm), not
33393         $(common-objpfx)math/libm.so.
33394         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
33395         not $(common-objpfx)dlfcn/libdl.so.
33396         * math/Makefile
33397         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33398         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
33399         [$(build-shared) = yes].
33400         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
33401         $(common-objpfx)nptl/libpthread.so.
33402         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
33403         $(common-objpfx)math/libm.so$(libm.so-version) or
33404         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
33405         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
33406         $(common-objpfx)dlfcn/libdl.so.
33407         * setjmp/Makefile (link-libm): Remove variable.
33408         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
33409         * stdio-common/Makefile (link-libm): Remove variable.
33410         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
33411         * stdlib/Makefile (link-libm): Remove variable.
33412         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
33413         ($(objpfx)tst-strtod-round): Likewise.
33414         ($(objpfx)tst-tininess): Likewise.
33415         ($(objpfx)tst-strtod-underflow): Likewise.
33416         ($(objpfx)tst-strtod6): Likewise.
33417         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
33418         $(libdl), not $(common-objpfx)nptl/libpthread.so and
33419         $(common-objpfx)dlfcn/libdl.so.
33421 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33423         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
33424         BSD terminal modes definitions.
33426 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33428         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
33429         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
33431         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
33432         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
33433         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
33434         Don't do #include_next.
33435         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
33436         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
33437         Don't do #include_next.
33438         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
33439         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
33440         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
33441         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
33443 2014-05-16  Allan McRae  <allan@archlinux.org>
33445         * po/sv.po: Update Swedish translation from translation project.
33447         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
33448         in sed expression.
33450 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
33452         [BZ #16917]
33453         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
33454         errno if the TIOCGPTN ioctl fails with an error different than
33455         EINVAL.
33456         * login/tst-ptsname.c: New file.
33457         * login/Makefile (tests): Add tst-ptsname.
33459         [BZ #16943]
33460         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
33461         and prlimit64.
33463 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33465         [BZ #16849]
33466         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
33467         herrno to return EAI_AGAIN.
33469 2014-05-14  Roland McGrath  <roland@hack.frob.com>
33471         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
33472         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
33473         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
33474         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
33475         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
33476         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
33477         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
33478         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
33479         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
33480         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
33481         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
33482         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
33483         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
33484         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
33485         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
33486         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
33487         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
33488         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
33489         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
33490         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
33491         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
33492         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
33493         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
33494         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
33495         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
33496         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
33497         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
33498         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
33499         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
33500         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
33501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
33502         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
33503         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
33504         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
33505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33506         Moved ...
33507         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
33508         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
33509         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
33510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
33511         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
33512         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
33513         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
33514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
33515         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
33516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
33517         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
33518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
33519         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
33520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
33521         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
33522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
33523         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
33524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
33525         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
33526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
33527         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
33528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
33529         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
33530         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
33531         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
33532         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
33533         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
33534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33535         Moved ...
33536         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
33537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
33538         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
33539         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
33540         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
33541         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
33542         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
33543         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
33544         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
33545         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
33546         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
33547         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
33548         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
33549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
33550         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
33551         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
33552         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
33553         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
33554         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
33555         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33556         Moved ...
33557         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
33558         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
33559         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
33561         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
33562         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
33563         (libpthread-sysdep_routines): Add elision-related stuff here instead.
33564         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
33565         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
33566         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
33567         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
33568         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
33569         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
33570         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
33571         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
33572         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
33573         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
33574         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
33575         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
33576         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
33577         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
33578         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
33579         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
33580         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
33581         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
33582         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
33583         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
33584         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33585         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33586         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33587         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33588         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33589         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33590         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33591         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33593         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33594         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33596         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33597         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33598         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33599         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33600         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33601         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33602         Moved ...
33603         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33604         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33605         Moved ...
33606         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33607         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33608         Moved ...
33609         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33610         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33611         Moved ...
33612         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33613         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33614         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33615         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33616         Moved ...
33617         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33618         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33619         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33620         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33621         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33622         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33623         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33624         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33625         Moved ...
33626         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33627         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33628         Moved ...
33629         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33630         ... here.
33631         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33632         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33633         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33634         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33635         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33636         Moved ...
33637         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33638         ... here.
33639         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33640         Moved ...
33641         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33642         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33643         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33644         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33645         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33646         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33647         Moved ...
33648         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33649         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33650         Moved ...
33651         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33652         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33653         Moved ...
33654         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33655         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33656         Moved ...
33657         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33658         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33659         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33660         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33661         Moved ...
33662         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33663         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33664         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33665         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33666         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33667         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33668         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33669         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33670         Moved ...
33671         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33672         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33673         Moved ...
33674         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33675         ... here.
33676         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33677         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33678         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33679         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33680         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33681         Moved ...
33682         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33683         ... here.
33684         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33685         Moved ...
33686         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33687         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33688         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33689         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33690         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33691         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33692         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33693         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33694         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33695         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33696         Moved ...
33697         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33698         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33699         Moved ...
33700         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33701         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33702         Moved ...
33703         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33704         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33705         Moved ...
33706         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33707         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33708         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33709         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33710         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33711         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33712         Moved ...
33713         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33714         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33715         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33716         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33717         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33718         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33719         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33720         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33721         Moved ...
33722         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33723         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33724         Moved ...
33725         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33726         ... here.
33727         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33728         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33729         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33730         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33731         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33732         Moved ...
33733         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33734         ... here.
33735         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33736         Moved ...
33737         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33738         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33739         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33740         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33741         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33742         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33743         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33744         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33745         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33746         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33747         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33749         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33750         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33752         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33753         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33755         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33756         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33757         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33758         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33759         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33760         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33761         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33762         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33763         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33764         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33765         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33766         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33767         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33768         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33769         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33770         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33771         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33772         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33773         Moved ...
33774         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33775         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33776         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33777         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33778         Moved ...
33779         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33780         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33781         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33782         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33783         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33784         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33785         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33786         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33787         Moved ...
33788         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33789         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33790         Moved ...
33791         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33792         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33793         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33794         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33795         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33796         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33797         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33798         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33799         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33800         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33801         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33802         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33803         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33804         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33805         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33806         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33807         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33809         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33810         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33811         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33812         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33813         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33815         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33816         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33817         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33818         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33819         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33820         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33821         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33822         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33823         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33824         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33826         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33827         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33829         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33830         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33831         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33832         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33833         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33834         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33835         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33836         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33837         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33838         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33839         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33840         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33841         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33842         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33843         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33844         Update #include.
33845         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33846         Likewise.
33847         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33848         Likewise.
33849         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33850         Likewise.
33851         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33852         Likewise.
33853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33854         Likewise.
33855         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33856         Likewise.
33857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33858         Likewise.
33859         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33860         Likewise.
33861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33862         Likewise.
33863         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33864         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33865         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33866         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33867         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33868         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33869         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33870         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33871         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33872         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33873         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33874         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33875         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33876         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
33877         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
33879         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33880         that was previously under [RESET_PID].
33881         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33882         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33883         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33885         * sysdeps/i386/nptl/Implies: New file.
33886         * sysdeps/x86_64/nptl/Implies: New file.
33887         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33888         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33889         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33890         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33892         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33893         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33894         (__libc_vfork): New strong alias.
33895         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33896         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33898         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33899         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33900         (__libc_vfork): New strong alias.
33901         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33902         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33904         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33905         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33906         (__libc_vfork): New strong alias.
33907         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33908         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33909         * nptl/pt-vfork.c: New file.
33910         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33911         (libpthread: GLIBC_2.20): New version set (empty).
33913 2014-05-14  Will Newton  <will.newton@linaro.org>
33915         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33916         rather than #if.
33918 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33920         [BZ #16564]
33921         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33922         arguments with exponent 65 or above.
33923         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33924         arguments 0x1p113L or above.
33925         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33926         to arguments 0x1p107L or above.
33927         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33928         positive arguments with exponent 65 or above.
33929         * math/auto-libm-test-in: Add more tests of log1p.
33930         * math/auto-libm-test-out: Regenerated.
33932         [BZ #16928]
33933         * math/s_cacos.c (__cacos): Ensure zero real part of result from
33934         non-finite arguments is +0.
33935         * math/s_cacosf.c (__cacosf): Likewise.
33936         * math/s_cacosl.c (__cacosl): Likewise.
33937         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33938         * sysdeps/i386/fpu/libm-test-ulps: Update.
33939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33941         [BZ #16927]
33942         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33943         value.
33944         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33945         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33946         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33947         for explicit high bit of mantissa when testing for argument equal
33948         to 1.
33949         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33950         * sysdeps/i386/fpu/libm-test-ulps: Update.
33951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33953         [BZ #16516]
33954         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33955         (__erf): Scale by 16 instead of 8 in potentially underflowing
33956         case.  Ensure exception if result actually underflows.
33957         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33958         (__erff): Scale by 16 instead of 8 in potentially underflowing
33959         case.  Ensure exception if result actually underflows.
33960         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33961         (efx8): Remove variable.
33962         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33963         case.  Ensure exception if result actually underflows.
33964         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33965         (efx8): Remove variable.
33966         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33967         case.  Ensure exception if result actually underflows.
33968         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33969         (efx8): Remove variable.
33970         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33971         case.  Ensure exception if result actually underflows.
33972         * math/auto-libm-test-in: Add more tests of erf.
33973         * math/auto-libm-test-out: Regenerated.
33975 2014-05-14  Andreas Schwab  <schwab@suse.de>
33977         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33978         Remove code conditionalized on USE___THREAD.
33980         * config.h.in (HAVE_PT_CHOWN): Define as 0.
33981         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33982         not definedness.
33984 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33986         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33987         Define unconditionally.
33988         (__ASSUME_O_CLOEXEC): Likewise.
33989         (__ASSUME_SOCK_CLOEXEC): Likewise.
33990         (__ASSUME_IN_NONBLOCK): Likewise.
33991         (__ASSUME_PIPE2): Likewise.
33992         (__ASSUME_EVENTFD2): Likewise.
33993         (__ASSUME_SIGNALFD4): Likewise.
33994         (__ASSUME_DUP3): Likewise.
33995         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33996         (__ASSUME_DUP3): Do not define.
33997         (__ASSUME_EVENTFD2): Likewise.
33998         (__ASSUME_IN_NONBLOCK): Likewise.
33999         (__ASSUME_O_CLOEXEC): Likewise.
34000         (__ASSUME_PIPE2): Likewise.
34001         (__ASSUME_SIGNALFD4): Likewise.
34002         (__ASSUME_SOCK_CLOEXEC): Likewise.
34003         (__ASSUME_UTIMES): Undefine.
34004         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34005         (__ASSUME_UTIMES): Do not define.
34006         (__ASSUME_O_CLOEXEC): Likewise.
34007         (__ASSUME_SOCK_CLOEXEC): Likewise.
34008         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
34009         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
34010         0x020621].
34011         (__ASSUME_PIPE2): Likewise.
34012         (__ASSUME_EVENTFD2): Likewise.
34013         (__ASSUME_SIGNALFD4): Likewise.
34014         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
34015         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
34016         Do not define.
34017         (__ASSUME_EVENTFD2): Likewise.
34018         (__ASSUME_SIGNALFD4): Likewise.
34019         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34020         (__ASSUME_32BITUIDS): Likewise.
34021         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34022         (__ASSUME_IPC64): Likewise.
34023         (__ASSUME_ST_INO_64_BIT): Likewise.
34024         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
34025         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
34026         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34027         (__ASSUME_UTIMES): Do not define.
34028         (__ASSUME_PSELECT): Likewise.
34029         (__ASSUME_PPOLL): Likewise.
34030         (__ASSUME_O_CLOEXEC): Likewise.
34031         (__ASSUME_SOCK_CLOEXEC): Likewise.
34032         (__ASSUME_IN_NONBLOCK): Likewise.
34033         (__ASSUME_PIPE2): Likewise.
34034         (__ASSUME_EVENTFD2): Likewise.
34035         (__ASSUME_SIGNALFD4): Likewise.
34036         (__ASSUME_DUP3): Likewise.
34037         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34038         (__ASSUME_UTIMES): Likewise.
34039         (__ASSUME_O_CLOEXEC): Likewise.
34040         (__ASSUME_SOCK_CLOEXEC): Likewise.
34041         (__ASSUME_IN_NONBLOCK): Likewise.
34042         (__ASSUME_PIPE2): Likewise.
34043         (__ASSUME_EVENTFD2): Likewise.
34044         (__ASSUME_SIGNALFD4): Likewise.
34045         (__ASSUME_DUP3): Likewise.
34046         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34047         (__ASSUME_UTIMES): Likewise.
34048         (__ASSUME_O_CLOEXEC): Likewise.
34049         (__ASSUME_SOCK_CLOEXEC): Likewise.
34050         (__ASSUME_IN_NONBLOCK): Likewise.
34051         (__ASSUME_PIPE2): Likewise.
34052         (__ASSUME_EVENTFD2): Likewise.
34053         (__ASSUME_SIGNALFD4): Likewise.
34054         (__ASSUME_DUP3): Likewise.
34055         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
34056         Likewise.
34057         (__ASSUME_UTIMES): Likewise.
34058         (__ASSUME_EVENTFD2): Likewise.
34059         (__ASSUME_SIGNALFD4): Likewise.
34060         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34061         (__ASSUME_O_CLOEXEC): Likewise.
34062         (__ASSUME_SOCK_CLOEXEC): Likewise.
34063         (__ASSUME_IN_NONBLOCK): Likewise.
34064         (__ASSUME_PIPE2): Likewise.
34065         (__ASSUME_EVENTFD2): Likewise.
34066         (__ASSUME_SIGNALFD4): Likewise.
34067         (__ASSUME_DUP3): Likewise.
34068         (__ASSUME_UTIMES): Undefine.
34070         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
34071         feclearexcept.  Remove symbol versioning code.
34072         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
34073         symbol versioning code.
34074         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
34075         symbol versioning code.
34076         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
34077         feupdateenv.  Remove symbol versioning code.
34078         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
34079         fegetexceptflag.  Remove symbol versioning code.
34080         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
34081         fesetexceptflag.  Remove symbol versioning code.
34082         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
34083         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
34084         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
34085         (__posix_fadvise64_l32): Remove prototype.
34086         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
34087         code.
34089 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34091         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
34092         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
34093         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
34094         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
34096 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
34098         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
34099         current working directory
34101 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34103         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
34104         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
34105         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
34106         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
34107         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
34108         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
34109         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
34110         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
34111         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
34112         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
34113         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
34114         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
34115         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
34116         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
34117         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
34118         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
34119         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
34120         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
34121         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
34122         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
34123         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
34124         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
34125         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
34126         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
34127         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
34128         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
34129         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
34130         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
34131         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
34132         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
34133         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
34134         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
34135         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
34136         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
34137         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
34138         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
34139         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
34140         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
34141         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
34142         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
34143         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
34144         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
34146         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
34147         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
34149         * sysdeps/unix/sysv/linux/arm/Makefile
34150         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34151         Add rt-aeabi_unwind_cpp_pr1.
34152         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
34153         Add nptl-aeabi_unwind_cpp_pr1.
34154         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
34155         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
34156         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
34157         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34158         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
34159         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34161         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
34162         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
34163         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
34164         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
34166         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
34167         Deconditionalize the code that was previously under [RESET_PID].
34168         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
34170         * sysdeps/generic/exit-thread.h: New file.
34171         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
34172         * include/unistd.h (__exit_thread): Remove declaration.
34173         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
34174         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
34175         * csu/libc-start.c: Include <exit-thread.h>.
34176         (LIBC_START_MAIN): Pass no argument to __exit_thread.
34177         * nptl/pthread_create.c: Include <exit-thread.h>.
34178         (start_thread): Call __exit_thread in place of __exit_thread_inline.
34179         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
34180         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
34181         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
34182         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
34183         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
34184         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
34185         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
34186         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
34187         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
34188         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
34189         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
34190         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
34191         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
34192         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
34193         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
34194         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
34196 2014-05-13  Andreas Schwab  <schwab@suse.de>
34198         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
34200 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
34202         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34203         (__ASSUME_UTIMES): Do not condition on kernel version.
34204         (__ASSUME_PSELECT): Define unconditionally.
34205         (__ASSUME_PPOLL): Likewise.
34206         (__ASSUME_ATFCTS): Likewise.
34207         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
34208         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
34209         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
34210         (__ASSUME_UTIMENSAT): Define unconditionally.
34211         (__ASSUME_PRIVATE_FUTEX): Likewise.
34212         (__ASSUME_FALLOCATE): Likewise.
34213         (__ASSUME_O_CLOEXEC): Likewise.
34214         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
34215         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
34216         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
34217         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
34218         (__ASSUME_IN_NONBLOCK): Likewise.
34219         (__ASSUME_PIPE2): Likewise.
34220         (__ASSUME_EVENTFD2): Likewise.
34221         (__ASSUME_SIGNALFD4): Likewise.
34222         (__ASSUME_DUP3): Likewise.
34223         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34224         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
34225         (__ASSUME_AT_RANDOM): Likewise.
34226         (__ASSUME_PREADV): Likewise.
34227         (__ASSUME_PWRITEV): Likewise.
34228         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
34229         (__ASSUME_F_GETOWN_EX): Define unconditionally.
34230         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
34231         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34232         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
34233         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34234         (__ASSUME_O_CLOEXEC): Define unconditionally.
34235         (__ASSUME_PSELECT): Do not undefine conditionally.
34236         (__ASSUME_PPOLL): Likewise.
34237         (__ASSUME_ATFCTS): Likewise.
34238         (__ASSUME_SET_ROBUST_LIST): Likewise.
34239         (__ASSUME_UTIMENSAT): Likewise.
34240         (__ASSUME_FDATASYNC): Define unconditionally.
34241         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34242         (__ASSUME_SIGFRAME_V2): Likewise.
34243         )__ASSUME_EVENTFD2): Likewise.
34244         (__ASSUME_SIGNALFD4): Likewise.
34245         (__ASSUME_PSELECT): Do not undefine conditionally.
34246         (__ASSUME_PPOLL): Likewise.
34247         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34248         (__ASSUME_PSELECT): Define unconditionally.
34249         (__ASSUME_PPOLL): Likewise.
34250         (__ASSUME_O_CLOEXEC): Likewise.
34251         (__ASSUME_SOCK_CLOEXEC): Likewise.
34252         (__ASSUME_IN_NONBLOCK): Likewise.
34253         (__ASSUME_PIPE2): Likewise.
34254         (__ASSUME_EVENTFD2): Likewise.
34255         (__ASSUME_SIGNALFD4): Likewise.
34256         (__ASSUME_DUP3): Likewise.
34257         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34258         (__ASSUME_O_CLOEXEC): Likewise.
34259         (__ASSUME_SOCK_CLOEXEC): Likewise.
34260         (__ASSUME_IN_NONBLOCK): Likewise.
34261         (__ASSUME_PIPE2): Likewise.
34262         (__ASSUME_EVENTFD2): Likewise.
34263         (__ASSUME_SIGNALFD4): Likewise.
34264         (__ASSUME_DUP3): Likewise.
34265         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34266         (__ASSUME_EVENTFD2): Likewise.
34267         (__ASSUME_SIGNALFD4): Likewise.
34268         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34270 2014-05-12  Andreas Schwab  <schwab@suse.de>
34272         [BZ #16932]
34273         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
34274         (_nss_nis_gethostbyname4_r): Return error if item length is larger
34275         than maximum RPC packet size.
34276         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
34277         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
34278         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
34279         (_nss_nis_getservbyport_r): Likewise.
34281 2014-05-12  Will Newton  <will.newton@linaro.org>
34283         * malloc/Makefile (tests): Add tst-mallopt.
34284         * malloc/tst-mallopt.c: New file.
34286 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34288         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
34289         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
34291 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34293         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
34294         (tst-tlsmod6.so): Likewise.
34296 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34298         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
34300 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
34302         [BZ #16064]
34303         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
34304         and <dl-procinfo.h>.
34305         (__fegetenv): Save SSE state in envp->__eip if supported.
34306         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
34307         envp->__eip if supported.
34308         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
34309         and <dl-procinfo.h>.
34310         (__fesetenv): Always set __eip, __cs_selector, __opcode,
34311         __data_offset and __data_selector in environment to 0.  Set SSE
34312         state if supported.
34313         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
34314         test-fenv-sse.
34315         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
34316         -mfpmath=sse.
34317         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
34319 2014-05-09  Will Newton  <will.newton@linaro.org>
34321         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
34322         and libc_relro_required for ARM.
34323         * sysdeps/arm/preconfigure: Regenerate.
34325 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
34326             Stefan Liebler  <stli@linux.vnet.ibm.com>
34328         * config.make.in (enable-lock-elision): New Makefile variable.
34329         * configure.ac: Likewise.
34330         * configure: Regenerate.
34331         * sysdeps/s390/configure.ac:
34332         Add check for gcc transactions support.
34333         * sysdeps/s390/configure: Regenerate.
34334         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
34335         Build elision files if enabled.
34336         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
34337         Add lock elision support for s390.
34338         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
34339         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
34340         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
34341         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
34342         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
34343         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
34344         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34345         Likewise.
34346         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
34347         Likewise.
34348         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
34349         Likewise.
34350         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
34351         Likewise.
34352         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
34353         (__lll_timedlock_elision, __lll_lock_elision)
34354         (__lll_unlock_elision, __lll_trylock_elision)
34355         (lll_timedlock_elision, lll_lock_elision)
34356         (lll_unlock_elision, lll_trylock_elision): Add.
34357         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34358         (pthread_mutex_t): Add lock elision support for s390.
34360 2014-05-14  Wilco  <wdijkstr@arm.com>
34362         * sysdeps/arm/fclrexcpt.c: Cleanup.
34363         * sysdeps/arm/fedisblxcpt.c: Cleanup.
34364         * sysdeps/arm/feenablxcpt.c: Cleanup.
34365         * sysdeps/arm/fegetenv.c: Cleanup.
34366         * sysdeps/arm/fegetexcept.c: Cleanup.
34367         * sysdeps/arm/fegetround.c: Cleanup.
34368         * sysdeps/arm/feholdexcpt.c: Cleanup.
34369         * sysdeps/arm/fesetenv.c: Cleanup.
34370         * sysdeps/arm/fesetround.c: Cleanup.
34371         * sysdeps/arm/feupdateenv.c: Cleanup.
34372         * sysdeps/arm/fgetexcptflg.c: Cleanup.
34373         * sysdeps/arm/fraiseexcpt.c: Cleanup.
34374         * sysdeps/arm/fsetexcptflg.c: Cleanup.
34375         * sysdeps/arm/ftestexcept.c: Cleanup.
34376         * sysdeps/arm/get-rounding-mode.h: Cleanup.
34377         * sysdeps/arm/setfpucw.c: Cleanup.
34379 2014-05-09  Will Newton  <will.newton@linaro.org>
34381         * sysdeps/arm/armv7/strcmp.S: New file.
34382         * NEWS: Mention addition of ARMv7 optimized strcmp.
34384 2014-05-08  Roland McGrath  <roland@hack.frob.com>
34386         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
34387         look for %.ac rather than %.in.
34389         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
34390         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
34391         * sysdeps/mach/hurd/configure: Regenerated.
34392         * sysdeps/unix/sysv/linux/configure: Regenerated.
34394         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
34396 2014-05-07  Steve Ellcey  <sellcey@mips.com>
34398         [BZ# 16922]
34399         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
34400         (LONG_SUB): Ditto.
34401         (PTR_SUB): Ditto.
34403 2014-05-07  Andreas Schwab  <schwab@suse.de>
34405         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
34406         when skipping over non-matching result from nscd.
34408 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
34410         [BZ #16876]
34411         * nptl/sockperf.c (client): Check socket return value.
34413         [BZ #16877]
34414         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
34415         nscd security class.
34417 2014-05-06  Roland McGrath  <roland@hack.frob.com>
34419         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
34420         * sysdeps/arm/unwind.h: ... here.
34422 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
34424         [BZ# 16916]
34425         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
34426         Define.
34428 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34430         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
34431         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
34432         multiarch strncpy for PPC64.
34433         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
34434         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
34435         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
34436         multiarch optimizations.
34437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34438         (__libc_ifunc_impl_list): Likewise.
34439         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
34440         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
34441         multiarch stpncpy for PPC64.
34442         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
34443         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
34445 2014-05-06  Andreas Schwab  <schwab@suse.de>
34447         [BZ #16912]
34448         * gmon/mcount.c (_MCOUNT_DECL): Use
34449         atomic_compare_and_exchange_bool_acq instead of
34450         catomic_compare_and_exchange_bool_acq.
34452 2014-05-05  Roland McGrath  <roland@hack.frob.com>
34454         * elf/Makefile (others, install-bin): Remove pldd.
34455         (pldd-modules): Variable removed.
34456         ($(objpfx)pldd): Target removed.
34457         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
34458         (others, install-bin): Append pldd here.
34459         ($(objpfx)pldd): New target.
34461         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
34462         to 0, so the first #if test emitted later doesn't see it undefined.
34463         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
34464         * sysdeps/gnu/errlist.c: Regenerated.
34466 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34468         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34469         [libc_hidden_builtin_def]: Define to empty value.
34470         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
34471         [libc_hidden_builtin_def]: Likewise.
34472         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
34473         [libc_hidden_builtin_def]: Likewise.
34474         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
34475         [libc_hidden_builtin_def]: Likewise.
34476         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
34477         __redirect_memcpy and define ifunc as default hidden symbol.
34478         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
34479         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
34481 2014-05-04  Adam Conrad  <adconrad@0c3.net>
34483         * locale/iso-4217.def: Reintroduce XDR currency.
34485 2014-05-04  Allan McRae  <allan@archlinux.org>
34487         * po/eo.po: Update Esperanto translation from translation project.
34489 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
34491         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
34492         and FEATURE_INDEX_MAX to 1.
34493         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
34495 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34497         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
34498         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
34499         * iconvdata/big5.c (ONE_DIRECTION): Define.
34500         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
34501         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
34502         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
34503         * iconvdata/cp932.c (ONE_DIRECTION): Define.
34504         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
34505         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
34506         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
34507         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
34508         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
34509         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
34510         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
34511         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
34512         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
34513         * iconvdata/gbk.c (ONE_DIRECTION): Define.
34514         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
34515         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
34516         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
34517         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
34518         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
34519         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
34520         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
34521         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
34522         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
34523         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
34524         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
34525         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
34526         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
34527         * iconvdata/iso646.c (ONE_DIRECTION): Define.
34528         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
34529         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
34530         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
34531         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
34532         * iconvdata/johab.c (ONE_DIRECTION): Define.
34533         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
34534         * iconvdata/sjis.c (ONE_DIRECTION): Define.
34535         * iconvdata/t.61.c (ONE_DIRECTION): Define.
34536         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
34537         * iconvdata/tscii.c (ONE_DIRECTION): Define.
34538         * iconvdata/uhc.c (ONE_DIRECTION): Define.
34539         * iconvdata/unicode.c (ONE_DIRECTION): Define.
34540         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
34541         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
34542         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
34544 2014-05-01  Roland McGrath  <roland@hack.frob.com>
34546         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
34547         (_IO_JUMPS_OFFSET): Define to 0.
34549         * nptl/sysdeps/pthread/bits/libc-lock.h
34550         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34551         (__libc_lock_define_initialized_recursive): Always define using
34552         initializer.  Modern compilers treat uninitialized (implicit zero) and
34553         explicit zero initializers the same (i.e. put the datum in bss).
34555 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34557         * nscd/nscd-client.h: Include <string.h>.
34559 2014-05-01  David S. Miller  <davem@davemloft.net>
34561         [BZ #16885]
34562         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
34563         multiple zero bytes exist at the end of a string.
34564         Reported by Aurelien Jarno <aurelien@aurel32.net>
34566         * string/test-strcmp.c (check): Add explicit test for situations where
34567         there are multiple zero bytes after the first.
34569 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34571         [BZ #16890]
34572         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
34573         when compiling wprintf.
34574         * stdio-common/tstdiomisc.c (t3): New function.
34575         (main): Call it.
34577 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34579         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
34580         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
34581         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
34582         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
34584 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34586         * stdlib/longlong.h: Updated from GCC.
34588 2014-05-01  Will Newton  <will.newton@linaro.org>
34589             Bernard Ogden  <bernie.ogden@linaro.org>
34591         * NEWS: Update fixed bug list.
34593         [BZ #15119]
34594         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34596 2014-04-30  David S. Miller  <davem@davemloft.net>
34598         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34599         (libc_feholdexcept_setround_sparc_ctx): New function.
34600         (libc_fesetenv_sparc_ctx): Likewise.
34601         (libc_feupdateenv_sparc_ctx): Likewise.
34602         (libc_feholdsetround_sparc_ctx): Likewise.
34603         (libc_feholdexcept_setround_ctx): Define.
34604         (libc_feholdexcept_setroundf_ctx): Likewise.
34605         (libc_feholdexcept_setroundl_ctx): Likewise.
34606         (libc_fesetenv_ctx): Likewise.
34607         (libc_fesetenvf_ctx): Likewise.
34608         (libc_fesetenvl_ctx): Likewise.
34609         (libc_feupdateenv_ctx): Likewise.
34610         (libc_feupdateenvf_ctx): Likewise.
34611         (libc_feupdateenvl_ctx): Likewise.
34612         (libc_feresetround_ctx): Likewise.
34613         (libc_feresetroundf_ctx): Likewise.
34614         (libc_feresetroundl_ctx): Likewise.
34615         (libc_feholdsetround_ctx): Likewise.
34616         (libc_feholdsetroundf_ctx): Likewise.
34617         (libc_feholdsetroundl_ctx): Likewise.
34619         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34620         with __USE_GNU instead of XOPEN cpp guards.
34622         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34623         0.
34625         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34626         with XOPEN cpp guards.
34628 2014-04-30  Julian Brown  <julian@codesourcery.com>
34630         [BZ #16888]
34631         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34632         handling.
34634 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
34636         [BZ #9894]
34637         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34638         Change to 2.6.32.
34639         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34640         * sysdeps/unix/sysv/linux/configure: Regenerated.
34641         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34642         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34643         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34644         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34645         * README: Update reference to required Linux kernel version.
34646         * manual/install.texi (Linux): Update reference to required Linux
34647         kernel headers version.
34648         * INSTALL: Regenerated.
34650         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34651         header inclusion.
34652         [POSIX] (limits.h): Likewise.
34653         [POSIX] (math.h): Likewise.
34654         [POSIX] (sys/wait.h): Likewise.
34655         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34656         function.
34657         [POSIX] (stddef.h): Do not allow header inclusion.
34659 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34661         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34663 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
34665         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34666         Return immediately after lll_futex_wake.
34668 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34670         [BZ #16791]
34671         * nscd/nscd-client.h (datahead_init_common): Initialize entire
34672         structure.
34673         (datahead_init_pos): Call datahead_init_common early.
34674         (datahead_init_neg): Likewise.
34676         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34677         datahead_init_neg): New functions.
34678         * nscd/aicache.c (addhstaiX): Use them.
34679         * nscd/grpcache.c (cache_addgr): Likewise.
34680         * nscd/hstcache.c (cache_addhst): Likewise.
34681         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34682         * nscd/netgroupcache.c (do_notfound): Likewise.
34683         (addgetnetgrentX): Likewise.
34684         (addinnetgrX): Likewise.
34685         * nscd/pwdcache.c (cache_addpw): Likewise.
34686         * nscd/servicescache.c (cache_addserv): Likewise.
34688 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34689             Atsushi Onoe  <atsushi@onoe.org>
34691         [BZ #14308]
34692         [BZ #12994]
34693         [BZ #13651]
34694         * resolv/res_query.c (__libc_res_nsearch): Return if at least
34695         one response is valid.
34696         * resolv/res_send.c (send_dg): Check for validity of other
34697         response if the current response is a referral.
34699 2014-04-29  Steve Ellcey  <sellcey@mips.com>
34701         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34703 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
34705         [BZ #16823]
34706         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34707         Always divide by positive zero when computing -Inf result.
34708         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34709         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34711 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34713         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34714         FPSCR if value do not change.
34715         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34716         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34717         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34718         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34719         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34720         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34721         function.
34723 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
34725         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34726         * sysdeps/unix/sysv/linux/hppa: Move directory from
34727         ports/systeps/unix/sysv/linux/hppa.
34728         * README: Update listing for hppa-*-linux-gnu.
34730 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
34732         [BZ #16754]
34733         * manual/stdio.texi (Hook functions): Fix types of stream hook
34734         functions.
34735         [BZ #16854]
34736         * socket/sys/socket.h: Fix typo in comment.
34738 2014-04-28  Wilco  <wdijkstr@arm.com>
34740         * sysdeps/arm/fenv_private.h: New file.
34741         * sysdeps/arm/math_private.h: New file.
34742         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34744 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
34746         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34747         with __int128_t.
34748         (La_x86_64_retval): Likewise.
34750 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
34752         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34753         fpsr if value didn't change.
34754         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34755         to fpcr if value didn't change.
34756         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34757         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34758         fpsr or fpcr if value didn't change.
34759         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34760         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34761         fpcr if value didn't change.
34762         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34763         to fpsr if value didn't change.
34765 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34767         * nptl/tst-sem3.c: Use test-skeleton.c
34768         (main): Rename to do_test.  Use return instead of
34769         exit.
34770         * nptl/tst-sem4.c: Use test-skeleton.c
34771         (main): Rename to do_test.
34773 2014-04-22  David S. Miller  <davem@davemloft.net>
34775         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34776         (struct sigaction): New struct member __glibc_reserved0, change
34777         type of sa_flags to int.
34779 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
34781         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34782         (COUNT_LEADING_ZEROS_0): Define for AArch64.
34784 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34786         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34787         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34789 2014-04-22  Will Newton  <will.newton@linaro.org>
34790             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
34792         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34793         (__longjmp): Add longjmp and longjmp_target SystemTap
34794         probes.
34795         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34796         (__sigsetjmp): Add setjmp SystemTap probe.
34798 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
34800         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34801         match manual order.
34803 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34805         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34807         * sysdeps/powerpc/fpu/fenv_private.h
34808         (libc_feholdexcept_setroundl_ctx): Define to
34809         libc_feholdexcept_setround_ppc_ctx.
34810         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34811         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34812         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34813         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34815 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34817         * sysdeps/aarch64/math-tests.h: New file.
34819 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
34821         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34822         New.
34823         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34824         Check and set bit_AVX2_Usable.
34825         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34826         macro.
34827         (bit_AVX2): Likewise.
34828         (index_AVX2_Usable): Likewise.
34829         (CPUID_AVX2): Likewise.
34830         (HAS_AVX2): Likewise.
34832 2014-04-17  Will Newton  <will.newton@linaro.org>
34834         * manual/setjmp.texi (System V contexts): Add note that
34835         calling setcontext on a context created by a call to a
34836         signal handler is undefined.  Update text to note that
34837         setcontext from a signal handler is possible but not
34838         recommended.
34840         [BZ #16629]
34841         * stdlib/tst-setcontext.c: Include signal.h.
34842         (main): Check that the signal stack before and
34843         after swapcontext is the same.
34845         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34846         Re-implement to restore registers in user code and avoid
34847         rt_sigreturn system call.
34849 2014-04-17  Wilco  <wdijkstr@arm.com>
34851         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34852         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34853         * math/test-fenv.c: Skip exception trap tests on targets which only
34854         support non-stop mode.
34856 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34857             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34859         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34860         (libc_feholdsetround_aarch64_ctx)
34861         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34862         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34863         (libc_feresetround_ctx, libc_feresetroundf_ctx)
34864         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34865         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34866         (libc_feresetround_noexl_ctx): Define.
34868 2014-04-16  Richard Henderson  <rth@redhat.com>
34870         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34872         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34873         unwind tables.
34875         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34876         const from the non-libc, non-ldso copy.
34878         * sysdeps/alpha/libm-test-ulps: Regenerate.
34880 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
34881             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34883         * sysdeps/aarch64/fpu/math_private.h: New file.
34885 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34887         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34889 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
34891         [BZ #16275]
34892         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34893         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34894         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34895         Intel MPX bound registers before _dl_profile_fixup.
34896         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34897         registers after _dl_profile_fixup.  Save and restore bound
34898         registers bnd0/bnd1 when calling _dl_call_pltexit.
34899         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34900         (LR_BND_OFFSET): Likewise.
34901         (LRV_BND0_OFFSET): Likewise.
34902         (LRV_BND1_OFFSET): Likewise.
34904 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34906         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34907         to...
34908         * sysdeps/mach/hurd/i386/tls.h: ... here.
34909         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34910         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34911         fields.
34913 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34915         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34917 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34919         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34921 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34923         [BZ #14770]
34924         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34925         * sysdeps/s390/configure: Regenerate.
34927         [BZ #16824]
34928         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34929         Set round-to-nearest internally to reduce error accumulation.
34931 2014-04-16  Alan Modra  <amodra@gmail.com>
34933         [BZ #16740]
34934         [BZ #16619]
34935         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34936         * math/libm-test.inc (frexp_test_data): Add tests.
34937         * NEWS: Update fixed bug list.
34939 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34941         * benchtests/Makefile: Depend on libraries in build directory.
34942         (bench-math): Separate out math tests.
34943         (bench-pthread): Separate out pthread tests.
34944         (bench): Include math and pthread tests.
34946 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
34948         [BZ #16831]
34949         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34950         _dl_debug_initialize.
34952         * configure.ac: Remove SELinux header check.
34953         * configure: Regenerate.
34954         * nscd/selinux.c (perms): Array of const char* to permission names.
34955         (nscd_request_avc_has_perm): Call security_deny_unknown to find
34956         default policy. Call string_to_security_class and string_to_av_perm to
34957         translate strings. Enforce default policy and call avs_has_perm with
34958         results of translated strings.
34960 2014-04-13  David S. Miller  <davem@davemloft.net>
34962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34964 2014-04-12  Allan McRae  <allan@archlinux.org>
34966         [BZ #16838]
34967         * manual/string.texi (Collation Functions): Fix qsort argument
34968         order in example.
34969         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34971 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
34973         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34974         Make the test a no-op if there are no exceptions defined.
34976 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34978         * elf/Makefile (tests): make tst-dlopen-aout conditional on
34979         enable-hardcoded-path-in-tests
34981 2014-04-11  Will Newton  <will.newton@linaro.org>
34983         * benchtests/Makefile (extra-objs): Add json-lib.o.
34984         (bench-func): Tidy up JSON output.
34985         * benchtests/bench-skeleton.c: Include json-lib.h.
34986         (main): Use JSON library functions to do output of
34987         benchmark results.
34988         * benchtests/bench-timing-type.c (main): Output the
34989         timing type simply, leaving formatting to the user.
34990         * benchtests/json-lib.c: New file.
34991         * benchtests/json-lib.h: Likewise.
34993 2014-04-11  Torvald Riegel  <triegel@redhat.com>
34995         [BZ #15215]
34996         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34997         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
34998         memory barriers.  Add comments.
34999         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
35000         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
35001         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
35002         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
35003         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
35004         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
35006 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35008         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
35009         * sysdeps/s390/s390-64/configure.ac: ... this ...
35010         * sysdeps/s390/configure.ac: ... to here.
35011         * sysdeps/s390/s390-32/configure: Delete file.
35012         * sysdeps/s390/s390-64/configure: Delete file.
35013         * sysdeps/s390/configure: Regenerate.
35015 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
35017         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
35019 2014-04-11  Will Newton  <will.newton@linaro.org>
35021         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
35022         to zero if it is not defined elsewhere.  (mtrim): Test
35023         the value of MALLOC_DEBUG with #if rather than #ifdef.
35025 2014-04-10 Torvald Riegel  <triegel@redhat.com>
35027         * benchtests/pthread_once-inputs: New file.
35028         * benchtests/pthread_once-source.c: New file.
35029         * benchtests/README: Update documentation.
35031 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
35032             H.J. Lu  <hongjiu.lu@intel.com>
35034         [BZ #16275]
35035         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
35036         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
35037         * sysdeps/x86_64/configure: Regenerated.
35038         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
35039         macro.
35040         (REGISTER_SAVE_RAX): Likewise.
35041         (REGISTER_SAVE_RCX): Likewise.
35042         (REGISTER_SAVE_RDX): Likewise.
35043         (REGISTER_SAVE_RSI): Likewise.
35044         (REGISTER_SAVE_RDI): Likewise.
35045         (REGISTER_SAVE_R8): Likewise.
35046         (REGISTER_SAVE_R9): Likewise.
35047         (REGISTER_SAVE_BND0): Likewise.
35048         (REGISTER_SAVE_BND1): Likewise.
35049         (REGISTER_SAVE_BND2): Likewise.
35050         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
35051         bound registers when calling _dl_fixup.
35053 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35055         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
35056         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
35057         of its definition.
35058         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
35059         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
35060         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
35061         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
35062         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
35063         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
35064         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
35066 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
35068         [BZ #15514]
35069         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
35070         pathconf(_PC_NAME_MAX).
35072 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35074         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
35075         Remove macro usage.
35076         (__PTHREAD_SPINS): Move definition to ...
35077         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35078         (__PTHREAD_SPINS): ... here.
35079         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35080         (__PTHREAD_SPIN): Likewise.
35081         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
35082         (__PTHREAD_SPIN): Likewise.
35083         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
35084         (__PTHREAD_SPIN): Likewise.
35085         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
35086         (__PTHREAD_SPIN): Likewise.
35087         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35088         (__PTHREAD_SPIN): Likewise.
35089         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35090         (__PTHREAD_SPIN): Likewise.
35091         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
35092         (__PTHREAD_SPIN): Likewise.
35093         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35094         (__PTHREAD_SPIN): Likewise.
35095         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35096         (__PTHREAD_SPIN): Likewise.
35097         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35098         (__PTHREAD_SPIN): Likewise.
35099         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35100         (__PTHREAD_SPIN): Likewise.
35101         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
35102         (__PTHREAD_SPIN): Likewise.
35104         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
35105         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
35106         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
35107         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
35108         imply folder.
35109         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
35110         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
35111         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
35112         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
35113         correct imply path.
35114         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
35115         strlen symbol for non multi-arch builds.
35116         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
35117         missing hidden_def and weak_alias.
35119 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
35121         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
35123 2014-04-07  Will Newton  <will.newton@linaro.org>
35125         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
35126         and contents.  [!_LIBC] Remove #ifndef and contents.
35127         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
35128         * string/memccpy.c (__memccpy): Use ANSI prototype.
35129         * string/memfrob.c (memfrob): Likewise.
35130         * string/strcoll.c (STRCOLL): Likewise.
35131         * string/strlen.c (strlen): Likewise.
35132         * string/strtok.c (STRTOK): Likewise.
35133         * string/strcat.c: Remove unused #include of memcopy.h.
35134         (strcat): Use ANSI prototype.
35135         * string/strchr.c: Remove unused #include of memcopy.h.
35136         (strchr): Use ANSI prototype.
35137         * string/strcmp.c: Remove unused #include of memcopy.h.
35138         (strcmp): Use ANSI prototype.
35139         * string/strcpy.c: Remove unused #include of memcopy.h.
35140         (strcpy): Use ANSI prototype.
35142 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35144         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
35145         * config.make.in (config-extra-cppflags): Set it from
35146         libc_extra_cppflags.
35147         * configure.ac (libc_extra_cflags): Make it accumulate over
35148         configure fragments.
35149         (libc_extra_cppflags): New flag.
35150         * configure. Regenerate.
35151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35152         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
35153         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
35154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
35156         [BZ #16815]
35157         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
35158         result for FE_DOWNWARD rounding mode.
35159         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
35160         Likewise.
35161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35163 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
35165         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
35166         in function argument name.
35168 2014-04-03  David Svoboda  <svoboda@cert.org>
35170         [BZ #5666]
35171         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
35172         explicitly.
35174 2014-04-03  Roland McGrath  <roland@hack.frob.com>
35176         * elf/dl-unmap-segments.h: New file.
35177         * sysdeps/generic/ldsodefs.h
35178         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
35179         * elf/dl-close.c: Include <dl-unmap-segments.h>.
35180         * elf/dl-fptr.c: Likewise.
35181         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
35182         * sysdeps/aarch64/tlsdesc.c: Likewise.
35183         * sysdeps/arm/tlsdesc.c: Likewise.
35184         * sysdeps/i386/tlsdesc.c: Likewise.
35185         * sysdeps/tile/dl-runtime.c: Likewise.
35186         * sysdeps/x86_64/tlsdesc.c: Likewise.
35187         * elf/dl-load.h: New file.
35188         * elf/dl-load.c: Include it.
35189         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
35190         Macros moved to dl-load.h.
35191         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
35192         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
35193         Use _dl_unmap_segments in place of __munmap.
35194         Break out segment-mapping loop into ...
35195         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
35197 2014-04-03  Will Newton  <will.newton@linaro.org>
35199         * elf/dl-lookup.c (do_lookup_x): Remove comment
35200         referring to nested function and move variable
35201         declarations down to before first use.
35203 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
35205         [BZ #16799]
35206         [BZ #16800]
35207         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
35208         with 0 numerator.
35209         * math/s_catanf.c (__catanf): Likewise.
35210         * math/s_catanh.c (__catanh): Likewise.
35211         * math/s_catanhf.c (__catanhf): Likewise.
35212         * math/s_catanhl.c (__catanhl): Likewise.
35213         * math/s_catanl.c (__catanl): Likewise.
35214         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
35215         by positive zero when computing -Inf result.
35216         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
35217         (catanh_test): Likewise.
35218         * sysdeps/i386/fpu/libm-test-ulps: Update.
35219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35221         [BZ #16789]
35222         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
35223         instead of using underflowing value in computing result.
35224         * math/s_clog10.c (__clog10): Likewise.
35225         * math/s_clog10f.c (__clog10f): Likewise.
35226         * math/s_clog10l.c (__clog10l): Likewise.
35227         * math/s_clogf.c (__clogf): Likewise.
35228         * math/s_clogl.c (__clogl): Likewise.
35229         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
35230         (clog10_test): Likewise.
35231         * sysdeps/i386/fpu/libm-test-ulps: Update.
35232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35234 2014-04-02  Alan Modra  <amodra@gmail.com>
35236         [BZ #16739]
35237         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
35238         output when value is near a power of two.  Use int64_t for lx and
35239         remove casts.  Use decimal rather than hex exponent constants.
35240         Don't use long double multiplication when double will suffice.
35241         * math/libm-test.inc (nextafter_test_data): Add tests.
35242         * NEWS: Add 16739 and 16786 to bug list.
35244         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
35246         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
35248 2014-04-01  Will Newton  <will.newton@linaro.org>
35250         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
35251         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
35253 2014-04-01  Florian Weimer  <fweimer@redhat.com>
35255         [BZ #13347]
35256         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
35257         * nptl/tst-setuid2.c: New file.
35258         * nptl/Makefile (xtests): Add tst-setuid2.
35260 2014-04-01  Alan Modra  <amodra@gmail.com>
35262         [BZ #16786]
35263         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
35265 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35267         [BZ #6803]
35268         [BZ #6804]
35269         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
35270         set errno as appropriate.
35271         * math/w_scalbf.c (__scalbf): Likewise.
35272         * math/w_scalbl.c (__scalbl): Likewise.
35273         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
35274         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
35275         * math/libm-test.inc (scalb_test_data): Add errno expectations.
35276         Add more NaN tests.
35278         [BZ #16349]
35279         * math/w_atan2.c: Include <errno.h>.
35280         (__atan2): Set errno for result underflowing to zero.
35281         * math/w_atan2f.c: Include <errno.h>.
35282         (__atan2f): Set errno for result underflowing to zero.
35283         * math/w_atan2l.c: Include <errno.h>.
35284         (__atan2l): Set errno for result underflowing to zero.
35285         * math/auto-libm-test-in: Don't allow missing errno for some atan2
35286         tests.
35287         * math/auto-libm-test-out: Regenerated.
35289 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35291         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35292         Encode instruction correctly in little endian.
35293         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35294         Likewise.
35295         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35296         Likewise.
35297         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35298         Likewise.
35299         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35300         Likewise.
35302 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35304         [BZ #9894]
35305         * sysdeps/unix/sysv/linux/kernel-features.h
35306         [__sparc__ && !__arch64__ && !__sparc_v9__]
35307         (__ASSUME_SET_ROBUST_LIST): Do not define.
35308         [__sparc__ && !__arch64__ && !__sparc_v9__]
35309         (__ASSUME_FUTEX_LOCK_PI): Likewise.
35310         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
35311         Likewise.
35312         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35313         (__ASSUME_FUTEX_LOCK_PI): Undefine.
35314         (__ASSUME_REQUEUE_PI): Likewise.
35315         (__ASSUME_SET_ROBUST_LIST): Likewise.
35316         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35317         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
35318         Undefine.
35319         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35320         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
35321         Likewise.
35322         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
35323         Likewise.
35324         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
35325         Likewise.
35326         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35327         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
35328         Undefine.
35329         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
35330         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
35331         Likewise.
35333         [BZ #16648]
35334         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35335         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
35336         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
35338 2014-03-31  Will Newton  <will.newton@linaro.org>
35340         * benchtests/Makefile (bench): Add ffs and ffsll to list
35341         of tests.
35342         * benchtests/ffs-inputs: New file.
35343         * benchtests/ffsll-inputs: Likewise.
35345 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
35347         [BZ #16770]
35348         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
35349         too large before casting to int.
35350         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
35351         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
35352         * math/libm-test.inc (scalb_test_data): Add more tests.
35354 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35356         * benchtests/Makefile (DETAILED_OPT): New make option.
35357         (bench-func): Run benchmark program with -d if DETAILED_OPT is
35358         set.
35359         * benchtests/bench-skeleton.c: Include stdbool.h.
35360         (main): Store and print timings per input.
35361         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
35362         member to each argument value.
35363         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
35364         (_print_arg_data): Initialize per-input timing to 0.
35366         * benchtests/Makefile (timing-type): New binary.
35367         (bench-clean): Also remove bench-timing-type.
35368         (bench): New target for timing-type.
35369         (bench-func): Print output in JSON format.
35370         * benchtests/bench-skeleton.c (main): Print output in JSON
35371         format.
35372         * benchtests/bench-timing-type.c: New file.
35373         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
35374         (TIMING_PRINT_STATS): Remove.
35375         * benchtests/scripts/bench.py (_print_arg_data): Store variant
35376         name separately.
35378         * benchtests/bench-modf.c: Remove.
35379         * benchtests/modf-inputs: New inputs file.
35381 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
35383         [BZ #16362]
35384         * math/s_clog10.c (M_PI_LOG10E): New macro.
35385         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
35386         imaginary parts are 0.
35387         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
35388         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
35389         imaginary parts are 0.
35390         * math/s_clog10l.c (M_PI_LOG10El): New macro.
35391         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
35392         imaginary parts are 0.
35393         * math/libm-test.inc (clog10_test_data): Update expected results
35394         for when real and imaginary parts are 0.
35396 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
35398         * elf/dl-load.c: Finish conversion of __builtin_expect into
35399         __glibc_{un}likely.
35401 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
35403         [BZ #16348]
35404         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
35405         1+x for argument with exponent below -67.
35406         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
35407         Likewise.
35408         * math/auto-libm-test-in: Add more tests of exp.
35409         * math/auto-libm-test-out: Regenerated.
35411 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35413         [BZ #16759]
35414         * inet/getnetgrent_r.c (get_nonempty_val): New function.
35415         (nscd_getnetgrent): Use it.
35417         [BZ #16760]
35418         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
35419         of stpcpy.
35421 2014-03-27  Andi Kleen  <ak@linux.intel.com>
35423         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
35424         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35425         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35426         (lll_robust_unlock): Remove out of line section. Use cfi
35427         intrinsics.
35428         (LLL_STUB_UNWIND_INFO*): Remove.
35429         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
35430         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35431         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35432         (lll_robust_unlock): Remove out of line section. Use cfi
35433         intrinsics.
35434         (LLL_STUB_UNWIND_INFO*): Remove.
35436 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35438         [BZ #16758]
35439         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
35440         blank values.
35442 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
35444         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
35446 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
35448         [BZ #16198]
35449         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
35450         fnstenv.
35451         * math/test-fenv-preserve.c: New file.
35452         * math/Makefile (tests): Add test-fenv-preserve.
35454 2014-03-26  Will Newton <will.newton@linaro.org>
35456         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
35458 2014-03-25  Roland McGrath  <roland@hack.frob.com>
35460         * scripts/versionlist.awk: Partition the version sets and emit all
35461         GLIBC_* (sorted) before all others (sorted).
35463 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35465         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
35466         GLIBC_2.2.5 version.
35468 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35470         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
35471         calls.
35473         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
35474         previous change.
35476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35478 2014-03-25  Andreas Schwab  <schwab@suse.de>
35480         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
35481         label to be used after in6ailist is initialized.
35483 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35485         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35486         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35488 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35490         [BZ #16357]
35491         [BZ #16599]
35492         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
35493         min_plus_half.
35494         (fp_formats): Update initializers.
35495         (init_fp_formats): Initialize new field.
35496         (output_for_one_input_case): Allow underflow for results up to
35497         min_plus_half.
35498         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
35499         * math/auto-libm-test-in: Don't mark some underflows from asin and
35500         atanh as spurious.
35501         * math/auto-libm-test-out: Regenerated.
35502         * sysdeps/i386/fpu/libm-test-ulps: Update.
35503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35505 2014-03-25  Andreas Schwab  <schwab@suse.de>
35507         * libio/Makefile (tst-ftell-partial-wide-ENV)
35508         (tst-ftell-active-handler-ENV): Define.
35510 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
35512         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
35514 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35516         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
35518 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35520         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
35521         * sysdeps/x86_64/fpu/multiarch/e_exp.c
35522         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
35524 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35526         [BZ #16634]
35527         * elf/dl-load.c (open_verify): Add mode parameter.
35528         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
35529         (open_path): Change from boolean 'secure' to complete flag 'mode'
35530         (_dl_map_object): Adjust.
35531         * elf/Makefile (tests): Add tst-dlopen-aout.
35532         * elf/tst-dlopen-aout.c: New test.
35534 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
35536         [BZ #16714]
35537         * sysdeps/unix/sysv/linux/s390/bits/stat.h
35538         (struct stat): Rename member pad0 to __glibc_reserved0.
35540         [BZ #16712]
35541         * sysdeps/s390/s390-32/bits/wordsize.h
35542         (__WORDSIZE32_SIZE_ULONG): New define.
35543         * sysdeps/s390/s390-64/bits/wordsize.h
35544         (__WORDSIZE32_SIZE_ULONG): Likewise.
35545         * sysdeps/generic/stdint.h (SIZE_MAX):
35546         Define as UL if __WORDSIZE32_SIZE_ULONG.
35548         [BZ #16713]
35549         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35550         (__glibc_reserved0): New variable.
35551         (sa_flags): Change type to int.
35553         * posix/Makefile (before-compile): Use += before-compile instead
35554         of a :=.
35556         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35557         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35559 2014-03-20  Andreas Schwab  <schwab@suse.de>
35561         [BZ #16743]
35562         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
35563         non-matching result from nscd.
35565 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35567         * scripts/bench.py: Moved to ...
35568         * benchtests/scripts/bench.py: ... here.
35569         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
35571 2014-03-24  Andreas Schwab  <schwab@suse.de>
35573         [BZ #16002]
35574         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
35575         alloca_account and account alloca use for struct in6ailist.
35577 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35579         [BZ #16284]
35580         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
35581         rounding mode to recompute results that overflow to infinity or
35582         underflow to zero.
35583         * math/auto-libm-test-in: Don't mark tests as expected to fail for
35584         bug 16284.
35585         * math/auto-libm-test-out: Regenerated.
35586         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35587         (ccosh_test): Likewise.
35588         (csin_test_data): Use plus_oflow.
35589         (csin_test): Use ALL_RM_TEST.
35590         (csinh_test_data): Use plus_oflow.
35591         (csinh_test): Use ALL_RM_TEST.
35592         * sysdeps/i386/fpu/libm-test-ulps: Update.
35593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35595 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
35597         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35598         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35599         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35601         [BZ #16731]
35602         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35603         when x - 1 is zero.
35604         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35605         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35606         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35607         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35608         argument is 1.
35609         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35610         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35611         zero.
35612         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35613         * sysdeps/i386/fpu/libm-test-ulps: Update.
35614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35616 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35618         * scripts/bench.pl: Remove file.
35619         * scripts/bench.py: New benchmark script.
35620         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35621         * benchtests/README: Mention python dependency.
35622         * scripts/pylintrc: New file.
35623         * scripts/pylint: New file.
35625         * bits/mathdef.h: Use #ifdef instead of #if.
35626         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35627         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35628         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35629         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35630         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35631         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35633 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35634             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35636         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35637         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35638         and strpbrk-ppc64 objects.
35639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35640         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35641         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35642         multiarch strpbrk for POWER7.
35643         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35644         multiarch strpbrk for PPC64.
35645         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35646         ifunc selector.
35647         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35648         strpbrk for POWER7.
35650 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35652         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35653         (atan_test): Likewise.
35654         (atanh_test_data): Use NO_TEST_INLINE for two tests.
35655         (atanh_test): Use ALL_RM_TEST.
35656         (atan2_test_data): Likewise.
35657         (cabs_test): Likewise.
35658         (cacosh_test): Likewise.
35659         (carg_test): Likewise.
35660         (casin_test): Likewise.
35661         (casinh_test): Likewise.
35662         (cbrt_test): Likewise.
35663         (csqrt_test): Likewise.
35664         (erf_test): Likewise.
35665         (erfc_test): Likewise.
35666         (pow10_test): Likewise.
35667         (exp2_test): Likewise.
35668         (hypot_test): Likewise.
35669         (j0_test): Likewise.
35670         (j1_test): Likewise.
35671         (lgamma_test): Likewise.
35672         (gamma_test): Likewise.
35673         (sincos_test): Likewise.
35674         (tanh_test): Likewise.
35675         (y0_test): Likewise.
35676         (y1_test): Likewise.
35677         * sysdeps/i386/fpu/libm-test-ulps: Update.
35678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35680 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35682         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35683         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35684         and strcspn-ppc64 objects.
35685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35686         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35687         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35688         multiarch strcspn for POWER7.
35689         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35690         multiarch strcspn for PPC64.
35691         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35692         ifunc selector.
35693         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35694         strcspn for POWER7.
35696 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35698         * math/gen-libm-test.pl (generate_testfile): Expect only function
35699         name as argument to AUTO_TESTS_* and pass results for all rounding
35700         modes to parse_args.
35701         (parse_auto_input): Separate inputs of automatic tests from
35702         outputs before storing in %auto_tests.
35703         * math/libm-test.inc (acos_test_data): Update call to
35704         AUTO_TESTS_f_f.
35705         (acos_test): Use ALL_RM_TEST.
35706         (acos_tonearest_test_data): Remove.
35707         (acos_test_tonearest): Likewise.
35708         (acos_towardzero_test_data): Likewise.
35709         (acos_test_towardzero): Likewise.
35710         (acos_downward_test_data): Likewise.
35711         (acos_test_downward): Likewise.
35712         (acos_upward_test_data): Likewise.
35713         (acos_test_upward): Likewise.
35714         (acosh_test_data): Update call to AUTO_TESTS_f_f.
35715         (asin_test_data): Likewise.
35716         (asin_test): Use ALL_RM_TEST.
35717         (asin_tonearest_test_data): Remove.
35718         (asin_test_tonearest): Likewise.
35719         (asin_towardzero_test_data): Likewise.
35720         (asin_test_towardzero): Likewise.
35721         (asin_downward_test_data): Likewise.
35722         (asin_test_downward): Likewise.
35723         (asin_upward_test_data): Likewise.
35724         (asin_test_upward): Likewise.
35725         (asinh_test_data): Update call to AUTO_TESTS_f_f.
35726         (atan_test_data): Likewise.
35727         (atanh_test_data): Likewise.
35728         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35729         (cabs_test_data): Update call to AUTO_TESTS_c_f.
35730         (carg_test_data): Likewise.
35731         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35732         (ccos_test_data): Update call to AUTO_TESTS_c_c.
35733         (ccosh_test_data): Likewise.
35734         (cexp_test_data): Likewise.
35735         (clog_test_data): Likewise.
35736         (clog10_test_data): Likewise.
35737         (cos_test_data): Update call to AUTO_TESTS_f_f.
35738         (cos_test): Use ALL_RM_TEST.
35739         (cos_tonearest_test_data): Remove.
35740         (cos_test_tonearest): Likewise.
35741         (cos_towardzero_test_data): Likewise.
35742         (cos_test_towardzero): Likewise.
35743         (cos_downward_test_data): Likewise.
35744         (cos_test_downward): Likewise.
35745         (cos_upward_test_data): Likewise.
35746         (cos_test_upward): Likewise.
35747         (cosh_test_data): Update call to AUTO_TESTS_f_f.
35748         (cosh_test): Use ALL_RM_TEST.
35749         (cosh_tonearest_test_data): Remove.
35750         (cosh_test_tonearest): Likewise.
35751         (cosh_towardzero_test_data): Likewise.
35752         (cosh_test_towardzero): Likewise.
35753         (cosh_downward_test_data): Likewise.
35754         (cosh_test_downward): Likewise.
35755         (cosh_upward_test_data): Likewise.
35756         (cosh_test_upward): Likewise.
35757         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35758         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35759         (ctan_test_data): Likewise.
35760         (ctan_test): Use ALL_RM_TEST.
35761         (ctan_tonearest_test_data): Remove.
35762         (ctan_test_tonearest): Likewise.
35763         (ctan_towardzero_test_data): Likewise.
35764         (ctan_test_towardzero): Likewise.
35765         (ctan_downward_test_data): Likewise.
35766         (ctan_test_downward): Likewise.
35767         (ctan_upward_test_data): Likewise.
35768         (ctan_test_upward): Likewise.
35769         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35770         (ctanh_test): Use ALL_RM_TEST.
35771         (ctanh_tonearest_test_data): Remove.
35772         (ctanh_test_tonearest): Likewise.
35773         (ctanh_towardzero_test_data): Likewise.
35774         (ctanh_test_towardzero): Likewise.
35775         (ctanh_downward_test_data): Likewise.
35776         (ctanh_test_downward): Likewise.
35777         (ctanh_upward_test_data): Likewise.
35778         (ctanh_test_upward): Likewise.
35779         (erf_test_data): Update call to AUTO_TESTS_f_f.
35780         (erfc_test_data): Likewise.
35781         (exp_test_data): Likewise.
35782         (exp_test): Use ALL_RM_TEST.
35783         (exp_tonearest_test_data): Remove.
35784         (exp_test_tonearest): Likewise.
35785         (exp_towardzero_test_data): Likewise.
35786         (exp_test_towardzero): Likewise.
35787         (exp_downward_test_data): Likewise.
35788         (exp_test_downward): Likewise.
35789         (exp_upward_test_data): Likewise.
35790         (exp_test_upward): Likewise.
35791         (exp10_test_data): Update call to AUTO_TESTS_f_f.
35792         (exp10_test): Use ALL_RM_TEST.
35793         (exp10_tonearest_test_data): Remove.
35794         (exp10_test_tonearest): Likewise.
35795         (exp10_towardzero_test_data): Likewise.
35796         (exp10_test_towardzero): Likewise.
35797         (exp10_downward_test_data): Likewise.
35798         (exp10_test_downward): Likewise.
35799         (exp10_upward_test_data): Likewise.
35800         (exp10_test_upward): Likewise.
35801         (exp2_test_data): Update call to AUTO_TESTS_f_f.
35802         (expm1_test_data): Likewise.
35803         (expm1_test): Use ALL_RM_TEST.
35804         (expm1_tonearest_test_data): Remove.
35805         (expm1_test_tonearest): Likewise.
35806         (expm1_towardzero_test_data): Likewise.
35807         (expm1_test_towardzero): Likewise.
35808         (expm1_downward_test_data): Likewise.
35809         (expm1_test_downward): Likewise.
35810         (expm1_upward_test_data): Likewise.
35811         (expm1_test_upward): Likewise.
35812         (fma_test_data): Update call to AUTO_TESTS_fff_f.
35813         (fma_test): Use ALL_RM_TEST.
35814         (fma_towardzero_test_data): Remove.
35815         (fma_test_towardzero): Likewise.
35816         (fma_downward_test_data): Likewise.
35817         (fma_test_downward): Likewise.
35818         (fma_upward_test_data): Likewise.
35819         (fma_test_upward): Likewise.
35820         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35821         (j0_test_data): Update call to AUTO_TESTS_f_f.
35822         (j1_test_data): Likewise.
35823         (jn_test_data): Update call to AUTO_TESTS_if_f.
35824         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35825         (log_test_data): Update call to AUTO_TESTS_f_f.
35826         (log10_test_data): Likewise.
35827         (log1p_test_data): Likewise.
35828         (log2_test_data): Likewise.
35829         (pow_test_data): Update call to AUTO_TESTS_ff_f.
35830         (pow_tonearest_test_data): Likewise.
35831         (sin_test_data): Update call to AUTO_TESTS_f_f.
35832         (sin_test): Use ALL_RM_TEST.
35833         (sin_tonearest_test_data): Remove.
35834         (sin_test_tonearest): Likewise.
35835         (sin_towardzero_test_data): Likewise.
35836         (sin_test_towardzero): Likewise.
35837         (sin_downward_test_data): Likewise.
35838         (sin_test_downward): Likewise.
35839         (sin_upward_test_data): Likewise.
35840         (sin_test_upward): Likewise.
35841         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35842         (sinh_test_data): Update call to AUTO_TESTS_f_f.
35843         (sinh_test): Use ALL_RM_TEST.
35844         (sinh_tonearest_test_data): Remove.
35845         (sinh_test_tonearest): Likewise.
35846         (sinh_towardzero_test_data): Likewise.
35847         (sinh_test_towardzero): Likewise.
35848         (sinh_downward_test_data): Likewise.
35849         (sinh_test_downward): Likewise.
35850         (sinh_upward_test_data): Likewise.
35851         (sinh_test_upward): Likewise.
35852         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35853         (sqrt_test): Use ALL_RM_TEST.
35854         (sqrt_tonearest_test_data): Remove.
35855         (sqrt_test_tonearest): Likewise.
35856         (sqrt_towardzero_test_data): Likewise.
35857         (sqrt_test_towardzero): Likewise.
35858         (sqrt_downward_test_data): Likewise.
35859         (sqrt_test_downward): Likewise.
35860         (sqrt_upward_test_data): Likewise.
35861         (sqrt_test_upward): Likewise.
35862         (tan_test_data): Update call to AUTO_TESTS_f_f.
35863         (tan_test): Use ALL_RM_TEST.
35864         (tan_tonearest_test_data): Remove.
35865         (tan_test_tonearest): Likewise.
35866         (tan_towardzero_test_data): Likewise.
35867         (tan_test_towardzero): Likewise.
35868         (tan_downward_test_data): Likewise.
35869         (tan_test_downward): Likewise.
35870         (tan_upward_test_data): Likewise.
35871         (tan_test_upward): Likewise.
35872         (tanh_test_data): Update call to AUTO_TESTS_f_f.
35873         (tgamma_test_data): Likewise.
35874         (y0_test_data): Likewise.
35875         (y1_test_data): Likewise.
35876         (yn_test_data): Update call to AUTO_TESTS_if_f.
35877         (main): Do not call removed functions.
35879 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35881         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35882         (ldexp_test_data): Remove.
35883         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
35884         scalbn_test_data.
35885         (scalb_test): Use ALL_RM_TEST.
35887 2014-03-19  Andreas Schwab  <schwab@suse.de>
35889         * nscd/nscd.service: Also invalidate netgroup cache on reload.
35891 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35893         [BZ #16649]
35894         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35895         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35896         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35897         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35898         (__ASSUME_PREADV): Undefine.
35899         (__ASSUME_PWRITEV): Likewise.
35901 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35903         * bits/mman-linux.h: Add comment about non-Linux use.
35904         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35905         bits/mman-linux.h resting place.
35907         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35908         * bits/mman-linux.h: ... here.
35910 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35912         * conform/conformtest.pl: Add standard definition when calling C
35913         preprocessor on data files.
35914         (checknamespace): Remove unused variable.
35916 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35918         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35919         minus_oflow, plus_uflow and minus_uflow in expected results.
35920         * math/libm-test.inc (scalbn_test_data): Add more tests of
35921         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
35922         minus_uflow.
35923         (scalbn_test): Use ALL_RM_TEST.
35924         (scalbln_test_data): Add more tests of negative arguments.  Use
35925         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35926         (scalbln_test): Use ALL_RM_TEST.
35928 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35930         * scripts/abilist.awk: Ignore symbols marked with .hidden.
35932 2014-03-18  Will Newton  <will.newton@linaro.org>
35934         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35935         inaccurate comment.
35937 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35939         * Makerules [!subdir] (check-abi): Exit with error status if a
35940         test failed.
35942 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35944         * math/libm-test.inc (nearbyint_test_data): Include all tests used
35945         for rint.  Include results for all rounding modes.
35946         (nearbyint_test): Use ALL_RM_TEST.
35947         (rint_test_data): Include all tests used for nearbyint.
35949 2014-03-17  Will Newton  <will.newton@linaro.org>
35951         * nptl/sysdeps/pthread/pthread.h: Revert previous
35952         change.
35954         * sysdeps/generic/ldsodefs.h: Revert previous
35955         change.
35957         * libio/genops.c: Revert previous change.
35958         * libio/libioP.h: Likewise.
35959         * stdio-common/vfprintf.c: Likewise.
35961         * sysdeps/generic/math_private.h: Revert previous
35962         change.
35964         * sysdeps/generic/math_private.h: Check whether
35965         HAVE_RM_CTX is defined with #ifdef rather
35966         than #if.
35968         * argp/argp-fmtstream.h: Check whether
35969         __STRICT_ANSI__ is defined with #ifdef rather
35970         than #if.
35971         * argp/argp.h: Likewise.
35973         * libio/genops.c: Check whether
35974         _IO_JUMPS_OFFSET is defined with #ifdef rather
35975         than #if.
35976         * libio/libioP.h: Likewise.
35977         * stdio-common/vfprintf.c: Likewise.
35979         * sysdeps/generic/ldsodefs.h: Check whether
35980         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35981         than #if.
35983         * nptl/sysdeps/pthread/pthread.h: Check
35984         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35985         its value.
35987 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35989         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35990         setting O_APPEND.
35991         * libio/tst-ftell-active-handler.c (do_append_test): Add a
35992         test case.
35994         [BZ #16680]
35995         * libio/fileops.c (_IO_file_open): Seek to end of file but
35996         don't cache the offset.
35997         (get_file_offset): Remove function.
35998         (do_ftell): Use cached offset when available.
35999         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
36000         don't cache the offset.
36001         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
36002         case.
36003         (do_one_test): Call it.
36004         (do_ftell_test): Fix up expected old offset for a+ mode.
36005         * libio/wfileops.c (do_ftell_wide): Used cached offset when
36006         available.
36008         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
36009         up test status with function return status.
36010         (do_write_test): Likewise.
36011         (do_append_test): Likewise.
36013         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
36014         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
36015         Remove.
36017 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36019         * math/gen-libm-test.pl (parse_args): Handle results specified for
36020         each rounding mode separately.
36021         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
36022         tests and results from lrint_tonearest_test_data,
36023         lrint_towardzero_test_data, lrint_downward_test_data and
36024         lrint_upward_test_data.
36025         (lrint_test): Use ALL_RM_TEST.
36026         (lrint_tonearest_test_data): Remove.
36027         (lrint_test_tonearest): Likewise.
36028         (lrint_towardzero_test_data): Likewise.
36029         (lrint_test_towardzero): Likewise.
36030         (lrint_downward_test_data): Likewise.
36031         (lrint_test_downward): Likewise.
36032         (lrint_upward_test_data): Likewise.
36033         (lrint_test_upward): Likewise.
36034         (llrint_test_data): Merge in per-rounding-mode tests and results
36035         from llrint_tonearest_test_data, llrint_towardzero_test_data,
36036         llrint_downward_test_data and llrint_upward_test_data.
36037         (llrint_test): Use ALL_RM_TEST.
36038         (llrint_tonearest_test_data): Remove.
36039         (llrint_test_tonearest): Likewise.
36040         (llrint_towardzero_test_data): Likewise.
36041         (llrint_test_towardzero): Likewise.
36042         (llrint_downward_test_data): Likewise.
36043         (llrint_test_downward): Likewise.
36044         (llrint_upward_test_data): Likewise.
36045         (llrint_test_upward): Likewise.
36046         (rint_test_data): Merge in per-rounding-mode tests and results
36047         from rint_tonearest_test_data, rint_towardzero_test_data,
36048         rint_downward_test_data and rint_upward_test_data.  Add
36049         per-rounding-mode results for tests not in those arrays.
36050         (rint_test): Use ALL_RM_TEST.
36051         (rint_tonearest_test_data): Remove.
36052         (rint_test_tonearest): Likewise.
36053         (rint_towardzero_test_data): Likewise.
36054         (rint_test_towardzero): Likewise.
36055         (rint_downward_test_data): Likewise.
36056         (rint_test_downward): Likewise.
36057         (rint_upward_test_data): Likewise.
36058         (rint_test_upward): Likewise.
36059         (main): Don't call removed functions.
36061 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36063         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
36064         "Compiled on ..." crapola.  It is anti-useful.
36066 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
36068         * scripts/evaluate-test.sh: Handle fourth argument to determine
36069         whether test run should stop on failure.
36070         * Makeconfig (stop-on-test-failure): New variable.
36071         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
36072         $(stop-on-test-failure).
36073         * Makefile (tests): Give a summary of results from testing and
36074         exit with failure status if they include an ERROR or FAIL.
36075         (xtests): Likewise.
36076         * manual/install.texi (Configuring and compiling): Mention
36077         stop-on-test-failure=y.
36078         * INSTALL: Regenerated.
36080 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36082         * scripts/versionlist.awk: New file.
36083         * Makerules [$(build-shared) = yes]
36084         (postclean-generated): Add Versions.def, not Versions.def.v and
36085         Versions.def.v.i.
36086         ($(common-objpfx)Versions.def.v.i): Target removed.
36087         ($(common-objpfx)Versions.def): New target.
36088         ($(common-objpfx)Versions.all): Depend on that rather that
36089         $(common-objpfx)Versions.def.v.
36090         * Versions.def: File removed.
36092         * Makeconfig (+gccwarn): Add -Wundef.
36093         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
36094         a dl-sysdep.h breaking its contract.
36095         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
36096         * include/stackinfo.h: New file.
36097         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
36098         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
36099         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
36100         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
36101         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
36102         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
36103         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36104         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36105         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36106         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36107         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36108         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
36109         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36110         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36111         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36113 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36115         [BZ #16707]
36116         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
36117         implementation.
36118         * math/libm-test.inc (round_test_data): Add more tests.
36120         [BZ #16706]
36121         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
36122         implementation.
36123         * math/libm-test.inc (nearbyint_test_data): Add more tests.
36125         [BZ #16701]
36126         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
36127         implementation.
36128         * math/libm-test.inc (ceil_test_data): Add more tests.
36130         * math/libm-test.inc (trunc_test_data): Add more tests related to
36131         BZ#16414.
36133 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36135         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
36136         with #if rather than #ifdef.
36137         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
36139 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
36141         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
36142         first.  Disable AVX-512 GCC support if assembler doesn't support
36143         it.
36144         * sysdeps/x86_64/configure: Regenerated.
36146 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
36148         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
36149         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
36150         (__old_pthread_attr_setstack): Likewise.
36151         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
36152         [!_STACK_GROWS_DOWN]: Likewise.
36154 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
36156         * config.make.in (have-bash2): Delete.
36157         * configure.ac (libc_cv_have_bash2): Delete.
36158         * configure: Regenerate.
36159         * elf/Makefile (common-ldd-rewrite): Rename to ...
36160         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
36161         (sh-ldd-rewrite): Delete.
36162         (bash-ldd-rewrite): Delete.
36163         (have-bash2): Delete checks.
36164         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
36165         ldd-rewrite.
36167         * config.make.in (have-ksh): Delete.
36168         (KSH): Delete.
36169         * configure.ac (libc_cv_have_ksh): Delete.
36170         * configure: Regenerate.
36172         * elf/Makefile: Delete $(have-ksh) check.
36173         ($(objpfx)sotruss): Change KSH to BASH.
36174         * elf/sotruss.ksh: Rename to ...
36175         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
36176         function style to match POSIX.  Drop ksh vim mode setting.
36178         * manual/time.texi (Specifying the Time Zone with TZ): Change
36179         Tuesday to Thursday.
36181         * debug/tst-longjmp_chk2.c: Update header comment.
36182         (stackoverflow_handler): Add comment.  Call assert on pass value.
36184 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
36186         [BZ #16194]
36187         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
36188         (HAVE_AVX512_ASM_SUPPORT): Likewise.
36189         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
36190         (La_x86_64_vector): Add zmm.
36191         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
36192         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
36193         ($(objpfx)tst-audit10): New target.
36194         ($(objpfx)tst-audit10.out): Likewise.
36195         (tst-audit10-ENV): New.
36196         (AVX512-CFLAGS): Likewise.
36197         (CFLAGS-tst-audit10.c): Likewise.
36198         (CFLAGS-tst-auditmod10a.c): Likewise.
36199         (CFLAGS-tst-auditmod10b.c): Likewise.
36200         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
36201         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
36202         * sysdeps/x86_64/configure: Regenerated.
36203         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
36204         AVX-512 zmm register support.
36205         (_dl_x86_64_save_sse): Likewise.
36206         (_dl_x86_64_restore_sse): Likewise.
36207         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
36208         size vector registers.
36209         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
36210         (ZMM_SIZE): Likewise.
36211         * sysdeps/x86_64/tst-audit10.c: New file.
36212         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
36213         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
36215 2014-03-13  Roland McGrath  <roland@hack.frob.com>
36217         * configure.ac (HAVE_EHDR_START): New check.
36218         * configure: Regenerated.
36219         * config.h.in (HAVE_EHDR_START): New #undef.
36220         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
36221         assuming the lowest-addressed segment maps the start of the file.
36223 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
36225         * INSTALL: Regenerated.
36227 2014-03-13  Will Newton  <will.newton@linaro.org>
36229         * manual/setjmp.texi (System V contexts): Improve
36230         clarity and grammar of documentation.
36232 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
36234         [BZ #16381]
36235         * elf/Makefile (tests): Add tst-pie2.
36236         (tests-pie): Add tst-pie2.
36237         * elf/tst-pie2.c: New file.
36238         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
36239         for ET_EXEC.
36240         * elf/rtld.c (map_doit): Load executable as lt_executable.
36241         (dl_main): Likewise.
36243 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
36245         [BZ #16642]
36246         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36247         (__ASSUME_PSELECT): Undefine.
36249 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36251         [BZ #16689]
36252         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
36253         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
36254         static build.
36255         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
36256         selector for static builds.
36258 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36260         [BZ #16695]
36261         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
36262         key in the buffer.
36264 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36266         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
36267         IFUNC selector for static builds.
36269 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
36271         * sysdeps/mips/math_private.h [__mips_hard_float]
36272         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
36273         libc_feresetround_mips_ctx.
36274         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
36275         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
36276         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
36278         [BZ #16677]
36279         * math/s_nextafter.c (__nextafter): Do not return value from
36280         overflowing computation.
36281         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36282         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
36283         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36284         Likewise.
36285         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
36286         Likewise.
36287         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36288         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
36290 2014-03-11  Roland McGrath  <roland@hack.frob.com>
36292         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
36293         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
36294         Move sfi_sp use from the load-multiple (that no longer sets sp) to
36295         the new mov targetting sp.
36297 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36299         [BZ #16683]
36300         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
36301         Define it for static builds as well.
36302         (NO_BZERO_IMPL): Likewise.
36304 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36306         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
36307         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
36308         multiarch strspn for PPC64.
36309         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
36310         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
36311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36312         (__libc_ifunc_impl_list): Likewise.
36313         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
36314         multiarch optimizations
36315         * string/strspn.c (strspn): Using macro to redefine symbol name.
36317 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36318             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36320         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
36321         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
36322         multiarch strncat for PPC64.
36323         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
36324         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
36325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36326         (__libc_ifunc_impl_list): Likewise.
36327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
36328         multiarch optimizations
36330 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36332         [BZ #16639]
36333         * nscd/nscd.service: Make service type forking.
36335 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36337         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
36338         sign in non default rounding modes.
36339         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
36341 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
36343         * math/libm-test.inc (ALL_RM_TEST): New macro.
36344         (ceil_test): Use ALL_RM_TEST.
36345         (cimag_test): Likewise.
36346         (conj_test): Likewise.
36347         (copysign_test): Likewise.
36348         (cproj_test): Likewise.
36349         (creal_test): Likewise.
36350         (fabs_test): Likewise.
36351         (floor_test): Likewise.
36352         (fmax_test): Likewise.
36353         (fmin_test): Likewise.
36354         (fmod_test): Likewise.
36355         (fpclassify_test): Likewise.
36356         (frexp_test): Likewise.
36357         (ilogb_test): Likewise.
36358         (isfinite_test): Likewise.
36359         (finite_test): Likewise.
36360         (isgreater_test): Likewise.
36361         (isgreaterequal_test): Likewise.
36362         (isinf_test): Likewise.
36363         (isless_test): Likewise.
36364         (islessequal_test): Likewise.
36365         (islessgreater_test): Likewise.
36366         (isnan_test): Likewise.
36367         (isnormal_test): Likewise.
36368         (issignaling_test): Likewise.
36369         (isunordered_test): Likewise.
36370         (logb_test): Likewise.
36371         (logb_downward_test_data): Remove.
36372         (logb_test_downward): Likewise.
36373         (lround_test): Use ALL_RM_TEST.
36374         (llround_test): Likewise.
36375         (modf_test): Likewise.
36376         (nexttoward_test): Likewise.
36377         (remainder_test): Likewise.
36378         (drem_test): Likewise.
36379         (remainder_tonearest_test_data): Likewise.
36380         (remainder_test_tonearest): Likewise.
36381         (drem_test_tonearest): Likewise.
36382         (remainder_towardzero_test_data): Likewise.
36383         (remainder_test_towardzero): Likewise.
36384         (drem_test_towardzero): Likewise.
36385         (remainder_downward_test_data): Likewise.
36386         (remainder_test_downward): Likewise.
36387         (drem_test_downward): Likewise.
36388         (remainder_upward_test_data): Likewise.
36389         (remainder_test_upward): Likewise.
36390         (drem_test_upward): Likewise.
36391         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
36392         (round_test): Use ALL_RM_TEST.
36393         (signbit_test): Likewise.
36394         (trunc_test): Likewise.
36395         (significand_test): Likewise.
36396         (main): Don't call removed functions.
36398 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36400         [BZ #16674]
36401         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
36402         || __USE_XOPEN2K8].
36403         (ILL_ILLOPN): Likewise.
36404         (ILL_ILLADR): Likewise.
36405         (ILL_ILLTRP): Likewise.
36406         (ILL_PRVOPC): Likewise.
36407         (ILL_PRVREG): Likewise.
36408         (ILL_COPROC): Likewise.
36409         (ILL_BADSTK): Likewise.
36410         (FPE_INTDIV): Likewise.
36411         (FPE_INTOVF): Likewise.
36412         (FPE_FLTDIV): Likewise.
36413         (FPE_FLTOVF): Likewise.
36414         (FPE_FLTUND): Likewise.
36415         (FPE_FLTRES): Likewise.
36416         (FPE_FLTINV): Likewise.
36417         (FPE_FLTSUB): Likewise.
36418         (SEGV_MAPERR): Likewise.
36419         (SEGV_ACCERR): Likewise.
36420         (BUS_ADRALN): Likewise.
36421         (BUS_ADRERR): Likewise.
36422         (BUS_OBJERR): Likewise.
36423         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36424         (TRAP_TRACE): Likewise.
36425         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36426         __USE_XOPEN2K8].
36427         (CLD_KILLED): Likewise.
36428         (CLD_DUMPED): Likewise.
36429         (CLD_TRAPPED): Likewise.
36430         (CLD_STOPPED): Likewise.
36431         (CLD_CONTINUED): Likewise.
36432         (POLL_IN): Likewise.
36433         (POLL_OUT): Likewise.
36434         (POLL_MSG): Likewise.
36435         (POLL_ERR): Likewise.
36436         (POLL_PRI): Likewise.
36437         (POLL_HUP): Likewise.
36438         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
36439         Likewise.
36440         (ILL_ILLOPN): Likewise.
36441         (ILL_ILLADR): Likewise.
36442         (ILL_ILLTRP): Likewise.
36443         (ILL_PRVOPC): Likewise.
36444         (ILL_PRVREG): Likewise.
36445         (ILL_COPROC): Likewise.
36446         (ILL_BADSTK): Likewise.
36447         (FPE_INTDIV): Likewise.
36448         (FPE_INTOVF): Likewise.
36449         (FPE_FLTDIV): Likewise.
36450         (FPE_FLTOVF): Likewise.
36451         (FPE_FLTUND): Likewise.
36452         (FPE_FLTRES): Likewise.
36453         (FPE_FLTINV): Likewise.
36454         (FPE_FLTSUB): Likewise.
36455         (SEGV_MAPERR): Likewise.
36456         (SEGV_ACCERR): Likewise.
36457         (BUS_ADRALN): Likewise.
36458         (BUS_ADRERR): Likewise.
36459         (BUS_OBJERR): Likewise.
36460         (BUS_MCEERR_AR): Likewise.
36461         (BUS_MCEERR_AO): Likewise.
36462         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36463         (TRAP_TRACE): Likewise.
36464         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36465         __USE_XOPEN2K8].
36466         (CLD_KILLED): Likewise.
36467         (CLD_DUMPED): Likewise.
36468         (CLD_TRAPPED): Likewise.
36469         (CLD_STOPPED): Likewise.
36470         (CLD_CONTINUED): Likewise.
36471         (POLL_IN): Likewise.
36472         (POLL_OUT): Likewise.
36473         (POLL_MSG): Likewise.
36474         (POLL_ERR): Likewise.
36475         (POLL_PRI): Likewise.
36476         (POLL_HUP): Likewise.
36477         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
36478         (ILL_ILLOPN): Likewise.
36479         (ILL_ILLADR): Likewise.
36480         (ILL_ILLTRP): Likewise.
36481         (ILL_PRVOPC): Likewise.
36482         (ILL_PRVREG): Likewise.
36483         (ILL_COPROC): Likewise.
36484         (ILL_BADSTK): Likewise.
36485         (FPE_INTDIV): Likewise.
36486         (FPE_INTOVF): Likewise.
36487         (FPE_FLTDIV): Likewise.
36488         (FPE_FLTOVF): Likewise.
36489         (FPE_FLTUND): Likewise.
36490         (FPE_FLTRES): Likewise.
36491         (FPE_FLTINV): Likewise.
36492         (FPE_FLTSUB): Likewise.
36493         (SEGV_MAPERR): Likewise.
36494         (SEGV_ACCERR): Likewise.
36495         (BUS_ADRALN): Likewise.
36496         (BUS_ADRERR): Likewise.
36497         (BUS_OBJERR): Likewise.
36498         (BUS_MCEERR_AR): Likewise.
36499         (BUS_MCEERR_AO): Likewise.
36500         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36501         (TRAP_TRACE): Likewise.
36502         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36503         __USE_XOPEN2K8].
36504         (CLD_KILLED): Likewise.
36505         (CLD_DUMPED): Likewise.
36506         (CLD_TRAPPED): Likewise.
36507         (CLD_STOPPED): Likewise.
36508         (CLD_CONTINUED): Likewise.
36509         (POLL_IN): Likewise.
36510         (POLL_OUT): Likewise.
36511         (POLL_MSG): Likewise.
36512         (POLL_ERR): Likewise.
36513         (POLL_PRI): Likewise.
36514         (POLL_HUP): Likewise.
36515         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
36516         Likewise.
36517         (ILL_ILLOPN): Likewise.
36518         (ILL_ILLADR): Likewise.
36519         (ILL_ILLTRP): Likewise.
36520         (ILL_PRVOPC): Likewise.
36521         (ILL_PRVREG): Likewise.
36522         (ILL_COPROC): Likewise.
36523         (ILL_BADSTK): Likewise.
36524         (ILL_BADIADDR): Likewise.
36525         (ILL_BREAK): Likewise.
36526         (FPE_INTDIV): Likewise.
36527         (FPE_INTOVF): Likewise.
36528         (FPE_FLTDIV): Likewise.
36529         (FPE_FLTOVF): Likewise.
36530         (FPE_FLTUND): Likewise.
36531         (FPE_FLTRES): Likewise.
36532         (FPE_FLTINV): Likewise.
36533         (FPE_FLTSUB): Likewise.
36534         (FPE_DECOVF): Likewise.
36535         (FPE_DECDIV): Likewise.
36536         (FPE_DECERR): Likewise.
36537         (FPE_INVASC): Likewise.
36538         (FPE_INVDEC): Likewise.
36539         (SEGV_MAPERR): Likewise.
36540         (SEGV_ACCERR): Likewise.
36541         (SEGV_PSTKOVF): Likewise.
36542         (BUS_ADRALN): Likewise.
36543         (BUS_ADRERR): Likewise.
36544         (BUS_OBJERR): Likewise.
36545         (BUS_MCEERR_AR): Likewise.
36546         (BUS_MCEERR_AO): Likewise.
36547         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36548         (TRAP_TRACE): Likewise.
36549         (TRAP_BRANCH): Likewise.
36550         (TRAP_HWBKPT): Likewise.
36551         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36552         __USE_XOPEN2K8].
36553         (CLD_KILLED): Likewise.
36554         (CLD_DUMPED): Likewise.
36555         (CLD_TRAPPED): Likewise.
36556         (CLD_STOPPED): Likewise.
36557         (CLD_CONTINUED): Likewise.
36558         (POLL_IN): Likewise.
36559         (POLL_OUT): Likewise.
36560         (POLL_MSG): Likewise.
36561         (POLL_ERR): Likewise.
36562         (POLL_PRI): Likewise.
36563         (POLL_HUP): Likewise.
36564         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
36565         (ILL_ILLOPN): Likewise.
36566         (ILL_ILLADR): Likewise.
36567         (ILL_ILLTRP): Likewise.
36568         (ILL_PRVOPC): Likewise.
36569         (ILL_PRVREG): Likewise.
36570         (ILL_COPROC): Likewise.
36571         (ILL_BADSTK): Likewise.
36572         (FPE_INTDIV): Likewise.
36573         (FPE_INTOVF): Likewise.
36574         (FPE_FLTDIV): Likewise.
36575         (FPE_FLTOVF): Likewise.
36576         (FPE_FLTUND): Likewise.
36577         (FPE_FLTRES): Likewise.
36578         (FPE_FLTINV): Likewise.
36579         (FPE_FLTSUB): Likewise.
36580         (SEGV_MAPERR): Likewise.
36581         (SEGV_ACCERR): Likewise.
36582         (BUS_ADRALN): Likewise.
36583         (BUS_ADRERR): Likewise.
36584         (BUS_OBJERR): Likewise.
36585         (BUS_MCEERR_AR): Likewise.
36586         (BUS_MCEERR_AO): Likewise.
36587         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36588         (TRAP_TRACE): Likewise.
36589         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36590         __USE_XOPEN2K8].
36591         (CLD_KILLED): Likewise.
36592         (CLD_DUMPED): Likewise.
36593         (CLD_TRAPPED): Likewise.
36594         (CLD_STOPPED): Likewise.
36595         (CLD_CONTINUED): Likewise.
36596         (POLL_IN): Likewise.
36597         (POLL_OUT): Likewise.
36598         (POLL_MSG): Likewise.
36599         (POLL_ERR): Likewise.
36600         (POLL_PRI): Likewise.
36601         (POLL_HUP): Likewise.
36602         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36603         (ILL_ILLOPN): Likewise.
36604         (ILL_ILLADR): Likewise.
36605         (ILL_ILLTRP): Likewise.
36606         (ILL_PRVOPC): Likewise.
36607         (ILL_PRVREG): Likewise.
36608         (ILL_COPROC): Likewise.
36609         (ILL_BADSTK): Likewise.
36610         (FPE_INTDIV): Likewise.
36611         (FPE_INTOVF): Likewise.
36612         (FPE_FLTDIV): Likewise.
36613         (FPE_FLTOVF): Likewise.
36614         (FPE_FLTUND): Likewise.
36615         (FPE_FLTRES): Likewise.
36616         (FPE_FLTINV): Likewise.
36617         (FPE_FLTSUB): Likewise.
36618         (SEGV_MAPERR): Likewise.
36619         (SEGV_ACCERR): Likewise.
36620         (BUS_ADRALN): Likewise.
36621         (BUS_ADRERR): Likewise.
36622         (BUS_OBJERR): Likewise.
36623         (BUS_MCEERR_AR): Likewise.
36624         (BUS_MCEERR_AO): Likewise.
36625         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36626         (TRAP_TRACE): Likewise.
36627         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36628         __USE_XOPEN2K8].
36629         (CLD_KILLED): Likewise.
36630         (CLD_DUMPED): Likewise.
36631         (CLD_TRAPPED): Likewise.
36632         (CLD_STOPPED): Likewise.
36633         (CLD_CONTINUED): Likewise.
36634         (POLL_IN): Likewise.
36635         (POLL_OUT): Likewise.
36636         (POLL_MSG): Likewise.
36637         (POLL_ERR): Likewise.
36638         (POLL_PRI): Likewise.
36639         (POLL_HUP): Likewise.
36640         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36641         (ILL_ILLOPN): Likewise.
36642         (ILL_ILLADR): Likewise.
36643         (ILL_ILLTRP): Likewise.
36644         (ILL_PRVOPC): Likewise.
36645         (ILL_PRVREG): Likewise.
36646         (ILL_COPROC): Likewise.
36647         (ILL_BADSTK): Likewise.
36648         (FPE_INTDIV): Likewise.
36649         (FPE_INTOVF): Likewise.
36650         (FPE_FLTDIV): Likewise.
36651         (FPE_FLTOVF): Likewise.
36652         (FPE_FLTUND): Likewise.
36653         (FPE_FLTRES): Likewise.
36654         (FPE_FLTINV): Likewise.
36655         (FPE_FLTSUB): Likewise.
36656         (SEGV_MAPERR): Likewise.
36657         (SEGV_ACCERR): Likewise.
36658         (BUS_ADRALN): Likewise.
36659         (BUS_ADRERR): Likewise.
36660         (BUS_OBJERR): Likewise.
36661         (BUS_MCEERR_AR): Likewise.
36662         (BUS_MCEERR_AO): Likewise.
36663         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36664         (TRAP_TRACE): Likewise.
36665         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36666         __USE_XOPEN2K8].
36667         (CLD_KILLED): Likewise.
36668         (CLD_DUMPED): Likewise.
36669         (CLD_TRAPPED): Likewise.
36670         (CLD_STOPPED): Likewise.
36671         (CLD_CONTINUED): Likewise.
36672         (POLL_IN): Likewise.
36673         (POLL_OUT): Likewise.
36674         (POLL_MSG): Likewise.
36675         (POLL_ERR): Likewise.
36676         (POLL_PRI): Likewise.
36677         (POLL_HUP): Likewise.
36678         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36679         (ILL_ILLOPN): Likewise.
36680         (ILL_ILLADR): Likewise.
36681         (ILL_ILLTRP): Likewise.
36682         (ILL_PRVOPC): Likewise.
36683         (ILL_PRVREG): Likewise.
36684         (ILL_COPROC): Likewise.
36685         (ILL_BADSTK): Likewise.
36686         (ILL_DBLFLT): Likewise.
36687         (ILL_HARDWALL): Likewise.
36688         (FPE_INTDIV): Likewise.
36689         (FPE_INTOVF): Likewise.
36690         (FPE_FLTDIV): Likewise.
36691         (FPE_FLTOVF): Likewise.
36692         (FPE_FLTUND): Likewise.
36693         (FPE_FLTRES): Likewise.
36694         (FPE_FLTINV): Likewise.
36695         (FPE_FLTSUB): Likewise.
36696         (SEGV_MAPERR): Likewise.
36697         (SEGV_ACCERR): Likewise.
36698         (BUS_ADRALN): Likewise.
36699         (BUS_ADRERR): Likewise.
36700         (BUS_OBJERR): Likewise.
36701         (BUS_MCEERR_AR): Likewise.
36702         (BUS_MCEERR_AO): Likewise.
36703         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36704         (TRAP_TRACE): Likewise.
36705         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36706         __USE_XOPEN2K8].
36707         (CLD_KILLED): Likewise.
36708         (CLD_DUMPED): Likewise.
36709         (CLD_TRAPPED): Likewise.
36710         (CLD_STOPPED): Likewise.
36711         (CLD_CONTINUED): Likewise.
36712         (POLL_IN): Likewise.
36713         (POLL_OUT): Likewise.
36714         (POLL_MSG): Likewise.
36715         (POLL_ERR): Likewise.
36716         (POLL_PRI): Likewise.
36717         (POLL_HUP): Likewise.
36718         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36719         (ILL_ILLOPN): Likewise.
36720         (ILL_ILLADR): Likewise.
36721         (ILL_ILLTRP): Likewise.
36722         (ILL_PRVOPC): Likewise.
36723         (ILL_PRVREG): Likewise.
36724         (ILL_COPROC): Likewise.
36725         (ILL_BADSTK): Likewise.
36726         (FPE_INTDIV): Likewise.
36727         (FPE_INTOVF): Likewise.
36728         (FPE_FLTDIV): Likewise.
36729         (FPE_FLTOVF): Likewise.
36730         (FPE_FLTUND): Likewise.
36731         (FPE_FLTRES): Likewise.
36732         (FPE_FLTINV): Likewise.
36733         (FPE_FLTSUB): Likewise.
36734         (SEGV_MAPERR): Likewise.
36735         (SEGV_ACCERR): Likewise.
36736         (BUS_ADRALN): Likewise.
36737         (BUS_ADRERR): Likewise.
36738         (BUS_OBJERR): Likewise.
36739         (BUS_MCEERR_AR): Likewise.
36740         (BUS_MCEERR_AO): Likewise.
36741         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36742         (TRAP_TRACE): Likewise.
36743         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36744         __USE_XOPEN2K8].
36745         (CLD_KILLED): Likewise.
36746         (CLD_DUMPED): Likewise.
36747         (CLD_TRAPPED): Likewise.
36748         (CLD_STOPPED): Likewise.
36749         (CLD_CONTINUED): Likewise.
36750         (POLL_IN): Likewise.
36751         (POLL_OUT): Likewise.
36752         (POLL_MSG): Likewise.
36753         (POLL_ERR): Likewise.
36754         (POLL_PRI): Likewise.
36755         (POLL_HUP): Likewise.
36756         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36757         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36759         [BZ #16670]
36760         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36761         before #include of <time.h>.
36762         [!__USE_XOPEN2K] (__need_timespec): Likewise.
36763         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36764         (test-xfail-UNIX98/sched.h/conform): Likewise.
36766 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36768         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36769         error absence of trapping exception support.
36770         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36772 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36774         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36775         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36776         * timezone/Makefile (testdata): Move definition above include of
36777         Rules.
36778         (test-zones): New variable.
36779         (tests-special): Add zone files.
36780         (build-testdata): Use $(evaluate-test).
36782         * elf/Makefile (tests-special): Rename tests to end with .out.
36783         ($(objpfx)noload-mem): Likewise.
36784         ($(objpfx)tst-leaks1-mem): Likewise.
36785         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36786         * iconv/Makefile (xtests-special): Change test-iconvconfig to
36787         $(objpfx)test-iconvconfig.out.
36788         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
36789         set -e inside subshell and redirect output to file.
36790         * iconvdata/Makefile (generated): Rename tests to end with .out.
36791         Correct type.
36792         (tests-special): Rename tests to end with .out.
36793         ($(objpfx)mtrace-tst-loading): Likewise.
36794         * intl/Makefile (generated): Likewise.
36795         (tests-special): Likewise.
36796         ($(objpfx)mtrace-tst-gettext): Likewise.
36797         * misc/Makefile (generated): Likewise.
36798         (tests-special): Likewise.
36799         ($(objpfx)tst-error1-mem): Likewise.
36800         * nptl/Makefile (tests-special): Likewise.
36801         ($(objpfx)tst-stack3-mem): Likewise.
36802         (generated): Likewise.
36803         * posix/Makefile (generated): Likewise.
36804         (tests-special): Likewise.
36805         (xtests-special): Likewise.
36806         ($(objpfx)tst-fnmatch-mem): Likewise.
36807         ($(objpfx)bug-regex2-mem): Likewise.
36808         ($(objpfx)bug-regex14-mem): Likewise.
36809         ($(objpfx)bug-regex21-mem): Likewise.
36810         ($(objpfx)bug-regex31-mem): Likewise.
36811         ($(objpfx)tst-vfork3-mem): Likewise.
36812         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36813         ($(objpfx)tst-pcre-mem): Likewise.
36814         ($(objpfx)tst-boost-mem): Likewise.
36815         ($(objpfx)bug-ga2-mem): Likewise.
36816         ($(objpfx)bug-glob2-mem): Likewise.
36817         * resolv/Makefile (generate): Likewise.
36818         (tests-special): Likewise.
36819         (xtests-special): Likewise.
36820         (generated): Likewise.
36821         ($(objpfx)mtrace-tst-leaks): Likewise.
36822         ($(objpfx)mtrace-tst-leaks2): Likewise.
36824         * scripts/merge-test-results.sh: New file.
36825         * Makefile (tests-special-notdir): New variable.
36826         (tests): Run merge-test-results.sh.
36827         (xtests): Likewise.
36828         * Rules (tests-special-notdir): New variable.
36829         (xtests-special-notdir): Likewise.
36830         (tests): Run merge-test-results.sh
36831         (xtests): Likewise.
36833         * Makeconfig (test-xfail-name): New variable.
36834         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36835         compute variable name for expected failures.
36836         * conform/Makefile (conformtest-headers-data): New variable.
36837         (conformtest-standards): Likewise.
36838         (conformtest-headers-ISO): Likewise.
36839         (conformtest-headers-ISO99): Likewise.
36840         (conformtest-headers-ISO11): Likewise.
36841         (conformtest-headers-POSIX): Likewise.
36842         (conformtest-headers-XPG3): Likewise.
36843         (conformtest-headers-XPG4): Likewise.
36844         (conformtest-headers-UNIX98): Likewise.
36845         (conformtest-headers-XOPEN2K): Likewise.
36846         (conformtest-headers-POSIX2008): Likewise.
36847         (conformtest-headers-XOPEN2K8): Likewise.
36848         (conformtest-header-list-base): Likewise.
36849         (conformtest-header-list-tests): Likewise.
36850         (conformtest-header-base): Likewise.
36851         (conformtest-header-tests): Likewise.
36852         (tests-special): Add $(conformtest-header-list-tests).  If
36853         [$(fast-check) && !$(cross-compiling)], add
36854         $(conformtest-header-tests) instead of
36855         $(objpfx)run-conformtest.out.
36856         (generated): Add $(conformtest-header-list-base).  If
36857         [$(fast-check) && !$(cross-compiling)], add
36858         $(conformtest-header-base).  Remove previous setting.
36859         ($(conformtest-header-list-tests)): New target.
36860         (test-xfail-run-conformtest): Remove variable.
36861         ($(objpfx)run-conformtest.out): Remove target.
36862         (test-xfail-ISO11/complex.h/conform): New variable.
36863         (test-xfail-ISO11/stdalign.h/conform): Likewise.
36864         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36865         (test-xfail-XPG3/varargs.h/conform): Likewise.
36866         (test-xfail-XPG4/varargs.h/conform): Likewise.
36867         (test-xfail-UNIX98/varargs.h/conform): Likewise.
36868         (test-xfail-XPG4/ndbm.h/conform): Likewise.
36869         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36870         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36871         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36872         (test-xfail-XPG3/fcntl.h/conform): Likewise.
36873         (test-xfail-XPG3/ftw.h/conform): Likewise.
36874         (test-xfail-XPG3/grp.h/conform): Likewise.
36875         (test-xfail-XPG3/langinfo.h/conform): Likewise.
36876         (test-xfail-XPG3/limits.h/conform): Likewise.
36877         (test-xfail-XPG3/pwd.h/conform): Likewise.
36878         (test-xfail-XPG3/search.h/conform): Likewise.
36879         (test-xfail-XPG3/signal.h/conform): Likewise.
36880         (test-xfail-XPG3/stdio.h/conform): Likewise.
36881         (test-xfail-XPG3/stdlib.h/conform): Likewise.
36882         (test-xfail-XPG3/string.h/conform): Likewise.
36883         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36884         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36885         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36886         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36887         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36888         (test-xfail-XPG3/sys/types.h/conform): Likewise.
36889         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36890         (test-xfail-XPG3/termios.h/conform): Likewise.
36891         (test-xfail-XPG3/time.h/conform): Likewise.
36892         (test-xfail-XPG3/unistd.h/conform): Likewise.
36893         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36894         (test-xfail-XPG4/fcntl.h/conform): Likewise.
36895         (test-xfail-XPG4/langinfo.h/conform): Likewise.
36896         (test-xfail-XPG4/netdb.h/conform): Likewise.
36897         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36898         (test-xfail-XPG4/signal.h/conform): Likewise.
36899         (test-xfail-XPG4/stdio.h/conform): Likewise.
36900         (test-xfail-XPG4/stdlib.h/conform): Likewise.
36901         (test-xfail-XPG4/stropts.h/conform): Likewise.
36902         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36903         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36904         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36905         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36906         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36907         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36908         (test-xfail-XPG4/sys/time.h/conform): Likewise.
36909         (test-xfail-XPG4/sys/types.h/conform): Likewise.
36910         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36911         (test-xfail-XPG4/termios.h/conform): Likewise.
36912         (test-xfail-XPG4/ucontext.h/conform): Likewise.
36913         (test-xfail-XPG4/unistd.h/conform): Likewise.
36914         (test-xfail-XPG4/utmpx.h/conform): Likewise.
36915         (test-xfail-POSIX/sched.h/conform): Likewise.
36916         (test-xfail-POSIX/signal.h/conform): Likewise.
36917         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36918         (test-xfail-POSIX/tar.h/conform): Likewise.
36919         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36920         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36921         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36922         (test-xfail-UNIX98/netdb.h/conform): Likewise.
36923         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36924         (test-xfail-UNIX98/sched.h/conform): Likewise.
36925         (test-xfail-UNIX98/signal.h/conform): Likewise.
36926         (test-xfail-UNIX98/stdio.h/conform): Likewise.
36927         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36928         (test-xfail-UNIX98/stropts.h/conform): Likewise.
36929         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36930         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36931         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36932         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36933         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36934         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36935         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36936         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36937         (test-xfail-UNIX98/unistd.h/conform): Likewise.
36938         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36939         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36940         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36941         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36942         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36943         (test-xfail-XOPEN2K/math.h/conform): Likewise.
36944         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36945         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36946         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36947         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36948         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36949         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36950         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36951         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36952         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36953         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36954         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36955         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36956         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36957         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36958         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36959         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36960         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36961         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36962         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36963         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36964         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36965         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36966         (test-xfail-POSIX2008/signal.h/conform): Likewise.
36967         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36968         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36969         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36970         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36971         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36972         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36973         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36974         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36975         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36976         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36977         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36978         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36979         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36980         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36981         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36982         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36983         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36984         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36985         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36986         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36987         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36988         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36989         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36990         (conformtest-cc-flags): Likewise.
36991         ($(conformtest-header-tests): New target.
36992         * conform/check-header-lists.sh: New file.
36993         * conform/run-conformtest.sh: Remove.
36995         * conform/conformtest.pl: Allow ' and \ in values given for
36996         constants.
36997         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36998         inclusion.
36999         [POSIX] (sys/types.h): Likewise.
37000         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
37001         inclusion.
37002         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
37003         inclusion.
37004         * conform/data/signal.h-data (SIGIO): Remove expectation.
37005         [XPG3] (SIGBUS): Do not expect.
37006         [POSIX || XPG3] (SIGPOLL): Likewise.
37007         [POSIX || XPG3] (SIGPROF): Likewise.
37008         [POSIX || XPG3] (SIGSYS): Likewise.
37009         [XPG3] (SIGTRAP): Likewise.
37010         [POSIX || XPG3] (SIGURG): Likewise.
37011         [POSIX || XPG3] (SIGVTALRM): Likewise.
37012         [POSIX || XPG3] (SIGXCPU): Likewise.
37013         [POSIX || XPG3] (SIGXFSZ): Likewise.
37014         [POSIX] (SA_SIGINFO): Expect.
37015         [XPG3] (siginfo_t): Do not expect type or contents.
37016         [POSIX] (si_pid): Do not expect element.
37017         [POSIX] (si_uid): Likewise.
37018         [POSIX] (si_addr): Likewise.
37019         [POSIX] (si_status): Likewise.
37020         [POSIX] (si_band): Likewise.
37021         [XPG4] (si_value): Likewise.
37022         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
37023         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
37024         [POSIX || XPG3] (ILL_ILLADR): Likewise.
37025         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
37026         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
37027         [POSIX || XPG3] (ILL_PRVREG): Likewise.
37028         [POSIX || XPG3] (ILL_COPROC): Likewise.
37029         [POSIX || XPG3] (ILL_BADSTK): Likewise.
37030         [POSIX || XPG3] (FPE_INTDIV): Likewise.
37031         [POSIX || XPG3] (FPE_INTOVF): Likewise.
37032         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
37033         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
37034         [POSIX || XPG3] (FPE_FLTUND): Likewise.
37035         [POSIX || XPG3] (FPE_FLTRES): Likewise.
37036         [POSIX || XPG3] (FPE_FLTINV): Likewise.
37037         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
37038         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
37039         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
37040         [POSIX || XPG3] (BUS_ADRALN): Likewise.
37041         [POSIX || XPG3] (BUS_ADRERR): Likewise.
37042         [POSIX || XPG3] (BUS_OBJERR): Likewise.
37043         [POSIX || XPG3] (CLD_EXITED): Likewise.
37044         [POSIX || XPG3] (CLD_KILLED): Likewise.
37045         [POSIX || XPG3] (CLD_DUMPED): Likewise.
37046         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
37047         [POSIX || XPG3] (CLD_STOPPED): Likewise.
37048         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
37049         [POSIX || XPG3] (POLL_IN): Likewise.
37050         [POSIX || XPG3] (POLL_OUT): Likewise.
37051         [POSIX || XPG3] (POLL_MSG): Likewise.
37052         [POSIX || XPG3] (POLL_ERR): Likewise.
37053         [POSIX || XPG3] (POLL_PRI): Likewise.
37054         [POSIX || XPG3] (POLL_HUP): Likewise.
37055         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
37056         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
37057         (SIG*): Do not allow.
37058         [XPG3] (si_*): Likewise.
37059         [XPG3] (SI_*): Likewise.
37060         [XPG3 || XPG4] (sigev_*): Likewise.
37061         [XPG3 || XPG4] (SIGEV_*): Likewise.
37062         [XPG3 || XPG4] (sival_*): Likewise.
37063         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
37064         [POSIX || XPG3] (BUS_*): Likewise.
37065         [POSIX || XPG3] (CLD_*): Likewise.
37066         [POSIX || XPG3] (FPE_*): Likewise.
37067         [POSIX || XPG3] (ILL_*): Likewise.
37068         [POSIX || XPG3] (POLL_*): Likewise.
37069         [POSIX || XPG3] (SEGV_*): Likewise.
37070         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
37071         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
37072         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
37073         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
37074         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
37075         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
37076         Specify type and value.
37077         (TVERSLEN): Likewise.
37078         (REGTYPE): Likewise.
37079         (AREGTYPE): Likewise.
37080         (LNKTYPE): Likewise.
37081         (SYMTYPE): Likewise.
37082         (CHRTYPE): Likewise.
37083         (BLKTYPE): Likewise.
37084         (DIRTYPE): Likewise.
37085         (FIFOTYPE): Likewise.
37086         (CONTTYPE): Likewise.
37087         (TSUID): Likewise.
37088         (TSGID): Likewise.
37089         (TSVTX): Likewise.
37090         (TUREAD): Likewise.
37091         (TUWRITE): Likewise.
37092         (TUEXEC): Likewise.
37093         (TGREAD): Likewise.
37094         (TGWRITE): Likewise.
37095         (TGEXEC): Likewise.
37096         (TOREAD): Likewise.
37097         (TOWRITE): Likewise.
37098         (TOEXEC): Likewise.
37099         [POSIX] (TSVTX): Expect constant.
37101 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
37103         * Makefile (tests): Change dependencies to ....
37104         (tests-special): ... additions to this variable.
37105         (tests): Depend on $(tests-special).
37106         * Makerules (check-abi-list): New variable.
37107         (check-abi): Depend on $(check-abi-list).
37108         [$(subdir) = elf] (tests-special): Add
37109         $(objpfx)check-abi-libc.out.
37110         [$(build-shared) = yes && subdir] (tests-special): Add
37111         $(check-abi-list).
37112         [$(build-shared) = yes && subdir] (tests): Do not depend on
37113         check-abi.
37114         * Rules (tests): Depend on $(tests-special).
37115         (xtests): Depend on $(xtests-special).
37116         * catgets/Makefile (tests): Change dependencies to ....
37117         (tests-special): ... additions to this variable.
37118         * conform/Makefile (tests): Change dependencies to ....
37119         (tests-special): ... additions to this variable.
37120         * elf/Makefile (tests): Change dependencies to ....
37121         (tests-special): ... additions to this variable.
37122         * grp/Makefile (tests): Change dependencies to ....
37123         (tests-special): ... additions to this variable.
37124         * iconv/Makefile (xtests): Change dependencies to ....
37125         (xtests-special): ... additions to this variable.
37126         * iconvdata/Makefile (tests): Change dependencies to ....
37127         (tests-special): ... additions to this variable.
37128         * intl/Makefile (tests): Change dependencies to ....
37129         (tests-special): ... additions to this variable.  Also add
37130         $(objpfx)tst-gettext.out.
37131         * io/Makefile (tests): Change dependencies to ....
37132         (tests-special): ... additions to this variable.
37133         * libio/Makefile (tests): Change dependencies to ....
37134         (tests-special): ... additions to this variable.
37135         * malloc/Makefile (tests): Change dependencies to ....
37136         (tests-special): ... additions to this variable.
37137         * misc/Makefile (tests): Change dependencies to ....
37138         (tests-special): ... additions to this variable.
37139         * nptl/Makefile (tests): Change dependencies to ....
37140         (tests-special): ... additions to this variable.
37141         * nptl_db/Makefile (tests): Change dependencies to ....
37142         (tests-special): ... additions to this variable.
37143         * posix/Makefile (tests): Change dependencies to ....
37144         (tests-special): ... additions to this variable.
37145         (xtests): Change dependencies to ....
37146         (xtests-special): ... additions to this variable.
37147         * resolv/Makefile (tests): Change dependencies to ....
37148         (tests-special): ... additions to this variable.
37149         (xtests): Change dependencies to ....
37150         (xtests-special): ... additions to this variable.
37151         * stdio-common/Makefile (tests): Change dependencies to ....
37152         (tests-special): ... additions to this variable.
37153         (do-tst-unbputc): Remove target.
37154         (do-tst-printf): Likewise.
37155         * stdlib/Makefile (tests): Change dependencies to ....
37156         (tests-special): ... additions to this variable.
37157         * string/Makefile (tests): Change dependencies to ....
37158         (tests-special): ... additions to this variable.
37159         * sysdeps/x86/Makefile (tests): Change dependencies to ....
37160         (tests-special): ... additions to this variable.
37162         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
37163         whole file.
37164         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
37165         whole file.
37166         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
37167         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
37169         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
37170         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
37171         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
37172         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
37173         * conform/data/libgen.h-data [XPG3]: Likewise.
37174         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
37175         * conform/data/ndbm.h-data [XPG3]: Likewise.
37176         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37177         * conform/data/netdb.h-data [XPG3]: Likewise.
37178         * conform/data/netinet/in.h-data [XPG3]: Likewise.
37179         * conform/data/poll.h-data [XPG3]: Likewise.
37180         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37181         * conform/data/strings.h-data [XPG3]: Likewise.
37182         * conform/data/stropts.h-data [XPG3]: Likewise.
37183         * conform/data/sys/mman.h-data [XPG3]: Likewise.
37184         * conform/data/sys/resource.h-data [XPG3]: Likewise.
37185         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
37186         Likewise.
37187         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
37188         * conform/data/sys/time.h-data [XPG3]: Likewise.
37189         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
37190         * conform/data/sys/uio.h-data [XPG3]: Likewise.
37191         * conform/data/sys/un.h-data [XPG3]: Likewise.
37192         * conform/data/syslog.h-data [XPG3]: Likewise.
37193         * conform/data/ucontext.h-data [XPG3]: Likewise.
37194         * conform/data/utmpx.h-data [XPG3]: Likewise.
37195         * conform/data/varargs.h-data [UNIX98]: Enable file.
37197         * manual/Makefile (INSTALL_INFO): Remove variable setting.
37199         * math/libm-test.inc (struct test_f_f_data): Move expected results
37200         into structure for each rounding mode.
37201         (struct test_ff_f_data): Likewise.
37202         (struct test_ff_f_data_nexttoward): Likewise.
37203         (struct test_fi_f_data): Likewise.
37204         (struct test_fl_f_data): Likewise.
37205         (struct test_if_f_data): Likewise.
37206         (struct test_fff_f_data): Likewise.
37207         (struct test_c_f_data): Likewise.
37208         (struct test_f_f1_data): Likewise.
37209         (struct test_fF_f1_data): Likewise.
37210         (struct test_ffI_f1_data): Likewise.
37211         (struct test_c_c_data): Likewise.
37212         (struct test_cc_c_data): Likewise.
37213         (struct test_f_i_data): Likewise.
37214         (struct test_ff_i_data): Likewise.
37215         (struct test_f_l_data): Likewise.
37216         (struct test_f_L_data): Likewise.
37217         (struct test_fFF_11_data): Likewise.
37218         (RM_): New macro.
37219         (RM_FE_DOWNWARD): Likewise.
37220         (RM_FE_TONEAREST): Likewise.
37221         (RM_FE_TOWARDZERO): Likewise.
37222         (RM_FE_UPWARD): Likewise.
37223         (RUN_TEST_LOOP_f_f): Update references to expected results.
37224         (RUN_TEST_LOOP_2_f): Likewise.
37225         (RUN_TEST_LOOP_fff_f): Likewise.
37226         (RUN_TEST_LOOP_c_f): Likewise.
37227         (RUN_TEST_LOOP_f_f1): Likewise.
37228         (RUN_TEST_LOOP_fF_f1): Likewise.
37229         (RUN_TEST_LOOP_fI_f1): Likewise.
37230         (RUN_TEST_LOOP_ffI_f1): Likewise.
37231         (RUN_TEST_LOOP_c_c): Likewise.
37232         (RUN_TEST_LOOP_cc_c): Likewise.
37233         (RUN_TEST_LOOP_f_i): Likewise.
37234         (RUN_TEST_LOOP_f_i_tg): Likewise.
37235         (RUN_TEST_LOOP_ff_i_tg): Likewise.
37236         (RUN_TEST_LOOP_f_b): Likewise.
37237         (RUN_TEST_LOOP_f_b_tg): Likewise.
37238         (RUN_TEST_LOOP_f_l): Likewise.
37239         (RUN_TEST_LOOP_f_L): Likewise.
37240         (RUN_TEST_LOOP_fFF_11): Likewise.
37241         * math/gen-libm-test.pl (parse_args): Output four copies of
37242         expected results for each test.
37244         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37245         (__ASSUME_UTIMES): Remove.
37246         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37247         (__ASSUME_UTIMES): Likewise.
37249         * math/gen-auto-libm-tests.c: Update comment on output format.
37250         (output_for_one_input_case): Generate before-rounding and
37251         after-rounding information as conditions on output flags not
37252         floating-point format.
37253         * math/auto-libm-test-out: Regenerated.
37254         * math/gen-libm-test.pl (cond_value): New function.
37255         (or_cond_value): Use cond_value.
37256         (generate_testfile): Handle conditional exceptions.
37258 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
37260         * math/libm-test.inc (max_valid_error): New variable.
37261         (init_max_error): Take new argument specifying whether function
37262         results are exactly determined.  Set max_valid_error and bound
37263         other variables for errors based on this argument.
37264         (set_max_error): Do not record results above max_valid_error.
37265         (check_float_internal): Only accept errors of up to 0.5ulps if
37266         also at most max_valid_error.
37267         (START): Take new argument EXACT and pass it to init_max_error.
37268         (acos_test): Update call to START.
37269         (acos_test_tonearest): Likewise.
37270         (acos_test_towardzero): Likewise.
37271         (acos_test_downward): Likewise.
37272         (acos_test_upward): Likewise.
37273         (acosh_test): Likewise.
37274         (asin_test): Likewise.
37275         (asin_test_tonearest): Likewise.
37276         (asin_test_towardzero): Likewise.
37277         (asin_test_downward): Likewise.
37278         (asin_test_upward): Likewise.
37279         (asinh_test): Likewise.
37280         (atan_test): Likewise.
37281         (atanh_test): Likewise.
37282         (atan2_test): Likewise.
37283         (cabs_test): Likewise.
37284         (cacos_test): Likewise.
37285         (cacosh_test): Likewise.
37286         (carg_test): Likewise.
37287         (casin_test): Likewise.
37288         (casinh_test): Likewise.
37289         (catan_test): Likewise.
37290         (catanh_test): Likewise.
37291         (cbrt_test): Likewise.
37292         (ccos_test): Likewise.
37293         (ccosh_test): Likewise.
37294         (ceil_test): Likewise.
37295         (cexp_test): Likewise.
37296         (cimag_test): Likewise.
37297         (clog_test): Likewise.
37298         (clog10_test): Likewise.
37299         (conj_test): Likewise.
37300         (copysign_test): Likewise.
37301         (cos_test): Likewise.
37302         (cos_test_tonearest): Likewise.
37303         (cos_test_towardzero): Likewise.
37304         (cos_test_downward): Likewise.
37305         (cos_test_upward): Likewise.
37306         (cosh_test): Likewise.
37307         (cosh_test_tonearest): Likewise.
37308         (cosh_test_towardzero): Likewise.
37309         (cosh_test_downward): Likewise.
37310         (cosh_test_upward): Likewise.
37311         (cpow_test): Likewise.
37312         (cproj_test): Likewise.
37313         (creal_test): Likewise.
37314         (csin_test): Likewise.
37315         (csinh_test): Likewise.
37316         (csqrt_test): Likewise.
37317         (ctan_test): Likewise.
37318         (ctan_test_tonearest): Likewise.
37319         (ctan_test_towardzero): Likewise.
37320         (ctan_test_downward): Likewise.
37321         (ctan_test_upward): Likewise.
37322         (ctanh_test): Likewise.
37323         (ctanh_test_tonearest): Likewise.
37324         (ctanh_test_towardzero): Likewise.
37325         (ctanh_test_downward): Likewise.
37326         (ctanh_test_upward): Likewise.
37327         (erf_test): Likewise.
37328         (erfc_test): Likewise.
37329         (exp_test): Likewise.
37330         (exp_test_tonearest): Likewise.
37331         (exp_test_towardzero): Likewise.
37332         (exp_test_downward): Likewise.
37333         (exp_test_upward): Likewise.
37334         (exp10_test): Likewise.
37335         (exp10_test_tonearest): Likewise.
37336         (exp10_test_towardzero): Likewise.
37337         (exp10_test_downward): Likewise.
37338         (exp10_test_upward): Likewise.
37339         (pow10_test): Likewise.
37340         (exp2_test): Likewise.
37341         (expm1_test): Likewise.
37342         (expm1_test_tonearest): Likewise.
37343         (expm1_test_towardzero): Likewise.
37344         (expm1_test_downward): Likewise.
37345         (expm1_test_upward): Likewise.
37346         (fabs_test): Likewise.
37347         (fdim_test): Likewise.
37348         (floor_test): Likewise.
37349         (fma_test): Likewise.
37350         (fma_test_towardzero): Likewise.
37351         (fma_test_downward): Likewise.
37352         (fma_test_upward): Likewise.
37353         (fmax_test): Likewise.
37354         (fmin_test): Likewise.
37355         (fmod_test): Likewise.
37356         (fpclassify_test): Likewise.
37357         (frexp_test): Likewise.
37358         (hypot_test): Likewise.
37359         (ilogb_test): Likewise.
37360         (isfinite_test): Likewise.
37361         (finite_test): Likewise.
37362         (isgreater_test): Likewise.
37363         (isgreaterequal_test): Likewise.
37364         (isinf_test): Likewise.
37365         (isless_test): Likewise.
37366         (islessequal_test): Likewise.
37367         (islessgreater_test): Likewise.
37368         (isnan_test): Likewise.
37369         (isnormal_test): Likewise.
37370         (issignaling_test): Likewise.
37371         (isunordered_test): Likewise.
37372         (j0_test): Likewise.
37373         (j1_test): Likewise.
37374         (jn_test): Likewise.
37375         (ldexp_test): Likewise.
37376         (lgamma_test): Likewise.
37377         (gamma_test): Likewise.
37378         (lrint_test): Likewise.
37379         (lrint_test_tonearest): Likewise.
37380         (lrint_test_towardzero): Likewise.
37381         (lrint_test_downward): Likewise.
37382         (lrint_test_upward): Likewise.
37383         (llrint_test): Likewise.
37384         (llrint_test_tonearest): Likewise.
37385         (llrint_test_towardzero): Likewise.
37386         (llrint_test_downward): Likewise.
37387         (llrint_test_upward): Likewise.
37388         (log_test): Likewise.
37389         (log10_test): Likewise.
37390         (log1p_test): Likewise.
37391         (log2_test): Likewise.
37392         (logb_test): Likewise.
37393         (logb_test_downward): Likewise.
37394         (lround_test): Likewise.
37395         (llround_test): Likewise.
37396         (modf_test): Likewise.
37397         (nearbyint_test): Likewise.
37398         (nextafter_test): Likewise.
37399         (nexttoward_test): Likewise.
37400         (pow_test): Likewise.
37401         (pow_test_tonearest): Likewise.
37402         (pow_test_towardzero): Likewise.
37403         (pow_test_downward): Likewise.
37404         (pow_test_upward): Likewise.
37405         (remainder_test): Likewise.
37406         (drem_test): Likewise.
37407         (remainder_test_tonearest): Likewise.
37408         (drem_test_tonearest): Likewise.
37409         (remainder_test_towardzero): Likewise.
37410         (drem_test_towardzero): Likewise.
37411         (remainder_test_downward): Likewise.
37412         (drem_test_downward): Likewise.
37413         (remainder_test_upward): Likewise.
37414         (drem_test_upward): Likewise.
37415         (remquo_test): Likewise.
37416         (rint_test): Likewise.
37417         (rint_test_tonearest): Likewise.
37418         (rint_test_towardzero): Likewise.
37419         (rint_test_downward): Likewise.
37420         (rint_test_upward): Likewise.
37421         (round_test): Likewise.
37422         (scalb_test): Likewise.
37423         (scalbn_test): Likewise.
37424         (scalbln_test): Likewise.
37425         (signbit_test): Likewise.
37426         (sin_test): Likewise.
37427         (sin_test_tonearest): Likewise.
37428         (sin_test_towardzero): Likewise.
37429         (sin_test_downward): Likewise.
37430         (sin_test_upward): Likewise.
37431         (sincos_test): Likewise.
37432         (sinh_test): Likewise.
37433         (sinh_test_tonearest): Likewise.
37434         (sinh_test_towardzero): Likewise.
37435         (sinh_test_downward): Likewise.
37436         (sinh_test_upward): Likewise.
37437         (sqrt_test): Likewise.
37438         (sqrt_test_tonearest): Likewise.
37439         (sqrt_test_towardzero): Likewise.
37440         (sqrt_test_downward): Likewise.
37441         (sqrt_test_upward): Likewise.
37442         (tan_test): Likewise.
37443         (tan_test_tonearest): Likewise.
37444         (tan_test_towardzero): Likewise.
37445         (tan_test_downward): Likewise.
37446         (tan_test_upward): Likewise.
37447         (tanh_test): Likewise.
37448         (tgamma_test): Likewise.
37449         (trunc_test): Likewise.
37450         (y0_test): Likewise.
37451         (y1_test): Likewise.
37452         (yn_test): Likewise.
37453         (significand_test): Likewise.
37455         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
37456         individual tests in comment.
37457         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
37458         (prev_max_error): New variable.
37459         (prev_real_max_error): Likewise.
37460         (prev_imag_max_error): Likewise.
37461         (compare_ulp_data): Don't refer to test names in comment.
37462         (find_test_ulps): Remove function.
37463         (find_function_ulps): Likewise.
37464         (find_complex_function_ulps): Likewise.
37465         (init_max_error): Take function name as argument.  Look up ulps
37466         for that function.
37467         (print_ulps): Remove function.
37468         (print_max_error): Use prev_max_error instead of calling
37469         find_function_ulps.
37470         (print_complex_max_error): Use prev_real_max_error and
37471         prev_imag_max_error instead of calling find_complex_function_ulps.
37472         (check_float_internal): Take max_ulp parameter instead of calling
37473         find_test_ulps.  Don't call print_ulps.
37474         (check_float): Update call to check_float_internal.
37475         (check_complex): Update calls to check_float_internal.
37476         (START): Pass argument to init_max_error.
37477         * math/gen-libm-test.pl (%results): Don't include "kind"
37478         information.
37479         (parse_ulps): Don't handle ulps of individual tests.
37480         (print_ulps_file): Likewise.
37481         (output_ulps): Likewise.
37482         * math/README.libm-test: Update.
37483         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
37484         individual tests.
37485         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
37486         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
37487         * sysdeps/arm/libm-test-ulps: Likewise.
37488         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
37489         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
37490         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
37491         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
37492         * sysdeps/microblaze/libm-test-ulps: Likewise.
37493         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
37494         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37495         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37496         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
37497         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37498         * sysdeps/sh/libm-test-ulps: Likewise.
37499         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37500         * sysdeps/tile/libm-test-ulps: Likewise.
37501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37503 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
37505         * math/libm-test.inc (print_complex_max_error): Check separately
37506         whether real and imaginary errors are within allowed range and
37507         pass 0 to print_complex_function_ulps instead of value within
37508         allowed range.
37510 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37512         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
37513         formatting.
37514         (get_handles_fopen): Likewise.
37515         (do_write_test): Likewise.
37517         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
37519         * libio/fileops.c (do_ftell): Use cached offset when
37520         available.
37521         * libio/iofwide.c (do_ftell_wide): Likewise.
37522         * libio/iofdopen.c (_IO_new_fdopen): Don't use
37523         _IO_file_attach.
37524         * libio/wfileops.c (_IO_fwide): Don't cache offset.
37526         [BZ #16532]
37527         * libio/libioP.h (get_file_offset): New function.
37528         * libio/fileops.c (get_file_offset): Likewise.
37529         (do_ftell): Likewise.
37530         (_IO_new_file_seekoff): Split out ftell logic.
37531         * libio/wfileops.c (do_ftell_wide): Likewise.
37532         (_IO_wfile_seekoff): Split out ftell logic.
37533         * libio/tst-ftell-active-handler.c: New test case.
37534         * libio/Makefile (tests): Add it.
37536 2014-03-03  Roland McGrath  <roland@hack.frob.com>
37538         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
37539         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
37541 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37543         [BZ #16639]
37544         * nscd/connections.c (nscd_init): Call do_exit.
37545         (start_threads): Call do_exit and notify_parent.
37546         (begin_drop_privileges): Call do_exit.
37547         (finish_drop_privileges): Likewise.
37548         * nscd/selinux.c (preserve_capabilities): Likewise.
37549         (install_real_capabilities): Likewise.
37550         (nscd_selinux_enabled): Likewise.
37551         (avc_create_thread): Likewise.
37552         (avc_alloc_lock): Likewise.
37553         (nscd_avc_init): Likewise.
37554         * nscd/nscd.c (parent_fd): New static variable.
37555         (main): Create a pipe between parent and child processes.
37556         Skip closing parent_fd.
37557         (monitor_child): New function.
37558         (do_exit): Likewise.
37559         (notify_parent): Likewise.
37560         * nscd/nscd.h (notify_parent): Likewise.
37561         (do_exit): Likewise.
37563 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
37565         * malloc/malloc.c (__libc_calloc): Revert last change.
37567 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37571 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37573         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
37574         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
37575         implementation.
37576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37577         (__libc_ifunc_impl_list): Likewise.
37578         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
37579         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
37580         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
37581         * string/strrchr.c: Define STRRCHR.
37583 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
37585         * benchtest/bench-strtok.c (simple_strtok): Delete.
37586         (strtok_string): Use as benchmark.
37587         * string/strtok (STRTOK): New macro.
37589 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
37591         * manual/threads.texi: Add header and standard comments to all
37592         functions.
37594         * elf/dl-lookup.c (check_match): New function.
37595         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37596         (do_lookup_x): Remove nested function check_match. Use non-nested
37597         function check_match.
37599 2014-02-28  Roland McGrath  <roland@hack.frob.com>
37601         * csu/Makefile (generated, before-compile): Use += rather than =.
37602         * catgets/Makefile (generated, generated-dirs): Likewise.
37603         * debug/Makefile (generated): Likewise.
37604         * dlfcn/Makefile (generated): Likewise.
37605         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37606         * iconvdata/Makefile (before-compile, generated): Likewise.
37607         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37608         * libio/Makefile (generated): Likewise.
37609         * malloc/Makefile (generated): Likewise.
37610         * manual/Makefile (generated, generated-dirs): Likewise.
37611         * misc/Makefile (generated): Likewise.
37612         * posix/Makefile (generated): Likewise.
37613         * resolv/Makefile (generated): Likewise.
37614         * sunrpc/Makefile (generated, generated-dirs): Likewise.
37615         * timezone/Makefile (generated, generated-dirs): Likewise.
37617         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37619 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37621         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37622         power8 implementation.
37623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37624         file: POWER8 llround ifunc implementation.
37625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37626         (__lllround): Add POWER8 implementation.
37627         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37628         POWER8 llround implementation.
37630         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37631         power8 implementation.
37632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37633         file: POWER8 llrint ifunc implementation.
37634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37635         Add POWER8 implementation.
37636         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37637         POWER8 llrint implementation.
37639         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37640         power8 implementation.
37641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37642         file: POWER8 finite ifunc implementation.
37643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37644         Add POWER8 implementation.
37645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37646         Likewise.
37647         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37648         POWER8 finite implementation.
37649         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37651         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37652         power8 implementation.
37653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37654         file: POWER8 isinf ifunc implementation.
37655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37656         POWER8 implementation.
37657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37658         Likewise.
37659         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37660         isinf implementation.
37661         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37663         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37664         (INIT_ARCH): Add hwcap2 initialization.
37665         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37666         power8 implementation.
37667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37668         file: POWER8 isnan ifunc implementation.
37669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37670         POWER8 implementation.
37671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37672         Likewise.
37673         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37674         isnan implementation.
37675         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37677 2014-02-27  Joey Ye  <joey.ye@arm.com>
37679         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37680         (_FP_NANFRAC_Q): Set to zero.
37682 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37684         [BZ #16623]
37685         * math/auto-libm-test-in: New test inputs.
37686         * math/auto-libm-test-out: Regenerate.
37687         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37688         and DA.
37689         (__cos): Likewise.
37690         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37692 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
37694         * scripts/evaluate-test.sh: Take new argument indicating whether
37695         failure is expected.
37696         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37697         indicating whether failure is expected.
37698         * conform/Makefile (test-xfail-run-conformtest): New variable.
37699         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37700         level.
37701         * posix/Makefile (test-xfail-annexc): New variable.
37702         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37704 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
37706         * argp/Makefile: Include Makeconfig immediately after defining
37707         subdir.
37708         * assert/Makefile: Likewise.
37709         * benchtests/Makefile: Likewise.
37710         * catgets/Makefile: Likewise.
37711         * conform/Makefile: Likewise.
37712         * crypt/Makefile: Likewise.
37713         * csu/Makefile: Likewise.
37714         (all): Remove target.
37715         * ctype/Makefile: Include Makeconfig immediately after defining
37716         subdir.
37717         * debug/Makefile: Likewise.
37718         * dirent/Makefile: Likewise.
37719         * dlfcn/Makefile: Likewise.
37720         * gmon/Makefile: Likewise.
37721         * gnulib/Makefile: Likewise.
37722         * grp/Makefile: Likewise.
37723         * gshadow/Makefile: Likewise.
37724         * hesiod/Makefile: Likewise.
37725         * hurd/Makefile: Likewise.
37726         (all): Remove target.
37727         * iconvdata/Makefile: Include Makeconfig immediately after
37728         defining subdir.
37729         * inet/Makefile: Likewise.
37730         * intl/Makefile: Likewise.
37731         * io/Makefile: Likewise.
37732         * libio/Makefile: Likewise.
37733         (all): Remove target.
37734         * locale/Makefile: Include Makeconfig immediately after defining
37735         subdir.
37736         * login/Makefile: Likewise.
37737         * mach/Makefile: Likewise.
37738         (all): Remove target.
37739         * malloc/Makefile: Include Makeconfig immediately after defining
37740         subdir.
37741         (all): Remove target.
37742         * manual/Makefile: Include Makeconfig immediately after defining
37743         subdir.
37744         * math/Makefile: Likewise.
37745         * misc/Makefile: Likewise.
37746         * nis/Makefile: Likewise.
37747         * nss/Makefile: Likewise.
37748         * po/Makefile: Likewise.
37749         (all): Remove target.
37750         * posix/Makefile: Include Makeconfig immediately after defining
37751         subdir.
37752         * pwd/Makefile: Likewise.
37753         * resolv/Makefile: Likewise.
37754         * resource/Makefile: Likewise.
37755         * rt/Makefile: Likewise.
37756         * setjmp/Makefile: Likewise.
37757         * shadow/Makefile: Likewise.
37758         * signal/Makefile: Likewise.
37759         * socket/Makefile: Likewise.
37760         * soft-fp/Makefile: Likewise.
37761         * stdio-common/Makefile: Likewise.
37762         * stdlib/Makefile: Likewise.
37763         * streams/Makefile: Likewise.
37764         * string/Makefile: Likewise.
37765         * sunrpc/Makefile: Likewise.
37766         (all): Remove target.
37767         * sysvipc/Makefile: Include Makeconfig immediately after defining
37768         subdir.
37769         * termios/Makefile: Likewise.
37770         * time/Makefile: Likewise.
37771         * timezone/Makefile: Likewise.
37772         (all): Remove target.
37773         * wcsmbs/Makefile: Include Makeconfig immediately after defining
37774         subdir.
37775         * wctype/Makefile: Likewise.
37777 2014-02-26  Steve Ellcey  <sellcey@mips.com>
37779         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37780         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37781         (libc_feholdexcept_setround_mips): Ditto.
37782         (libc_feholdsetround): New.
37783         (libc_feholdsetroundf): New.
37784         (libc_feholdsetroundl): New.
37785         (libc_feupdateenv_test_mips): New.
37786         (libc_feupdateenv_test): New.
37787         (libc_feupdateenv_testf): New.
37788         (libc_feupdateenv_testl): New.
37789         (libc_feresetround): New.
37790         (libc_feresetroundf): New.
37791         (libc_feresetroundl): New.
37792         (libc_fetestexcept_mips): New.
37793         (libc_fetestexcept): New.
37794         (libc_fetestexceptf): New.
37795         (libc_fetestexceptl): New.
37796         (HAVE_RM_CTX): New.
37797         (libc_feholdexcept_setround_mips_ctx): New.
37798         (libc_feholdexcept_setround_ctx): New.
37799         (libc_feholdexcept_setroundf_ctx): New.
37800         (libc_feholdexcept_setroundl_ctx): New.
37801         (libc_fesetenv_mips_ctx): New.
37802         (libc_fesetenv_ctx): New.
37803         (libc_fesetenv_ctxf): New.
37804         (libc_fesetenv_ctxl): New.
37805         (libc_feupdateenv_mips_ctx): New.
37806         (libc_feupdateenv_ctx): New.
37807         (libc_feupdateenvf_ctx): New.
37808         (libc_feupdateenvl_ctx): New.
37809         (libc_feholdsetround_mips_ctx): New.
37810         (libc_feholdsetround_ctx): New.
37811         (libc_feholdsetroundf_ctx): New.
37812         (libc_feholdsetroundl_ctx): New.
37813         (libc_feresetround_mips_ctx): New.
37814         (libc_feresetround_ctx): New.
37815         (libc_feresetroundf_ctx): New.
37816         (libc_feresetroundl_ctx): New.
37818 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
37820         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37822         * manual/ipc.texi: New file.
37823         * manual/Makefile (chapters): Add ipc.
37824         * manual/job.texi: Add "Inter-Process Communication" to next.
37825         * manual/process.texi: Add "Inter-Process Communication" to prev.
37827 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37831 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
37833         * malloc/malloc.c (__libc_calloc): Simplify implementation.
37835         * manual/arith.texi: Fix spaces after sentences.
37836         * manual/charset.texi: Likewise.
37837         * manual/errno.texi: Likewise.
37838         * manual/install.texi: Likewise.
37839         * manual/llio.texi: Likewise.
37840         * manual/locale.texi: Likewise.
37841         * manual/maint.texi: Likewise.
37842         * manual/math.texi: Likewise.
37843         * manual/memory.texi: Likewise.
37844         * manual/message.texi: Likewise.
37845         * manual/probes.texi: Likewise.
37846         * manual/resource.texi: Likewise.
37847         * manual/signal.texi: Likewise.
37848         * manual/socket.texi: Likewise.
37849         * manual/stdio.texi: Likewise.
37850         * manual/string.texi: Likewise.
37851         * manual/time.texi: Likewise.
37852         * manual/users.texi: Likewise.
37854 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
37856         [BZ #16632]
37857         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37858         _DEFAULT_SOURCE is defined.
37860 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
37861             Carlos O'Donell  <carlos@redhat.com>
37863         [BZ #16613]
37864         * elf/dl-tls.c (_dl_count_modids): New function.
37865         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37866         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37867         audit library and increment generation counter.
37868         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37869         * elf/tst-audit9.c: New file.
37870         * elf/tst-auditmod9a.c: New file.
37871         * elf/tst-auditmod9b.c: New file.
37872         * elf/Makefile: Add rules to build and run tst-audit9.
37874 2014-02-25  Florian Weimer  <fweimer@redhat.com>
37876         [BZ #15347]
37877         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37879 2014-02-25  Will Newton  <will.newton@linaro.org>
37881         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37882         (__longjmp): Restore sp and lr before restoring callee
37883         saved registers.  Add longjmp and longjmp_target
37884         SystemTap probe point.
37885         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37886         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37887         Define to zero to match jmpbuf layout.
37888         * sysdeps/arm/setjmp.S: Include stap-probe.h.
37889         (__sigsetjmp): Save sp and lr before saving callee
37890         saved registers.  Add setjmp SystemTap probe point.
37892 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37894         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37896 2014-02-24  Andreas Schwab  <schwab@suse.de>
37898         [BZ #15804]
37899         * elf/pldd.c (wait_for_ptrace_stop): New function.
37900         (main): Call it after attaching.
37902 2014-02-22  Roland McGrath  <roland@hack.frob.com>
37904         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37905         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37906         Versions files is now verboten.
37907         * hurd/Versions (libc: GLIBC_2.0):
37908         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37909         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37910         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37911         * mach/Versions: Likewise.
37913         * csu/Versions: Remove unused %include.
37914         * resolv/Versions: Likewise.
37916 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
37918         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37919         ($(objpfx)check-local-headers.out): Likewise.
37920         ($(objpfx)begin-end-check.out): Likewise.
37921         * Makerules (check-abi-%.out): Likewise.
37922         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37923         ($(objpfx)test2.cat): Likewise.
37924         ($(objpfx)de/libc.cat): Likewise.
37925         ($(objpfx)test-gencat.out): Likewise.
37926         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37927         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37928         ($(objpfx)noload-mem): Likewise.
37929         ($(objpfx)tst-pathopt.out): Likewise.
37930         ($(objpfx)tst-rtld-load-self.out): Likewise.
37931         ($(objpfx)tst-array1-cmp.out): Likewise.
37932         ($(objpfx)tst-array1-static-cmp.out): Likewise.
37933         ($(objpfx)tst-array2-cmp.out): Likewise.
37934         ($(objpfx)tst-array3-cmp.out): Likewise.
37935         ($(objpfx)tst-array4-cmp.out): Likewise.
37936         ($(objpfx)tst-array5-cmp.out): Likewise.
37937         ($(objpfx)tst-array5-static-cmp.out): Likewise.
37938         ($(objpfx)check-textrel.out): Likewise.
37939         ($(objpfx)check-execstack.out): Likewise.
37940         ($(objpfx)check-localplt.out): Likewise.
37941         ($(objpfx)order2-cmp.out): Likewise.
37942         ($(objpfx)tst-leaks1-mem): Likewise.
37943         ($(objpfx)tst-leaks1-static-mem): Likewise.
37944         ($(objpfx)tst-initorder-cmp.out): Likewise.
37945         ($(objpfx)tst-initorder2-cmp.out): Likewise.
37946         ($(objpfx)tst-unused-dep.out): Likewise.
37947         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37948         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37949         * iconv/Makefile (test-iconvconfig): Likewise.
37950         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37951         ($(objpfx)iconv-test.out): Likewise.
37952         ($(objpfx)tst-tables.out): Likewise.
37953         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37954         ($(objpfx)tst-gettext.out): Likewise.
37955         ($(objpfx)tst-translit.out): Likewise.
37956         ($(objpfx)tst-gettext2.out): Likewise.
37957         ($(objpfx)tst-gettext4.out): Likewise.
37958         ($(objpfx)tst-gettext6.out): Likewise.
37959         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37960         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37961         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37962         ($(objpfx)tst-fopenloc-mem.out): Likewise.
37963         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37964         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37965         * posix/Makefile ($(objpfx)globtest.out): Likewise.
37966         ($(objpfx)wordexp-tst.out): Likewise.
37967         ($(objpfx)annexc.out): Likewise.
37968         ($(objpfx)tst-fnmatch-mem): Likewise.
37969         ($(objpfx)bug-regex2-mem): Likewise.
37970         ($(objpfx)bug-regex14-mem): Likewise.
37971         ($(objpfx)bug-regex21-mem): Likewise.
37972         ($(objpfx)bug-regex31-mem): Likewise.
37973         ($(objpfx)tst-vfork3-mem): Likewise.
37974         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37975         ($(objpfx)tst-pcre-mem): Likewise.
37976         ($(objpfx)tst-boost-mem): Likewise.
37977         ($(objpfx)tst-getconf.out): Likewise.
37978         ($(objpfx)bug-ga2-mem): Likewise.
37979         ($(objpfx)bug-glob2-mem): Likewise.
37980         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37981         ($(objpfx)mtrace-tst-leaks2): Likewise.
37982         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37983         ($(objpfx)tst-printf.out): Likewise.
37984         ($(objpfx)tst-setvbuf1.out): Likewise.
37985         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37986         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37987         ($(objpfx)tst-fmtmsg.out): Likewise.
37988         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37989         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37991         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37992         * bits/sigaction.h [__USE_MISC]: Likewise.
37993         * bits/waitstatus.h: Update #endif comments.
37994         * ctype/ctype.h: Likewise.
37995         * dirent/dirent.h: Likewise.
37996         [__USE_MISC]: Remove redundant conditionals.
37997         * grp/grp.h: Update #endif comments.
37998         [__USE_GNU]: Remove redundant conditionals.
37999         [__USE_MISC]: Likewise.
38000         * inet/netinet/in.h [__USE_GNU]: Likewise.
38001         * io/sys/stat.h [__USE_MISC]: Likewise.
38002         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
38003         * libio/bits/stdio.h: Update #endif comments.
38004         [__USE_MISC]: Remove redundant conditionals.
38005         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
38006         * libio/stdio.h: Update #endif comments.
38007         [__USE_MISC]: Remove redundant conditionals.
38008         * math/bits/math-finite.h [__USE_MISC]: Likewise.
38009         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
38010         * math/math.h: Update #else and #endif comments.
38011         [__USE_MISC]: Remove redundant conditionals.
38012         * misc/sys/uio.h: Update #endif comments.
38013         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
38014         * posix/glob.h [__USE_MISC]: Likewise.
38015         * posix/sys/types.h: Update #endif comments.
38016         [__USE_MISC]: Remove redundant conditionals.
38017         * posix/sys/wait.h: Update #endif comments.
38018         [__USE_MISC]: Remove redundant conditionals.
38019         * posix/unistd.h: Update #endif comments.
38020         [__USE_MISC]: Remove redundant conditionals.
38021         * pwd/pwd.h [__USE_GNU]: Likewise.
38022         [__USE_MISC]: Likewise.
38023         * resolv/netdb.h [__USE_GNU]: Likewise.
38024         * signal/signal.h: Update #endif comments.
38025         [__USE_MISC]: Remove redundant conditionals.
38026         * stdlib/stdlib.h: Update #else and #endif comments.
38027         [__USE_MISC]: Remove redundant conditionals.
38028         [__USE_GNU]: Likewise.
38029         * string/bits/string2.h [__USE_MISC]: Likewise.
38030         * string/string.h: Update #endif comments.
38031         [__USE_MISC]: Remove redundant conditionals.
38032         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
38033         Likewise.
38034         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
38035         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
38036         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
38037         Likewise.
38038         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
38039         Likewise.
38040         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
38041         comments.
38042         [__USE_MISC]: Remove redundant conditionals.
38043         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
38044         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
38045         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
38046         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
38047         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
38048         Likewise.
38049         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
38050         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
38051         Likewise.
38052         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
38053         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
38054         Likewise.
38055         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
38056         Likewise.
38057         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
38058         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
38059         Likewise.
38060         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
38061         Likewise.
38062         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
38063         * sysdeps/x86/bits/string.h: Update #endif comments.
38064         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
38065         conditionals.
38066         * time/sys/time.h: Update #endif comments.
38067         * time/time.h: Likewise.
38068         [__USE_MISC]: Remove redundant conditionals.
38070 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
38072         [BZ #16600]
38073         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
38075 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
38077         * Versions.def (librt): Add GLIBC_2.17.
38079 2014-02-21  Adam Conrad  <adconrad@0c3.net>
38081         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
38082         synonym for _SYS_AUXV_H to allow direct inclusion.
38083         * sysdeps/sparc/bits/hwcap.h: Likewise.
38084         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
38085         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
38086         * sysdeps/sparc/sysdep.h: Likewise.
38088 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38090         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
38092 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38094         * benchtests/bench-strrchr.c: Print length instead of position.
38096 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
38098         [BZ #16611]
38099         * sysdeps/unix/sysv/linux/kernel-features.h
38100         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
38101         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
38102         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
38103         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
38104         Likewise.
38105         [__i386__ || __powerpc__ || __sh__ || __sparc__]
38106         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38107         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
38108         (__ASSUME_SENDMMSG): Define instead of using previous
38109         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
38110         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38111         (__ASSUME_SENDMMSG_SYSCALL): Define.
38112         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38113         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
38114         Likewise.
38115         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38116         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38117         Likewise.
38118         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38119         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38120         Likewise.
38121         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
38122         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38123         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38124         [__ASSUME_SENDMMSG]: Change conditionals to
38125         [__ASSUME_SENDMMSG_SOCKETCALL].
38126         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38127         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
38128         Define.
38129         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38130         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
38131         Likewise.
38132         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
38133         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38134         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38135         [!__ASSUME_SENDMMSG]: Change conditional to
38136         [!__ASSUME_SENDMMSG_SOCKETCALL].
38137         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38138         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38139         Define.
38141         [BZ #16610]
38142         * sysdeps/unix/sysv/linux/kernel-features.h
38143         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
38144         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
38145         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
38146         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
38147         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38148         [__i386__ || __sparc__]
38149         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38150         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
38151         (__ASSUME_RECVMMSG): Define instead of using previous
38152         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
38153         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38154         (__ASSUME_RECVMMSG_SYSCALL): Define.
38155         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38156         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38157         Likewise.
38158         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38159         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38160         Likewise.
38161         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38162         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38163         Likewise.
38164         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
38165         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38166         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38167         [__ASSUME_RECVMMSG]: Change condition to
38168         [__ASSUME_RECVMMSG_SOCKETCALL].
38169         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38170         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38171         Define.
38172         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38173         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38174         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38175         Likewise.
38176         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
38177         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38178         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38179         [!__ASSUME_RECVMMSG]: Change condition to
38180         [!__ASSUME_RECVMMSG_SOCKETCALL].
38181         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38182         (__ASSUME_RECVMMSG_SYSCALL): Define.
38184         [BZ #16609]
38185         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
38186         __powerpc__ || __s390__ || __sh__ || __sparc__]
38187         (__ASSUME_SOCKETCALL): Define.
38188         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
38189         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
38190         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
38191         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
38192         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38193         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38194         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
38195         (__ASSUME_ACCEPT4): Define instead of using previous
38196         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
38197         __powerpc__ || __sparc__ || __s390__)] condition.
38198         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38199         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38200         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
38201         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38202         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38203         [!__ASSUME_ACCEPT4]: Change condition to
38204         [!__ASSUME_ACCEPT4_SOCKETCALL].
38205         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38206         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
38207         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
38208         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38209         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
38210         __ASSUME_ACCEPT4_SYSCALL.
38211         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
38212         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
38213         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38214         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
38215         __ASSUME_ACCEPT4_SYSCALL.
38216         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
38217         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38218         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38219         [__ASSUME_ACCEPT4]: Change condition to
38220         [__ASSUME_ACCEPT4_SOCKETCALL].
38221         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38222         (__ASSUME_SOCKETCALL): Define.
38223         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
38224         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38225         (__ASSUME_SOCKETCALL): Define.
38226         (__ASSUME_ACCEPT4): Remove.
38227         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
38228         Define.
38229         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38230         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
38231         Likewise.
38232         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38233         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38235         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
38236         macro.
38237         (HWCAP_ARM_LPAE): Likewise.
38238         (HWCAP_ARM_EVTSTRM): Likewise.
38239         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
38240         Add vpfd32, lpae and evtstrm.
38241         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
38242         Increase to 22.
38244 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
38246         * math/auto-libm-test-in: Add tests of clog10.
38247         * math/auto-libm-test-out: Regenerated.
38248         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
38249         * sysdeps/i386/fpu/libm-test-ulps: Update.
38250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38252 2014-02-18  Andreas Schwab  <schwab@suse.de>
38254         [BZ #16574]
38255         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
38256         Store non-zero if the second buffer was newly allocated.
38257         (send_dg): Likewise.
38258         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
38259         to send_vc and send_dg.
38260         (res_nsend): Pass NULL for ansp2_malloced.
38261         * resolv/res_query.c (__libc_res_nquery): Add parameter
38262         answerp2_malloced and pass it down to __libc_res_nsend.
38263         (res_nquery): Pass additional NULL to __libc_res_nquery.
38264         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
38265         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
38266         second answer buffer if answerp2_malloced was set.
38267         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
38268         (__libc_res_nquerydomain): Add parameter
38269         answerp2_malloced and pass it down to __libc_res_nquery.
38270         (res_nquerydomain): Pass additional NULL to
38271         __libc_res_nquerydomain.
38272         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
38273         additional NULL to __libc_res_nsend and __libc_res_nquery.
38274         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
38275         additional NULL to __libc_res_nsearch.
38276         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
38277         parameter of __libc_res_nsearch to check for separately allocated
38278         second buffer.
38279         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
38280         __libc_res_nquery.
38281         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
38282         additional NULL to __libc_res_nquery.
38283         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
38284         __libc_res_nsearch.
38285         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
38286         * include/resolv.h: Update prototypes of __libc_res_nquery,
38287         __libc_res_nsearch, __libc_res_nsend.
38289 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
38291         * math/auto-libm-test-in: Add tests of fma.
38292         * math/auto-libm-test-out: Regenerated.
38293         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
38294         (fma_towardzero_test_data): Likewise.
38295         (fma_downward_test_data): Likewise.
38296         (fma_upward_test_data): Likewise.
38297         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
38298         mpc_mode.
38299         (rounding_modes): Add values for new field.
38300         (func_calc_method): Add value mpfr_fff_f.
38301         (func_calc_desc): Add mpfr_fff_f union field.
38302         (test_function): Add field exact_args.
38303         (FUNC): Add macro argument EXACT_ARGS.
38304         (FUNC_mpfr_f_f): Update call to FUNC.
38305         (FUNC_mpfr_f_f): Likewise.
38306         (FUNC_mpfr_ff_f): Likewise.
38307         (FUNC_mpfr_if_f): Likewise.
38308         (FUNC_mpc_c_f): Likewise.
38309         (FUNC_mpc_c_c): Likewise.
38310         (test_functions): Add fma.  Update calls to FUNC.
38311         (handle_input_arg): Add argument exact_args.
38312         (add_test): Update call to handle_input_arg.
38313         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
38314         (output_for_one_input_case): Update call to calc_generic_results.
38315         Recalculate exact zero results in each rounding mode.
38317         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
38318         non-negative before setting low bit.
38319         * math/auto-libm-test-in: Mark one asin test possibly having
38320         spurious underflow.
38321         * math/auto-libm-test-out: Regenerated.
38322         * sysdeps/i386/fpu/libm-test-ulps: Update.
38323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38325 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
38327         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
38328         * sysdeps/unix/sysv/linux/microblaze: Move directory from
38329         ports/sysdeps/unix/sysv/linux/microblaze.
38330         * README: Add missing listing for microblaze*-*-linux-gnu.
38332 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
38334         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
38335         duplicate code
38337 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
38339         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
38340         * sysdeps/unix/sysv/linux/ia64: Move directory from
38341         ports/sysdeps/unix/sysv/linux/ia64.
38342         * README: Update listing for ia64-*-linux-gnu.
38344 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
38345             Joseph Myers  <joseph@codesourcery.com>
38347         * Makeconfig (test-name): New variable.
38348         (evaluate-test): Likewise.
38349         * Makerules (do-test-clean): Remove .test-result files.
38350         (common-mostlyclean): Likewise.
38351         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
38352         * scripts/evaluate-test.sh: New file.
38354 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
38356         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
38357         separate $(objpfx)tst-fopenloc-cmp.out and
38358         $(objpfx)tst-fopenloc-mem.out targets.
38359         (tests): Update dependencies.
38360         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
38361         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
38362         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
38363         (tst-rxspencer-no-utf8-ARGS): New variable.
38364         (tst-rxspencer-no-utf8-ENV): Likewise.
38365         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
38366         instead of $(objpfx)tst-rxspencer-mem.
38367         ($(objpfx)tst-rxspencer-mem): Change target to
38368         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
38369         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
38370         * posix/tst-rxspencer-no-utf8.c: New file.
38372         * elf/Makefile ($(objpfx)order.out): Remove rule.
38373         [$(run-built-tests) = yes] (tests): Depend on
38374         $(objpfx)order-cmp.out.
38375         ($(objpfx)order-cmp.out): New rule.
38376         [$(run-built-tests) = yes] (tests): Depend on
38377         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
38378         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
38379         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
38380         $(objpfx)tst-array5-static-cmp.out.
38381         ($(objpfx)tst-array1.out): Remove rule.
38382         ($(objpfx)tst-array1-cmp.out): New rule.
38383         ($(objpfx)tst-array1-static.out): Remove rule.
38384         ($(objpfx)tst-array1-static-cmp.out): New rule.
38385         ($(objpfx)tst-array2.out): Remove rule.
38386         ($(objpfx)tst-array2-cmp.out): New rule.
38387         ($(objpfx)tst-array3.out): Remove rule.
38388         ($(objpfx)tst-array3-cmp.out): New rule.
38389         ($(objpfx)tst-array4.out): Remove rule.
38390         ($(objpfx)tst-array4-cmp.out): New rule.
38391         ($(objpfx)tst-array5.out): Remove rule.
38392         ($(objpfx)tst-array5-cmp.out): New rule.
38393         ($(objpfx)tst-array5-static.out): Remove rule.
38394         ($(objpfx)tst-array5-static-cmp.out): New rule.
38395         [$(run-built-tests) = yes] (tests): Depend on
38396         $(objpfx)order2-cmp.out.
38397         ($(objpfx)order2.out): Remove rule.
38398         ($(objpfx)order2-cmp.out): New rule.
38399         ($(objpfx)tst-initorder.out): Remove rule.
38400         [$(run-built-tests) = yes] (tests): Depend on
38401         $(objpfx)tst-initorder-cmp.out.
38402         ($(objpfx)tst-initorder-cmp.out): New rule.
38403         ($(objpfx)tst-initorder2.out): Remove rule.
38404         [$(run-built-tests) = yes] (tests): Depend on
38405         $(objpfx)tst-initorder2-cmp.out.
38406         ($(objpfx)tst-initorder2-cmp.out): New rule.
38407         [$(run-built-tests) = yes] (tests): Depend on
38408         $(objpfx)tst-unused-dep-cmp.out.
38409         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
38410         ($(objpfx)tst-unused-dep-cmp.out): New rule.
38411         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
38412         on $(objpfx)tst-setvbuf1-cmp.out.
38413         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
38414         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
38415         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
38416         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
38417         ($(objpfx)tst-svc.out): Remove rule.
38418         ($(objpfx)tst-svc-cmp.out): New rule.
38420 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
38422         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
38423         * ctype/ctype.h [__USE_MISC]: Likewise.
38424         * dirent/dirent.h [__USE_MISC]: Likewise.
38425         * grp/grp.h [__USE_MISC]: Likewise.
38426         * io/fcntl.h [__USE_MISC]: Likewise.
38427         * io/sys/stat.h [__USE_MISC]: Likewise.
38428         * libio/stdio.h [__USE_MISC]: Likewise.
38429         * posix/unistd.h [__USE_MISC]: Likewise.
38430         * pwd/pwd.h [__USE_MISC]: Likewise.
38431         * stdlib.h [__USE_MISC]: Likewise.
38432         * string/bits/string2.h [__USE_MISC]: Likewise.
38433         * string/string.h [__USE_MISC]: Likewise.
38434         * time/time.h [__USE_MISC]: Likewise.
38436 2014-02-13  Andreas Schwab  <schwab@suse.de>
38438         [BZ #16574]
38439         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
38440         second answer buffer if it was separately allocated.
38442 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
38444         * sysdeps/mips/math-tests.h: Include <features.h>.
38445         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38446         (ROUNDING_TESTS_long_double): Do not define.
38447         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38448         (EXCEPTION_TESTS_long_double): Likewise.
38449         * sysdeps/mips/mips64/libm-test-ulps: Update.
38451         * include/features.h (__USE_BSD): Remove macro definitions.
38452         (__USE_SVID): Likewise.
38453         (_BSD_SOURCE): Likewise.
38454         (_SVID_SOURCE): Likewise.
38455         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
38456         from definition of _DEFAULT_SOURCE.
38457         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
38458         [_DEFAULT_SOURCE].
38459         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
38460         * bits/mman.h [__USE_BSD]: Likewise.
38461         * bits/termios.h [__USE_BSD]: Likewise.
38462         * bits/waitstatus.h [__USE_BSD]: Likewise.
38463         * ctype/ctype.h [__USE_SVID]: Likewise.
38464         * dirent/dirent.h [__USE_BSD]: Likewise.
38465         * grp/grp.h [__USE_SVID]: Likewise.
38466         [__USE_BSD]: Likewise.
38467         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
38468         * io/fcntl.h [__USE_BSD]: Likewise.
38469         * io/ftw.h [__USE_BSD]: Likewise.
38470         * io/sys/stat.h [__USE_BSD]: Likewise.
38471         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
38472         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
38473         * libio/stdio.h [__USE_SVID]: Likewise.
38474         [__USE_BSD]: Likewise.
38475         * math/math.h [__USE_SVID]: Likewise.
38476         [__USE_BSD]: Likewise.
38477         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
38478         * misc/bits/syslog.h [__USE_BSD]: Likewise.
38479         * misc/search.h [__USE_SVID]: Likewise.
38480         * misc/sys/mman.h [__USE_BSD]: Likewise.
38481         * misc/sys/syslog.h [__USE_BSD]: Likewise.
38482         * misc/sys/uio.h [__USE_BSD]: Likewise.
38483         * posix/bits/unistd.h [__USE_BSD]: Likewise.
38484         * posix/glob.h [__USE_BSD]: Likewise.
38485         * posix/regex.h [__USE_BSD]: Likewise.
38486         * posix/sys/types.h [__USE_BSD]: Likewise.
38487         [__USE_SVID]: Likewise.
38488         * posix/sys/utsname.h [__USE_SVID]: Likewise.
38489         * posix/sys/wait.h [__USE_BSD]: Likewise.
38490         [__USE_SVID]: Likewise.
38491         * posix/unistd.h [__USE_BSD]: Likewise.
38492         [__USE_SVID]: Likewise.
38493         * pwd/pwd.h [__USE_SVID]: Likewise.
38494         * resolv/netdb.h [__USE_BSD]: Likewise.
38495         * setjmp/setjmp.h [__USE_BSD]: Likewise.
38496         * signal/signal.h [__USE_BSD]: Likewise.
38497         [__USE_SVID]: Likewise.
38498         * socket/sys/socket.h [__USE_BSD]: Likewise.
38499         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
38500         * stdlib/stdlib.h [__USE_BSD]: Likewise.
38501         [__USE_SVID]: Likewise.
38502         * string/bits/string2.h [__USE_BSD]: Likewise.
38503         [__USE_SVID]: Likewise.
38504         * string/bits/string3.h [__USE_BSD]: Likewise.
38505         * string/endian.h [__USE_BSD]: Likewise.
38506         * string/string.h [__USE_SVID]: Likewise.
38507         [__USE_BSD]: Likewise.
38508         * string/strings.h [__USE_BSD]: Likewise.
38509         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
38510         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
38511         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
38512         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
38513         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
38514         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
38515         Likewise.
38516         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
38517         Likewise.
38518         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
38519         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
38520         Likewise.
38521         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
38522         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
38523         Likewise.
38524         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
38525         Likewise.
38526         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
38527         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
38528         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
38529         Likewise.
38530         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
38531         Likewise.
38532         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
38533         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
38534         * termios/termios.h [__USE_BSD]: Likewise.
38535         * time/sys/time.h [__USE_BSD]: Likewise.
38536         * time/time.h [__USE_BSD]: Likewise.
38537         [__USE_SVID]: Likewise.
38539         * Makefile (subdir_targets): Remove subdir_lint.out.
38541         * stdio-common/Makefile (do-tst-unbputc): Remove target.
38542         (do-tst-printf): Likewise.
38543         (tests): Depend directly on $(objpfx)tst-unbputc.out and
38544         $(objpfx)tst-printf.out.
38546         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
38548         * Makerules (check-abi-%): Change target to
38549         $(objpfx)check-abi-%.out.
38550         (check-abi target): Update dependencies.
38551         (check-abi-pattern variable): Redirect output of diff to $@.
38552         (check-abi variable): Likewise.
38553         * elf/Makefile (check-abi): Update dependencies.
38555         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
38556         unused.
38557         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
38558         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
38559         subnormal range.
38560         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
38561         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
38562         value has largest subnormal exponent.
38563         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
38564         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
38565         * sysdeps/aarch64/soft-fp/sfp-machine.h
38566         (_FP_TININESS_AFTER_ROUNDING): New macro.
38567         * sysdeps/alpha/soft-fp/sfp-machine.h
38568         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38569         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38570         Likewise.
38571         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
38572         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38573         * sysdeps/mips/soft-fp/sfp-machine.h
38574         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38575         * sysdeps/powerpc/soft-fp/sfp-machine.h
38576         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38577         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38578         Likewise.
38579         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38580         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38581         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38582         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38583         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38584         Likewise.
38586 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
38588         [BZ #16545]
38589         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38590         model 1.
38592 2014-02-12  Richard Henderson  <rth@redhat.com>
38594         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38595         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38596         * sysdeps/unix/sysv/linux/alpha: Move directory from
38597         ports/sysdeps/unix/sysv/linux/alpha.
38598         * README: Update listing for alpha-*-linux-gnu.
38600 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
38602         * include/features.h: Update comment documenting feature test
38603         macros.
38604         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
38605         _DEFAULT_SOURCE.
38606         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38607         (_SVID_SOURCE): Likewise.
38608         (_DEFAULT_SOURCE): Update description of default features.
38609         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38610         with _GNU_SOURCE.
38611         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38612         (S_ISVTX): Likewise.
38613         * manual/math.texi (Mathematical Constants): Likewise.
38614         * manual/signal.texi (Interrupted Primitives): Likewise.
38615         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38616         * math/test-matherr.c (_SVID_SOURCE): Do not define.
38617         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38618         Don't refer to _SVID_SOURCE in warning text.
38620         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38622         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38623         already defined.
38624         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38625         * sysdeps/mips/dl-lookup.c: Remove.
38626         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38628 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38630         [BZ #16447]
38631         * math/auto-libm-test-in: Add testcase for expl.
38632         * math/auto-libm-test-out: Regenerate.
38633         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38634         calculation of unsafe.
38635         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38637 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38639         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38640         * sysdeps/unix/sysv/linux/aarch64: Move directory from
38641         ports/sysdeps/unix/sysv/linux/aarch64.
38642         * README: Update listing for aarch64*-*-linux-gnu.
38644 2014-02-11  Will Newton  <will.newton@linaro.org>
38646         * manual/probes.texi (Mathematical Function Probes): Use
38647         "triggered" instead of "hit".
38649         * manual/probes.texi (Internal Probes): Add documentation
38650         of setjmp, longjmp and longjmp_target probes.
38652         * include/stap-probe.h: Add comment about probe argument
38653         format.
38655         * malloc/mtrace.c (attribute_hidden): Remove unused macro
38656         definition.  (tr_where, tr_freehook, tr_mallochook,
38657         tr_reallochook, tr_memalignhook): Use ANSI protoype.
38659 2014-02-11  David S. Miller  <davem@davemloft.net>
38661         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38662         processing int_tests.
38664 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
38666         * sysdeps/mips: Move directory from ports/sysdeps/mips.
38667         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38668         * sysdeps/unix/sysv/linux/mips: Move directory from
38669         ports/sysdeps/unix/sysv/linux/mips.
38670         * README: Update listing for mips-*-linux-gnu and
38671         mips64-*-linux-gnu.
38673 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
38675         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38676         * sysdeps/unix/sysv/linux/m68k: Move directory from
38677         ports/sysdeps/unix/sysv/linux/m68k.
38678         * README: Update listing for m68k-*-linux-gnu.
38680 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
38682         * sysdeps/tile: Move directory from ports/sysdeps/tile.
38683         * sysdeps/unix/sysv/linux/generic: Move directory from
38684         ports/sysdeps/unix/sysv/linux/generic.
38685         * sysdeps/unix/sysv/linux/tile: Move directory from
38686         ports/sysdeps/unix/sysv/linux/tile.
38687         * README: Update listing for tile*-*-linux-gnu.
38689 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
38691         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38692         __builtin_expect.
38693         * benchtests/bench-memmem.c (simple_memmem): Likewise.
38694         * catgets/open_catalog.c (__open_catalog): Likewise.
38695         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38696         * debug/confstr_chk.c: Likewise.
38697         * debug/fread_chk.c (__fread_chk): Likewise.
38698         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38699         * debug/getgroups_chk.c: Likewise.
38700         * debug/mbsnrtowcs_chk.c: Likewise.
38701         * debug/mbsrtowcs_chk.c: Likewise.
38702         * debug/mbstowcs_chk.c: Likewise.
38703         * debug/memcpy_chk.c: Likewise.
38704         * debug/memmove_chk.c: Likewise.
38705         * debug/mempcpy_chk.c: Likewise.
38706         * debug/memset_chk.c: Likewise.
38707         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38708         * debug/strcat_chk.c (__strcat_chk): Likewise.
38709         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38710         * debug/strncat_chk.c (__strncat_chk): Likewise.
38711         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38712         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38713         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38714         * debug/wcpncpy_chk.c: Likewise.
38715         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38716         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38717         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38718         * debug/wcsncpy_chk.c: Likewise.
38719         * debug/wcsnrtombs_chk.c: Likewise.
38720         * debug/wcsrtombs_chk.c: Likewise.
38721         * debug/wcstombs_chk.c: Likewise.
38722         * debug/wmemcpy_chk.c: Likewise.
38723         * debug/wmemmove_chk.c: Likewise.
38724         * debug/wmempcpy_chk.c: Likewise.
38725         * debug/wmemset_chk.c: Likewise.
38726         * dirent/scandirat.c (SCANDIRAT): Likewise.
38727         * dlfcn/dladdr1.c (dladdr1): Likewise.
38728         * dlfcn/dladdr.c (dladdr): Likewise.
38729         * dlfcn/dlclose.c (dlclose_doit): Likewise.
38730         * dlfcn/dlerror.c (__dlerror): Likewise.
38731         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38732         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38733         * dlfcn/dlopen.c (dlopen_doit): Likewise.
38734         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38735         * dlfcn/dlsym.c (dlsym_doit): Likewise.
38736         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38737         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38738         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38739         Likewise.
38740         * elf/dl-conflict.c: Likewise.
38741         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38742         * elf/dl-dst.h: Likewise.
38743         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38744         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38745         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38746         * elf/dl-init.c (call_init, _dl_init): Likewise.
38747         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38748         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38749         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38750         Likewise.
38751         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38752         Likewise.
38753         * elf/dl-minimal.c (__libc_memalign): Likewise.
38754         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38755         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38756         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38757         * elf/dl-sym.c (do_sym): Likewise.
38758         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38759         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38760         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38761         * elf/dl-writev.h (_dl_writev): Likewise.
38762         * elf/ldconfig.c (search_dir): Likewise.
38763         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38764         (dl_main): Likewise.
38765         * elf/setup-vdso.h (setup_vdso): Likewise.
38766         * grp/compat-initgroups.c (compat_call): Likewise.
38767         * grp/fgetgrent.c (fgetgrent): Likewise.
38768         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38769         * grp/putgrent.c (putgrent): Likewise.
38770         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38771         Likewise.
38772         * hurd/hurdinit.c: Likewise.
38773         * iconvdata/8bit-gap.c (struct): Likewise.
38774         * iconvdata/ansi_x3.110.c : Likewise.
38775         * iconvdata/big5.c : Likewise.
38776         * iconvdata/big5hkscs.c : Likewise.
38777         * iconvdata/cp1255.c: Likewise.
38778         * iconvdata/cp1258.c : Likewise.
38779         * iconvdata/cp932.c : Likewise.
38780         * iconvdata/euc-cn.c: Likewise.
38781         * iconvdata/euc-jisx0213.c : Likewise.
38782         * iconvdata/euc-jp.c: Likewise.
38783         * iconvdata/euc-jp-ms.c : Likewise.
38784         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38785         * iconvdata/gb18030.c : Likewise.
38786         * iconvdata/gbbig5.c (const): Likewise.
38787         * iconvdata/gbgbk.c: Likewise.
38788         * iconvdata/gbk.c : Likewise.
38789         * iconvdata/ibm1364.c : Likewise.
38790         * iconvdata/ibm930.c : Likewise.
38791         * iconvdata/ibm932.c: Likewise.
38792         * iconvdata/ibm933.c : Likewise.
38793         * iconvdata/ibm935.c : Likewise.
38794         * iconvdata/ibm937.c : Likewise.
38795         * iconvdata/ibm939.c : Likewise.
38796         * iconvdata/ibm943.c: Likewise.
38797         * iconvdata/iso_11548-1.c: Likewise.
38798         * iconvdata/iso-2022-cn.c : Likewise.
38799         * iconvdata/iso-2022-cn-ext.c : Likewise.
38800         * iconvdata/iso-2022-jp-3.c: Likewise.
38801         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38802         * iconvdata/iso-2022-kr.c : Likewise.
38803         * iconvdata/iso646.c (gconv_end): Likewise.
38804         * iconvdata/iso_6937-2.c : Likewise.
38805         * iconvdata/iso_6937.c : Likewise.
38806         * iconvdata/iso8859-1.c: Likewise.
38807         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38808         * iconvdata/shift_jisx0213.c : Likewise.
38809         * iconvdata/sjis.c : Likewise.
38810         * iconvdata/t.61.c : Likewise.
38811         * iconvdata/tcvn5712-1.c : Likewise.
38812         * iconvdata/tscii.c: Likewise.
38813         * iconvdata/uhc.c : Likewise.
38814         * iconvdata/unicode.c (gconv_end): Likewise.
38815         * iconvdata/utf-16.c (gconv_end): Likewise.
38816         * iconvdata/utf-32.c (gconv_end): Likewise.
38817         * iconvdata/utf-7.c (base64): Likewise.
38818         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38819         * iconv/gconv_close.c (__gconv_close): Likewise.
38820         * iconv/gconv_open.c (__gconv_open): Likewise.
38821         * iconv/gconv_simple.c (internal_ucs4_loop_single)
38822         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38823         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38824         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38825         (ucs4le_internal_loop_single): Likewise.
38826         * iconv/iconv.c (iconv): Likewise.
38827         * iconv/iconv_close.c: Likewise.
38828         * iconv/loop.c (SINGLE): Likewise.
38829         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38830         * include/atomic.h: Likewise.
38831         * inet/inet6_option.c (option_alloc): Likewise.
38832         * intl/bindtextdom.c (set_binding_values): Likewise.
38833         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38834         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38835         * intl/localealias.c (read_alias_file): Likewise.
38836         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38837         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38838         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38839         * libio/fmemopen.c (fmemopen): Likewise.
38840         * libio/iofgets.c (_IO_fgets): Likewise.
38841         * libio/iofgets_u.c (fgets_unlocked): Likewise.
38842         * libio/iofgetws.c (fgetws): Likewise.
38843         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38844         * libio/iogetdelim.c (_IO_getdelim): Likewise.
38845         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38846         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38847         * locale/findlocale.c (_nl_find_locale): Likewise.
38848         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38849         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38850         Likewise.
38851         * locale/setlocale.c (setlocale): Likewise.
38852         * login/programs/pt_chown.c (main): Likewise.
38853         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38854         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38855         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38856         (mmap, mmap64, mremap, munmap): Likewise.
38857         * math/e_exp2l.c: Likewise.
38858         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38859         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38860         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38861         * math/s_catan.c (__catan): Likewise.
38862         * math/s_catanf.c (__catanf): Likewise.
38863         * math/s_catanh.c (__catanh): Likewise.
38864         * math/s_catanhf.c (__catanhf): Likewise.
38865         * math/s_catanhl.c (__catanhl): Likewise.
38866         * math/s_catanl.c (__catanl): Likewise.
38867         * math/s_ccosh.c (__ccosh): Likewise.
38868         * math/s_ccoshf.c (__ccoshf): Likewise.
38869         * math/s_ccoshl.c (__ccoshl): Likewise.
38870         * math/s_cexp.c (__cexp): Likewise.
38871         * math/s_cexpf.c (__cexpf): Likewise.
38872         * math/s_cexpl.c (__cexpl): Likewise.
38873         * math/s_clog10.c (__clog10): Likewise.
38874         * math/s_clog10f.c (__clog10f): Likewise.
38875         * math/s_clog10l.c (__clog10l): Likewise.
38876         * math/s_clog.c (__clog): Likewise.
38877         * math/s_clogf.c (__clogf): Likewise.
38878         * math/s_clogl.c (__clogl): Likewise.
38879         * math/s_csin.c (__csin): Likewise.
38880         * math/s_csinf.c (__csinf): Likewise.
38881         * math/s_csinh.c (__csinh): Likewise.
38882         * math/s_csinhf.c (__csinhf): Likewise.
38883         * math/s_csinhl.c (__csinhl): Likewise.
38884         * math/s_csinl.c (__csinl): Likewise.
38885         * math/s_csqrt.c (__csqrt): Likewise.
38886         * math/s_csqrtf.c (__csqrtf): Likewise.
38887         * math/s_csqrtl.c (__csqrtl): Likewise.
38888         * math/s_ctan.c (__ctan): Likewise.
38889         * math/s_ctanf.c (__ctanf): Likewise.
38890         * math/s_ctanh.c (__ctanh): Likewise.
38891         * math/s_ctanhf.c (__ctanhf): Likewise.
38892         * math/s_ctanhl.c (__ctanhl): Likewise.
38893         * math/s_ctanl.c (__ctanl): Likewise.
38894         * math/w_pow.c: Likewise.
38895         * math/w_powf.c: Likewise.
38896         * math/w_powl.c: Likewise.
38897         * math/w_scalb.c (sysv_scalb): Likewise.
38898         * math/w_scalbf.c (sysv_scalbf): Likewise.
38899         * math/w_scalbl.c (sysv_scalbl): Likewise.
38900         * misc/error.c (error_tail): Likewise.
38901         * misc/pselect.c (__pselect): Likewise.
38902         * nis/nis_callback.c (__nis_create_callback): Likewise.
38903         * nis/nis_call.c (__nisfind_server): Likewise.
38904         * nis/nis_creategroup.c (nis_creategroup): Likewise.
38905         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38906         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38907         * nis/nis_getservlist.c (nis_getservlist): Likewise.
38908         * nis/nis_lookup.c (nis_lookup): Likewise.
38909         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38910         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38911         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38912         * nis/nis_xdr.c (xdr_endpoint): Likewise.
38913         * nis/nss_compat/compat-grp.c (getgrent_next_file)
38914         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38915         * nis/nss_compat/compat-initgroups.c (add_group)
38916         (internal_getgrent_r): Likewise.
38917         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38918         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38919         * nis/nss_compat/compat-spwd.c (getspent_next_file)
38920         (internal_getspnam_r): Likewise.
38921         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38922         (_nss_nis_getaliasbyname_r): Likewise.
38923         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38924         (_nss_nis_getntohost_r): Likewise.
38925         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38926         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38927         (_nss_nis_getgrgid_r): Likewise.
38928         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38929         (internal_nis_gethostent_r, internal_gethostbyname2_r)
38930         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38931         (_nss_nis_gethostbyname4_r): Likewise.
38932         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38933         (initgroups_netid): Likewise.
38934         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38935         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38936         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38937         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38938         (_nss_nis_getprotobynumber_r): Likewise.
38939         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38940         (_nss_nis_getsecretkey): Likewise.
38941         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38942         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38943         (_nss_nis_getpwuid_r): Likewise.
38944         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38945         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38946         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38947         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38948         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38949         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38950         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38951         Likewise.
38952         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38953         (_nss_nisplus_getntohost_r): Likewise.
38954         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38955         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38956         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38957         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38958         Likewise.
38959         * nis/nss_nisplus/nisplus-initgroups.c
38960         (_nss_nisplus_initgroups_dyn): Likewise.
38961         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38962         (_nss_nisplus_getnetbyaddr_r): Likewise.
38963         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38964         (_nss_nisplus_getprotobynumber_r): Likewise.
38965         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38966         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38967         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38968         Likewise.
38969         * nis/nss_nisplus/nisplus-service.c
38970         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38971         (_nss_nisplus_getservbyport_r): Likewise.
38972         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38973         (_nss_nisplus_getspnam_r): Likewise.
38974         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38975         Likewise.
38976         * nscd/aicache.c (addhstaiX): Likewise.
38977         * nscd/cache.c (cache_search, prune_cache): Likewise.
38978         * nscd/connections.c (register_traced_file, send_ro_fd)
38979         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38980         (main_loop_epoll): Likewise.
38981         * nscd/grpcache.c (addgrbyX): Likewise.
38982         * nscd/hstcache.c (addhstbyX): Likewise.
38983         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38984         * nscd/mem.c (gc, mempool_alloc): Likewise.
38985         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38986         (addinnetgrX): Likewise.
38987         * nscd/nscd-client.h (__nscd_acquire_maplock)
38988         (__nscd_drop_map_ref): Likewise.
38989         * nscd/nscd_getai.c (__nscd_getai): Likewise.
38990         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38991         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38992         Likewise.
38993         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38994         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38995         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38996         (__nscd_get_map_ref): Likewise.
38997         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38998         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38999         Likewise.
39000         * nscd/pwdcache.c (addpwbyX): Likewise.
39001         * nscd/selinux.c (preserve_capabilities): Likewise.
39002         * nscd/servicescache.c (addservbyX): Likewise.
39003         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
39004         * posix/fnmatch.c (fnmatch): Likewise.
39005         * posix/getopt.c (_getopt_internal_r): Likewise.
39006         * posix/glob.c (glob, glob_in_dir): Likewise.
39007         * posix/wordexp.c (exec_comm_child): Likewise.
39008         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
39009         (getanswer_r, gaih_getanswer_slice): Likewise.
39010         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
39011         * resolv/res_init.c: Likewise.
39012         * resolv/res_mkquery.c (res_nmkquery): Likewise.
39013         * resolv/res_query.c (__libc_res_nquery): Likewise.
39014         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
39015         Likewise.
39016         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
39017         * stdio-common/perror.c (perror): Likewise.
39018         * stdio-common/printf_fp.c (___printf_fp): Likewise.
39019         * stdio-common/tmpnam.c (tmpnam): Likewise.
39020         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39021         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
39022         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
39023         Likewise.
39024         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
39025         * stdlib/putenv.c (putenv): Likewise.
39026         * stdlib/setenv.c (__add_to_environ): Likewise.
39027         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39028         * stdlib/strtol_l.c (INTERNAL): Likewise.
39029         * string/memmem.c (memmem): Likewise.
39030         * string/strerror.c (strerror): Likewise.
39031         * string/strnlen.c (__strnlen): Likewise.
39032         * string/test-memmem.c (simple_memmem): Likewise.
39033         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
39034         * sunrpc/pm_getport.c (__get_socket): Likewise.
39035         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
39036         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
39037         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
39038         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
39039         Likewise.
39040         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
39041         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39042         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
39043         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
39044         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
39045         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
39046         Likewise.
39047         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
39048         Likewise.
39049         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
39050         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
39051         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39052         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
39053         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
39054         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
39055         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39056         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
39057         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
39058         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
39059         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39060         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
39061         Likewise.
39062         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
39063         Likewise.
39064         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
39065         Likewise.
39066         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
39067         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39068         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
39069         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
39070         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
39071         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
39072         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39073         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
39074         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
39075         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
39076         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
39077         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39078         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39079         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
39080         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39081         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
39082         Likewise.
39083         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
39084         Likewise.
39085         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
39086         Likewise.
39087         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
39088         Likewise.
39089         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39090         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39091         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
39092         Likewise.
39093         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
39094         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
39095         * sysdeps/posix/opendir.c (__opendirat): Likewise.
39096         * sysdeps/posix/sleep.c: Likewise.
39097         * sysdeps/posix/tempname.c: Likewise.
39098         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
39099         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39100         Likewise.
39101         * sysdeps/powerpc/powerpc32/dl-machine.h
39102         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
39103         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39104         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39105         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
39106         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
39107         Likewise.
39108         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
39109         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
39110         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39111         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
39112         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39113         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
39114         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
39115         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
39116         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39117         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
39118         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
39119         (elf_machine_lazy_rel): Likewise.
39120         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39121         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
39122         (elf_machine_lazy_rel): Likewise.
39123         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
39124         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
39125         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
39126         * sysdeps/unix/grantpt.c (grantpt): Likewise.
39127         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
39128         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
39129         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
39130         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39131         Likewise.
39132         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
39133         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
39134         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
39135         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
39136         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39137         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39138         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
39139         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
39140         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
39141         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39142         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39143         Likewise.
39144         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
39145         (__posix_fallocate64_l64): Likewise.
39146         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
39147         (posix_fallocate): Likewise.
39148         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
39149         Likewise.
39150         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39151         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
39152         (getifaddrs_internal): Likewise.
39153         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
39154         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
39155         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
39156         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39157         * sysdeps/unix/sysv/linux/posix_fallocate64.c
39158         (__posix_fallocate64_l64): Likewise.
39159         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
39160         Likewise.
39161         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
39162         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
39163         (__get_clockfreq): Likewise.
39164         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
39165         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
39166         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
39167         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39168         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39169         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
39170         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
39171         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
39172         Likewise.
39173         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
39174         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
39175         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
39176         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
39177         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39178         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
39179         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
39180         Likewise.
39181         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39182         (posix_fallocate): Likewise.
39183         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39184         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
39185         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
39186         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
39187         (elf_machine_rela, elf_machine_rela_relative)
39188         (elf_machine_lazy_rel): Likewise.
39189         * time/asctime.c (asctime_internal): Likewise.
39190         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
39191         * time/tzset.c (__tzset_parse_tz): Likewise.
39192         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39193         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39194         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
39195         * wcsmbs/wcsmbsload.h: Likewise.
39197         [BZ #15894]
39198         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
39200         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
39201         (arena_get2): Remove THREAD_STATS conditionals.
39202         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
39203         (__malloc_stats, int): Likewise.
39205 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
39207         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
39208         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
39210         * manual/setjmp.texi: Fix typos/grammar errors.
39212         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
39213         Only return early when n is <= 0.  Delete unused return statement.
39215         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
39216         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
39217         * debug/tst-longjmp_chk3.c: New file.
39219         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
39220         (test_main): Replace code with set_fortify_handler call.
39221         * debug/test-strcpy_chk.c: Likewise.
39222         * debug/tst-chk1.c: Likewise.
39223         * debug/tst-longjmp_chk.c: Likewise.
39224         * test-skeleton.c: Include fcntl.h & paths.h
39225         (set_fortify_handler): Define.
39227         * debug/tst-longjmp_chk.c: Add header comment and include
39228         ../test-skeleton.c.
39229         (do_test): Mark static.
39230         (TEST_FUNCTION): Define.
39232         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
39233         (IP_PMTUDISC_INTERFACE): Likewise.
39234         (IP_MULTICAST_IF): Likewise.
39235         (IP_MULTICAST_TTL): Likewise.
39236         (IP_MULTICAST_LOOP): Likewise.
39237         (IP_ADD_MEMBERSHIP): Likewise.
39238         (IP_DROP_MEMBERSHIP): Likewise.
39239         (IP_UNBLOCK_SOURCE): Likewise.
39240         (IP_BLOCK_SOURCE): Likewise.
39241         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
39242         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
39243         (IP_MSFILTER): Likewise.
39244         (MCAST_JOIN_GROUP): Likewise.
39245         (MCAST_BLOCK_SOURCE): Likewise.
39246         (MCAST_UNBLOCK_SOURCE): Likewise.
39247         (MCAST_LEAVE_GROUP): Likewise.
39248         (MCAST_JOIN_SOURCE_GROUP): Likewise.
39249         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
39250         (MCAST_MSFILTER): Likewise.
39251         (IP_MULTICAST_ALL): Likewise.
39252         (IP_UNICAST_IF): Likewise.
39254         * timezone/Makefile: Delete $(have-ksh) check.
39255         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
39256         * timezone/tzselect.ksh: Add +x mode bits.
39258         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
39259         (ANON_INODE_FS_MAGIC): Likewise.
39260         (BDEVFS_MAGIC): Likewise.
39261         (BINFMTFS_MAGIC): Likewise.
39262         (BTRFS_TEST_MAGIC): Likewise.
39263         (CRAMFS_MAGIC_WEND): Likewise.
39264         (DEBUGFS_MAGIC): Likewise.
39265         (ECRYPTFS_SUPER_MAGIC): Likewise.
39266         (EXT3_SUPER_MAGIC): Likewise.
39267         (EXT4_SUPER_MAGIC): Likewise.
39268         (FUTEXFS_SUPER_MAGIC): Likewise.
39269         (HOSTFS_SUPER_MAGIC): Likewise.
39270         (HUGETLBFS_MAGIC): Likewise.
39271         (MINIX3_SUPER_MAGIC): Likewise.
39272         (MTD_INODE_FS_MAGIC): Likewise.
39273         (NILFS_SUPER_MAGIC): Likewise.
39274         (OPENPROM_SUPER_MAGIC): Likewise.
39275         (PIPEFS_MAGIC): Likewise.
39276         (PSTOREFS_MAGIC): Likewise.
39277         (QNX6_SUPER_MAGIC): Likewise.
39278         (RAMFS_MAGIC): Likewise.
39279         (REISERFS_SUPER_MAGIC_STRING): Likewise.
39280         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
39281         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
39282         (SECURITYFS_MAGIC): Likewise.
39283         (SELINUX_MAGIC): Likewise.
39284         (SMACK_MAGIC): Likewise.
39285         (SOCKFS_MAGIC): Likewise.
39286         (SQUASHFS_MAGIC): Likewise.
39287         (STACK_END_MAGIC): Likewise.
39288         (TMPFS_MAGIC): Likewise.
39289         (USBDEVICE_SUPER_MAGIC): Likewise.
39290         (V9FS_MAGIC): Likewise.
39291         (XENFS_SUPER_MAGIC): Likewise.
39292         (CRAMFS_MAGIC): Fix typo in comment.
39293         (EXT2_SUPER_MAGIC): Update comment.
39294         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
39296 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
39298         * sysdeps/arm: Move directory from ports/sysdeps/arm.
39299         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
39300         * sysdeps/unix/sysv/linux/arm: Move directory from
39301         ports/sysdeps/unix/sysv/linux/arm.
39302         * README: Update listing for arm-*-linux-gnueabi.
39304         * README: Remove mention of am33.
39306 2014-02-07  Roland McGrath  <roland@hack.frob.com>
39308         * bits/sigset.h (__sigemptyset): Use a statement expression rather
39309         than the comma operator, to avoid "rhs of comma has no effect"
39310         compiler warnings.
39311         (__sigfillset, __sigandset, __sigorset): Likewise.
39312         * include/signal.h (__sigemptyset): Likewise.
39313         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
39315 2014-02-07  Allan McRae  <allan@archlinux.org>
39317         * version.h (RELEASE): Set to "development".
39318         (VERSION): Set to "2.19.90"
39319         * NEWS: Add 2.20 section.
39321 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
39323         [BZ #16529]
39324         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
39326 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39328         * manual/contrib.texi: Update entry for Carlos O'Donell,
39329         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
39331 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
39333         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
39335         * sysdeps/unix/sysv/linux/kernel-features.h
39336         [__LINUX_KERNEL_VERSION >= 0x020621]
39337         (__ASSUME_PROC_PID_TASK_COMM): Define.
39339 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39341         [BZ #16398]
39342         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
39343         conversion when destination buffer does not have enough space.
39344         * libio/tst-ftell-partial-wide.c: New test case.
39345         * libio/Makefile (tests): Add tst-ftell-partial-wide.
39347         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
39348         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
39349         Leonard and Allan McRae.
39351 2014-02-04  David S. Miller  <davem@davemloft.net>
39353         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
39354         32-bit.
39356 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39359         New file
39360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39361         New file
39362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39363         New file.
39364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39365         New file.
39366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39367         New file.
39368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39369         New file.
39370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39371         New file.
39372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39373         New file.
39374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39375         New file.
39376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39377         New file.
39378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39379         New file.
39380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39381         New file.
39382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39383         New file.
39385 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39387         * nptl/shlib-versions: Change powerpc*le start to 2.17.
39388         * shlib-versions: Likewise.
39390 2014-02-04  Roland McGrath  <roland@hack.frob.com>
39391             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39393         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
39394         (abilist-pattern): New variable, set to %-le.abilist.
39396         * Makerules (abilist-pattern): New variable.
39397         (vpath): Use $(abilist-pattern) in place of %.abilist.
39398         (check-abi-% pattern rule): Likewise.
39399         (check-abi, update-abi): Likewise.
39401 2014-02-04  Eric Wong  <normalperson@yhbt.net>
39403         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39405 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
39407         * manual/startup.texi: Add next, previous, and top entries for
39408         the `Program Arguments' and `Environment Variables' nodes.
39410 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
39412         * manual/macros.texi: Add comments before MTASC-safety macros.
39414         * manual/users.texi: Document MTASC-safety properties.
39416         * manual/threads.texi (pthread_key_create, pthread_key_delete)
39417         (pthread_getspecific, pthread_setspecific): Format with
39418         @deftypefun, and add @safety note.
39419         * manual/signal.texi: Move comments that analyze the above
39420         functions to their home place.
39422 2014-02-03  Allan McRae  <allan@archlinux.org>
39424         * po/sl.po: Update Slovenian translation from translation project.
39426 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
39428         * manual/time.texi (timegm): Add missing blank after @c.
39429         Reported by Joseph Myers <joseph@codesourcery.com>.
39431 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
39433         * manual/check-safety.sh: New.
39434         * manual/Makefile ($(objpfx)stamp-summary): Run it.
39436         * manual/terminal.texi: Document MTASC-safety properties.
39438         * manual/filesys.texi: Document MTASC-safety properties.
39440         * manual/errno.texi: Document MTASC-safety properties.
39442         * manual/intro.texi: Document safety identifiers and
39443         conditionals.
39445         * manual/string.texi (wcstok): Fix prototype.
39446         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
39448         * manual/time.texi: Document MTASC-safety properties.
39450         * manual/string.texi: Document MTASC-safety properties.
39452         * manual/threads.texi: Document MTASC-safety properties.
39454         * manual/stdio.texi: Document MTASC-safety properties.
39456         * manual/syslog.texi: Document MTASC-safety properties.
39458         * manual/sysinfo.texi: Document MTASC-safety properties.
39460         * manual/startup.texi: Document MTASC-safety properties.
39462         * manual/socket.texi: Document MTASC-safety properties.
39464         * manual/signal.texi: Document MTASC-safety properties.
39466 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
39468         * manual/setjmp.texi: Document MTASC-safety properties.
39470         * manual/search.texi: Document MTASC-safety properties.
39472         * manual/resource.texi: Document MTASC-safety properties.
39474         * manual/process.texi: Document MTASC-safety properties.
39476         * manual/platform.texi: Document MTASC-safety properties.
39478         * manual/pipe.texi: Document MTASC-safety properties.
39480         * manual/pattern.texi: Document MTASC-safety properties.
39482         * manual/message.texi: Document MTASC-safety properties.
39484         [BZ #12751]
39485         * manual/memory.texi: Document MTASC-safety properties.
39487         * manual/math.texi: Document MTASC-safety properties.
39489         * manual/locale.texi: Document MTASC-safety properties.
39491         * manual/llio.texi: Document MTASC-safety properties.
39493         * manual/libdl.texi: New.
39495         * manual/lang.texi: Document MTASC-safety properties.
39497         * manual/job.texi: Document MTASC-safety properties.
39499         * manual/getopt.texi: Document MTASC-safety properties.
39501         * manual/ctype.texi: Document MTASC-safety properties.
39503 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
39505         [BZ #16046]
39506         * csu/libc-tls.c (static_map): Remove variable.
39507         (__libc_setup_tls): Use main executable's link map for TLS data.
39508         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
39509         casing for LM_ID_BASE and GL(dl_nns).
39510         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
39511         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
39512         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
39513         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
39514         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
39515         member.
39516         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
39517         l_phnum members.
39519 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
39521         * manual/debug.texi: Document MTASC-safety properties.
39523 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
39525         [BZ #16510]
39526         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
39527         of __x86_64__ when disabling x87 inline functions.
39529 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
39531         * manual/charset.texi: Document MTASC-safety properties.
39533         * manual/crypt.texi: Document MTASC-safety properties.
39535         * manual/conf.texi: Document MTASC-safety properties.
39537         * manual/arith.texi: Document MTASC-safety properties.
39539         * manual/argp.texi: Document MTASC-safety properties.
39541         * manual/macros.texi: Introduce macros to document multi
39542         thread, asynchronous signal and asynchronous cancellation
39543         safety properties.
39544         * manual/intro.texi: Introduce the properties themselves.
39546 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39548         * sysdeps/sh/sh4/Makefile: New file.
39550 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
39552         * math/gen-libm-test.pl ($srcdir): New variable.
39553         ($auto_input): Use it.
39555 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39557         [BZ #16506]
39558         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
39559         access beyond array bounds when parsing netgroups file.
39561         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
39562         the old buffer before realloc.
39564 2014-01-27  Allan McRae  <allan@archlinux.org>
39566         * po/fr.po: Update French translation from translation project.
39568 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39570         * sysdeps/sh/libm-test-ulps: Regenerate.
39572 2014-01-24  David S. Miller  <davem@davemloft.net>
39574         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
39576 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39578         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
39579         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
39581 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39583         [BZ #16474]
39584         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39585         string pointers after reallocation.
39587 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39589         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39590         __SH4A__ instead of __SH_FPU_ANY__.
39592 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39594         * sysdeps/sh/fpu_control.h: New file.
39595         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39596         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39597         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39598         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39599         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39600         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39601         * sysdeps/sh/sys/ucontext.h: Remove.
39602         * sysdeps/sh/sys: Remove directory.
39604 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39606         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39607         s390/sys/ucontext.h.
39608         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39609         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39611 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
39613         [BZ #15605]
39614         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39616 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39618         [BZ#16431]
39619         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39620         Adjust the vDSO correctly for internal calls.
39621         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39623 2014-01-20  Allan McRae  <allan@archlinux.org>
39625         * po/ca.po: Update Catalan translation from translation project.
39627 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
39629         * sysdeps/s390/sotruss-lib.c: New file.
39631 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39633         [BZ#16430]
39634         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39635         (__GI___gettimeofday): Alias for a different internal symbol to avoid
39636         local calls issues by not having a PLT stub required for IFUNC calls.
39637         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39639 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
39641         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39642         * math/test-fpucw-static.c: Likewise.
39644 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39646         [BZ #16453]
39647         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39649 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39651         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39652         implementation for powerpc.
39654 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
39656         [BZ #14782]
39657         * sysdeps/posix/system.c (__libc_system): Do not enable
39658         asynchronous cancellation.
39660 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39662         [BZ #16427]
39663         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39664         handling only for numbers special also in the IEEE case.
39666 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39668         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39670 2014-01-11  Allan McRae  <allan@archlinux.org>
39672         * po/bg.po: Update Bulgarian translation from translation project.
39674         * po/de.po: Update German translation from translation project.
39676 2014-01-10  Roland McGrath  <roland@hack.frob.com>
39678         * sysdeps/generic/gcc-compat.h: New file.
39680 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39682         * benchtests/asin-inputs: Correct slow inputs.
39683         * benchtests/acos-inputs: Likewise.
39685 2014-01-10  Allan McRae  <allan@archlinux.org>
39687         * po:sv.po: Update Swedish translation from translation project.
39689         * po/vi.po: Update Vietnamese translation from translation project.
39691         * po/eo.po: Update Esperanto translation from translation project.
39693         * po/cs.po: Update Czech translation from translation project.
39695         * po/nl.po: Update Dutch translation from translation project.
39697         * po/pl.po: Update Polish translation from translation project.
39699         * po/ru.po: Update Russian translation from translation project.
39701         * po/uk.po: Update Ukrainian translation from translation project.
39703 2014-01-08  Brooks Moses  <bmoses@google.com>
39705         * elf/dl-load.c: Fix comment typo.
39707 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
39709         * po/header.pot: Rename to...
39710         * po/pot.header: ... this.
39711         * po/Makefile: Use pot.header.
39713 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
39714             Maxim Kuvyrkov  <maxim@kugelworks.com>
39716         [BZ #16394]
39717         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39718         SRC and DEST against LEN.
39720 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39722         [BZ #16414]
39723         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39724         implementation.
39725         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39727 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39731 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
39733         [BZ #16408]
39734         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39735         for large positive arguments.
39737 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
39739         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39741         * math/auto-libm-test-in: Mark various tests with
39742         xfail-rounding:ldbl-128ibm.
39743         * math/auto-libm-test-out: Regenerated.
39745         [BZ #16407]
39746         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39747         Increase overflow threshold.
39749 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
39751         [BZ #14286]
39752         * stdio-common/vfprintf.c: Check for integer overflow.
39754 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39756         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39757         the first argument and return value of __tls_get_addr_internal.
39759 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39761         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39762         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39764 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39766         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39767         * sysdeps/s390/rtld-global-offsets.sym: New file.
39768         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39769         GLIBC_2.19 symbol.
39770         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39771         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39772         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39773         ... this.
39774         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39775         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39776         ... this.
39777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39778         Regenerate.
39779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39780         Regenerate.
39781         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39782         halfs of GPRs for high_gprs contexts.
39783         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39784         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
39785         field.
39786         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39787         uc_flags field.
39788         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39789         64 bit versions:
39790         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39791         for high GPRs (uc_high_gprs) and for future extensions
39792         (__reserved).
39793         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39794         for future extensions (__reserved).
39795         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39796         64 bit versions:
39797         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39798         SC_HIGHGPRS offset definition.
39799         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39800         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39802         * Versions.def: Add GLIBC_2.19 for libpthread.
39803         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39804         siglongjmp for libpthread with GLIBC_2.19 symver.
39805         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39806         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39807         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39808         * sysdeps/s390/__longjmp.c: New file.
39809         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39810         * sysdeps/s390/longjmp.c: New file.
39811         * sysdeps/s390/setjmp.S: New file.
39812         * sysdeps/s390/sigjmp.S: New file.
39813         * sysdeps/s390/v1-longjmp.c: New file.
39814         * sysdeps/s390/v1-setjmp.h: New file.
39815         * sysdeps/s390/v1-sigjmp.c: New file.
39816         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39817         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39818         GLIBC_2.19 version.
39819         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39820         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39821         versioned symbols for ____longjmp_chk.
39822         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39823         Likewise.
39824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39825         Regenerate.
39826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39827         Regenerate.
39828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39829         Regenerate.
39830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39831         Regenerate.
39832         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39833         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39834         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39835         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39836         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39837         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39838         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39839         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39840         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39841         * sysdeps/s390/rtld-__longjmp.c: New file.
39842         * sysdeps/s390/rtld-setjmp.S: New file.
39844 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
39846         [BZ #16400]
39847         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39848         Return -__logl (x) for small positive arguments without evaluating
39849         a polynomial.
39851 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
39853         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39854         Rename to ...
39855         (__ptrace_peeksiginfo_args): ... this.
39856         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39857         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39858         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39860 2014-01-06  Allan McRae  <allan@archlinux.org>
39862         * inet/netinet/in.h: Fix typo in comment.
39864 2014-01-05  Andreas Jaeger  <aj@suse.de>
39866         * sysdeps/i386/fpu/libm-test-ulps: Update.
39868 2014-01-05  Allan McRae  <allan@archlinux.org>
39870         * po/libc.pot: Regenerated.
39872         * malloc/memusagestat.c: Fix gettext call formatting.
39874 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
39876         * nscd/nscd.c: Improve usage() output.
39878 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
39880         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39881         * sysdeps/unix/sysv/linux/configure: Regenerated.
39882         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39883         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39885 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39887         [BZ #16390]
39888         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39889         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39891 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39893         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39894         extra tokens at end of #undef directive.
39895         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39896         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39897         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39899 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39901         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39903         * math/auto-libm-test-in: Mark various tests with
39904         xfail-rounding:ldbl-128ibm.
39905         * math/auto-libm-test-out: Regenerated.
39907 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
39909         [BZ #16386]
39910         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39911         numbers with subnormal high part when calculating exponent.
39913         [BZ #16385]
39914         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39915         fabs.
39917         [BZ #16384]
39918         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39919         M_LN2l.
39920         (__ieee754_acoshl): Use __log1pl not __log1p.
39922 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
39924         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39925         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39926         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39927         (grow_heap, heap_trim, _int_new_arena, get_free_list)
39928         (reused_arena, arena_get2): Convert to GNU style.
39929         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39930         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39931         (memalign_check, __malloc_set_state): Likewise.
39932         * malloc/mallocbug.c (main): Likewise.
39933         * malloc/malloc.c (__malloc_assert, malloc_init_state)
39934         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39935         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39936         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39937         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39938         (__posix_memalign, malloc_info): Likewise.
39939         * malloc/malloc.h: Likewise.
39940         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39941         (mallochook, memalignhook, reallochook, mabort): Likewise.
39942         * malloc/mcheck.h: Likewise.
39943         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39944         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39945         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39946         * malloc/morecore.c (__default_morecore): Likewise.
39947         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39948         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39949         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39950         (print_and_abort): Likewise.
39951         * malloc/obstack.h: Likewise.
39952         * malloc/set-freeres.c (__libc_freeres): Likewise.
39953         * malloc/tst-mallocstate.c (main): Likewise.
39954         * malloc/tst-mtrace.c (main): Likewise.
39955         * malloc/tst-realloc.c (do_test): Likewise.
39957 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39959         [BZ #16366]
39960         * nscd/netgroupcache.c (do_notfound): New function.
39961         (addgetnetgrentX): Use it.
39963         [BZ # 16365]
39964         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39965         NSS_STATUS_NOTFOUND.
39967 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
39969         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39972 2014-01-01  Allan McRae  <allan@archlinux.org>
39974         * scripts/update-copyrights: Update configure input file suffix.
39976         * NEWS: Update copyright year.
39977         * catgets/gencat.c: Likewise.
39978         * csu/version.c: Likewise.
39979         * debug/catchsegv.sh: Likewise.
39980         * debug/pcprofiledump.c: Likewise.
39981         * debug/xtrace.sh: Likewise.
39982         * elf/ldconfig.c: Likewise.
39983         * elf/ldd.bash.in: Likewise.
39984         * elf/pldd.c: Likewise.
39985         * elf/sotruss.ksh: Likewise.
39986         * elf/sprof.c: Likewise.
39987         * iconv/iconv_prog.c: Likewise.
39988         * iconv/iconvconfig.c: Likewise.
39989         * locale/programs/locale.c: Likewise.
39990         * locale/programs/localedef.c: Likewise.
39991         * login/programs/pt_chown.c: Likewise.
39992         * malloc/memusage.sh: Likewise.
39993         * malloc/memusagestat.c: Likewise.
39994         * malloc/mtrace.pl: Likewise.
39995         * manual/libc.texinfo: Likewise.
39996         * nscd/nscd.c: Likewise.
39997         * nss/getent.c: Likewise.
39998         * nss/makedb.c: Likewise.
39999         * posix/getconf.c: Likewise.
40000         * scripts/test-installation.pl: Likewise.
40002         * All files with FSF copyright notices: Update copyright dates
40003         using scripts/update-copyrights.
40004         * intl/plural.c: Regenerated.
40005         * locale/programs/charmap-kw.h: Likewise.
40006         * locale/programs/locfile-kw.h: Likewise.
40008 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
40010         * sysdeps/unix/sysv/linux/configure: Regenerated.
40011         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
40012         the linux/fanotify.h header.
40013         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
40014         HAVE_LINUX_FANOTIFY_H is defined.
40016 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40018         * benchtests/cos-inputs: New inputs.
40019         * benchtests/sin-inputs: Likewise.
40021         * benchtests/atan-inputs: New inputs. Fix name of multiple
40022         precision fallback inputs.
40024         * benchtests/atanh-inputs: New inputs.
40025         * benchtests/tanh-inputs: Likewise.
40027         * benchtests/acosh-inputs: New inputs.
40028         * benchtests/asinh-inputs: Likewise.
40030         * benchtests/cosh-inputs: New inputs.
40031         * benchtests/sinh-inputs: Likewise.
40033         * benchtests/acos-inputs: Add more inputs.
40034         * benchtests/asin-inputs: Likewise.
40036 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
40038         [BZ #16375]
40039         * manual/arith.texi: Fix spelling.
40040         * manual/charset.texi: Likewise.
40041         * manual/errno.texi: Likewise.
40042         * manual/filesys.texi: Likewise.
40043         * manual/lang.texi: Likewise.
40044         * manual/llio.texi: Likewise.
40045         * manual/locale.texi: Likewise.
40046         * manual/message.texi: Likewise.
40047         * manual/resource.texi: Likewise.
40048         * manual/search.texi: Likewise.
40049         * manual/setjmp.texi: Likewise.
40050         * manual/stdio.texi: Likewise.
40051         * manual/string.texi: Likewise.
40052         * manual/sysinfo.texi: Likewise.
40053         * manual/time.texi: Likewise.
40055 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
40057         * po/sl.po: New file.
40059 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
40061         * .gitignore: Add core/.gdbinit/.gdb_history.
40063 2013-12-27  Allan McRae  <allan@archlinux.org>
40065         [BZ #16369]
40066         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
40067         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
40069 2013-12-24  Brooks Moses  <bmoses@google.com>
40071         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
40072         all compilers that claim C++98 compliance, not just GCC.
40073         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
40074         Likewise.
40076 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40078         * NEWS: Restore accidentally deleted bug-fix entries.
40080 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40081             Ondřej Bílka  <neleai@seznam.cz>
40083         [BZ #15073]
40084         * malloc/malloc.c (_int_free): Perform sanity check only if we
40085         have_lock.
40087 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
40089         [BZ #12986]
40090         * manual/stdio.texi (String Input Conversions): Clarify that character
40091         classes are not supported.
40093 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40097 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
40099         [BZ #16337]
40100         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40101         Calculate results for small negative arguments directly rather
40102         than using reflection formula with special underflow handling.
40104         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
40105         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
40106         sysdeps/unix/bsd/bsd4.4/syscalls.list.
40107         (fchflags): Likewise.
40108         (revoke): Likewise.
40109         (setlogin): Likewise.
40110         (sigaltstack): Likewise.
40111         (wait4): Likewise.
40112         (sigblock): Remove.
40113         (sigsetmask): Likewise.
40114         (wait3): Likewise.
40115         (waitpid): Likewise.
40116         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
40117         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
40118         file.
40119         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
40120         * sysdeps/unix/bsd/Makefile: ... here.
40121         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
40122         * sysdeps/unix/bsd/Versions: ... here.
40123         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
40124         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
40125         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
40126         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
40127         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
40128         * sysdeps/unix/bsd/sigblock.c: ... here.
40129         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
40130         * sysdeps/unix/bsd/sigsetmask.c: ... here.
40131         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
40132         * sysdeps/unix/bsd/sigvec.c: ... here.
40133         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
40134         * sysdeps/unix/bsd/tcdrain.c: ... here.
40135         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
40136         * sysdeps/unix/bsd/tcgetattr.c: ... here.
40137         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
40138         * sysdeps/unix/bsd/tcsetattr.c: ... here.
40139         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
40140         * sysdeps/unix/bsd/wait.c: ... here.
40141         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
40142         * sysdeps/unix/bsd/wait3.c: ... here.
40143         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
40144         * sysdeps/unix/bsd/waitpid.c: ... here.
40146 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
40148         [BZ #16356]
40149         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
40150         round-to-nearest for [!USE_AS_EXPM1L].
40151         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
40152         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
40153         more tests of exp and exp10.  Expect some exp10 tests to miss
40154         exceptions or fail in directed rounding modes.
40155         * math/auto-libm-test-out: Regenerated.
40156         * math/libm-test.inc (exp10_tonearest_test_data): New array.
40157         (exp10_test_tonearest): New function.
40158         (exp10_towardzero_test_data): New array.
40159         (exp10_test_towardzero): New function.
40160         (exp10_downward_test_data): New array.
40161         (exp10_test_downward): New function.
40162         (exp10_upward_test_data): New array.
40163         (exp10_test_upward): New function.
40164         (main): Call the new functions.
40165         * sysdeps/i386/fpu/libm-test-ulps: Update.
40166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40168 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
40170         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
40171         asinh, atan, atan2, atanh, cbrt, cos and cosh.
40172         * math/auto-libm-test-out: Regenerated.
40173         * math/libm-test.inc (acosh_test_data): Add more tests.
40174         (atanh_test_data): Likewise.
40175         (ceil_test_data): Likewise.
40176         (copysign_test_data): Likewise.
40177         * sysdeps/i386/fpu/libm-test-ulps: Update.
40178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40180         * timezone/checktab.awk: Update from tzcode 2013i.
40181         * timezone/private.h: Likewise.
40182         * timezone/scheck.c: Likewise.
40183         * timezone/tzfile.h: Likewise.
40184         * timezone/tzselect.ksh: Likewise.
40185         * timezone/zdump.c: Likewise.
40186         * timezone/zic.c: Likewise.
40188         * math/auto-libm-test-in: Add tests of cpow.
40189         * math/auto-libm-test-out: Regenerated.
40190         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
40191         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40192         mpc_cc_c.
40193         (func_calc_desc): Add mpc_cc_c union field.
40194         (test_functions): Add cpow.
40195         (special_fill_2pi): New function.
40196         (special_real_inputs): Add 2pi.
40197         (calc_generic_results): Handle mpc_cc_c.
40198         * sysdeps/i386/fpu/libm-test-ulps: Update.
40199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40201         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
40202         csqrt, ctan and ctanh.
40203         * math/auto-libm-test-out: Regenerated.
40204         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40205         (TEST_COND_x86): Likewise.
40206         (ccos_test_data): Use AUTO_TESTS_c_c.
40207         (ccosh_test_data): Likewise.
40208         (cexp_test_data): Likewise.
40209         (clog_test_data): Likewise.
40210         (csqrt_test_data): Likewise.
40211         (ctan_test_data): Likewise.
40212         (ctan_tonearest_test_data): Likewise.
40213         (ctan_towardzero_test_data): Likewise.
40214         (ctan_downward_test_data): Likewise.
40215         (ctan_upward_test_data): Likewise.
40216         (ctanh_test_data): Likewise.
40217         (ctanh_tonearest_test_data): Likewise.
40218         (ctanh_towardzero_test_data): Likewise.
40219         (ctanh_downward_test_data): Likewise.
40220         (ctanh_upward_test_data): Likewise.
40221         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40222         mpc_c_c.
40223         (func_calc_desc): Add mpc_c_c union field.
40224         (FUNC_mpc_c_c): New macro.
40225         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
40226         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
40227         ctanh.
40228         (special_fill_min_subnorm_p120): New function.
40229         (special_real_inputs): Add min_subnorm_p120.
40230         (calc_generic_results): Handle mpc_c_c.
40231         * sysdeps/i386/fpu/libm-test-ulps: Update.
40232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40234 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40236         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
40237         (do_sin_slow): New functions.
40238         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
40239         (cslow2, csloww1, csloww2): Use the new functions.
40241         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
40242         Use M to change sign of result instead of X.  Assume X is
40243         positive.
40244         (csloww1): Likewise.
40245         (__sin): Adjust.
40246         (__cos): Adjust.
40248         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
40249         arguments A and DA.
40250         (__sin): Adjust.
40251         (__cos): Likewise.
40253         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
40254         (__cos): Likewise.
40255         (sloww1): Don't adjust sign of DX.
40256         (csloww1): Likewise.
40257         (sloww2): Use X directly and don't adjust sign of DX.
40258         (csloww2): Likewise.
40260 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40262         * math/auto-libm-test-in: Add tests of cabs and carg.
40263         * math/auto-libm-test-out: Regenerated.
40264         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
40265         (carg_test_data): Likewise.
40266         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40267         mpc_c_f.
40268         (func_calc_desc): Add mpc_c_f union field.
40269         (test_functions): Add cabs and carg.
40270         (calc_generic_results): Handle mpc_c_f.
40272         * sysdeps/powerpc/powerpc32/libgcc-compat.S
40273         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
40274         as a macro and a compat symbol.
40275         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40276         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40277         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40278         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40279         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
40280         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
40281         not use .hidden.
40282         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
40283         Likewise.
40284         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
40285         Likewise.
40286         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
40287         Likewise.
40288         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
40289         Likewise.
40290         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
40291         Likewise.
40292         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
40293         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
40294         from GLIBC_2.3.2.
40296 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40300 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40302         * manual/texinfo.tex: Update to version 2013-11-26.10 with
40303         trailing whitespace removed.
40304         * scripts/config.guess: Update to version 2013-11-29.
40305         * scripts/config.sub: Update to version 2013-10-01.
40307         * math/auto-libm-test-in: Add tests of sincos.
40308         * math/auto-libm-test-out: Regenerated.
40309         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
40310         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40311         mpfr_f_11.
40312         (func_calc_desc): Add mpfr_f_11 union field.
40313         (test_functions): Add sincos.
40314         (calc_generic_results): Handle mpfr_f_11.
40315         * sysdeps/i386/fpu/libm-test-ulps: Update.
40316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40318 2013-12-19  Andreas Schwab  <schwab@suse.de>
40320         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
40321         CALL_MCOUNT.
40322         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40323         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
40324         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
40326 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40328         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
40329         * sysdeps/i386/fpu/libm-test-ulps: Update.
40330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40332         [BZ #16293]
40333         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
40334         round-to-nearest mode when using frndint.
40335         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
40336         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40337         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40338         Likewise.
40339         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
40340         sinh test to fail.
40341         * math/auto-libm-test-out: Regenerated.
40342         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
40343         (TEST_COND_x86): Likewise.
40344         (expm1_tonearest_test_data): New array.
40345         (expm1_test_tonearest): New function.
40346         (expm1_towardzero_test_data): New array.
40347         (expm1_test_towardzero): New function.
40348         (expm1_downward_test_data): New array.
40349         (expm1_test_downward): New function.
40350         (expm1_upward_test_data): New array.
40351         (expm1_test_upward): New function.
40352         (main): Run the new test functions.
40353         * sysdeps/i386/fpu/libm-test-ulps: Update.
40354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40356         * include/features.h: Update comment documenting feature test
40357         macros.  Mention _DEFAULT_SOURCE in comment.
40358         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
40359         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
40360         _BSD_SOURCE and _SVID_SOURCE.
40361         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
40362         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
40363         !_SVID_SOURCE]: Likewise.
40364         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40365         (__USE_POSIX_IMPLICITLY): Define.
40366         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40367         (_POSIX_SOURCE): Undefine and redefine.
40368         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40369         (_POSIX_C_SOURCE): Likewise.
40370         * manual/creature.texi (_DEFAULT_SOURCE): Document.
40371         (Feature Test Macros): Update documentation of default features.
40373 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40375         * benchtests/Makefile: Add bench-strtok.
40376         * benchtests/bench-strtok.c: New file: strtok benchtest.
40378 2013-12-19  Allan McRae  <allan@archlinux.org>
40380         * manual/install.texi: Suppress menu for plain text output.
40381         * INSTALL: Regenerated.
40383 2013-12-18  Brooks Moses  <bmoses@google.com>
40385         [BZ #15846]
40386         * misc/getauxval.c: Include errno.h.
40387         (__getauxval): Set errno to ENOENT if the requested type is not
40388         found.
40389         * misc/sys/auxv.h (getauxval): Document that it may set errno;
40390         don't declare with __attribute_const__.
40391         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
40392         * manual/startup.texi: Document that getauxval sets errno.
40394 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40396         * math/auto-libm-test-in: Add tests of jn and yn.
40397         * math/auto-libm-test-out: Regenerated.
40398         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
40399         (yn_test_data): Likewise.
40400         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40401         mpfr_if_f.
40402         (func_calc_desc): Add mpfr_if_f union field.
40403         (FUNC_mpfr_if_f): New macro.
40404         (test_functions): Add jn and yn.
40405         (calc_generic_results): Assert type of second input for
40406         mpfr_ff_f.  Handle mpfr_if_f.
40407         (output_for_one_input_case): Disable all checking for arguments
40408         fitting floating-point types in case of an integer argument.
40409         * sysdeps/i386/fpu/libm-test-ulps: Update.
40410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40413         Don't expect fegetround reference in libm.so.
40415 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40417         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
40418         $(config-cflags-nofma).
40420 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40422         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
40423         * math/auto-libm-test-out: Regenerated.
40425         [BZ #16338]
40426         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
40427         to determine exponent and adjust argument to have exponent of -1.
40428         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
40429         log2.
40430         * math/auto-libm-test-out: Regenerated.
40431         * sysdeps/i386/fpu/libm-test-ulps: Update.
40432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40434 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
40436         * manual/probes.texi: Remove cases when per-thread arenas are
40437         disabled.
40439 2013-12-18  Andreas Schwab  <schwab@suse.de>
40441         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
40442         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
40443         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
40444         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
40445         * sysdeps/i386/i686/multiarch/Makefile: Update.
40446         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
40448 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40450         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
40451         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
40453 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
40455         [BZ #15968]
40456         Support TZ transition times < 00:00:00.
40457         This is needed for version-3 tz-format files; it supports time
40458         stamps past 2037 for America/Godthab (the only entry in the tz
40459         database for which this change is relevant).
40460         * manual/time.texi (TZ Variable): Document transition times
40461         from -167:59:59 through -00:00:01.
40462         * time/tzset.c (tz_rule): Time of day is now signed.
40463         (__tzset_parse_tz): Parse negative time of day.
40465         Document TZ transition times >= 25:00:00.
40466         * manual/time.texi (TZ Variable): Document transition times from
40467         25:00:00 through 167:59:59.  These are already supported, and this
40468         support will help with version-3 tz-format files.
40470         * manual/time.texi (TZ Variable): Modernize North America example
40471         to reflect current (i.e., 2007-and-later) daylight saving rules.
40473         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
40475 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40477         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
40478         * sysdeps/unix/bsd/bits/stat.h: Likewise.
40479         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
40480         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40481         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
40482         * sysdeps/unix/bsd/bsdstat.h: Likewise.
40483         * sysdeps/unix/bsd/clock.c: Likewise.
40484         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
40485         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
40486         * sysdeps/unix/bsd/init-posix.c: Likewise.
40487         * sysdeps/unix/bsd/poll.c: Likewise.
40488         * sysdeps/unix/bsd/ptsname.c: Likewise.
40489         * sysdeps/unix/bsd/seekdir.c: Likewise.
40490         * sysdeps/unix/bsd/setegid.c: Likewise.
40491         * sysdeps/unix/bsd/seteuid.c: Likewise.
40492         * sysdeps/unix/bsd/setgid.c: Likewise.
40493         * sysdeps/unix/bsd/setrgid.c: Likewise.
40494         * sysdeps/unix/bsd/setruid.c: Likewise.
40495         * sysdeps/unix/bsd/setsid.c: Likewise.
40496         * sysdeps/unix/bsd/setuid.c: Likewise.
40497         * sysdeps/unix/bsd/sigaction.c: Likewise.
40498         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
40499         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
40500         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
40501         * sysdeps/unix/bsd/telldir.c: Likewise.
40502         * sysdeps/unix/bsd/times.c: Likewise.
40503         * sysdeps/unix/bsd/usleep.c: Likewise.
40505         * misc/Makefile (install-lib): Remove libbsd-compat.a.
40506         ($(objpfx)libbsd-compat.a): Remove rule.
40508         * include/features.h (__FAVOR_BSD): Do not define.
40509         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
40510         features conflicting with POSIX.
40511         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
40512         (_BSD_SOURCE): Remove description of not being a subset of other
40513         feature test macros.
40514         * manual/job.texi (getpgrp): Do not document BSD version.
40515         (getpgid): Do not document by reference to BSD getpgrp.
40516         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
40517         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
40518         * signal/signal.h [__FAVOR_BSD]: Likewise.
40519         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
40520         instead of making contents conditional on [__FAVOR_BSD].
40521         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
40523 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40527 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40529         [BZ #16314]
40530         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
40531         values below 2**-450, not 2**-500.
40532         * math/auto-libm-test-in: Don't allow spurious underflow from
40533         hypot.
40534         * math/auto-libm-test-out: Regenerated.
40536         [BZ #16316]
40537         [BZ #16330]
40538         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
40539         values of ha and hb and sort them after adjusting subnormal
40540         arguments.
40541         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
40542         Likewise.
40543         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
40544         values of ea and eb and sort them after adjusting subnormal
40545         arguments.
40546         * math/auto-libm-test-in: Do not expect some hypot tests of
40547         subnormals to fail.  Add more hypot tests.
40548         * math/auto-libm-test-out: Regenerated.
40550 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40552         [BZ #13304]
40553         * sysdeps/sh/s_fma.c: New file.
40554         * sysdeps/sh/s_fmaf.c: New file.
40555         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
40556         version.
40557         * sysdeps/sh/Implies: Add sh/soft-fp.
40559 2013-12-16  Roland McGrath  <roland@hack.frob.com>
40561         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
40562         level of indirection to members `objname', `errstring', `malloced'.
40563         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
40564         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
40565         it as the __longjmp argument (just pass 1 instead).
40566         (_dl_catch_error): Initialize C with argument pointers and address of
40567         volatile local ERRCODE rather than copying values out of C at return.
40569 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
40571         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
40572         * math/auto-libm-test-out: Regenerated.
40573         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
40574         (hypot_test_data): Likewise.
40575         (pow_test_data): Likewise.
40576         (pow_tonearest_test_data): Likewise.
40577         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40578         mpfr_ff_f.
40579         (func_calc_desc): Add mpfr_ff_f union field.
40580         (FUNC_mpfr_ff_f): New macro.
40581         (test_functions): Add atan2, hypot and pow.
40582         (special_fill_min): New function.
40583         (special_fill_minus_min): Likewise.
40584         (special_fill_min_subnorm): Likewise.
40585         (special_fill_minus_min_subnorm): Likewise.
40586         (special_real_inputs): Add min, -min, min_subnorm and
40587         -min_subnorm.
40588         (calc_generic_results): Handle mpfr_ff_f.
40589         * sysdeps/i386/fpu/libm-test-ulps: Update.
40590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40592 2013-12-16  Will Newton  <will.newton@linaro.org>
40594         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40595         (Aligned Memory Blocks): Add documentation for aligned_alloc
40596         and suggest it as an alternative to posix_memalign.
40597         (Hooks for Malloc): Document __memalign_hook is also called
40598         for aligned_alloc.  (Summary of Malloc): Add summary for
40599         aligned alloc.  Document __memalign_hook is also called
40600         for aligned_alloc.
40602 2013-12-16  Will Newton  <will.newton@linaro.org>
40604         * manual/memory.texi (Malloc Examples): Clarify default
40605         alignment documentation.  Suggest posix_memalign rather
40606         than memalign or valloc.
40607         (Aligned Memory Blocks): Remove suggestion to use memalign
40608         or valloc.  Remove obsolete comment about BSD.
40609         Document memalign errno values and mark the function obsolete.
40610         Document posix_memalign returned error codes.  Mark valloc
40611         as obsolete.  (Hooks for Malloc): __memalign_hook is also
40612         called for posix_memalign and valloc.
40613         (Summary of Malloc): Add posix_memalign to function summary.
40614         __memalign_hook is also called for posix_memalign and valloc.
40616 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40618         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40619         TAYLOR_SIN.
40620         (__sin): Adjust.
40621         (__cos): Likewise.
40622         (sloww): Use mynumber union.  Expand ternary operator into
40623         if-else statements.
40624         (cslow): use mynumber union.
40626 2013-12-16  Allan McRae  <allan@archlinux.org>
40628         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40629         * configure: Regenerated.
40631         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40633         [BZ #14120]
40634         * configure.ac: Added --enable-maintainer-mode. Check for
40635         autoconf when enabled.
40636         * configure: Regenerated.
40638         * nscd/nscd.service: New file.
40639         * nscd/nscd.tmpfiles: New file.
40641 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
40643         [BZ #12100]
40644         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40645         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40646         * sysdeps/x86_64/multiarch/strstr.c: ... here.
40647         (strstr): Add __strstr_sse2_unaligned ifunc.
40648         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40649         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40650         (strcasestr): Remove __strcasestr_sse42 ifunc.
40651         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40652         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40653         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40655 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40657         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40658         * sysdeps/sh/bits/fenv.h: ... here.
40659         * sysdeps/sh/sh4/fpu/bits: Remove directory.
40661 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40663         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40665         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40666         hypotf multiarch implementations.
40667         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40668         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40669         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40670         multiarch hypot for PPC64.
40671         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40672         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40673         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40674         multiarch hypotf for PPC64.
40676         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40677         modff multiarch implementations.
40678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40681         multiarch modf for PPC64.
40682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40685         multiarch modff for PPC64.
40687         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40688         and logl multiarch implementations.
40689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40692         multiarch logb for PPC64.
40693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40696         multiarch logb for PPC64.
40697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40700         multiarch logb for PPC64.
40702         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40703         isinff multiarch implementation.
40704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40705         file.
40706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40708         multiarch isinf for PPC64.
40709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40710         file.
40711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40712         multiarch isinff for PPC64.
40714         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40715         finitef multiarch implementation.
40716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40717         file.
40718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40720         multiarch finite for PPC64.
40721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40722         file.
40723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40724         multiarch finitef for PPC64.
40726         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40727         lrint multiarch implementation.
40728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40729         file.
40730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40732         multiarch llrint for PPC64.
40733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40734         multiarch lrint for PPC64.
40736         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40737         copysignf multiarch implementation.
40738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40739         file.
40740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40741         file.
40742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40743         multiarch copysign for PPC64.
40744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40745         multiarch copysignf for PPC64.
40747         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40748         multiarch implementation.
40749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40750         file.
40751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40752         file.
40753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40754         file.
40755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40756         file.
40757         multiarch llround for PPC64.
40758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40759         multiarch trunc for PPC64.
40760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40761         multiarch truncf for PPC64.
40763         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40764         multiarch implementation.
40765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40766         file.
40767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40768         file.
40769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40770         file.
40771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40772         file.
40773         multiarch llround for PPC64.
40774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40775         multiarch round for PPC64.
40776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40777         multiarch roundf for PPC64.
40779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40780         multiarch implementation.
40781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40782         file.
40783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40784         file.
40785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40786         file.
40787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40788         file.
40789         multiarch llround for PPC64.
40790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40791         multiarch floor for PPC64.
40792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40793         multiarch floorf for PPC64.
40795         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40796         multiarch implementation.
40797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40798         file.
40799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40800         file.
40801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40802         file.
40803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40804         file.
40805         multiarch llround for PPC64.
40806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40807         multiarch ceil for PPC64.
40808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40809         multiarch ceilf for PPC64.
40811         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40812         multiarch implementation.
40813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40814         file.
40815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40816         file.
40817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40818         file.
40819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40820         multiarch llround for PPC64.
40821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40822         multiarch lround for PPC64.
40824         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40825         multiarch implementation.
40826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40829         file.
40830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40833         multiarch isnan for PPC64.
40834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40835         multiarch isnanf for PPC64.
40837         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40838         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40839         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40840         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40841         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40844         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40845         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40846         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40847         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40849         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40850         multiarch implementations.
40851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40852         (__libc_ifunc_impl_list): Likewise.
40853         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40854         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40855         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40856         multiarch stpcpy for PPC64.
40858         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40859         multiarch implementations.
40860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40861         (__libc_ifunc_impl_list): Likewise.
40862         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40863         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40864         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40865         multiarch strcpy for PPC64.
40867         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40868         redefine function name.
40869         (_wordcopy_fwd_dest_aligned): Likewise.
40870         (_wordcopy_bwd_aligned): Likewise.
40871         (_wordcopy_bwd_dest_aligned): Likewise.
40872         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40873         multiarch implementations.
40874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40875         (__libc_ifunc_impl_list): Likewise.
40876         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40877         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40878         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40879         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40880         multiarch wcscpy for PPC64.
40882         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40883         multiarch implementations.
40884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40885         (__libc_ifunc_impl_list): Likewise.
40886         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40887         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40888         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40889         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40890         multiarch wcscpy for PPC64.
40892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40893         multiarch implementations.
40894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40895         (__libc_ifunc_impl_list): Likewise.
40896         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40897         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40898         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40899         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40900         multiarch wcsrchr for PPC64.
40902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40903         multiarch implementations.
40904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40905         (__libc_ifunc_impl_list): Likewise.
40906         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40907         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40908         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40909         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40910         multiarch wcschr for PPC64.
40912         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40913         multiarch implementations.
40914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40915         (__libc_ifunc_impl_list): Likewise.
40916         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40917         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40918         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40919         multiarch strchrnul for PPC64.
40921         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40922         implementations.
40923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40924         (__libc_ifunc_impl_list): Likewise.
40925         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40926         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40927         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40928         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40929         strchr for PPC64.
40931         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40932         implementations.
40933         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40934         (__libc_ifunc_impl_list): Likewise.
40935         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40936         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40937         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40938         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40939         strncmp for PPC64.
40941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40942         multiarch implementations.
40943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40944         (__libc_ifunc_impl_list): Likewise.
40945         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40946         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40947         strncasecmp for PPC64.
40948         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40949         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40950         multiarch strncasecmp_l for PPC64.
40952         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40953         multiarch implementations.
40954         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40955         (__libc_ifunc_impl_list): Likewise.
40956         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40957         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40958         multiarch strcasecmp for PPC64.
40959         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40960         file.
40961         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40962         multiarch strcasecmp_l for PPC64.
40964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40965         implementations.
40966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40967         (__libc_ifunc_impl_list): Likewise.
40968         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40969         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40970         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40971         strnlen for PPC64.
40973         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40974         implementations.
40975         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40976         (__libc_ifunc_impl_list): Likewise.
40977         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40978         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40979         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40980         strlen for PPC64.
40982         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40983         implementations.
40984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40985         (__libc_ifunc_impl_list): Likewise.
40986         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40987         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40988         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40989         rawmemrchr for PPC64.
40991         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40992         implementation.
40993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40994         (__libc_ifunc_impl_list): Likewise.
40995         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40996         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40997         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40998         memrchr for PPC64.
41000         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
41001         implementation.
41002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41003         (__libc_ifunc_impl_list): Likewise.
41004         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
41005         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
41006         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
41007         memchr for PPC64.
41009         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
41010         implementation.
41011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41012         (__libc_ifunc_impl_list): Likewise.
41013         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
41014         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
41015         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
41016         mempcpy for PPC64.
41018         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
41019         avoid cretion of __bzero symbol.
41020         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
41021         Likewise.
41022         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
41023         Likewise.
41024         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
41025         Likewise.
41026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
41027         multiarch implementations.
41028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41029         (__libc_ifunc_impl_list): Likewise.
41030         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
41031         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
41032         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
41033         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
41034         bzero for PPC32.
41035         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
41036         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
41037         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
41038         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
41039         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
41040         memset for PPC64.
41041         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
41043         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
41044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
41045         implementations.
41046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41047         (__libc_ifunc_impl_list): Likewise.
41048         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
41049         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
41050         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
41051         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
41052         memcmp for PPC64.
41054         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
41055         multiarch for POWER/PPC64.
41056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
41057         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
41058         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
41059         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
41060         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
41061         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
41062         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
41063         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
41064         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
41065         memcpy for PPC64.
41067         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
41068         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
41069         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
41070         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
41071         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
41072         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
41073         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
41074         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
41075         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
41076         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
41077         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
41078         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
41079         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
41080         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
41081         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
41082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
41083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
41084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
41085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
41086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
41087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
41088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
41090 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41092         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
41094 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41096         * benchtests/Makefile (bench): Add exp2 and log2.
41097         (LDLIBS-bench-exp2): Add -lm.
41098         (LDLIBS-bench-log2): Likewise.
41099         * benchtests/exp2-inputs: New inputs file.
41100         * benchtests/log2-inputs: New inputs file.
41101         * benchtests/log-inputs: Add new inputs.
41102         * benchtests/tan-inputs: Likewise.
41104 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41106         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
41107         definition...
41108         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
41109         (csloww2): ... from here.
41111         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
41112         instead of structures.
41113         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
41114         (POLYNOMIAL): Likewise.
41115         (TAYLOR_SLOW): Likewise.
41116         (__sin): Likewise.
41117         (__cos): Likewise.
41118         (slow1): Likewise.
41119         (slow2): Likewise.
41120         (sloww): Likewise.
41121         (sloww1); Likewise.
41122         (sloww2): Likewise.
41123         (bsloww1): Likewise.
41124         (bsloww2): Likewise.
41125         (cslow2): Likewise.
41126         (csloww): Likewise.
41127         (csloww1): Likewise.
41128         (csloww2): Likewise.
41130 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
41132         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
41133         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
41134         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
41135         * malloc/hooks.c (realloc_check): Likewise.
41137         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
41138         * malloc/arena.c: Remove PER_THREAD conditional.
41139         [!PER_THREAD]: Remove code.
41140         (ptmalloc_unlock_all2): Likewise.
41141         (ptmalloc_init): Likewise.
41142         (_int_new_arena): Likewise.
41143         (arena_get2): Likewise.
41144         * malloc/hooks.c (__malloc_get_state): Likewise.
41145         (__malloc_set_state): Likewise.
41146         * malloc/malloc.c: Likewise.
41147         (struct malloc_state): Likewise.
41148         (struct malloc_par): Likewise.
41149         (__libc_realloc): Likewise.
41150         (__libc_mallopt): Likewise.
41152 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41154         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
41156 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
41158         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
41159         macro to a function.  Check for zero perturb_byte.
41160         (_int_malloc, _int_free): Remove zero perturb_byte checks.
41162         * malloc/malloc.c: (force_reg): Remove.
41163         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
41164         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
41165         force_reg by atomic_forced_read.
41166         * malloc/arena.c (ptmalloc_init): Likewise.
41167         * malloc/hooks.c (top_check): Likewise.
41169 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41173 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
41175         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41177 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
41179         * math/auto-libm-test-in: Add tests of lgamma.
41180         * math/auto-libm-test-out: Regenerated.
41181         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
41182         (M_LOG_2_SQRT_PIl): Likewise.
41183         (lgamma_test_data): Use AUTO_TESTS_f_f1.
41184         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41185         mpfr_f_f1.
41186         (func_calc_desc): Add mpfr_f_f1 union field.
41187         (ARGS1): New macro.
41188         (ARGS2): Likewise.
41189         (ARGS3): Likewise.
41190         (ARGS4): Likewise.
41191         (RET1): Likewise.
41192         (RET2): Likewise.
41193         (CALC): Likewise.
41194         (FUNC): Likewise.
41195         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
41196         (test_functions): Add lgamma.
41197         (calc_generic_results): Handle mpfr_f_f1.
41198         * sysdeps/i386/fpu/libm-test-ulps: Update.
41199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41201 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41203         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
41204         __mpn_add_n for PowerPC64/POWER7.
41205         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
41206         __mpn_sub_n for PowerPC64/POWER7.
41208         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
41209         __mpn_addmul_1 for PowerPC64.
41210         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
41211         __mpn_submul_1 for PowerPC64.
41212         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
41213         for PowerPC64.
41214         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
41215         for PowerPC64.
41217 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
41219         [BZ #15089]
41220         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
41222 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41224         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
41226         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
41227         add multiarch folders.
41228         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
41229         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
41230         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
41231         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
41232         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
41233         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
41234         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
41235         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
41236         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
41237         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
41238         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
41239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
41240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
41241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
41242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
41243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
41244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
41246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41247         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
41248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
41249         New file.
41250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
41251         New file.
41252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
41253         multiarch __ieee754_hypot for PowerPC32.
41254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
41255         New file.
41256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
41257         New file.
41258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
41259         multiarch __ieee754_hypotf for PowerPC32.
41261         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
41262         long_double_symbol only if __logbl is defined.
41263         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
41264         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
41265         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
41266         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
41267         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
41268         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
41269         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
41270         path for implementation.
41271         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
41272         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
41273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
41274         logb, and logbl multiarch implementations for PowerPC32.
41275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
41276         file.
41277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
41278         file.
41279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
41280         multiarch logb for PowerPC32.
41281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
41282         file.
41283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
41284         file.
41285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
41286         multiarch logbf for PowerPC32.
41287         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
41288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
41289         file.
41290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
41291         multiarch logbl implementation for PowerPC32.
41293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
41294         and modff multiarch implementations.
41295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
41296         New file.
41297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
41298         New file.
41299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
41300         multiarch modf for PowerPC32.
41301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
41302         New file.
41303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
41304         New file.
41305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
41306         multiarch modff for PowerPC32.
41308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
41309         and lrintf multiarch implementations.
41310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
41311         New file.
41312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
41313         New file.
41314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
41315         multiarch lrint for PowerPC32.
41316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
41317         file: multiarch lrintf for PowerPC32.
41319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
41320         and lroundf multiarch implementations.
41321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
41322         New file.
41323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
41324         New file.
41325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
41326         New file.
41327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
41328         multiarch lround for PowerPC32.
41329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
41330         file: multiarch lroundf for PowerPC32.
41332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41333         copysign and copysignf multiarch implementations.
41334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
41335         New file.
41336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
41337         New file.
41338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
41339         file: multiarch copysign for PowerPC32.
41340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
41341         file: multiarch copysignf for PowerPC32.
41343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
41344         and truncf multiarch implementations.
41345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
41346         New file.
41347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
41348         file.
41349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
41350         multiarch trunc for PowerPC32.
41351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
41352         New file.
41353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
41354         New file.
41355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
41356         multiarch truncf for PowerPC32.
41358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
41359         and roundf multiarch implementations.
41360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
41361         New file.
41362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
41363         file.
41364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
41365         multiarch round for PowerPC32.
41366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
41367         New file.
41368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
41369         New file.
41370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
41371         multiarch roundf for PowerPC32.
41373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
41374         and floorf multiarch implementations.
41375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
41376         New file.
41377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
41378         file.
41379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
41380         multiarch floor for PowerPC32.
41381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
41382         New file.
41383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
41384         New file.
41385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
41386         multiarch floorf for PowerPC32.
41388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
41389         and ceilf multiarch implementations.
41390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
41391         New file.
41392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
41393         file.
41394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
41395         multiarch ceil for PowerPC32.
41396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
41397         New file.
41398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
41399         file.
41400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
41401         multiarch ceilf for PowerPC32.
41403         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
41404         is defined.
41405         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
41406         FINITEF is defined.
41407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
41408         and finitef multiarch implementations.
41409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
41410         New file.
41411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
41412         file.
41413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
41414         multiarch finite for PowerPC32.
41415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
41416         New file.
41417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
41418         file: multiarch finitef for PowerPC32.
41420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
41421         and isinff multiarch implementations.
41422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
41423         file.
41424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
41425         file.
41426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
41427         multiarch isinf for PowerPC32.
41428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
41429         New file.
41430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
41431         multiarch isinff for PowerPC32.
41433         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
41434         alias when __isnan is defined.
41435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
41436         and isnanf multiarch implementations.
41437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
41438         file.
41439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
41440         file.
41441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
41442         file.
41443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
41444         file.
41445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
41446         multiarch isnan for PowerPC32.
41447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
41448         New file.
41449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
41450         New file.
41451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
41452         multiarch isnanf for PowerPC32.
41454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
41455         and sqrtf multiarch implementations.
41456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
41457         file.
41458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
41459         file.
41460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
41461         multiarch sqrt for PowerPC32.
41462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
41463         file.
41464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
41465         file.
41466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
41467         multiarch sqrtf for PowerPC32.
41469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
41470         and llroundf multiarch implementations.
41471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
41472         New file.
41473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
41474         New file.
41475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
41476         New file.
41477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
41478         file: multiarch llround for PowerPC32.
41479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
41480         file: multiarch llroundf for PowerPC32.
41482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
41483         multiarch PowerPC32 fpu implementations.
41484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
41485         New file.
41486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
41487         New file.
41488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
41489         multiarch llrint for PowerPC32.
41490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
41491         New file.
41492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
41493         New file.
41494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
41495         file.
41497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
41499         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
41500         file.
41501         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
41502         file.
41503         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
41504         file.
41505         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
41506         multiarch wordcopy for PPC32.
41507         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41508         wordcopy objects.
41509         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41510         (__libc_ifunc_impl_list): Likewise.
41511         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
41512         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
41513         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
41514         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
41515         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
41516         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
41518         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
41519         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
41520         file.
41521         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
41522         file.
41523         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
41524         file.
41525         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
41526         multiarch wcscpy for PPC32.
41527         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41528         multiarch objects.
41529         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41530         (__libc_ifunc_impl_list): Likewise.
41531         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41532         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41533         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
41534         sysdeps/powerpc/power6/wcscpy.c.
41536         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
41537         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
41538         file.
41539         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
41540         file.
41541         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
41542         file.
41543         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
41544         multiarch wcsrchr for PPC32.
41545         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41546         multiarch objects.
41547         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41548         (__libc_ifunc_impl_list): Likewise.
41549         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41550         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41551         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
41552         sysdeps/powerpc/power6/wcsrchr.c.
41554         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
41555         file.
41556         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
41557         file.
41558         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
41559         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
41560         multiarch wcschr for PPc32.
41561         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41562         multiarch objects.
41563         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41564         (__libc_ifunc_impl_list): Likewise.
41565         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
41566         * sysdeps/powerpc/power6/wcschr.c: ... to here.
41567         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
41568         sysdeps/powerpc/power6/wcschr.c.
41570         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
41571         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
41572         file.
41573         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
41574         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
41575         file: multiarch strchr for PPC32.
41576         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
41577         multiarch objects.
41578         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41579         (__libc_ifunc_impl_list): Likewise.
41581         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
41582         name.
41583         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
41584         file.
41585         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41586         file.
41587         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41588         multiarch strchrnul for PPC32.
41589         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41590         multiarch objects.
41591         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41592         (__libc_ifunc_impl_list): Likewise.
41594         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41595         file.
41596         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41597         multiarch strncasecmp for PPC32.
41598         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41599         file.
41600         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41601         multiarch strncasecmp_l for PPC32.
41602         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41603         strncasecmp multiarch objects.
41604         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41605         (__libc_ifunc_impl_list): Likewise.
41607         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41608         file.
41609         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41610         multiarch strncasecmp for PPC32.
41611         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41612         New file.
41613         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41614         multiarch strcasecmp_l for PPC32.
41615         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41616         multiarch objects.
41617         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41618         (__libc_ifunc_impl_list): Likewise.
41620         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41621         file.
41622         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41623         file.
41624         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41625         multiarch strncmp for PPC32.
41626         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41627         multiarch objects.
41628         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41629         (__libc_ifunc_impl_list): Likewise.
41631         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41632         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41633         file.
41634         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41635         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41636         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41637         multiarch objects.
41638         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41639         (__libc_ifunc_impl_list): Likewise.
41641         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41642         file.
41643         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41644         file.
41645         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41646         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41647         multiarch objects.
41648         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41649         (__libc_ifunc_impl_list): Likewise.
41651         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41652         file.
41653         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41654         file.
41655         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41656         multiarch rawmemchr for PPC32.
41657         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41658         multiarch objects.
41659         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41660         (__libc_ifunc_impl_list): Likewise.
41662         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41663         file.
41664         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41665         file.
41666         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41667         file: memrchr multiarch for PPC32.
41668         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41669         multiarch objects.
41670         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41671         (__libc_ifunc_impl_list): Likewise.
41673         * string/memchr.c (__memchr): Using macro to redefine symbol name.
41674         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41675         file.
41676         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41677         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41678         multiarch memchr for PPC32.
41679         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41680         multiarch objects.
41681         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41682         (__libc_ifunc_impl_list): Likewise.
41684         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41685         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41686         file.
41687         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41688         file.
41689         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41690         file: multiarch mempcpy for PPC32.
41691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41692         multiarch objects.
41693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41694         (__libc_ifunc_impl_list): Likewise.
41696         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41697         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41698         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41699         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41700         multiarch bzero for PPC32.
41701         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41702         file.
41703         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41704         file.
41705         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41706         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41707         file: multiarch memset for PPC32.
41708         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41709         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41710         memset multiarch objects.
41711         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41712         (__libc_ifunc_impl_list): Likewise.
41714         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41715         file.
41716         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41717         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41718         memcmp for PPC32.
41719         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41720         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41721         multiarch objects.
41722         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41723         (__libc_ifunc_impl_list): Likewise.
41725         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41726         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41727         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41728         file.
41729         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41730         file.
41731         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41732         file.
41733         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41734         multiarch memcpy for PPC32.
41735         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41736         multiarch objects.
41737         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41738         (__libc_ifunc_impl_list): Likewise.
41740         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41741         support multiarch for POWER/PPC32.
41742         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41743         Likewise.
41744         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41746         Implies file to make multiarch folder appers before the fpu and
41747         default folder for power4 configuration.
41749 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41751         * scripts/bench.pl: Append volatile keyword to type.
41753 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41755         * sysdeps/sh/sotruss-lib.c: New file.
41756         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41758 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41762 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
41764         [BZ #6810]
41765         * math/w_tgamma.c: Include <errno.h>.
41766         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
41767         * math/w_tgammaf.c: Include <errno.h>.
41768         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
41769         * math/w_tgammal.c: Include <errno.h>.
41770         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
41771         * math/auto-libm-test-in: Do not allow missing errno on tgamma
41772         underflow.  Add more tgamma tests.
41773         * math/auto-libm-test-out: Regenerated.
41774         * sysdeps/i386/fpu/libm-test-ulps: Update.
41775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41777         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41778         sin, sinh, tan, tanh, tgamma, y0 and y1.
41779         * math/auto-libm-test-out: Regenerated.
41780         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41781         (TEST_COND_x86): Likewise.
41782         (M_E2l): Remove macro.
41783         (M_E3l): Likewise.
41784         (M_2_SQRT_PIl): Likewise.
41785         (M_SQRT_PIl): Likewise.
41786         (M_1_DIV_El): Likewise.
41787         (log_test_data): Use AUTO_TESTS_f_f.
41788         (log10_test_data): Likewise.
41789         (log1p_test_data): Likewise.
41790         (log2_test_data): Likewise.
41791         (sin_test_data): Likewise.
41792         (sin_tonearest_test_data): Likewise.
41793         (sin_towardzero_test_data): Likewise.
41794         (sin_downward_test_data): Likewise.
41795         (sin_upward_test_data): Likewise.
41796         (sinh_test_data): Likewise.
41797         (sinh_tonearest_test_data): Likewise.
41798         (sinh_towardzero_test_data): Likewise.
41799         (sinh_downward_test_data): Likewise.
41800         (sinh_upward_test_data): Likewise.
41801         (tan_test_data): Likewise.
41802         (tan_tonearest_test_data): Likewise.
41803         (tan_towardzero_test_data): Likewise.
41804         (tan_downward_test_data): Likewise.
41805         (tan_upward_test_data): Likewise.
41806         (tanh_test_data): Likewise.
41807         (tgamma_test_data): Likewise.
41808         (y0_test_data): Likewise.
41809         (y1_test_data): Likewise.
41810         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41811         (special_real_inputs): Add pi/4.
41812         * sysdeps/i386/fpu/libm-test-ulps: Update.
41813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41815 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41817         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41818         "longjmp_target" static probes.
41819         (__longjmp): Rename to __longjmp_symbol.
41820         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41821         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41822         on which longjmp to generate.
41823         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41824         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41825         probe.
41826         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41827         (__sigjmp_save): Rename to __sigjmp_save_symbol.
41828         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41829         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41830         and __sigjmp_save_symbol based on which sigsetjmp to generated.
41831         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41833         __longjmp_symbol based on which __longjmp to generate.
41834         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41835         probe.
41836         (setjmp): Rename to setjmp_symbol.
41837         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41838         (_setjmp): Rename to _setjmp_symbol.
41839         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41840         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41841         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41842         which setjmp to generate.
41843         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41844         "longjmp_target" static probes.
41846 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41848         * benchtests/README: Add note about output arguments.
41849         * benchtests/bench-sincos.c: Remove file.
41850         * benchtests/sincos-inputs: New file.
41851         * scripts/bench.pl: Identify output arguments and define
41852         static variables for them.
41854         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41856         [BZ #15941]
41857         * Makefile (INSTALL): Add install-plain.texi as the primary
41858         dependency.
41859         * manual/install-plain.texi: New file.
41860         * manual/install.texi: Include node directive only for
41861         non-plaintext output.
41863 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
41865         * stdlib/longlong.h: Update from GCC.
41867         [BZ #6807]
41868         [BZ #15901]
41869         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41870         * math/w_j0f.c (y0f): Likewise.
41871         * math/w_j0l.c (__y0l): Likewise.
41872         * math/w_j1.c (y1): Likewise.
41873         * math/w_j1f.c (y1f): Likewise.
41874         * math/w_j1l.c (__y1l): Likewise.
41875         * math/w_jn.c (yn): Likewise.
41876         * math/w_jnf.c (ynf): Likewise.
41877         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41878         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
41879         value for Bessel function domain errors outside _SVID_ mode.
41880         Adjust sign of return value for yn (negative integer, 0).
41881         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41882         by zero in return for negative x and set sign appropriately for
41883         negative n.
41884         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41885         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41886         * math/libm-test.inc (y0_test_data): Add more tests and adjust
41887         expectations in error cases.
41888         (y1_test_data): Likewise.
41889         (yn_test_data): Likewise.
41890         * sysdeps/i386/fpu/libm-test-ulps: Update.
41891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41893 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41895         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41896         "64" to "64-v1".  Add "64-v2".
41897         (abi-64-options): Rename to ...
41898         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
41899         (abi-64-condition): Rename to ...
41900         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
41901         (abi-64-ld-soname): Rename to ...
41902         (abi-64-v1-ld-soname): ... this.
41903         (abi-64-v2-options): Define.
41904         (abi-64-v2-condition): Likewise.
41905         (abi-64-v2-ld-soname): Likewise.
41906         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41907         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41912 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41913             Alan Modra  <amodra@gmail.com>
41915         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41916         New versions for use with the ELFv2 ABI.
41917         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41918         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41919         declaration.
41920         (struct La_ppc64v2_retval): Likewise.
41921         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41922         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41923         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41924         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41925         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41926         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41927         Do not save or restore CR.
41928         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41929         (_dl_profile_resolve): Do no save or restore CR.  Support extended
41930         return values for ELFv2 ABI.  Fix location of FPR return registers.
41931         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41932         updated values for _CALL_ELF == 2.
41933         (La_regs, La_retval, int_retval): Likewise.
41935 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41937         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41938         (FRAME_MIN_SIZE_PARM): Likewise.
41939         (FRAME_BACKCHAIN): Likewise.
41940         (FRAME_CR_SAVE): Likewise.
41941         (FRAME_LR_SAVE): Likewise.
41942         (FRAME_TOC_SAVE): Likewise.
41943         (FRAME_PARM_SAVE): Likewise.
41944         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41945         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41946         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41947         (call_mcount_parm_offset): New macro.
41948         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41949         (PROF): Use symbolic stack frame offsets.
41950         (TAIL_CALL_SYSCALL_ERROR): Likewise.
41951         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41952         Redefine in terms of FRAME_MIN_SIZE.
41953         (_dl_runtime_resolve): Use symbolic stack frame offsets.
41954         (_dl_profile_resolve): Likewise.  Update comment.
41955         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41956         symbols stack frame offsets.
41957         (__sigsetjmp): Likewise.
41958         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41959         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41960         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41961         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41964         (FRAME_BACKCHAIN): Remove.
41965         (FRAME_CR_SAVE): Likewise.
41966         (FRAME_LR_SAVE): Likewise.
41967         (FRAME_COMPILER_DW): Likewise.
41968         (FRAME_LINKER_DW): Likewise.
41969         (FRAME_TOC_SAVE): Likewise.
41970         (FRAME_PARM_SAVE): Likewise.
41971         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41972         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41973         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41975         (CHECK_SP): Use symbolic stack frame offsets.
41976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41977         zone" instead of caller's parameter save area for temp storage.
41978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41979         Likewise.  Also, use symbolic stack frame offsets.
41980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41981         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41982         our own stack frame instead of the caller's.
41983         (__socket): Use symbolic stack frame offsets.
41985 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41986             Alan Modra  <amodra@gmail.com>
41988         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41989         Define.
41990         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41991         (PPC64_LOCAL_ENTRY_OFFSET): Define.
41992         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41993         New function.
41994         (elf_machine_fixup_plt): Call it.
41995         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
41996         reloc arguments.
41997         (elf_machine_rela): Update call to elf_machine_plt_conflict.
41998         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41999         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
42000         r2 before calling target.
42002 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42003             Alan Modra  <amodra@gmail.com>
42005         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
42006         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
42007         versions of macros to support ELFv2 ABI.
42008         (LOCALENTRY): New macro.
42009         (ENTRY, EALIGN): Use it.
42010         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
42011         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
42012         fall through into ENTRY entry point.
42013         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
42014         Only define if _CALL_ELF != 2.
42016         (elf_machine_matches_host): Verify ABI version matches.
42017         (RTLD_START): Use LOCALENTRY.
42018         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
42019         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
42020         (PLT_ENTRY_WORDS): New macro.
42021         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
42022         (elf_machine_runtime_setup): Support ELFv2 ABI.
42023         (elf_machine_fixup_plt): Likewise.
42024         (elf_machine_plt_conflict): Likewise.
42025         (resolve_ifunc): Likewise.
42026         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42027         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42028         Likewise.
42029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
42030         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
42031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42032         (makecontext): Support ELFv2 ABI.
42033         * elf/elf.h (EF_PPC64_ABI): Define.
42035 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42037         * sysdeps/powerpc/powerpc64/sysdep.h
42038         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
42039         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
42040         (ENTRY) [ASSEMBLER]: ... but instead here ...
42041         (EALIGN) [ASSEMBLER]: ... and here.
42042         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
42043         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
42044         (ENTRY_2) [!ASSEMBLER]: Use it.
42045         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
42046         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
42047         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42048         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
42049         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
42050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
42051         Use PPC64_LOAD_FUNCPTR.
42053         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
42055 2013-12-04  Alan Modra  <amodra@gmail.com>
42057         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
42058         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
42059         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
42060         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
42062         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
42063         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
42064         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
42065         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
42066         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
42067         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
42069 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42072         (__makecontext): Fix incorrect CFI when backtracing out of
42073         context created via makecontext.
42074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
42075         (__setcontext): Fix incorrect CFI during switch to new context.
42076         (__novec_setcontext): Likewise.
42078 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42080         [BZ #4772]
42081         * time/strptime_l.c (__strptime_internal): Allow modifiers
42082         in strptime.
42083         * time/tst-strptime.c (day_tests): Add testcase.
42085 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42087         * scripts/bench.pl: Skip over blank lines.
42089 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
42091         [BZ #926]
42092         * manual/time.texi (Calendar Time): Clarify what timezone functions
42093         use.
42095 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42099 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42101         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
42102         implementation.
42103         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
42104         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
42105         * debug/memset_chk.c (__memset_chk): Likewise.
42106         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
42107         * debug/strncpy_chk.c: Likewise.
42109 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42111         [BZ #15268]
42112         [BZ #15425]
42113         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
42114         (__ieee754_exp): For possibly underflowing results, check size of
42115         result and force underflow exception if required.
42116         * math/auto-libm-test-in: Add more tests of exp.
42117         * math/auto-libm-test-out: Regenerated.
42118         * sysdeps/i386/fpu/libm-test-ulps: Update.
42119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42121         [BZ #16283]
42122         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
42123         * math/w_exp2f.c (__exp2f): Likewise.
42124         * math/w_exp2l.c (__exp2l): Likewise.
42125         * math/auto-libm-test-in: Do not allow missing errno on exp2
42126         underflow.
42127         * math/auto-libm-test-out: Regenerated.
42129 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
42131         [BZ #16274]
42132         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
42133         handle filename validation.
42134         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
42135         (do_open): Delete.
42137 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42139         [BZ #6786]
42140         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
42141         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
42142         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
42143         <float.h>.
42144         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
42145         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
42146         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42147         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
42148         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42149         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
42150         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42151         * math/auto-libm-test-in: Don't allow missing errno from erfc.
42152         Add more erfc tests.
42153         * math/auto-libm-test-out: Regenerated.
42154         * sysdeps/i386/fpu/libm-test-ulps: Update.
42155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42157         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
42158         exp2, expm1, j0 and j1.
42159         * math/auto-libm-test-out: Regenerated.
42160         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
42161         (erfc_test_data): Likewise.
42162         (exp_test_data): Likewise.
42163         (exp_tonearest_test_data): Likewise.
42164         (exp_towardzero_test_data): Likewise.
42165         (exp_downward_test_data): Likewise.
42166         (exp_upward_test_data): Likewise.
42167         (exp10_test_data): Likewise.
42168         (exp2_test_data): Likewise.
42169         (expm1_test_data): Likewise.
42170         (j0_test_data): Likewise.
42171         (j1_test_data): Likewise.
42172         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
42173         (input_flag_type): Add flag_xfail_rounding.
42174         (input_flags): Add xfail-rounding.
42175         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
42176         (output_for_one_input_case): Handle flag_xfail_rounding.
42177         * sysdeps/i386/fpu/libm-test-ulps: Update.
42178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42180 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
42182         [BZ #16289]
42183         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
42184         division by 0.
42186 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42188         [BZ #16195]
42189         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
42190         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
42191         (STAP_PROBE0): New macro.
42192         (STAP_PROBE1): Likewise.
42193         (STAP_PROBE2): Likewise.
42194         (STAP_PROBE3): Likewise.
42195         (STAP_PROBE4): Likewise.
42197 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
42199         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
42201 2013-12-02  Steve Ellcey  <sellcey@mips.com>
42203         * benchtests/Makefile (bench): Add sqrt.
42204         (LDLIBS-bench-sqrt): New.
42205         * benchtests/sqrt-input: New.
42207 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
42209         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
42210         (GAIH_EAI): Likewise.
42211         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
42212         (gaih_inet): Likewise.
42213         (getaddrinfo): Don't use GAIH_EAI.
42215         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
42216         (struct gaih): Remove definition.
42218 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42220         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
42221         Use HERRNOP directly.
42223 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42227 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
42229         * math/gen-auto-libm-tests.c (test_functions): Add more
42230         single-argument functions.
42231         (special_fill_pi_2): New function.
42232         (special_fill_minus_pi_2): Likewise.
42233         (special_fill_pi_6): Likewise.
42234         (special_fill_minus_pi_6): Likewise.
42235         (special_fill_pi_3): Likewise.
42236         (special_fill_2pi_3): Likewise.
42237         (special_fill_e): Likewise.
42238         (special_fill_1_e): Likewise.
42239         (special_fill_e_minus_1): Likewise.
42240         (special_real_inputs): Add more special inputs.
42241         (output_for_one_input_case): Do not require ERANGE on underflow to
42242         zero if round-to-nearest result does not underflow to zero, unless
42243         exact results required.
42244         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
42245         atan, atanh, cbrt, cos and cosh.
42246         * math/auto-libm-test-out: Regenerated.
42247         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
42248         (acos_tonearest_test_data): Likewise.
42249         (acos_towardzero_test_data): Likewise.
42250         (acos_downward_test_data): Likewise.
42251         (acos_upward_test_data): Likewise.
42252         (acosh_test_data): Likewise.
42253         (asin_test_data): Likewise.
42254         (asin_tonearest_test_data): Likewise.
42255         (asin_towardzero_test_data): Likewise.
42256         (asin_upward_test_data): Likewise.
42257         (asinh_test_data): Likewise.
42258         (atan_test_data): Likewise.
42259         (atanh_test_data): Likewise.
42260         (cbrt_test_data): Likewise.
42261         (cos_test_data): Likewise.
42262         (cos_tonearest_test_data): Likewise.
42263         (cos_towardzero_test_data): Likewise.
42264         (cos_downward_test_data): Likewise.
42265         (cos_upward_test_data): Likewise.
42266         (cosh_test_data): Likewise.
42267         (cosh_tonearest_test_data): Likewise.
42268         (cosh_towardzero_test_data): Likewise.
42269         (cosh_downward_test_data): Likewise.
42270         (cosh_upward_test_data): Likewise.
42271         * sysdeps/i386/fpu/libm-test-ulps: Update.
42272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42274 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
42276         [BZ #6787]
42277         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
42278         * math/w_exp10f.c (__exp10f): Likewise.
42279         * math/w_exp10l.c (__exp10l): Likewise.
42280         * math/libm-test.inc (exp10_test_data): Add more tests and expect
42281         errno settings in existing tests.
42283         [BZ #14032]
42284         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
42285         precision control set to double precision.
42286         * sysdeps/i386/fpu/w_sqrt.c: New file.
42287         * math/auto-libm-test-in: Add more tests.
42288         * math/auto-libm-test-out: Update.
42290         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
42291         (sqrt_test_tonearest): New function.
42292         (sqrt_towardzero_test_data): New variable.
42293         (sqrt_test_towardzero): New function.
42294         (sqrt_downward_test_data): New variable.
42295         (sqrt_test_downward): New function.
42296         (sqrt_upward_test_data): New variable.
42297         (sqrt_test_upward): New function.
42298         (main): Call the new functions.
42300         * math/gen-auto-libm-tests.c: New file.
42301         * math/auto-libm-test-in: Likewise.
42302         * math/auto-libm-test-out: New generated file.
42303         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
42304         variables.
42305         (%beautify): Add generated representations of zero.
42306         (top level): Set $auto_input and call parse_auto_input.
42307         (beautify): Remove trailing "f" from hex float constants.
42308         (parse_args): Handle XFAIL_TEST.
42309         (convert_condition): New function.
42310         (or_value): Likewise.
42311         (or_cond_value): Likewise.
42312         (generate_testfile): Handle AUTO_TESTS_* lines.
42313         (parse_auto_input): New function.
42314         * math/libm-test.inc (XFAIL_TEST): New macro.
42315         (ERRNO_UNCHANGED): Update value.
42316         (ERRNO_EDOM): Likewise.
42317         (ERRNO_ERANGE): Likewise.
42318         (IGNORE_RESULT): Likewise.
42319         (TEST_COND_flt_32): New macro.
42320         (TEST_COND_dbl_64): Likewise.
42321         (TEST_COND_ldbl_96_intel): Likewise.
42322         (TEST_COND_ldbl_96_m68k): Likewise.
42323         (TEST_COND_ldbl_128): Likewise.
42324         (TEST_COND_ldbl_128ibm): Likewise.
42325         (TEST_COND_long32): Likewise.
42326         (TEST_COND_long64): Likewise.
42327         (TEST_COND_before_rounding): Likewise.
42328         (TEST_COND_after_rounding): Likewise.
42329         (enable_test): Handle XFAIL_TEST flag.
42330         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
42331         with finite results.
42332         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
42333         auto-libm-test-out.
42335 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42336             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42338         [BZ #16214]
42339         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
42340         __tls_get_addr_internal instead of __tls_get_offset in order to
42341         avoid GOT pointer dependency.  Make rtld export
42342         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
42343         __tls_get_addr since we are a __tls_get_offset platform.
42344         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
42345         GOT pointer being set up before.
42346         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
42348 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
42350         * manual/math.texi (Errors in Math Functions): Document accuracy
42351         goals.
42353         [BZ #15004]
42354         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
42355         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
42356         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42357         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42358         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42359         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42360         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42361         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42362         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42363         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42364         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42365         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42366         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42367         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42368         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42369         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42371         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
42372         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
42373         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
42374         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
42375         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
42376         Likewise.
42377         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
42378         Likewise.
42379         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
42380         Likewise.
42381         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
42382         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
42383         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
42384         atomic-feupdateenv and flt-rounds.
42385         * sysdeps/powerpc/nofpu/Versions (libc): Add
42386         __atomic_feholdexcept, __atomic_feclearexcept,
42387         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
42388         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
42389         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
42390         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
42391         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
42392         here.
42393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42394         Update.
42396         * manual/arith.texi (FP Exceptions): Document that exceptions may
42397         not be raised when matherr is used.
42398         (Math Error Reporting): Document overflow in directed rounding
42399         modes.  Document that errno may not be set when finite values are
42400         returned on overflow.  Document intent to set errno on underflow
42401         only for underflow to zero.
42403         [BZ #16271]
42404         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
42405         round-to-nearest then adjust result for other rounding modes.
42406         * include/fenv.h (fegetround): Use libm_hidden_proto.
42407         * math/fegetround.c (fegetround): Use libm_hidden_def.
42408         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
42409         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
42410         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42411         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
42412         Likewise.
42413         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
42414         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42415         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
42416         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
42418 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42420         [BZ #16077]
42421         * nss/Versions (libnss_files): Add
42422         _nss_files_gethostbyname3_r.
42423         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
42424         New function.
42425         (HOST_DB_LOOKUP): Remove macro.
42426         (_nss_files_gethostbyname_r): Implement function without the
42427         HOST_DB_LOOKUP macro.
42428         (_nss_files_gethostbyname2_r): Likewise.
42430 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
42432         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
42434 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
42436         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
42437         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
42438         warning.
42440 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42442         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
42443         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
42444         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42445         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42446         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
42447         __fe_nomask_env_priv and attribute_hidden.
42448         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
42449         (libc_feupdateenv_test_ppc): Likewise.
42450         (libc_feresetround_ppc): Likewise.
42451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42452         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
42453         compat_symbol macro.
42454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42455         (__fe_nomask_env): Likewise.
42456         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
42458 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42460         * string/Makefile: Remove ifunc tests.
42461         * string/test-string.h: Define TEST_IFUNC.
42462         * string/test-bcopy-ifunc.c: Remove.
42463         * string/test-bzero-ifunc.c: Likewise.
42464         * string/test-memccpy-ifunc.c: Likewise.
42465         * string/test-memchr-ifunc.c: Likewise.
42466         * string/test-memcmp-ifunc.c: Likewise.
42467         * string/test-memcpy-ifunc.c: Likewise.
42468         * string/test-memmem-ifunc.c: Likewise.
42469         * string/test-memmove-ifunc.c: Likewise.
42470         * string/test-mempcpy-ifunc.c: Likewise.
42471         * string/test-memrchr-ifunc.c: Likewise.
42472         * string/test-memset-ifunc.c: Likewise.
42473         * string/test-rawmemchr-ifunc.c: Likewise.
42474         * string/test-stpcpy-ifunc.c: Likewise.
42475         * string/test-stpncpy-ifunc.c: Likewise.
42476         * string/test-strcasecmp-ifunc.c: Likewise.
42477         * string/test-strcasestr-ifunc.c: Likewise.
42478         * string/test-strcat-ifunc.c: Likewise.
42479         * string/test-strchr-ifunc.c: Likewise.
42480         * string/test-strchrnul-ifunc.c: Likewise.
42481         * string/test-strcmp-ifunc.c: Likewise.
42482         * string/test-strcpy-ifunc.c: Likewise.
42483         * string/test-strcspn-ifunc.c: Likewise.
42484         * string/test-strlen-ifunc.c: Likewise.
42485         * string/test-strncasecmp-ifunc.c: Likewise.
42486         * string/test-strncat-ifunc.c: Likewise.
42487         * string/test-strncmp-ifunc.c: Likewise.
42488         * string/test-strncpy-ifunc.c: Likewise.
42489         * string/test-strnlen-ifunc.c: Likewise.
42490         * string/test-strpbrk-ifunc.c: Likewise.
42491         * string/test-strrchr-ifunc.c: Likewise.
42492         * string/test-strspn-ifunc.c: Likewise.
42493         * string/test-strstr-ifunc.c: Likewise.
42495 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42497         * benchtests/Makefile: Remove ifunc tests.
42498         * benchtests/bench-string.h: Define TEST_IFUNC.
42499         * benchtests/bench-bcopy-ifunc.c: Remove.
42500         * benchtests/bench-bzero-ifunc.c: Likewise.
42501         * benchtests/bench-memccpy-ifunc.c: Likewise.
42502         * benchtests/bench-memchr-ifunc.c: Likewise.
42503         * benchtests/bench-memcmp-ifunc.c: Likewise.
42504         * benchtests/bench-memcpy-ifunc.c: Likewise.
42505         * benchtests/bench-memmem-ifunc.c: Likewise.
42506         * benchtests/bench-memmove-ifunc.c: Likewise.
42507         * benchtests/bench-mempcpy-ifunc.c: Likewise.
42508         * benchtests/bench-memrchr-ifunc.c: Likewise.
42509         * benchtests/bench-memset-ifunc.c: Likewise.
42510         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
42511         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
42512         * benchtests/bench-stpcpy-ifunc.c: Likewise.
42513         * benchtests/bench-stpncpy-ifunc.c: Likewise.
42514         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
42515         * benchtests/bench-strcasestr-ifunc.c: Likewise.
42516         * benchtests/bench-strcat-ifunc.c: Likewise.
42517         * benchtests/bench-strchr-ifunc.c: Likewise.
42518         * benchtests/bench-strchrnul-ifunc.c: Likewise.
42519         * benchtests/bench-strcmp-ifunc.c: Likewise.
42520         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
42521         * benchtests/bench-strcpy-ifunc.c: Likewise.
42522         * benchtests/bench-strcspn-ifunc.c: Likewise.
42523         * benchtests/bench-strlen-ifunc.c: Likewise.
42524         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
42525         * benchtests/bench-strncat-ifunc.c: Likewise.
42526         * benchtests/bench-strncmp-ifunc.c: Likewise.
42527         * benchtests/bench-strncpy-ifunc.c: Likewise.
42528         * benchtests/bench-strnlen-ifunc.c: Likewise.
42529         * benchtests/bench-strpbrk-ifunc.c: Likewise.
42530         * benchtests/bench-strrchr-ifunc.c: Likewise.
42531         * benchtests/bench-strsep-ifunc.c: Likewise.
42532         * benchtests/bench-strspn-ifunc.c: Likewise.
42533         * benchtests/bench-strstr-ifunc.c: Likewise.
42535 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42537         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
42539 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42541         * resolv/netdb.h: Use __glibc_reserved instead __unused.
42542         * rt/aio.h: Likewise.
42543         * sysdeps/gnu/bits/utmp.h: Likewise.
42544         * sysdeps/gnu/bits/utmpx.h: Likewise.
42545         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42546         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
42547         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
42548         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
42549         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
42550         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
42551         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
42552         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
42553         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
42554         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
42555         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
42556         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
42557         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
42558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
42559         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42560         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
42561         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
42562         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
42563         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
42564         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
42565         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
42566         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
42567         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
42568         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42569         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
42570         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42571         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
42572         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
42573         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
42574         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
42575         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
42576         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
42577         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42578         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42579         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
42580         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42581         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
42582         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
42583         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
42584         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42585         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42586         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42588 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
42590         [BZ #16245]
42591         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42592         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42594 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
42596         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42597         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42598         Likewise.
42600 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42602         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42603         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42604         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42605         (__fesetround): Remove define.
42606         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42607         rounding and exceptions handling.
42608         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42609         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42610         (__fe_nomask_env): Likewise.
42611         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42612         __fegetround instead of fegetround.
42613         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42614         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42616 2013-11-21  Roland McGrath  <roland@hack.frob.com>
42618         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42619         it's there.
42621         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42623 2013-11-21  Meador Inge  <meadori@codesourcery.com>
42625         [BZ #11157]
42626         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42627         (encrypt_r): Likewise.
42628         * malloc/obstack.h (obstack_free): Likewise.
42629         * posix/unistd.h (encrypt): Likewise.
42631 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
42633         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42634         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42635         DL_CALL_DT_FINI() that call the functions directly.
42636         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42637         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42638         * elf/dl-fini.c: Likewise.
42640 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
42642         * malloc/hooks.c (memalign_check): Add alignment rounding.
42643         * malloc/malloc.c (_mid_memalign): New function.
42644         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42645         Implement by calling _mid_memalign.
42646         * manual/probes.texi (Memory Allocation Probes): Remove
42647         memory_valloc_retry and memory_pvalloc_retry.
42649 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42651         * locale/programs/locarchive.c (open_archive): Add const
42652         qualifier to ARCHIVEFNAME and copy default fname to
42653         DEFAULT_FNAME.
42655         [BZ #15601]
42656         * libio/tst-widetext.input: Rename Oriya to Odia.
42657         * locale/iso-639.def: Likewise.
42659         * manual/probes.texi (Mathematical Function Probes): Add
42660         documentation for sin, cos, asin and acos probes.
42661         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42662         (__sin32): Add slowasin probe.
42663         (__cos32): Add slowacos probe.
42664         (__mpsin): Add slowsin probe.
42665         (__mpcos): Add slowcos probe.
42667 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
42669         [BZ #15483]
42670         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42671         thread-local __sim_exceptions_thread and global
42672         __sim_exceptions_global.
42673         (__sim_disabled_exceptions): Change to thread-local
42674         __sim_disabled_exceptions_thread and global
42675         __sim_disabled_exceptions_global.
42676         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42677         and global __sim_round_mode_global.
42678         (__simulate_exceptions): Use thread-local floating-point state and
42679         set global state from it as needed.
42680         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42681         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42682         __sim_round_mode_thread.
42683         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42684         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42685         and global __sim_exceptions_global.
42686         (__sim_disabled_exceptions): Change to thread-local
42687         __sim_disabled_exceptions_thread and global
42688         __sim_disabled_exceptions_global.
42689         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42690         and global __sim_round_mode_global.
42691         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42692         (SIM_SET_GLOBAL): Likewise.
42693         * sysdeps/powerpc/soft-fp/sfp-machine.h
42694         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42695         __sim_round_mode_thread.
42696         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42697         __sim_disabled_exceptions_thread.
42698         (__sim_exceptions): Change to __sim_exceptions_thread.
42699         (__sim_disabled_exceptions): Change to
42700         __sim_disabled_exceptions_thread.
42701         (__sim_round_mode): Change to __sim_round_mode_thread.
42702         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42703         thread-local floating-point state and set global state from it as
42704         needed.
42705         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42706         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42707         (__sim_disabled_exceptions): Remove extern declaration.
42708         (feenableexcept): Use thread-local floating-point state and set
42709         global state from it as needed.
42710         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42711         extern declaration.
42712         (__sim_disabled_exceptions): Likewise.
42713         (__sim_round_mode): Likewise.
42714         (__fegetenv): Use thread-local floating-point state.
42715         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42716         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42717         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42718         floating-point state and set global state from it as needed.
42719         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42720         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42721         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42722         Likewise.
42723         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42724         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42725         Likewise.
42726         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42727         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42728         Use __sim_round_mode_thread.
42729         * math/test-fenv-tls.c: New file.
42730         * math/Makefile (tests): Add test-fenv-tls.
42731         ($(objpfx)test-fenv-tls): Depend on
42732         $(common-objpfx)nptl/libpthread.so.
42734 2013-11-19  Andreas Schwab  <schwab@suse.de>
42736         * locale/programs/locale.c (show_info): Decode wordarray elements.
42737         * locale/categories.def (LC_MONETARY): Add element for
42738         _NL_MONETARY_CRNCYSTR.
42739         * locale/C-monetary.c (conversion_rate): New variable.
42740         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42741         element.
42743 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
42745         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42746         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42748 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42750         * elf/Makefile (tst-auxv): New test.
42751         * elf/tst-auxv.c: New
42752         * elf/rtld.c (dl_main): Adjust AT_EXECFN
42754 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
42756         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42757         (hidden_proto): Caller changed.
42758         (hidden_tls_proto): New macro.
42759         (libc_hidden_tls_proto): Likewise.
42760         (rtld_hidden_tls_proto): Likewise.
42761         (libm_hidden_tls_proto): Likewise.
42762         (libresolv_hidden_tls_proto): Likewise.
42763         (librt_hidden_tls_proto): Likewise.
42764         (libdl_hidden_tls_proto): Likewise.
42765         (libnss_files_hidden_tls_proto): Likewise.
42766         (libnsl_hidden_tls_proto): Likewise.
42767         (libnss_nisplus_hidden_tls_proto): Likewise.
42768         (libutil_hidden_tls_proto): Likewise.
42770 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
42772         [BZ #10253]
42773         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42774         (decompose_rpath): Defer expansion to fillin_rpath.
42775         (_dl_init_paths): Pass linkmap to fillin_rpath.
42777 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42779         * benchtests/Makefile: Add strsep.
42780         * benchtests/bench-strsep.c: New file: strsep benchtest.
42781         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42783 2013-11-18  Andreas Schwab  <schwab@suse.de>
42785         * locale/programs/locale.c (show_info) [case byte]: Check for
42786         '\377' instead of '\177'.
42787         * locale/C-monetary.c (not_available): Always use "\377".
42788         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42789         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
42790         detect unavailable sign_posn locale elements.
42791         * locale/localeconv.c (__localeconv): For grouping and
42792         mon_grouping handle "\177" and "\377" like no grouping.
42793         (INT_ELEM): New macro.  Use it to set all numeric members.
42794         * locale/programs/ld-monetary.c (monetary_read)
42795         <tok_mon_grouping>: Normalize single -1 to the empty string.
42796         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42797         Likewise.
42799 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42801         [BZ #16055]
42802         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42803         when we match (nil).
42804         * stdio-common/tst-sscanf.c (struct test): Add testcase.
42806 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
42808         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42809         (NO_TEST_INLINE): Update value.
42810         (ERRNO_UNCHANGED): Likewise.
42811         (ERRNO_EDOM): Likewise.
42812         (ERRNO_ERANGE): Likewise.
42813         (IGNORE_RESULT): Likewise.
42814         (check_float_internal): Check signs of NaN results if
42815         TEST_NAN_SIGN used.
42816         (check_complex): Pass TEST_NAN_SIGN flag through to second
42817         check_float_internal call.
42818         (copysign_test_data): Add tests with quiet NaNs as second
42819         argument.  Use TEST_NAN_SIGN.
42820         (fabs_test_data): Add test of negative quiet NaN argument.  Use
42821         TEST_NAN_SIGN.
42822         (signbit_test_data): Add tests of quiet NaN argument.
42823         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42825         * math/gen-libm-test.pl (show_exceptions): Take extra argument
42826         $ignore_result.
42827         (parse_args): Handle function results specified as IGNORE.
42828         * math/libm-test.inc (IGNORE_RESULT): New macro.
42829         (check_float_internal): Do not check numerical result if flag
42830         IGNORE_RESULT set.
42831         (check_complex): Pass through IGNORE_RESULT to second
42832         check_float_internal call.
42833         (check_int): Do not check numerical result if flag IGNORE_RESULT
42834         set.
42835         (check_long): Likewise.
42836         (check_bool): Likewise.
42837         (check_longlong): Likewise.
42838         (lrint_test_data): Add tests of infinite and NaN arguments.
42839         (lrint_tonearest_test_data): Likewise.
42840         (lrint_towardzero_test_data): Likewise.
42841         (lrint_downward_test_data): Likewise.
42842         (lrint_upward_test_data): Likewise.
42843         (llrint_test_data): Likewise.
42844         (llrint_tonearest_test_data): Likewise.
42845         (llrint_towardzero_test_data): Likewise.
42846         (llrint_downward_test_data): Likewise.
42847         (llrint_upward_test_data): Likewise.
42848         (lround_test_data): Likewise.
42849         (llround_test_data): Likewise.
42851         * math/libm-test.inc (NO_TEST_INLINE): New macro.
42852         (ERRNO_UNCHANGED): Update value.
42853         (ERRNO_EDOM): Likewise.
42854         (ERRNO_ERANGE): Likewise.
42855         (NO_TEST_INLINE_FLOAT): New macro.
42856         (NO_TEST_INLINE_DOUBLE): Likewise.
42857         (enable_test): New function.
42858         (RUN_TEST_f_f): Check enable_test before running test.
42859         (RUN_TEST_2_f): Likewise.
42860         (RUN_TEST_fff_f): Likewise.
42861         (RUN_TEST_c_f): Likewise.
42862         (RUN_TEST_f_f1): Likewise.
42863         (RUN_TEST_fF_f1): Likewise.
42864         (RUN_TEST_fI_f1): Likewise.
42865         (RUN_TEST_ffI_f1): Likewise.
42866         (RUN_TEST_c_c): Likewise.
42867         (RUN_TEST_cc_c): Likewise.
42868         (RUN_TEST_f_i): Likewise.
42869         (RUN_TEST_f_i_tg): Likewise.
42870         (RUN_TEST_ff_i_tg): Likewise.
42871         (RUN_TEST_f_b): Likewise.
42872         (RUN_TEST_f_b_tg): Likewise.
42873         (RUN_TEST_f_l): Likewise.
42874         (RUN_TEST_f_L): Likewise.
42875         (RUN_TEST_fFF_11): Likewise.
42876         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42877         conditionals.
42878         (cosh_test_data): Likewise.
42879         (exp_test_data): Likewise.
42880         (expm1_test_data): Likewise.
42881         (hypot_test_data): Likewise.
42882         (pow_test_data): Likewise.
42883         (sinh_test_data): Likewise.
42884         (tanh_test_data): Likewise.
42885         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42886         flags argument.
42888         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42889         tests with quiet NaN input and output.
42890         (acosh_test_data): Likewise.
42891         (asin_test_data): Likewise.
42892         (asinh_test_data): Likewise.
42893         (atan_test_data): Likewise.
42894         (atanh_test_data): Likewise.
42895         (atan2_test_data): Likewise.
42896         (cbrt_test_data): Likewise.
42897         (cos_test_data): Likewise.
42898         (cosh_test_data): Likewise.
42899         (erf_test_data): Likewise.
42900         (erfc_test_data): Likewise.
42901         (exp_test_data): Likewise.
42902         (exp10_test_data): Likewise.
42903         (exp2_test_data): Likewise.
42904         (expm1_test_data): Likewise.
42905         (hypot_test_data): Likewise.
42906         (j0_test_data): Likewise.
42907         (j1_test_data): Likewise.
42908         (jn_test_data): Likewise.
42909         (lgamma_test_data): Likewise.
42910         (log_test_data): Likewise.
42911         (log10_test_data): Likewise.
42912         (log1p_test_data): Likewise.
42913         (log2_test_data): Likewise.
42914         (pow_test_data): Likewise.
42915         (scalb_test_data): Likewise.
42916         (sin_test_data): Likewise.
42917         (sincos_test_data): Likewise.
42918         (sinh_test_data): Likewise.
42919         (tan_test_data): Likewise.
42920         (tanh_test_data): Likewise.
42921         (tgamma_test_data): Likewise.
42922         (y0_test_data): Likewise.
42923         (y1_test_data): Likewise.
42924         (yn_test_data): Likewise.
42926         [BZ #16167]
42927         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42928         argument being NaN and avoid computations with second argument in
42929         that case.
42930         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42931         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42932         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42934 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
42936         * locale/iso-639.def: Add Chitwani Tharu (the).
42938 2013-11-14  Andreas Schwab  <schwab@suse.de>
42940         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42941         word instead of empty string.
42943 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42946         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42948         (__fe_nomask_env): Likewise.
42950 2013-11-13  Steve Ellcey  <sellcey@mips.com>
42952         * benchtests/bench-timing.h: Include time.h.
42954 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
42956         [BZ #15997]
42957         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42958         to 3.4.0 for x32.
42959         * sysdeps/unix/sysv/linux/configure: Regenerated.
42961 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
42963         [BZ #16151]
42964         * stdlib/strtod_l.c (round_and_return): Do not consider
42965         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42966         exponent one less than half the least subnormal exponent.
42967         * stdlib/test-strtod-round-data: Add more tests.
42968         * stdlib/tst-strtod-round.c (tests): Regenerated.
42970 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42972         [BZ #14143]
42973         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42974         (__fe_mask_env): Likewise.
42975         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42976         libm_hidden_proto and add function prototype.
42977         (__fe_mask_env): Add function prototype.
42978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42979         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42981         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42983         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42985 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42987         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42988         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42990 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42992         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42993         of htab_find_slot().
42995 2013-11-11  David S. Miller  <davem@davemloft.net>
42997         [BZ #16150]
42998         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42999         symbol in the non-vis3 case in static builds.
43000         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
43001         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
43002         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
43003         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
43005 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
43007         [BZ #387]
43008         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
43009         it is empty.
43011 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43013         * benchtests/Makefile: Add bench-strtod.
43014         * benchtests/bench-strtod.c: New file: strtod benchtest
43016 2013-11-11  Andreas Schwab  <schwab@suse.de>
43018         [BZ #16153]
43019         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
43020         terminating NUL in key length.
43022 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43024         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43025         Add artificial ODP entry for vDSO symbol for PPC64.
43026         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
43027         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
43029 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43031         [BZ #15374]
43032         * nss/getent.c (services_keys): Recognize services starting with digit.
43034 2013-11-06  David S. Miller  <davem@davemloft.net>
43036         [BZ #15985]
43037         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
43038         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
43040 2013-11-06  Will Newton  <will.newton@linaro.org>
43042         * manual/memory.texi (Malloc Examples): Remove register
43043         keyword from examples.
43045 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
43047         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
43049 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
43051         [BZ #6981]
43052         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
43053         depending on [__GCC_IEC_559 > 0].
43054         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
43055         depending on [__GCC_IEC_559_COMPLEX > 0].
43057 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
43059         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
43060         to iso-639.def.
43062 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
43064         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
43066 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
43068         [BZ #16112]
43069         * malloc/malloc (malloc_info): Do not handle first bin as
43070         special case.
43072 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
43074         * locale/iso-639.def: Add Central Nahuatl (nhn).
43076 2013-11-01  Bruno Haible  <bruno@clisp.org>
43078         [BZ #7003]
43079         * manual/math.texi (BSD Random): Specify range upper bound as
43080         in POSIX.
43082 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
43084         * locale/iso-639.def: Add Meadow Mari (mhr).
43086 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
43088         [BZ #14752], [BZ #15763]
43089         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
43090         Validate name.
43091         * rt/tst_shm.c: Add test for escaping directory.
43093 2013-10-31  Andreas Schwab  <schwab@suse.de>
43095         [BZ #15917]
43096         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
43097         followed by 'x' as part of digit sequence.
43098         * stdio-common/tst-sscanf.c (double_tests2): New tests.
43100 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
43102         [BZ #16037]
43103         * configure.ac: allow GNU Make 4.0 and greater.
43104         * configure: Regenerated.
43106 2013-10-30  Will Newton  <will.newton@linaro.org>
43108         [BZ #16038]
43109         * malloc/hooks.c (memalign_check): Limit alignment to the
43110         maximum representable power of two.
43111         * malloc/malloc.c (__libc_memalign): Likewise.
43112         * malloc/tst-memalign.c (do_test): Add test for very
43113         large alignment values.
43114         * malloc/tst-posix_memalign.c (do_test): Likewise.
43116 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43118         [BZ #11087]
43119         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
43120         (munmap_chunk): Likewise.
43121         (mremap_chunk): Likewise.
43123 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43125         [BZ #15799]
43126         * stdlib/div.c (div): Remove obsolete code.
43127         * stdlib/ldiv.c (ldiv): Likewise.
43128         * stdlib/lldiv.c (lldiv): Likewise.
43130 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43132         [BZ #16071]
43133         * nss/nss_files/files-XXX.c (get_contents_ret): New
43134         enumerator.
43135         (get_contents): New function.
43136         (internal_getent): Use it.  Expand size of LINEBUFLEN.
43138 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
43140         * configure.in: Moved to ...
43141         * configure.ac: ... here. Change reference to configure.in
43142         to configure.ac.
43143         * sysdeps/arm/preconfigure.ac: ... here.
43144         configure.in to configure.ac.
43145         * sysdeps/gnu/configure.in: Moved to ...
43146         * sysdeps/gnu/configure.ac: ... here.
43147         * sysdeps/i386/configure.in: Moved to ...
43148         * sysdeps/i386/configure.ac: ... here.
43149         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
43150         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
43151         * sysdeps/mach/configure.in: Moved to ...
43152         * sysdeps/mach/configure.ac: ... here.
43153         * sysdeps/mach/hurd/configure.in: Moved to ...
43154         * sysdeps/mach/hurd/configure.ac: ... here.
43155         * sysdeps/powerpc/configure.in: Moved to ...
43156         * sysdeps/powerpc/configure.ac: ... here.
43157         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
43158         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
43159         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
43160         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
43161         * sysdeps/s390/s390-32/configure.in: Moved to ...
43162         * sysdeps/s390/s390-32/configure.ac: ... here.
43163         * sysdeps/s390/s390-64/configure.in: Moved to ...
43164         * sysdeps/s390/s390-64/configure.ac: ... here.
43165         * sysdeps/sh/configure.in: Moved to ...
43166         * sysdeps/sh/configure.ac: ... here.
43167         * sysdeps/sparc/configure.in: Moved to ...
43168         * sysdeps/sparc/configure.ac: ... here.
43169         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
43170         * sysdeps/unix/sysv/linux/configure.ac: ... here.
43171         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
43172         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
43173         * sysdeps/x86_64/configure.in: Moved to ...
43174         * sysdeps/x86_64/configure.ac: ... here.
43175         * sysdeps/x86_64/preconfigure.in: Moved to ...
43176         * sysdeps/x86_64/preconfigure.ac: ... here.
43177         * aclocal.m4: Change reference to configure.in to configure.ac.
43178         * config.h.in: Likewise.
43179         * manual/install.texi: Likewise.
43180         * manual/maint.texi: Likewise.
43181         * Makefile: Likewise.
43182         * malloc/Makefile: Likewise.
43183         * nscd/Makefile: Likewise.
43184         * Makeconfig: Change reference to configure.in and
43185         preconfigure.in to configure.ac and preconfigure.ac
43186         respectively.
43187         * INSTALL: Regenerated.
43188         * configure: Likewise.
43189         * sysdeps/gnu/configure: Likewise.
43190         * sysdeps/i386/configure: Likewise.
43191         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
43192         * sysdeps/mach/configure: Likewise.
43193         * sysdeps/mach/hurd/configure: Likewise.
43194         * sysdeps/powerpc/configure: Likewise.
43195         * sysdeps/powerpc/powerpc32/configure: Likewise.
43196         * sysdeps/powerpc/powerpc64/configure: Likewise.
43197         * sysdeps/s390/s390-32/configure: Likewise.
43198         * sysdeps/s390/s390-64/configure: Likewise.
43199         * sysdeps/sh/configure: Likewise.
43200         * sysdeps/sparc/configure: Likewise.
43201         * sysdeps/unix/sysv/linux/configure: Likewise.
43202         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
43203         * sysdeps/x86_64/configure: Likewise.
43204         * sysdeps/x86_64/preconfigure: Likewise.
43206 2013-10-29  Andreas Schwab  <schwab@suse.de>
43208         * stdio-common/Makefile (tst-swscanf-ENV): Define.
43210 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43212         * benchtests/pow-inputs: Add new inputs.
43214         * benchtests/exp-inputs: Add new inputs.
43216         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
43217         conditional check for return value.
43218         (__cos32): Likewise.
43220 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43222         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
43223         to provide a boost for large inputs with word alignment.
43224         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
43225         implementation based on optimized PPC64 strcpy.
43226         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
43227         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
43228         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
43229         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
43231 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43233         [BZ #2801]
43234         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
43236 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43238         [BZ #14876]
43239         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
43240         * time/tst-strptime.c (day_tests): Add testcase.
43242 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43244         [BZ #14029]
43245         * manual/pattern.texi: Acknowledge that fnmatch can fail.
43247 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
43249         [BZ #16074]
43250         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
43251         MAP_FAILED on error.
43253 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43255         [BZ #16072]
43256         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
43257         heap for large requests.
43259 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
43261         [BZ #9954]
43262         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
43263         result if the result has no associated interface.
43264         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
43265         interface for all 127.X.Y.Z addresses.
43267 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
43269         * locale/iso-639.def: Add Ligurian (lij)
43271 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
43273         [BZ #15825]
43274         * sunrpc/rpc_main.c: Document rpcgen -5.
43276 2013-10-19  Michael Stahl  <mstahl@redhat.com>
43278         * elf/rtld.c (do_preload): Print the reason why preloading failed.
43280 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43282         [BZ #10278]
43283         * posix/glob.c: Match only directories when trailing slash is present.
43284         * posix/tst-gnuglob.c (my_opendir): Do not open files.
43285         (main): Add testcase.
43287 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43289         [BZ #15670]
43290         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
43292 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
43294         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
43295         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
43296         AUTH_DES and cindex for FIPS 140-2.
43297         (DES Encryption): Add cindex FIPS 46-3.
43299         * locale/locarchive.h (struct locarhandle): Add fname.
43300         * locale/programs/localedef.c (main): Pass ARGV[remaining]
43301         if an optional argument was specified to --list-archive,
43302         otherwise NULL.
43303         * locale/programs/locarchive.c (show_archive_content): Take new
43304         argument fname and pass it via ah.fname to open_archive.
43305         * locale/programs/localedef.h: Update decl.
43306         (open_archive): If AH->fname is non-null, open that file
43307         rather than the default file name, and don't ignore ENOENT.
43308         (create_archive): Set AH.fname to NULL.
43309         (delete_locales_from_archive): Likewise.
43310         (add_locales_to_archive): Likewise.
43311         * locale/programs/locfile.c (write_all_categories): Likewise.
43313 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
43314             Aldy Hernandez  <aldyh@redhat.com>
43316         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
43317         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
43318         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
43319         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
43320         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
43321         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
43322         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
43323         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
43324         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
43325         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
43326         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
43327         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
43328         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
43329         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
43330         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
43331         Likewise.
43332         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
43333         Likewise.
43334         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
43335         Likewise.
43336         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
43337         Likewise.
43338         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
43339         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
43340         Likewise.
43341         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
43342         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
43343         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
43344         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
43345         Likewise.
43346         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
43347         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
43348         * sysdeps/powerpc/preconfigure: Likewise.
43349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
43350         Likewise.
43351         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
43352         Replace contents of file by #include of <fenv_libc.h>.
43353         * sysdeps/powerpc/soft-fp/sfp-machine.h
43354         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
43355         and <sys/prctl.h>.
43356         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
43357         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
43358         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
43359         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
43360         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
43361         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
43362         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
43363         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
43364         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
43365         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
43366         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
43367         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
43368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43369         Allow copysignl PLT reference to be missing.
43371 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
43372             Joseph Myers  <joseph@codesourcery.com
43374         [BZ #15948]
43375         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
43376         single character.
43377         (add_to_tablewc): Assert sequence of wide characters is nonempty.
43379 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43381         * elf/tst-tls-dlinfo.c: Don't include tls.h.
43382         * elf/tst-tls1.c: Likewise.
43383         * elf/tst-tls10.h: Likewise.
43384         * elf/tst-tls14.c: Likewise.
43385         * elf/tst-tls2.c: Likewise.
43386         * elf/tst-tls3.c: Likewise.
43387         * elf/tst-tls4.c: Likewise.
43388         * elf/tst-tls5.c: Likewise.
43389         * elf/tst-tls6.c: Likewise.
43390         * elf/tst-tls7.c: Likewise.
43391         * elf/tst-tls8.c: Likewise.
43392         * elf/tst-tls9.c: Likewise.
43393         * elf/tst-tlsmod1.c: Likewise.
43394         * elf/tst-tlsmod13.c: Likewise.
43395         * elf/tst-tlsmod13a.c: Likewise.
43396         * elf/tst-tlsmod14a.c: Likewise.
43397         * elf/tst-tlsmod16a.c: Likewise.
43398         * elf/tst-tlsmod16b.c: Likewise.
43399         * elf/tst-tlsmod2.c: Likewise.
43400         * elf/tst-tlsmod3.c: Likewise.
43401         * elf/tst-tlsmod4.c: Likewise.
43402         * elf/tst-tlsmod5.c: Likewise.
43403         * elf/tst-tlsmod6.c: Likewise.
43405 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
43407         [BZ #12486]
43408         * malloc/malloc.c: remove checks for statistics.
43410 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43412         [BZ #15277]
43413         * inet/inet_net.c (inet_network): Detect additional invalid strings.
43414         * inet/tst-network.c: Add testcase.
43416 2013-10-17  Andreas Schwab  <schwab@suse.de>
43418         [BZ #15218]
43419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
43420         to determine canonical name.
43422 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43424         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
43425         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
43426         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43427         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43428         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43429         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43430         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43431         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43432         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43433         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43434         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43435         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43436         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43437         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43438         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43439         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43440         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43441         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43442         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43443         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43444         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43445         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43446         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43447         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
43448         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
43449         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43450         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43451         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
43452         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43453         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
43454         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43455         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43456         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43457         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43458         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43459         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43460         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43461         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43462         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43463         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43464         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43465         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43466         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43467         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43468         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43469         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43470         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43471         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43472         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43473         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43474         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43475         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43476         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43477         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43478         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43479         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43480         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43481         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43483 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
43485         [BZ #16041]
43486         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
43487         make result into a quiet NaN.
43489 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
43491         * soft-fp/adddf3.c: Fix horizontal whitespace.
43492         * soft-fp/addsf3.c: Likewise.
43493         * soft-fp/addtf3.c: Likewise.
43494         * soft-fp/divdf3.c: Likewise.
43495         * soft-fp/divsf3.c: Likewise.
43496         * soft-fp/divtf3.c: Likewise.
43497         * soft-fp/double.h: Likewise.
43498         * soft-fp/eqdf2.c: Likewise.
43499         * soft-fp/eqsf2.c: Likewise.
43500         * soft-fp/eqtf2.c: Likewise.
43501         * soft-fp/extenddftf2.c: Likewise.
43502         * soft-fp/extended.h: Likewise.
43503         * soft-fp/extendsfdf2.c: Likewise.
43504         * soft-fp/extendsftf2.c: Likewise.
43505         * soft-fp/extendxftf2.c: Likewise.
43506         * soft-fp/fixdfdi.c: Likewise.
43507         * soft-fp/fixdfsi.c: Likewise.
43508         * soft-fp/fixdfti.c: Likewise.
43509         * soft-fp/fixsfdi.c: Likewise.
43510         * soft-fp/fixsfsi.c: Likewise.
43511         * soft-fp/fixsfti.c: Likewise.
43512         * soft-fp/fixtfdi.c: Likewise.
43513         * soft-fp/fixtfsi.c: Likewise.
43514         * soft-fp/fixtfti.c: Likewise.
43515         * soft-fp/fixunsdfdi.c: Likewise.
43516         * soft-fp/fixunsdfsi.c: Likewise.
43517         * soft-fp/fixunsdfti.c: Likewise.
43518         * soft-fp/fixunssfdi.c: Likewise.
43519         * soft-fp/fixunssfsi.c: Likewise.
43520         * soft-fp/fixunssfti.c: Likewise.
43521         * soft-fp/fixunstfdi.c: Likewise.
43522         * soft-fp/fixunstfsi.c: Likewise.
43523         * soft-fp/fixunstfti.c: Likewise.
43524         * soft-fp/floatdidf.c: Likewise.
43525         * soft-fp/floatdisf.c: Likewise.
43526         * soft-fp/floatditf.c: Likewise.
43527         * soft-fp/floatsidf.c: Likewise.
43528         * soft-fp/floatsisf.c: Likewise.
43529         * soft-fp/floatsitf.c: Likewise.
43530         * soft-fp/floattidf.c: Likewise.
43531         * soft-fp/floattisf.c: Likewise.
43532         * soft-fp/floattitf.c: Likewise.
43533         * soft-fp/floatundidf.c: Likewise.
43534         * soft-fp/floatundisf.c: Likewise.
43535         * soft-fp/floatunditf.c: Likewise.
43536         * soft-fp/floatunsidf.c: Likewise.
43537         * soft-fp/floatunsisf.c: Likewise.
43538         * soft-fp/floatunsitf.c: Likewise.
43539         * soft-fp/floatuntidf.c: Likewise.
43540         * soft-fp/floatuntisf.c: Likewise.
43541         * soft-fp/floatuntitf.c: Likewise.
43542         * soft-fp/fmadf4.c: Likewise.
43543         * soft-fp/fmasf4.c: Likewise.
43544         * soft-fp/fmatf4.c: Likewise.
43545         * soft-fp/gedf2.c: Likewise.
43546         * soft-fp/gesf2.c: Likewise.
43547         * soft-fp/getf2.c: Likewise.
43548         * soft-fp/ledf2.c: Likewise.
43549         * soft-fp/lesf2.c: Likewise.
43550         * soft-fp/letf2.c: Likewise.
43551         * soft-fp/muldf3.c: Likewise.
43552         * soft-fp/mulsf3.c: Likewise.
43553         * soft-fp/multf3.c: Likewise.
43554         * soft-fp/negdf2.c: Likewise.
43555         * soft-fp/negsf2.c: Likewise.
43556         * soft-fp/negtf2.c: Likewise.
43557         * soft-fp/op-1.h: Likewise.
43558         * soft-fp/op-2.h: Likewise.
43559         * soft-fp/op-4.h: Likewise.
43560         * soft-fp/op-8.h: Likewise.
43561         * soft-fp/op-common.h: Likewise.
43562         * soft-fp/quad.h: Likewise.
43563         * soft-fp/single.h: Likewise.
43564         * soft-fp/soft-fp.h: Likewise.
43565         * soft-fp/sqrtdf2.c: Likewise.
43566         * soft-fp/sqrtsf2.c: Likewise.
43567         * soft-fp/sqrttf2.c: Likewise.
43568         * soft-fp/subdf3.c: Likewise.
43569         * soft-fp/subsf3.c: Likewise.
43570         * soft-fp/subtf3.c: Likewise.
43571         * soft-fp/truncdfsf2.c: Likewise.
43572         * soft-fp/trunctfdf2.c: Likewise.
43573         * soft-fp/trunctfsf2.c: Likewise.
43574         * soft-fp/trunctfxf2.c: Likewise.
43575         * soft-fp/unorddf2.c: Likewise.
43576         * soft-fp/unordsf2.c: Likewise.
43577         * soft-fp/unordtf2.c: Likewise.
43579 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
43581         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
43582         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
43584 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
43586         * elf/dl-libc.c: Clear initfini list after freeing.
43588 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
43590         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43591         * soft-fp/addsf3.c: Likewise.
43592         * soft-fp/addtf3.c: Likewise.
43593         * soft-fp/divdf3.c: Likewise.
43594         * soft-fp/divsf3.c: Likewise.
43595         * soft-fp/divtf3.c: Likewise.
43596         * soft-fp/double.h: Likewise.
43597         * soft-fp/eqdf2.c: Likewise.
43598         * soft-fp/eqsf2.c: Likewise.
43599         * soft-fp/eqtf2.c: Likewise.
43600         * soft-fp/extenddftf2.c: Likewise.
43601         * soft-fp/extended.h: Likewise.
43602         * soft-fp/extendsfdf2.c: Likewise.
43603         * soft-fp/extendsftf2.c: Likewise.
43604         * soft-fp/extendxftf2.c: Likewise.
43605         * soft-fp/fixdfdi.c: Likewise.
43606         * soft-fp/fixdfsi.c: Likewise.
43607         * soft-fp/fixdfti.c: Likewise.
43608         * soft-fp/fixsfdi.c: Likewise.
43609         * soft-fp/fixsfsi.c: Likewise.
43610         * soft-fp/fixsfti.c: Likewise.
43611         * soft-fp/fixtfdi.c: Likewise.
43612         * soft-fp/fixtfsi.c: Likewise.
43613         * soft-fp/fixtfti.c: Likewise.
43614         * soft-fp/fixunsdfdi.c: Likewise.
43615         * soft-fp/fixunsdfsi.c: Likewise.
43616         * soft-fp/fixunsdfti.c: Likewise.
43617         * soft-fp/fixunssfdi.c: Likewise.
43618         * soft-fp/fixunssfsi.c: Likewise.
43619         * soft-fp/fixunssfti.c: Likewise.
43620         * soft-fp/fixunstfdi.c: Likewise.
43621         * soft-fp/fixunstfsi.c: Likewise.
43622         * soft-fp/fixunstfti.c: Likewise.
43623         * soft-fp/floatdidf.c: Likewise.
43624         * soft-fp/floatdisf.c: Likewise.
43625         * soft-fp/floatditf.c: Likewise.
43626         * soft-fp/floatsidf.c: Likewise.
43627         * soft-fp/floatsisf.c: Likewise.
43628         * soft-fp/floatsitf.c: Likewise.
43629         * soft-fp/floattidf.c: Likewise.
43630         * soft-fp/floattisf.c: Likewise.
43631         * soft-fp/floattitf.c: Likewise.
43632         * soft-fp/floatundidf.c: Likewise.
43633         * soft-fp/floatundisf.c: Likewise.
43634         * soft-fp/floatunsidf.c: Likewise.
43635         * soft-fp/floatunsisf.c: Likewise.
43636         * soft-fp/floatuntidf.c: Likewise.
43637         * soft-fp/floatuntisf.c: Likewise.
43638         * soft-fp/floatuntitf.c: Likewise.
43639         * soft-fp/fmadf4.c: Likewise.
43640         * soft-fp/fmasf4.c: Likewise.
43641         * soft-fp/fmatf4.c: Likewise.
43642         * soft-fp/gedf2.c: Likewise.
43643         * soft-fp/gesf2.c: Likewise.
43644         * soft-fp/getf2.c: Likewise.
43645         * soft-fp/ledf2.c: Likewise.
43646         * soft-fp/lesf2.c: Likewise.
43647         * soft-fp/letf2.c: Likewise.
43648         * soft-fp/muldf3.c: Likewise.
43649         * soft-fp/mulsf3.c: Likewise.
43650         * soft-fp/multf3.c: Likewise.
43651         * soft-fp/negdf2.c: Likewise.
43652         * soft-fp/negsf2.c: Likewise.
43653         * soft-fp/negtf2.c: Likewise.
43654         * soft-fp/op-1.h: Likewise.
43655         * soft-fp/op-2.h: Likewise.
43656         * soft-fp/op-4.h: Likewise.
43657         * soft-fp/op-8.h: Likewise.
43658         * soft-fp/op-common.h: Likewise.
43659         * soft-fp/quad.h: Likewise.
43660         * soft-fp/single.h: Likewise.
43661         * soft-fp/soft-fp.h: Likewise.
43662         * soft-fp/sqrtdf2.c: Likewise.
43663         * soft-fp/sqrtsf2.c: Likewise.
43664         * soft-fp/sqrttf2.c: Likewise.
43665         * soft-fp/subdf3.c: Likewise.
43666         * soft-fp/subsf3.c: Likewise.
43667         * soft-fp/subtf3.c: Likewise.
43668         * soft-fp/truncdfsf2.c: Likewise.
43669         * soft-fp/trunctfdf2.c: Likewise.
43670         * soft-fp/trunctfsf2.c: Likewise.
43671         * soft-fp/trunctfxf2.c: Likewise.
43672         * soft-fp/unorddf2.c: Likewise.
43673         * soft-fp/unordsf2.c: Likewise.
43674         * soft-fp/unordtf2.c: Likewise.
43676 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
43678         [BZ #15672]
43679         * misc/error.c (error_tail): Fix possible buffer overflow.
43681 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
43683         [BZ #13028]
43684         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43685         address.
43687 2013-10-14  P. J. McDermott  <pj@pehjota.net>
43689         [BZ #832]
43690         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
43691         testing pipefail option.
43693 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43695         * soft-fp/double.h: Indent preprocessor directives inside #if.
43696         * soft-fp/extended.h: Likewise.
43697         * soft-fp/op-2.h: Likewise.
43698         * soft-fp/op-4.h: Likewise.
43699         * soft-fp/op-common.h: Likewise.
43700         * soft-fp/quad.h: Likewise.
43701         * soft-fp/single.h: Likewise.
43702         * soft-fp/soft-fp.h: Likewise.
43704 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
43706         * iconv/iconv_prog.c: Fix typos.
43707         * stdio-common/psiginfo-data.h: Likewise.
43709 2013-10-12   Reuben Thomas <rrt@sc3d.org>
43711         [BZ #15764]
43712         * locale/setlocale.c: Fix typo.
43714 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43716         [BZ #16036]
43717         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43718         signaling NaN arguments.
43719         * soft-fp/unordsf2.c (__unordsf2): Likewise.
43720         * soft-fp/unordtf2.c (__unordtf2): Likewise.
43722         [BZ #14910]
43723         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43724         unordered operands.
43725         * soft-fp/gesf2.c (__gesf2): Likewise.
43726         * soft-fp/getf2.c (__getf2): Likewise.
43727         * soft-fp/ledf2.c (__ledf2): Likewise.
43728         * soft-fp/lesf2.c (__lesf2): Likewise.
43729         * soft-fp/letf2.c (__letf2): Likewise.
43731         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43732         * soft-fp/eqsf2.c (__eqsf2): Likewise.
43733         * soft-fp/eqtf2.c (__eqtf2): Likewise.
43734         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43735         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43736         * soft-fp/fixdfti.c (__fixdfti): Likewise.
43737         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43738         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43739         * soft-fp/fixsfti.c (__fixsfti): Likewise.
43740         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43741         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43742         * soft-fp/fixtfti.c (__fixtfti): Likewise.
43743         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43744         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43745         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43746         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43747         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43748         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43749         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43750         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43751         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43752         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43753         * soft-fp/floatdisf.c (__floatdisf): Likewise.
43754         * soft-fp/floatsisf.c (__floatsisf): Likewise.
43755         * soft-fp/floattidf.c (__floattidf): Likewise.
43756         * soft-fp/floattisf.c (__floattisf): Likewise.
43757         * soft-fp/floattitf.c (__floattitf): Likewise.
43758         * soft-fp/floatundidf.c (__floatundidf): Likewise.
43759         * soft-fp/floatundisf.c (__floatundisf): Likewise.
43760         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43761         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43762         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43763         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43764         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43765         * soft-fp/gesf2.c (__gesf2): Likewise.
43766         * soft-fp/getf2.c (__getf2): Likewise.
43767         * soft-fp/ledf2.c (__ledf2): Likewise.
43768         * soft-fp/lesf2.c (__lesf2): Likewise.
43769         * soft-fp/letf2.c (__letf2): Likewise.
43771         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43772         Undefine and redefine.
43773         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43774         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43775         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43776         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43777         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43778         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43779         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43780         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43781         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43782         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43783         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43784         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43785         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43786         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43787         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43789         [BZ #16032]
43790         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43791         without decrementing exponent if mantissa >= that for the
43792         denominator, not >.
43793         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43794         denominator, not >.  Decrement exponent in < case instead of
43795         incrementing in >= case.
43796         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43797         without decrementing exponent if mantissa >= that for the
43798         denominator, not >.
43800         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43801         computing saturated result for unsigned overflow.
43803 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43804             Jeff Law  <law@redhat.com>
43806         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43807         (atan2Mp): Add systemtap probe marker.
43808         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43809         (__ieee754_log): Add systemtap probe marker.
43810         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43811         (atanMp): Add systemtap probe marker.
43812         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43813         (tanMp): Add systemtap probe marker.
43814         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43815         (__slowexp): Add systemtap probe marker.
43816         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43817         (__slowpow): Add systemtap probe marker.
43818         * manual/probes.texi: Document probes.
43820 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
43822         [BZ #15362]
43823         * libio/fileops.c (_IO_new_file_write): Return count of bytes
43824         written.
43825         (_IO_new_file_xsputn): Don't return EOF if nothing has been
43826         written.
43827         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43828         written to buffer but not flushed.
43829         * libio/iofwrite_u.c:  Likewise.
43830         * libio/iopadn.c:  Return bytes returned even if EOF was
43831         encountered.
43832         * libio/iowpadn.c:  Likewise.
43833         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43834         if _IO_padn does not write the whole buffer.
43835         [!COMPILE_WPRINTF] (PAD): Likewise.
43837 2013-10-10  David S. Miller  <davem@davemloft.net>
43839         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43840         directory block.
43842 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43844         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
43845         instead of FSF address.
43846         * soft-fp/fixdfti.c: Likewise.
43847         * soft-fp/fixsfti.c: Likewise.
43848         * soft-fp/fixtfti.c: Likewise.
43849         * soft-fp/fixunsdfti.c: Likewise.
43850         * soft-fp/fixunssfti.c: Likewise.
43851         * soft-fp/fixunstfti.c: Likewise.
43852         * soft-fp/floattidf.c: Likewise.
43853         * soft-fp/floattisf.c: Likewise.
43854         * soft-fp/floattitf.c: Likewise.
43855         * soft-fp/floatuntidf.c: Likewise.
43856         * soft-fp/floatuntisf.c: Likewise.
43857         * soft-fp/floatuntitf.c: Likewise.
43858         * soft-fp/trunctfxf2.c: Likewise.
43860         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
43861         * soft-fp/fixdfti.c: Likewise.
43862         * soft-fp/fixsfti.c: Likewise.
43863         * soft-fp/fixtfti.c: Likewise.
43864         * soft-fp/fixunsdfti.c: Likewise.
43865         * soft-fp/fixunssfti.c: Likewise.
43866         * soft-fp/fixunstfti.c: Likewise.
43867         * soft-fp/floattidf.c: Likewise.
43868         * soft-fp/floattisf.c: Likewise.
43869         * soft-fp/floattitf.c: Likewise.
43870         * soft-fp/floatuntidf.c: Likewise.
43871         * soft-fp/floatuntisf.c: Likewise.
43872         * soft-fp/floatuntitf.c: Likewise.
43873         * soft-fp/trunctfxf2.c: Likewise.
43875 2013-10-10  David S. Miller  <davem@davemloft.net>
43877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43879 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
43881         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43882         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43883         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43884         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43885         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43886         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43887         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43889         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43890         for NaNs before doing comparisons on argument.
43891         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43892         Likewise.
43894 2013-10-10  Will Newton  <will.newton@linaro.org>
43896         * malloc/hooks.c (memalign_check): Ensure the value of bytes
43897         passed to _int_memalign does not overflow.
43899 2013-10-10  Torvald Riegel  <triegel@redhat.com>
43901         * scripts/bench.pl: Add include-sources directive.
43902         * benchtests/README: Update documentation.
43904 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43906         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43907         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43908         instead of FP_INIT_ROUNDMODE.
43909         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43910         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43912         [BZ #16034]
43913         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
43914         copy class of input value.
43915         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
43916         not handle exceptions.
43917         * soft-fp/negsf2.c (__negsf2): Likewise.
43918         * soft-fp/negtf2.c (__negtf2): Likewise.
43919         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43921 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
43923         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43924         semicolon.  From Linux kernel.
43926 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
43928         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43930 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
43932         [BZ #156]
43933         * manual/socket.texi: Added statement about buffer
43934         for gethostbyname2_r.
43936 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
43938         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43939         Use .p2align directive instead, throughout.
43940         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43941         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43942         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43943         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43944         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43945         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43946         * sysdeps/x86_64/strchr.S: Likewise.
43947         * sysdeps/x86_64/strrchr.S: Likewise.
43949 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43951         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43953         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43955         * sysdeps/generic/math_private.h (__mpsin1): Remove
43956         declaration.
43957         (__mpcos1): Likewise.
43958         (__mpsin): New argument __range_reduce.
43959         (__mpcos): Likewise.
43960         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43961         (slow): Use __mpsin and __mpcos.
43962         (slow1): Likewise.
43963         (slow2): Likewise.
43964         (sloww): Likewise.
43965         (sloww1): Likewise.
43966         (sloww2): Likewise.
43967         (bsloww): Likewise.
43968         (bsloww1): Likewise.
43969         (bsloww2): Likewise.
43970         (cslow2): Likewise.
43971         (csloww): Likewise.
43972         (csloww1): Likewise.
43973         (csloww2): Likewise.
43974         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43975         range_reduce.  Merge in __mpsin1.
43976         (__mpcos): Likewise.
43977         (__mpsin1): Remove.
43978         (__mpcos1): Likewise.
43980 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
43982         * locale/loadlocale.c (_nl_intern_locale_data): Use
43983         LOCFILE_ALIGNED_P.
43984         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43985         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43986         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43987         obstack data is appropriately aligned.
43988         (obstack_int32_grow_fast): Likewise.
43989         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43990         * locale/programs/locfile.c (add_locale_uint32): Likewise.
43991         (add_locale_uint32_array): Likewise.
43993 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43995         * benchtests/Makefile: Remove ARGLIST and RET variables.
43996         ($(objpfx)bench-%.c): Pass only function name to the script.
43997         * benchtests/README: Update documentation.
43998         * benchtests/acos-inputs: Add new directives.
43999         * benchtests/acosh-inputs: Likewise.
44000         * benchtests/asin-inputs: Likewise.
44001         * benchtests/asinh-inputs: Likewise.
44002         * benchtests/atan-inputs: Likewise.
44003         * benchtests/atanh-inputs: Likewise.
44004         * benchtests/cos-inputs: Likewise.
44005         * benchtests/cosh-inputs: Likewise.
44006         * benchtests/exp-inputs: Likewise.
44007         * benchtests/log-inputs: Likewise.
44008         * benchtests/pow-inputs: Likewise.
44009         * benchtests/rint-inputs: Likewise.
44010         * benchtests/sin-inputs: Likewise.
44011         * benchtests/sinh-inputs: Likewise.
44012         * benchtests/tan-inputs: Likewise.
44013         * benchtests/tanh-inputs: Likewise.
44014         * scripts/bench.pl: Add support for new directives.
44016 2013-10-07  Alan Modra  <amodra@gmail.com>
44018         * README: Fix careless merge.
44020 2013-10-05  Alan Modra  <amodra@gmail.com>
44022         * NEWS: Mention powerpc64le support and bugs fixed.
44023         * README: Both big-endian and little-endian powerpc64 supported.
44025 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44027         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
44028         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
44029         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
44030         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
44032 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
44034         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
44035         match prototype.
44037 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
44039         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
44040         Move -mhard-float appending from
44041         ports/sysdeps/powerpc/powerpc32/Makefile.
44042         [$(with-fp) = yes] (ASFLAGS): Likewise.
44043         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
44044         * sysdeps/powerpc/nofpu: Move directory from
44045         ports/sysdeps/powerpc/nofpu.
44046         * sysdeps/powerpc/soft-fp: Move directory from
44047         ports/sysdeps/powerpc/soft-fp.
44048         * sysdeps/powerpc/powerpc32/405: Move directory from
44049         ports/sysdeps/powerpc/powerpc32/405.
44050         * sysdeps/powerpc/powerpc32/440: Move directory from
44051         ports/sysdeps/powerpc/powerpc32/440.
44052         * sysdeps/powerpc/powerpc32/464: Move directory from
44053         ports/sysdeps/powerpc/powerpc32/464.
44054         * sysdeps/powerpc/powerpc32/476: Move directory from
44055         ports/sysdeps/powerpc/powerpc32/476.
44056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
44057         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
44058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
44059         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
44060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
44061         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
44062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
44063         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
44064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
44065         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
44066         * README: Update for powerpc-*-linux-gnu software floating point
44067         support in libc.
44069         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
44070         case to powerpc/powerpc32*.
44071         * sysdeps/unix/sysv/linux/configure: Regenerated.
44073         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
44074         (_FPU_MASK_OM): Define as 0x04.
44075         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
44076         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
44077         0x00c10080.
44078         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
44079         0x0000003c.
44080         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
44082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
44083         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44084         getcontext_e500.
44085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
44086         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44087         setcontext_e500.
44088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
44089         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
44090         and setcontext_e500.
44092 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
44094         * locale/iso-3166.def: Update iso-1366.def and related occurrences
44096 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44098         * manual/threads.texi (Default Thread Attributes): Fix typo.
44100 2013-10-04  Will Newton  <will.newton@linaro.org>
44102         * malloc/Makefile: Add tst-memalign.
44103         * malloc/tst-memalign.c: New file.
44105         * malloc/tst-posix_memalign.c: Add comments.
44106         (do_test): Add comments and call free on all potentially
44107         allocated pointers. Add space after cast.
44109         * malloc/tst-pvalloc.c: Add comments.
44110         (do_test): Add comments and call free on all potentially
44111         allocated pointers. Remove duplicate check for NULL pointer.
44112         Add space after cast.
44114         * malloc/tst-valloc.c: Add comments.
44115         (do_test): Add comments and call free on all potentially
44116         allocated pointers. Remove duplicate check for NULL pointer.
44117         Add space after cast.
44119 2013-10-04  Alan Modra  <amodra@gmail.com>
44121         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44122         Use stdint types in rather than __attribute__((mode())).
44123         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44125 2013-10-04  Alan Modra  <amodra@gmail.com>
44127         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44128         Correct handling of unaligned relocs for little-endian.
44129         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44131 2013-10-04  Alan Modra  <amodra@gmail.com>
44133         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
44134         * configure: Regenerate.
44135         * nptl/shlib-versions: Powerpc*le starts at 2.18.
44136         * shlib-versions: Likewise.
44138 2013-10-04  Alan Modra  <amodra@gmail.com>
44140         * string/tester.c (test_memrchr): Increment reported test cycle.
44142 2013-10-04  Alan Modra  <amodra@gmail.com>
44144         * string/test-memcpy.c (do_one_test): When reporting errors, print
44145         string address and don't overrun end of string.
44147 2013-10-04  Alan Modra  <amodra@gmail.com>
44149         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
44150         insrdi.  Make better use of reg selection to speed exit slightly.
44151         Schedule entry path a little better.  Remove useless "are we done"
44152         checks on entry to main loop.  Handle wrapping around zero address.
44153         Correct main loop count.  Handle single left-over word from main
44154         loop inline rather than by using loop_small.  Remove extra word
44155         case in loop_small caused by wrong loop count.  Add little-endian
44156         support.
44157         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44158         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
44159         cache hint.
44160         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44161         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
44162         support.  Avoid rlwimi.
44163         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
44165 2013-10-04  Alan Modra  <amodra@gmail.com>
44167         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
44168         insrdi.  Formatting.
44169         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
44170         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44171         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44172         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44173         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44174         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
44176 2013-10-04  Alan Modra  <amodra@gmail.com>
44178         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
44179         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44180         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44181         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
44182         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44183         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44184         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44185         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44186         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
44187         use of regs.  Use power7 mtocrf.  Tidy function tails.
44189 2013-10-04  Alan Modra  <amodra@gmail.com>
44191         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
44192         Formatting.  Consistently use rXXX register defines or rN defines.
44193         Use early exit labels that avoid restoring unused non-volatile regs.
44194         Make cr field use more consistent with rWORDn compares.  Rename
44195         regs used as shift registers for unaligned loop, using rN defines
44196         for short lifetime/multiple use regs.
44197         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44198         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
44199         addi 1,1,64 to pop stack frame.  Simplify return value code.
44200         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44202 2013-10-04  Alan Modra  <amodra@gmail.com>
44204         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
44205         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
44206         rather than rlwimi.
44207         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
44208         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
44209         little-endian support.  Correct typos.
44210         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
44211         rather than rlwimi.
44212         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
44213         in loop and entry code to keep "and." results.
44214         (strchr): Add little-endian support.  Comment.  Move cntlzd
44215         earlier in tail.
44216         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
44218 2013-10-04  Alan Modra  <amodra@gmail.com>
44220         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
44221         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
44222         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
44223         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
44225 2013-10-04  Alan Modra  <amodra@gmail.com>
44227         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
44228         (rTMP): Define as r11.
44229         (strcmp): Add little-endian support.  Optimise tail.
44230         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
44231         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44232         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44233         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44234         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44235         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44236         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44238 2013-10-04  Alan Modra  <amodra@gmail.com>
44240         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
44241         little-endian support.  Remove unnecessary "are we done" tests.
44242         Handle "s" wrapping around zero and extremely large "size".
44243         Correct main loop count.  Handle single left-over word from main
44244         loop inline rather than by using small_loop.  Correct comments.
44245         Delete "zero" tail, use "end_max" instead.
44246         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
44248 2013-10-04  Alan Modra  <amodra@gmail.com>
44250         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
44251         support.  Don't branch over align.
44252         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
44253         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
44254         support.  Rearrange tmp reg use to suit.  Comment.
44255         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
44257 2013-10-04  Alan Modra  <amodra@gmail.com>
44259         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
44261 2013-10-04  Alan Modra  <amodra@gmail.com>
44263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
44264         conditional form of branch and link when obtaining pc.
44265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44267 2013-10-04  Alan Modra  <amodra@gmail.com>
44269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
44270         HIWORD/LOWORD.
44271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
44272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
44274 2013-10-04  Alan Modra  <amodra@gmail.com>
44276         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
44277         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
44278         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
44279         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
44280         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44281         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44282         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
44283         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44284         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
44285         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
44287 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44288             Alistair Popple <alistair@ozlabs.au.ibm.com>
44289             Alan Modra <amodra@gmail.com>
44291         [BZ #15723]
44292         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
44293         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
44294         _dl_hwcap access for little-endian.
44295         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
44296         destroy vmx regs when saving unaligned.
44297         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
44298         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
44299         destroy vmx regs when saving unaligned.
44301 2013-10-04  Alan Modra  <amodra@gmail.com>
44303         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
44304         Don't use a union to pack hi/low value.
44306 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44308         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
44309         for little-endian.
44310         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44311         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
44312         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44313         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44314         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44316 2013-10-04  Alan Modra  <amodra@gmail.com>
44318         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
44319         constants to usual value for .cst8 section, and remove redundant
44320         high address load.
44321         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
44322         constant for 0x1p52.  Load little-endian words of double from
44323         correct stack offsets.
44325 2013-10-04  Alan Modra  <amodra@gmail.com>
44327         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
44328         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
44329         words of double from correct stack offsets.
44330         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
44331         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
44332         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44333         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44334         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44335         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44336         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44337         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
44338         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
44339         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44340         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44341         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44342         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44343         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44344         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44345         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
44346         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
44348 2013-10-04  Alan Modra  <amodra@gmail.com>
44350         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
44351         64-bit int/double union.
44352         (_FPU_SETCW): Likewise.
44353         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
44354         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
44356 2013-10-04  Alan Modra  <amodra@gmail.com>
44358         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
44359         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
44361 2013-10-04  Alan Modra  <amodra@gmail.com>
44363         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
44364         use vector int constants.
44365         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
44367 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44369         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
44370         array with long long.
44371         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
44372         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
44373         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
44374         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
44375         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
44376         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
44377         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
44378         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
44379         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
44380         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
44381         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
44382         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
44383         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
44385 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44387         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
44388         (__signbit): Likewise.  Correct for little-endian.
44389         (__signbitl): Call __signbit.
44390         (lrint): Correct for little-endian.
44391         (lrintf): Call lrint.
44393 2013-10-04  Alan Modra  <amodra@gmail.com>
44395         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
44396         union 32-bit int array member with 64-bit int array.
44397         (t515, tm256): Double rather than long double.
44398         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
44400 2013-10-04  Alan Modra  <amodra@gmail.com>
44402         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
44403         Delete.
44404         (IEEE854_LONG_DOUBLE_BIAS): Delete.
44405         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
44406         version of math_ldbl.h.
44408 2013-10-04  Alan Modra  <amodra@gmail.com>
44410         [BZ #15734], [BZ #15735]
44411         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
44412         all uses of ieee875 long double macros and unions.  Simplify test
44413         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
44414         ldbl_extract_mantissa value for ix,iy exponents.  Properly
44415         normalize after ldbl_extract_mantissa, and don't add hidden bit
44416         already handled.  Don't treat low word of ieee854 mantissa like
44417         low word of IBM long double and mask off bit when testing for
44418         zero.
44419         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
44420         all uses of ieee875 long double macros and unions.  Simplify tests
44421         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
44422         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
44423         two1022, instead use their values.  Recognise that tests for large
44424         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
44425         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
44426         Rewrite all uses of ieee875 long double macros and unions.  Simplify
44427         test for 0.0L and nan.  Correct negation.
44428         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
44429         ieee875 long double macros and unions.  Correct output for large
44430         magnitude x.  Correct absolute value calculation.
44431         (__erfcl): Likewise.
44432         * math/libm-test.inc: Add tests for errors discovered in IBM long
44433         double versions of fmodl, remainderl, erfl and erfcl.
44435 2013-10-04  Alan Modra  <amodra@gmail.com>
44437         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
44438         all uses of ieee854 long double macros and unions.  Simplify tests
44439         for long doubles that are fully specified by the high double.
44440         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
44441         Likewise.
44442         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
44443         Remove dead code too.
44444         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
44445         (__ieee754_ynl): Likewise.
44446         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
44447         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
44448         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
44449         Remove dead code too.
44450         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
44451         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
44452         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
44453         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
44454         Simplify.
44455         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
44456         Simplify.
44457         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
44458         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
44459         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
44460         Comment on variable precision.
44461         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
44462         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44463         Likewise.
44464         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
44465         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44466         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44467         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
44468         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
44470 2013-10-04  Alan Modra  <amodra@gmail.com>
44472         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
44473         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
44474         all uses of ieee854 long double macros and unions.
44475         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
44476         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44477         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
44478         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
44479         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
44480         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44481         Likewise.
44482         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
44483         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44484         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
44485         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44486         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
44487         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
44488         Simplify sign and nan test too.
44489         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
44490         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
44491         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
44492         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
44493         Likewise.
44494         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44495         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
44496         Likewise.
44497         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44498         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
44499         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
44500         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
44501         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
44502         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
44504 2013-10-04  Alan Modra  <amodra@gmail.com>
44506         * stdio-common/printf_size.c (__printf_size): Don't use
44507         union ieee854_long_double in fpnum union.
44508         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
44509         signbit macro to retrieve sign from long double.
44510         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
44511         retrieve sign from long double.
44512         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
44513         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
44514         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
44515         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44516         * math/test-misc.c (main): Don't use union ieee854_long_double.
44518 2013-10-04  Alan Modra  <amodra@gmail.com>
44520         [BZ #15680]
44521         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
44522         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
44523         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
44524         calculation.  Remove unnecessary test for denormal exponent.
44525         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
44526         Correct handling of denormals.  Avoid undefined shift behaviour.
44527         Correct normalisation of low mantissa when low double is denormal.
44528         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
44529         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
44530         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
44531         Correct normalisation of low mantissa.  Test for overflow of high
44532         mantissa and normalise.
44533         (ldbl_nearbyint): Use more readable constant for two52.
44534         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
44535         (__mpn_construct_long_double): Fix test for overflow of high
44536         mantissa and correct normalisation.  Avoid undefined shift.
44538 2013-10-04  Alan Modra  <amodra@gmail.com>
44540         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44541         (union ibm_extended_long_double): Define as an array of ieee754_double.
44542         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
44543         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
44544         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
44545         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44546         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44547         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
44548         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44549         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
44550         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44551         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
44552         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44554 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
44556         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
44557         page size instead of calling getpagesize.
44559         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
44560         (LOCFILE_ALIGN_MASK): Likewise.
44561         (LOCFILE_ALIGN_UP): Likewise.
44562         (LOCFILE_ALIGNED_P): Likewise.
44563         * locale/programs/ld-collate.c (collate_output): Use the new
44564         macros instead of __alignof__ (int32_t).
44565         * locale/weight.h (findidx): Likewise.
44567 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
44569         [BZ #431]
44570         * manual/string.texi: Fix strncat and wcsncat.
44572 2013-10-03  Brooks Moses  <bmoses@google.com>
44574         [BZ #15915]
44575         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
44576         * Makerules: ...here, and adjust associated comments.
44578 2013-10-02  Will Newton  <will.newton@linaro.org>
44580         * malloc/Makefile: Add tst-pvalloc.
44581         * malloc/tst-pvalloc.c: New file.
44583 2013-10-02  Will Newton  <will.newton@linaro.org>
44585         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44586         improve test coverage.
44588 2013-10-02  Will Newton  <will.newton@linaro.org>
44590         * malloc/Makefile: Add tst-posix_memalign.
44591         * malloc/tst-posix_memalign.c: New file.
44593 2013-10-01  Eric Blake  <eblake@redhat.com>
44595         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44596         Use __THROWNL rather than __THROW on static functions.
44598 2013-09-30  Petr Machata  <pmachata@redhat.com>
44600         * elf/elf.h (R_AARCH64_ABS16): New macro.
44601         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44602         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44603         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44604         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44605         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44606         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44607         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44608         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44609         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44610         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44611         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44612         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44613         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44614         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44615         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44616         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44617         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44618         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44619         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44620         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44621         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44622         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44623         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44624         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44625         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44626         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44627         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44628         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44629         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44630         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44631         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44632         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44633         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44634         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44635         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44636         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44637         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44638         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44639         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44640         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44641         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44642         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44643         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44644         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44645         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44646         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44647         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44648         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44649         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44650         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44651         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44652         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44653         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44654         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44655         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44656         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44657         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44658         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44659         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44660         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44661         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44662         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44663         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44664         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44665         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44666         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44667         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44668         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44669         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44670         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44671         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44672         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44673         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44674         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44675         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44676         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44677         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44678         (R_AARCH64_TLSDESC_LDR): Likewise.
44679         (R_AARCH64_TLSDESC_ADD): Likewise.
44680         (R_AARCH64_TLSDESC_CALL): Likewise.
44682 2013-09-30  Andreas Schwab  <schwab@suse.de>
44684         [BZ #15048]
44685         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44686         the nss database lookup.
44687         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44690 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
44692         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44694 2013-09-28  P. J. McDermott  <pj@pehjota.net>
44696         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44697         ${Bash-specific parameter/pattern/string} parameter expansion.
44698         * sysdeps/unix/make-syscalls.sh: Likewise.
44700 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44702         * sysdeps/sh/stackguard-macros.h: New file.
44704 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
44706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44707         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44708         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44709         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44710         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44711         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44713 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44715         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44716         Fix thread ID register.
44718 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
44720         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44721         [POSIX || UNIX98]: Require rather than permitting all symbols from
44722         <time.h>.
44723         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44724         element of struct sched_param.
44725         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44726         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44727         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44728         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44729         constant.
44731 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
44733         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44734         argument calculation.
44736 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44738         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44739         Expect macro.
44740         [POSIX] (pthread_attr_t): Do not require type.
44741         [POSIX] (pthread_cond_t): Likewise.
44742         [POSIX] (pthread_condattr_t): Likewise.
44743         [POSIX] (pthread_key_t): Likewise.
44744         [POSIX] (pthread_mutex_t): Likewise.
44745         [POSIX] (pthread_mutexattr_t): Likewise.
44746         [POSIX] (pthread_once_t): Likewise.
44747         [POSIX] (pthread_t): Likewise.
44748         [POSIX-based standards] (pthread_atfork): Expect function.
44750 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44751             Richard Sandiford  <richard@codesourcery.com>
44753         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44754         (swap_endianness_p): New extern variable.
44755         (set_big_endian): New inline function.
44756         (maybe_swap_uint32): Likewise.
44757         (maybe_swap_uint32_array): Likewise.
44758         (maybe_swap_uint32_obstack): Likewise.
44759         * locale/programs/locfile.c: Include <stdbool.h>.
44760         (swap_endianness_p): New variable.
44761         (add_locale_uint32): Call maybe_swap_uint32.
44762         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44763         (write_locale_data): Call maybe_swap_uint32_array.
44764         * locale/programs/ld-collate.c (obstack_int32_grow): Call
44765         maybe_swap_uint32.
44766         (obstack_int32_grow_fast): Likewise.
44767         (output_weightwc): Call maybe_swap_uint32_obstack.
44768         (collate_output): Likewise.
44769         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44770         (OPT_LITTLE_ENDIAN): Likewise.
44771         (options): Add --little-endian and --big-endian options.
44772         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44773         * locale/programs/locarchive.c: Include "locfile.h".
44774         (GET): New macro.
44775         (SET): Likewise.
44776         (INC): Likewise.
44777         (create_archive): Use the new macros to access fields of
44778         structures directly mapped from or written to locale archives.
44779         (oldlocrecentcmp): Likewise.
44780         (enlarge_archive): Likewise.
44781         (insert_name): Likewise.
44782         (add_alias): Likewise.
44783         (add_locale): Likewise.
44784         (delete_locales_from_archive): Likewise.
44785         (show_archive_content): Likewise.
44786         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
44787         locale data.
44789 2013-09-24  Roland McGrath  <roland@hack.frob.com>
44791         * manual/freemanuals.texi: Updated from (newly) canonical copy at
44792         http://www.gnu.org/doc/freemanuals.texi.
44793         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44795 2013-09-24  Will Newton  <will.newton@linaro.org>
44797         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44798         macro.
44800 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
44802         * locale/hashval.h (compute_hashval): Interpret bytes of key as
44803         unsigned char.
44805 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
44807         * manual/threads.texi (POSIX Threads): Fix a typo.
44809 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44811         [BZ #14547]
44812         * string/tst-strcoll-overflow.c: New test case.
44813         * string/Makefile (xtests): Add tst-strcoll-overflow.
44814         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44815         cache if string sizes may cause integer overflow.
44817         [BZ #14547]
44818         * string/strcoll_l.c (coll_seq): New members rule, idx,
44819         save_idx and back_us.
44820         (get_next_seq_nocache): New function.
44821         (do_compare_nocache): New function.
44822         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44823         when malloc fails.
44825 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
44827         [BZ #15754]
44828         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44829         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44830         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44832         [BZ #15754]
44833         * elf/Makefile (tests): Add tst-ptrguard1.
44834         (tests-static): Add tst-ptrguard1-static.
44835         (tst-ptrguard1-ARGS): Define.
44836         (tst-ptrguard1-static-ARGS): Define.
44837         * elf/tst-ptrguard1.c: New file.
44838         * elf/tst-ptrguard1-static.c: New file.
44839         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44840         * sysdeps/i386/stackguard-macros.h: Likewise.
44841         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44842         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44843         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44844         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44845         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44846         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44848 2013-09-23  Hector Marco  <hecmargi@upv.es>
44849             Ismael Ripoll  <iripoll@disca.upv.es>
44850             Carlos O'Donell  <carlos@redhat.com>
44852         [BZ #15754]
44853         * sysdeps/generic/stackguard-macros.h: Define
44854         __pointer_chk_guard_local and POINTER_CHK_GUARD.
44855         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44856         Define __pointer_chk_guard_local.
44857         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44858         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44860 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
44862         [BZ #15859]
44863         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44865 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
44867         * include/string.h (__ffs): Declare as hidden.
44868         * string/ffs.c (__ffs): Define as hidden.
44869         * sysdeps/i386/ffs.c (__ffs): Likewise.
44870         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44871         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44872         * sysdeps/s390/ffs.c (__ffs): Likewise.
44873         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44875 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
44877         * NEWS: Mention malloc probes.
44879         * malloc/arena.c (new_heap): New memory_heap_new probe.
44880         (grow_heap): New memory_heap_more probe.
44881         (shrink_heap): New memory_heap_less probe.
44882         (heap_trim): New memory_heap_free probe.
44883         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44884         (systrim): New memory_sbrk_less probe.
44885         * manual/probes.texi: Document them.
44887         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44888         * manual/probes.texi: Document it.
44890         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44891         (__libc_realloc): Add memory_realloc_retry probe.
44892         (__libc_memalign): Add memory_memalign_retry probe.
44893         (__libc_valloc): Add memory_valloc_retry probe.
44894         (__libc_pvalloc): Add memory_pvalloc_retry probe.
44895         (__libc_calloc): Add memory_calloc_retry probe.
44896         * manual/probes.texi: Document them.
44898         * malloc/arena.c (get_free_list): Add probe
44899         memory_arena_reuse_free_list.
44900         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44901         and memory_arena_reuse.
44902         (arena_get2) [!PER_THREAD]: Likewise.
44903         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44904         memory_arena_reuse_realloc.
44905         * manual/probes.texi: Document them.
44907         * malloc/malloc.c (__libc_free): Add
44908         memory_mallopt_free_dyn_thresholds probe.
44909         (__libc_mallopt): Add multiple memory_mallopt probes.
44910         * manual/probes.texi: Document them.
44912         * malloc/malloc.c: Include stap-probe.h.
44913         (__libc_mallopt): Add memory_mallopt probe.
44914         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44915         * manual/probes.texi: New.
44916         * manual/Makefile (chapters): Add probes.
44917         * manual/threads.texi: Set next node.
44919 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
44921         [BZ #15963, #13985]
44922         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44923         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44924         Add `Chinese' to `nan' entry name.
44926 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44928         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44929         (POLYNOMIAL): Likewise.
44930         (TAYLOR_SINCOS): Likewise.
44931         (TAYLOR_SLOW): Likewise.
44932         (__sin): Use TAYLOR_SINCOS.
44933         (__cos): Likewise.
44934         (slow): Use TAYLOR_SLOW.
44935         (sloww): Likewise.
44936         (bsloww): Likewise.
44937         (csloww): Likewise.
44939 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44941         * stdlib/strtod_l.c: Fix buffer overrun.
44943 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44945         * benchtests/Makefile (bench): Add sincos.
44946         * benchtests/bench-sincos.c: New file.
44948         * math/libm-test.inc (cos_test_data): New test inputs.
44949         (sin_test_data): Likewise.
44951         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44952         macro.
44953         (__sin): Use it.
44954         (__cos): Likewise.
44955         (slow1): Likewise.
44956         (slow2): Likewise.
44957         (sloww1): Likewise.
44958         (sloww2): Likewise.
44959         (bsloww1): Likewise.
44960         (bsloww2): Likewise.
44961         (cslow2): Likewise.
44962         (csloww1): Likewise.
44963         (csloww2): Likewise.
44965         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44966         function.
44967         (__sin): Use it.
44968         (__cos): Likewise.
44970         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44971         gotos.
44972         (__cos): Likewise.
44974 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
44976         * config.h.in (HAVE_MIPS_NAN2008): New macro.
44977         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44978         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44979         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44980         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44981         * elf/cache.c (print_entry): Handle the new cache flags.
44983 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44984             Aldy Hernandez  <aldyh@redhat.com>
44986         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44987         Change condition to [_SOFT_FLOAT].
44988         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44989         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44990         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44991         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44992         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44993         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44994         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44995         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44996         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44997         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44998         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44999         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
45000         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
45001         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
45002         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
45003         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
45004         declaration.
45006 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45008         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
45009         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45010         (__longjmp): Use LOAD_GP to load saved GPRs.
45011         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
45012         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45013         (__sigsetjmp): Use SAVE_GP to save GPRs.
45015         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
45016         Do not append -msoft-float.
45017         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
45019 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45021         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
45023 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
45025         [BZ #15966]
45026         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
45027         (_FPU_GETCW): Use initial "__" on variable and field names but not
45028         on macro parameter name.
45029         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
45030         parentheses around reference to macro parameter.
45032 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
45034         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
45035         prototype.
45036         (ctype_startup): Use uint32_t in cast and sizeof for
45037         ctype->charnames.
45039 2013-09-11  Jia Liu  <proljc@gmail.com>
45041         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
45042         __daddr_t_defined.
45043         [__FreeBSD__]: Likewise.
45045 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
45047         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
45048         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
45049         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
45050         (strchr): Remove __strchr_sse42 ifunc selection.
45051         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
45052         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
45054 2013-09-11  Will Newton  <will.newton@linaro.org>
45056         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
45057         parameter to RES. Remove hardcoded 1000 value.
45058         * benchtests/bench-skeleton.c (main): Pass RES parameter
45059         to TIMING_INIT and multiply result by 1000.
45061 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45065 2013-09-11  Andreas Schwab  <schwab@suse.de>
45067         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
45068         if not defined.
45069         (O_TMPFILE) [__USE_GNU]: Define.
45070         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
45071         Define.
45073 2013-09-11  Will Newton  <will.newton@linaro.org>
45075         [BZ #15857]
45076         * malloc/malloc.c (__libc_memalign): Check the value of bytes
45077         does not overflow.
45079 2013-09-11  Will Newton  <will.newton@linaro.org>
45081         [BZ #15856]
45082         * malloc/malloc.c (__libc_valloc): Check the value of bytes
45083         does not overflow.
45085 2013-09-11  Will Newton  <will.newton@linaro.org>
45087         [BZ #15855]
45088         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
45089         does not overflow.
45091 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
45093         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
45094         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45095         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45096         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45097         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45099 2013-09-10  Allan McRae  <allan@archlinux.org>
45101         [BZ #15748]
45102         * manual/arith.texi (Parsing of Floats): Clarify
45103         cross-reference.
45105         [BZ #15849]
45106         * manual/install.texi (Running make install): Mention
45107         --enable-pt-chown.
45108         * INSTALL: Regenerated.
45110 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
45112         * csu/init-first.c (_init): Remove the !SHARED condition around
45113         FPU control word initialization.
45114         * elf/dl-support.c (_dl_fpu_control): New variable.
45115         (_dl_aux_init) <AT_FPUCW>: Initialize it.
45116         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
45117         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
45118         * math/test-fpucw-static.c: New file.
45119         * math/test-fpucw-ieee.c: New file.
45120         * math/test-fpucw-ieee-static.c: New file.
45121         * math/Makefile (tests): Add `test-fpucw-ieee' and
45122         `$(tests-static)'.
45123         (tests-static): New variable.
45124         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
45125         dependency to...
45126         [($(build-shared),yes)]
45127         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45128         ... this.
45129         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
45130         New dependency.
45132 2013-09-09  Allan McRae  <allan@archlinux.org>
45134         [BZ #15939]
45135         * manual/string.texi (Collation Functions): Fix typo in
45136         strcoll example.
45137         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
45139         [BZ #15893]
45140         * stdlib/isomac.c (get_null_defines): Fix memory leak.
45142         [BZ #15892]
45143         * libio/memstream.c (open_memstream): Fix memory leak.
45144         * libio/wmemstream.c (open_wmemstream): Likewise.
45146         [BZ #15895]
45147         * nscd/netgroupcache.c: Fix nesting of ifdefs.
45149 2013-09-09  Will Newton  <will.newton@linaro.org>
45151         * malloc/Makefile: Add tst-realloc to tests.
45152         * malloc/tst-realloc.c: New file.
45154 2013-09-09  Allan McRae  <allan@archlinux.org>
45156         [BZ #15844]
45157         * COPYING: Update from GNU website to fix FSF address.
45158         * COPYING.LIB: Likewise.
45160 2013-09-06  David S. Miller  <davem@davemloft.net>
45162         * po/zh_TW.po: Update Chinese (traditional) translation from
45163         translation project.
45165 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
45166             Joseph Myers  <joseph@codesourcery.com>
45168         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
45169         "localeinfo.h".
45170         (obstack_chunk_alloc): New macro.
45171         (obstack_chunk_free): Likewise.
45172         (record_offset): New function.
45173         (init_locale_data): Likewise.
45174         (align_locale_data): Likewise.
45175         (add_locale_empty): Likewise.
45176         (add_locale_raw_data): Likewise.
45177         (add_locale_raw_obstack): Likewise.
45178         (add_locale_string): Likewise.
45179         (add_locale_wstring): Likewise.
45180         (add_locale_uint32): Likewise.
45181         (add_locale_uint32_array): Likewise.
45182         (add_locale_char): Likewise.
45183         (start_locale_structure): Likewise.
45184         (end_locale_structure): Likewise.
45185         (start_locale_prelude): Likewise.
45186         (end_locale_prelude): Likewise.
45187         (write_locale_data): Take locale_file structure rather than an
45188         iovec.
45189         * locale/programs/locfile.h: Include "obstack.h".
45190         (struct locale_file): Change to store locale file contents instead
45191         of header.
45192         (init_locale_data): New prototype.
45193         (align_locale_data): Likewise.
45194         (add_locale_empty): Likewise.
45195         (add_locale_raw_data): Likewise.
45196         (add_locale_raw_obstack): Likewise.
45197         (add_locale_string): Likewise.
45198         (add_locale_wstring): Likewise.
45199         (add_locale_uint32): Likewise.
45200         (add_locale_uint32_array): Likewise.
45201         (add_locale_char): Likewise.
45202         (start_locale_structure): Likewise.
45203         (end_locale_structure): Likewise.
45204         (start_locale_prelude): Likewise.
45205         (end_locale_prelude): Likewise.
45206         (write_locale_data): Update prototype.
45207         * locale/programs/3level.h (struct TABLE): Remove result field.
45208         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
45209         Use new locale_file interface.
45210         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
45211         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
45212         * locale/programs/ld-address.c (address_output): Use new
45213         locale_file interface.
45214         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
45215         NO_ADD_LOCALE.
45216         (collate_finish): Don't call collseq_table_finalize.
45217         (collate_output): Use new locale_file interface.
45218         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
45219         in file.
45220         (NO_FINALIZE): Change to NO_ADD_LOCALE.
45221         (TABLE): Move defines earlier in file.
45222         (ELEMENT): Likewise.
45223         (DEFAULT): Likewise.
45224         (wctrans_table_add): Move macro and inline function earlier in
45225         file.
45226         (struct wctype_table): Move type earlier in file.
45227         (add_locale_wctype_table): New static prototype.
45228         (struct locale_ctype_t): Use logical types instead of struct iovec
45229         pointers for members.
45230         (ctype_output): Use new locale_file interface.
45231         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
45232         new locale_file interface.
45233         (allocate_arrays): Update for use of new locale_file interface.
45234         * locale/programs/ld-identification.c (identification_output): Use
45235         new locale_file interface.
45236         * locale/programs/ld-measurement.c (measurement_output): Likewise.
45237         * locale/programs/ld-messages.c (messages_output): Likewise.
45238         * locale/programs/ld-monetary.c (monetary_output): Likewise.
45239         * locale/programs/ld-name.c (name_output): Likewise.
45240         * locale/programs/ld-numeric.c (numeric_output): Likewise.
45241         * locale/programs/ld-paper.c (paper_output): Likewise.
45242         * locale/programs/ld-telephone.c (telephone_output): Likewise.
45243         * locale/programs/ld-time.c (time_output): Likewise.
45245 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45247         * benchtests/Makefile: Add memrchr benchmark.
45248         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
45249         benchmark as memrchr.
45250         * benchtests/bench-memrchr-ifunc.c: New file.
45251         * benchtests/bench-memrchr.c: New file.
45253 2013-09-06   Will Newton  <will.newton@linaro.org>
45255         * benchtests/Makefile (string-bench): Add memcpy.
45257 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
45258             Cong Wang  <amwang@redhat.com>
45260         [BZ #15850]
45261         * sysdeps/unix/sysv/linux/bits/in.h
45262         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
45263         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
45264         before __USE_KERNEL_IPV6_DEFS uses.
45265         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
45266         IPPROTO_BEETPH.
45267         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
45268         sockaddr_in6, or ipv6_mreq.
45270 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45272         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
45273         memory access for final bytes in some large inputs.
45274         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
45276 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45278         * string/test-memrchr.c: New file.
45279         * string/test-memrchr-ifunc.c: New file.
45280         * string/Makefile: Add new memrchr testcase.
45282 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
45284         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
45285         fanotify_init returns EPERM.
45287 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45289         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
45290         errors.
45291         (top level): Treat second token from macro or constant entries for
45292         allowed headers as allowed.
45293         * include/complex.h: Condition internal declarations on
45294         [!_ISOMAC].
45295         * include/fenv.h: Condition include of <stdbool.h> and internal
45296         declarations on [!_ISOMAC].
45298 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
45300         [BZ #15923]
45301         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
45303 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45305         * configure.in (--enable-versioning): Remove configure option.
45306         (libc_cv_asm_symver_directive): Remove configure test.
45307         (libc_cv_ld_version_script_option): Likewise.
45308         (VERSIONING): Remove variable and AC_SUBST.
45309         (DO_VERSIONING): Remove AC_DEFINE.
45310         * configure: Regenerated.
45311         * config.h.in (DO_VERSIONING): Remove macro.
45312         * Makerules [$(versioning) = yes]: Change conditionals to
45313         [$(build-shared) = yes].
45314         * config.make.in (versioning): Remove variable.
45315         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
45316         [$(build-shared) = yes].
45317         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
45318         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
45319         * elf/Makefile [$(versioning) = yes]: Change conditionals to
45320         [$(build-shared) = yes].
45321         * extra-lib.mk [$(versioning) = yes]: Likewise.
45322         * hurd/Makefile [$(versioning) = yes]: Likewise.
45323         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
45324         [SHARED].
45325         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
45326         [SHARED].
45327         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45328         [SHARED && !NO_HIDDEN].
45329         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
45330         [SHARED].
45331         [SHARED && DO_VERSIONING]: Likewise..
45332         * libio/Makefile [$(versioning) = yes]: Change conditionals to
45333         [$(build-shared) = yes].
45334         * manual/install.texi (--disable-versioning): Remove
45335         documentation.
45336         * INSTALL: Regenerated.
45337         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
45338         to [SHARED].
45339         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
45340         [$(build-shared) = yes].
45341         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
45342         * sysdeps/i386/i686/multiarch/strstr-c.c
45343         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45344         [SHARED && !NO_HIDDEN].
45345         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
45346         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
45347         * sysdeps/powerpc/powerpc32/dl-machine.c
45348         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
45349         * sysdeps/powerpc/powerpc32/sysdep.h
45350         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
45351         to [SHARED && PIC && !NO_HIDDEN].
45352         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
45353         conditional to [SHARED].
45355 2013-09-04   Will Newton  <will.newton@linaro.org>
45357         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
45358         * benchtests/bench-string.h: Include bench-timing.h instead
45359         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
45360         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
45361         call to HP_TIMING_DIFF_INIT.
45362         * benchtests/bench-memccpy.c: Use bench-timing.h macros
45363         instead of hp-timing.h macros.
45364         * benchtests/bench-memchr.c: Likewise.
45365         * benchtests/bench-memcmp.c: Likewise.
45366         * benchtests/bench-memcpy.c: Likewise.
45367         * benchtests/bench-memmem.c: Likewise.
45368         * benchtests/bench-memmove.c: Likewise.
45369         * benchtests/bench-memset.c: Likewise.
45370         * benchtests/bench-rawmemchr.c: Likewise.
45371         * benchtests/bench-strcasecmp.c: Likewise.
45372         * benchtests/bench-strcasestr.c: Likewise.
45373         * benchtests/bench-strcat.c: Likewise.
45374         * benchtests/bench-strchr.c: Likewise.
45375         * benchtests/bench-strcmp.c: Likewise.
45376         * benchtests/bench-strcpy.c: Likewise.
45377         * benchtests/bench-strcpy_chk.c: Likewise.
45378         * benchtests/bench-strlen.c: Likewise.
45379         * benchtests/bench-strncasecmp.c: Likewise.
45380         * benchtests/bench-strncat.c: Likewise.
45381         * benchtests/bench-strncmp.c: Likewise.
45382         * benchtests/bench-strncpy.c: Likewise.
45383         * benchtests/bench-strnlen.c: Likewise.
45384         * benchtests/bench-strpbrk.c: Likewise.
45385         * benchtests/bench-strrchr.c: Likewise.
45386         * benchtests/bench-strspn.c: Likewise.
45387         * benchtests/bench-strstr.c: Likewise.
45389 2013-09-04  Will Newton  <will.newton@linaro.org>
45391         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
45393 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
45395         [BZ #15427]
45396         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
45397         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
45398         * math/libm-test.inc (lgamma_test_data): Add more tests.
45399         * sysdeps/i386/fpu/libm-test-ulps: Update.
45400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45402 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
45404         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
45405         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45406         Add ifunc.
45407         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45408         Add strcmp-sse2-unaligned
45409         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
45411 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45413         * Versions.def (libc): Add GLIBC_2.19.
45415 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45417         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
45418         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
45420 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
45422         [BZ #14155]
45423         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
45424         intermediate calculations in recurrence.
45425         (__ieee754_ynf): Likewise.
45426         * math/libm-test.inc (jn_test_data): Do not allow spurious
45427         underflow exception.  Add more tests.
45428         (yn_test_data): Add more tests.
45429         * sysdeps/i386/fpu/libm-test-ulps: Update.
45430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45432 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
45434         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
45436 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45438         * csu/init-first.c: Fix then/than typos.
45439         * locale/programs/ld-collate.c: Likewise.
45440         * locale/programs/linereader.h: Likewise.
45441         * manual/charset.texi: Likewise.
45442         * manual/filesys.texi: Likewise.
45443         * manual/stdio.texi: Likewise.
45444         * manual/string.texi: Likewise.
45445         * stdlib/fmtmsg.c: Likewise.
45446         * sysdeps/i386/stpncpy.S: Likewise.
45447         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45448         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45449         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45450         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45452 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45454         * elf/dl-open.c: Fix typos.
45455         * iconvdata/gbbig5.c: Likewise.
45456         * iconvdata/iso-2022-jp.c: Likewise.
45457         * iconv/gconv_int.h: Likewise.
45458         * iconv/loop.c: Likewise.
45459         * nis/rpcsvc/nis.h: Likewise.
45460         * resolv/ns_name.c: Likewise.
45461         * stdio-common/vfscanf.c: Likewise.
45462         * streams/stropts.h: Likewise.
45463         * sunrpc/rpc_thread.c: Likewise.
45464         * sysdeps/i386/strpbrk.S: Likewise.
45465         * sysdeps/ieee754/k_standard.c: Likewise.
45466         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45467         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45468         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
45469         * sysdeps/mach/hurd/profil.c: Likewise.
45470         * sysdeps/s390/dl-procinfo.h: Likewise.
45471         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
45472         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45473         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
45474         * sysdeps/x86_64/dl-trampoline.S: Likewise.
45475         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45477 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
45479         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
45480         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
45482 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
45484         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
45485         aix specific files.
45486         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
45487         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
45488         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
45489         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
45490         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
45491         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
45492         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
45493         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
45495 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45496             Roland McGrath  <roland@hack.frob.com>
45498         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
45499         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
45501 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45503         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
45504         __executable_start symbol instead of _start.
45506 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45508         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
45509         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
45510         Move macros to...
45511         * sysdeps/gnu/ldsodefs.h: ... this new file.
45513         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
45514         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
45515         instead of ELFOSABI_LINUX.
45517         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
45518         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
45519         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
45520         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
45521         Likewise.
45522         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
45523         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
45524         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
45525         Likewise.
45526         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45527         (ibm_extended_long_double): Add ieee_nan member.
45528         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
45529         (do_test): New function.
45531         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
45532         TEST_TRUNC.
45533         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
45534         functions, renamed from truncdfsf_test, trunctfsf_test,
45535         trunctfdf_test.
45536         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
45537         functions.
45538         (do_test): Run all these.
45540 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
45542         * argp/argp-help.c: Fix typos.
45543         * argp/argp-parse.c: Likewise.
45544         * debug/backtracesyms.c: Likewise.
45545         * elf/elf.h: Likewise.
45546         * malloc/malloc.c: Likewise.
45547         * nis/nis_print.c: Likewise.
45548         * resolv/res_comp.c: Likewise.
45549         * stdlib/stdlib.h: Likewise.
45550         * sunrpc/clnt_tcp.c: Likewise.
45551         * sunrpc/clnt_udp.c: Likewise.
45552         * sunrpc/clnt_unix.c: Likewise.
45553         * sysdeps/unix/bsd/ptsname.c: Likewise.
45554         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45555         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
45556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
45557         Likewise.
45558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
45559         Likewise.
45560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
45561         Likewise.
45562         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45564 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45566         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
45567         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45569 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
45571         [BZ #15897]
45572         * dlfcn/Makefile (tests): Add bug-dl-leaf.
45573         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
45574         ($(objpfx)bug-dl-leaf): New rule.
45575         ($(objpfx)bug-dl-leaf.so): Likewise.
45576         ($(objpfx)bug-dl-leaf.out): Likewise.
45577         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
45578         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
45579         * dlfcn/bug-dl-leaf.c: New test.
45580         * dlfcn/bug-dl-leaf-lib.c: Likewise.
45581         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
45582         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
45583         (dlclose): Likewise.
45584         (dlmopen): Likewise.
45586 2013-08-27  Roland McGrath  <roland@hack.frob.com>
45588         * include/netdb.h [!_ISOMAC]:
45589         Don't include <tls.h>.
45590         (h_errno, __libc_h_errno): Move declaration and macros out of
45591         [_LIBC_REENTRANT].
45593         * include/resolv.h [_RESOLV_H_]:
45594         Don't include <tls.h>.
45595         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45596         * resolv/res_libc.c: Don't include <tls.h>.
45597         (_res): Use __attribute__ ((nocommon)) in place of
45598         __attribute__ ((section (".bss"))).
45600         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45601         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45603         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45605         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45606         only under [SIOCGIFCONF && SIOCGIFNETMASK].
45608         * resolv/res_mkquery.c: Include <sys/time.h>.
45610         * inet/ifreq.c: Moved to ...
45611         * sysdeps/unix/ifreq.c: ... here.
45612         * inet/ifreq.c: New file, true stub version.
45614         * socket/sa_len.c: New file.
45615         * socket/Makefile (aux): Add it.
45616         * sysdeps/unix/sysv/linux/Makefile
45617         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45618         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45619         and #include <socket/sa_len.c>.
45620         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45621         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45623         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45624         * bits/socket.h: ... here.
45626         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45627         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45628         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45630 2013-08-27  Andreas Schwab  <schwab@suse.de>
45632         [BZ #15736]
45633         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45634         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45635         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45636         * string/test-strcasecmp.c (test_main): Run tests in several
45637         locales.
45638         * string/test-strncasecmp.c (test_main): Likewise.
45640         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45641         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45642         to __strcasecmp_nonascii and __strncasecmp_nonascii.
45643         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45644         (__strncasecmp_ssse3) [PIC]: Likewise.
45646 2013-08-26  Roland McGrath  <roland@hack.frob.com>
45648         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45650         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45651         instead of explicitly declaring xdecrypt.
45652         * nis/nss_nis/nis-publickey.c: Likewise.
45654 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45656         [BZ #15890]
45657         * nscd/aicache.c: Include res_hconf.h.
45658         (addhstaiX): Initialize res_hconf.
45660 2013-08-26  Andreas Schwab  <schwab@suse.de>
45662         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45663         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45665 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45667         * nscd/aicache.c (addhstaiX): Fix indentation.
45669 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
45671         * configure.ac: Quote $build_pt_chown test.
45672         * configure: Regenerated.
45674 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
45676         [BZ #15532]
45677         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45678         * math/s_cexpf.c (__cexpf): Likewise.
45679         * math/s_cexpl.c (__cexpl): Likewise.
45680         * math/libm-test.inc (cexp_test_data): Correct expected return
45681         value for NaN + i0.  Add another test.
45683 2013-08-22  David S. Miller  <davem@davemloft.net>
45685         * po/ca.po: Update Catalan translation from translation project.
45686         * po/uk.po: Add Ukrainian translations from translation project.
45688 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
45690         [BZ #15797]
45691         * math/s_fdim.c (__fdim): Check for infinite arguments if result
45692         is infinite, not alongside NaN test.
45693         * math/s_fdimf.c (__fdimf): Likewise.
45694         * math/s_fdiml.c (__fdiml): Likewise.
45695         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
45696         errno is unchanged.
45698 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
45700         * argp/argp-help.c: Fix typos.
45701         * crypt/speeds.c: Likewise.
45702         * csu/check_fds.c: Likewise.
45703         * elf/dl-load.c: Likewise.
45704         * elf/dl-open.c: Likewise.
45705         * elf/reldep3.c: Likewise.
45706         * elf/reldep.c: Likewise.
45707         * elf/sprof.c: Likewise.
45708         * iconv/iconv_charmap.c: Likewise.
45709         * iconv/skeleton.c: Likewise.
45710         * iconv/strtab.c: Likewise.
45711         * io/lockf64.c: Likewise.
45712         * libio/libioP.h: Likewise.
45713         * resolv/gai_notify.c: Likewise.
45714         * resolv/ns_name.c: Likewise.
45715         * resolv/ns_samedomain.c: Likewise.
45716         * resolv/res_send.c: Likewise.
45717         * stdlib/random.c: Likewise.
45718         * sunrpc/rpc/xdr.h: Likewise.
45719         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45720         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45721         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45722         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45723         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45724         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45725         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45726         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45727         * sysdeps/mach/hurd/check_fds.c: Likewise.
45728         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45729         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45730         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45731         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45732         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45733         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45734         * sysdeps/pthread/aio_notify.c: Likewise.
45735         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45736         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45737         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45738         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45739         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45741 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45743         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45744         version if bit_Slow_SSE4_2 is set.
45745         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45746         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45748 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45750         [BZ #15867]
45751         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45752         trampoline stack frame information.
45753         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45754         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45755         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45756         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45757         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45758         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45759         (_libc_vdso_platform_setup): Initialize the signal trampolines.
45760         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45761         sa_flags value.
45762         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45763         interrupting a syscall and set with option SA_SIGINFO.
45765 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45767         [BZ #15531]
45768         * math/s_cproj.c (__cproj): Only return an infinity if one part of
45769         argument is infinite.
45770         * math/s_cprojf.c (__cprojf): Likewise.
45771         * math/s_cprojl.c (__cprojl): Likewise.
45772         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45773         * math/libm-test.inc (cproj_test_data): Add more tests.
45775         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45777         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45778         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45779         size.  Use __ffs to determine corresponding shift.
45781 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45782             Roland McGrath  <roland@hack.frob.com>
45784         * Makefile (INSTALL): Remove trailing blank lines from output of
45785         makeinfo.
45787 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45789         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45790         Align 32 bit compat elf_greg to 8 bytes.
45792 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
45794         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45796 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45798         * string/strcoll_l.c (coll_seq): New structure.
45799         (get_next_seq_cached): New function.
45800         (get_next_seq): New function.
45801         (do_compare): New function.
45802         (STRCOLL): Use GNU style definition.  Simplify implementation
45803         by using get_next_seq, get_next_seq_cached and do_compare.
45805 2013-08-16  Florian Weimer  <fweimer@redhat.com>
45807         [BZ #14699]
45808         CVE-2013-4237
45809         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45810         member.
45811         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45812         member.
45813         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45814         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45815         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
45816         conditional.
45817         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45818         GETDENTS_64BIT_ALIGNED.
45819         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45820         * manual/filesys.texi (Reading/Closing Directory): Document
45821         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
45822         strongly.
45823         * manual/conf.texi (Limits for Files): Add portability note to
45824         NAME_MAX, PATH_MAX.
45825         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45827 2013-08-13  Andreas Schwab  <schwab@suse.de>
45829         [BZ #15749]
45830         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45831         of fabs.
45832         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45833         LDBL_MAX_EXP >= 16384]: Add tests for it.
45835 2013-08-12  David S. Miller  <davem@davemloft.net>
45837         * version.h (RELEASE): Set to "development".
45838         (VERSION): Set to "2.18.90".
45839         * NEWS: Add 2.19 section.
45841 2013-08-03  David S. Miller  <davem@davemloft.net>
45843         * po/ko.po: Update Korean translation from translation project.
45845 2013-08-01  David S. Miller  <davem@davemloft.net>
45847         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
45848         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45849         Bilka.
45851 2013-07-30  David S. Miller  <davem@davemloft.net>
45853         * po/fr.po: Update French translation from translation project.
45855 2013-07-28  David S. Miller  <davem@davemloft.net>
45857         * po/cs.po: Update Czech translation from translation project.
45859         * po/sv.po: Update Swedish translation from translation project.
45861 2013-07-27  David S. Miller  <davem@davemloft.net>
45863         * po/eo.po: Update Esperanto translation from translation project.
45865         * po/vi.po: Update Vietnamese translation from translation project.
45867         * po/de.po: Update German translation from translation project.
45869 2013-07-26  David S. Miller  <davem@davemloft.net>
45871         * po/bg.po: Update Bulgarian translation from translation project.
45873         * po/nl.po: Update Dutch translation from translation project.
45874         * po/pl.po: Update Polish translation from translation project.
45875         * po/ru.po: Update Russian translation from translation project.
45877 2013-07-24  David S. Miller  <davem@davemloft.net>
45879         * po/libc.pot: Update.
45881 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45883         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45884         variable page size.
45885         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45886         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45887         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45889 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45891         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45893 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45894             Andreas Schwab  <schwab@suse.de>
45895             Roland McGrath  <roland@hack.frob.com>
45896             Joseph Myers  <joseph@codesourcery.com>
45897             Carlos O'Donell  <carlos@redhat.com>
45899         [BZ #15755]
45900         * config.h.in: Define HAVE_PT_CHOWN.
45901         * config.make.in (build-pt-chown): New variable.
45902         * configure.in (--enable-pt_chown): New configure option.
45903         * configure: Regenerate.
45904         * login/Makefile: Include Makeconfig.  Build pt_chown only if
45905         build-pt-chown is enabled.
45906         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45907         pt_chown to fix pty ownership.
45908         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45909         CLOSE_ALL_FDS.
45910         * manual/install.texi (Configuring and compiling): Mention
45911         --enable-pt_chown. Add @findex for grantpt.
45912         * INSTALL: Regenerate.
45914 2013-07-20  David S. Miller  <davem@davemloft.net>
45916         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45917         difference between 32-bit and 64-bit.
45919 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
45921         [BZ #15711]
45922         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45923         Avoid system header dependency with -ffreestanding.
45924         ($(objpfx)bits/syscall%d): Likewise.
45926 2013-07-13  David S. Miller  <davem@davemloft.net>
45928         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45929         underflows from atanl/atan2l due to bug 15319.
45930         (casinh_test_data): Likewise.
45932 2013-07-07  David S. Miller  <davem@davemloft.net>
45934         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45936 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
45938         * sysdeps/i386/fpu/libm-test-ulps: Update.
45939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45941 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45943         * configure.in (--enable-lock-elision): Fix message text.
45944         * INSTALL: Regenerate.
45945         * configure: Regenerate.
45947 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45951 2013-07-03  Andreas Jaeger  <aj@suse.de>
45953         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45954         define.
45955         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45956         (ptrace_peeksiginfo_args): Add.
45957         (__ptrace_peeksiginfo_flags): Add.
45958         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45959         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45960         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45962 2013-07-03  Allan McRae  <allan@archlinux.org>
45964         * sysdeps/i386/fpu/libm-test-ulps: Update.
45966 2013-07-02  David S. Miller  <davem@davemloft.net>
45968         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45970 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
45972         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45974 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45976         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45979 2013-07-02  Andi Kleen <ak@linux.intel.com>
45981         * config.h.in (ENABLE_LOCK_ELISION): Add.
45982         * configure.in (--enable-lock-elision): Add option.
45983         * manual/install.texi: Document --enable lock elision.
45984         * configure: Regenerate
45985         * INSTALL: Regenerate.
45987 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
45989         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45990         SSE4.2 strcasecmp for libc.a.
45991         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45993 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45995         [BZ #13304]
45996         * soft-fp/op-common.h (_FP_FMA): New macro.
45997         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45998         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
45999         (_FP_MUL_MEAT_1_imm): ... here.
46000         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
46001         (_FP_MUL_MEAT_1_wide): ... here.
46002         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
46003         (_FP_MUL_MEAT_1_hard): ... here.
46004         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
46005         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
46006         (_FP_MUL_MEAT_2_wide): ... here.
46007         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
46008         (_FP_MUL_MEAT_2_wide_3mul): ... here.
46009         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
46010         (_FP_MUL_MEAT_2_gmp): ... here.
46011         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
46012         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
46013         (_FP_MUL_MEAT_4_wide): ... here.
46014         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
46015         (_FP_MUL_MEAT_4_gmp): ... here.
46016         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
46017         (_FP_WFRACBITS_DW_S): Likewise.
46018         (_FP_WFRACXBITS_DW_S): Likewise.
46019         (_FP_HIGHBIT_DW_S): Likewise.
46020         (FP_FMA_S): Likewise.
46021         (_FP_FRAC_HIGH_DW_S): Likewise.
46022         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
46023         (_FP_WFRACBITS_DW_D): Likewise.
46024         (_FP_WFRACXBITS_DW_D): Likewise.
46025         (_FP_HIGHBIT_DW_D): Likewise.
46026         (FP_FMA_D): Likewise.
46027         (_FP_FRAC_HIGH_DW_D): Likewise.
46028         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
46029         (_FP_WFRACBITS_DW_E): Likewise.
46030         (_FP_WFRACXBITS_DW_E): Likewise.
46031         (_FP_HIGHBIT_DW_E): Likewise.
46032         (FP_FMA_E): Likewise.
46033         (_FP_FRAC_HIGH_DW_E): Likewise.
46034         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
46035         (_FP_WFRACBITS_DW_Q): Likewise.
46036         (_FP_WFRACXBITS_DW_Q): Likewise.
46037         (_FP_HIGHBIT_DW_Q): Likewise.
46038         (FP_FMA_Q): Likewise.
46039         (_FP_FRAC_HIGH_DW_Q): Likewise.
46040         * soft-fp/fmasf4.c: New file.
46041         * soft-fp/fmadf4.c: Likewise.
46042         * soft-fp/fmatf4.c: Likewise.
46044 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46046         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46047         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
46048         Silvermont.
46049         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
46050         macro.
46051         (index_Slow_SSE4_2): Likewise.
46052         (index_Prefer_PMINUB_for_stringop): Likewise.
46053         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
46054         bit_Slow_SSE4_2 is set.
46055         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46056         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46058 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46060         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
46061         rtld_global._dl_hwcap2.
46062         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
46063         POWER8.
46064         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
46065         POWER8 feature descriptions defined in _dl_hwcap2.
46066         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
46067         string handling for POWER8 feature bits.
46068         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
46069         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
46070         _dl_powerpc_cap_flags.
46071         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
46072         * sysdeps/powerpc/rtld-global-offsets.sym
46073         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
46074         _dl_hwcap2 in the rtld_global_ro structure.
46076 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46078         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
46079         hardware capabilities in support of AT_HWCAP2.
46080         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
46081         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
46082         GLRO(dl_hwcap2).
46083         (_dl_show_auxv): Add support for calling _dl_procinfo to display
46084         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
46085         explicitly the unknown a_type display mechanism is used.
46086         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
46087         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
46088         struct member.
46089         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
46090         to macro prototype for AT_HWCAP2 support.
46091         * sysdeps/i386/dl-procinfo.h: Likewise.
46092         * sysdeps/s390/dl-procinfo.h: Likewise.
46093         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
46094         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
46095         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
46096         return -1 for unknown a_type display fallback.
46097         * sysdeps/sparc/dl-procinfo.h: Likewise.
46098         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
46099         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
46101 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
46103         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
46104         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
46106 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
46108         [BZ #12492]
46109         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
46110         mprotect making __stack_prot writable.
46112 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
46113             Joseph Myers  <joseph@codesourcery.com>
46115         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
46116         as being properly aligned.
46118 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
46120         * dlfcn/modstatic5.c: New file.
46121         * dlfcn/tststatic5.c: New file.
46122         * dlfcn/Makefile (tests): Add tststatic5.
46123         (tests-static): Likewise.
46124         (modules-names): Add modstatic5.
46125         (tststatic5-ENV): New variable.
46126         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
46128         [BZ #15022]
46129         * elf/dl-support.c (_dl_main_map): New variable.
46130         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
46131         (_dl_nns, _dl_load_adds): Set to 1.
46132         (_dl_initial_searchlist): Refer to _dl_main_map.
46133         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
46134         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
46135         call to _dl_get_origin.
46136         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
46137         around call_map.
46138         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
46139         * dlfcn/modstatic3.c: New file.
46140         * dlfcn/tststatic3.c: New file.
46141         * dlfcn/tststatic4.c: New file.
46142         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
46143         (tests-static): Likewise.
46144         (modules-names): Add modstatic3.
46145         (tststatic3-ENV, tststatic4-ENV): New variables.
46146         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
46147         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
46149 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
46151         * configure.in (CC): Require GCC version 4.4 or later.
46152         * configure: Regenerated.
46153         * manual/install.texi (Tools for Compilation): Update GCC version
46154         requirement.
46155         * INSTALL: Regenerated.
46157 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46159         [BZ #15674]
46160         * string/test-memcmp.c (check2): New.
46161         (main): Call check2.
46163         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
46165 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
46167         [BZ #15022]
46168         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
46169         over to...
46170         (dl_open_worker) [!SHARED]: ... here.
46172 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46174         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
46176 2013-06-25  Richard Henderson  <rth@redhat.com>
46178         * locale/programs/locarchive.c: Include <libc-internal.h>
46180 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
46182         * manual/texinfo.tex: Update to version 2013-06-21.17, with
46183         trailing whitespace removed.
46185 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46187         [BZ #10283]
46188         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
46189         * locale/programs/locarchive.c: Include libc-mmap.h.
46190         (prepare_address_space): Take two new outputs (the mmap base and len).
46191         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
46192         values.
46193         (create_archive): Declare new mmap base and len values for
46194         prepare_address_space, and store the result in ah.
46195         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
46196         (enlarge_archive): If ah->mmap_base is not NULL, use that and
46197         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46198         Declare new mmap base and len values for
46199         prepare_address_space, and store the result in new_ah.
46200         (open_archive): Declare new mmap base and len values for
46201         prepare_address_space, and store the result in ah.
46202         (close_archive): If ah->mmap_base is not NULL, use that and
46203         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46204         * sysdeps/generic/libc-mmap.h: New file.
46206 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46208         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
46209         (ALIGN_UP): Likewise.
46210         (PTR_ALIGN_DOWN): Likewise.
46211         (PTR_ALIGN_UP): Likewise.
46213 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46215         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
46216         entry mapped to PPC_PLATFORM_POWER8.
46217         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
46218         POWER8.
46219         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
46220         (_dl_string_platform): Add case for exporting platform position for
46221         POWER8.
46222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
46223         search path to sysdeps/powerpc/powerpc32/power8 directory.
46224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
46225         search path to sysdeps/powerpc/powerpc64/power8 directory.
46226         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
46227         power7 directories.
46228         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
46229         power7 directories.
46231 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46233         * INSTALL: Regenerate.
46235         * nscd/connections.c (nscd_init): Fix comment.
46237 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
46239         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
46241         [BZ #15667]
46242         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
46243         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
46245 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46247         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
46248         DL_DST_REQ_STATIC.
46249         (DL_DST_REQ_STATIC): Remove macro.
46251 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
46253         [BZ #7006]
46254         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
46255         with a shift of 0 bits.
46257 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46259         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
46260         $(tststatic-ENV).
46262 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46264         [BZ #15655]
46265         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
46267 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46269         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
46270         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
46271         accepts -fno-tree-loop-distribute-patterns.
46272         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
46273         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
46274         recursive call.
46275         * string/memset.c (memset): Likewise.
46276         * string/test-memmove.c (simple_memmove): Disable loop transformation
46277         to library calls.
46278         * string/test-memset.c (simple_memset): Likewise.
46279         * benchtests/bench-memmove.c (simple_memmove): Likewise.
46280         * benchtests/bench-memset.c (simple_memset): Likewise.
46281         * configure: Regenerated.
46283 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
46285         * math/test-misc.c (main): Ignore fesetround failure when failures
46286         of subsequent rounding tests would be ignored.
46288         [BZ #15654]
46289         * math/fedisblxcpt.c (fedisableexcept): Return 0.
46290         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
46291         * math/fegetenv.c (__fegetenv): Return 0.
46292         * math/fegetexcept.c (fegetexcept): Return 0.
46293         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
46294         FE_TONEAREST.
46295         * math/feholdexcpt.c (feholdexcept): Return 0.
46296         * math/fesetenv.c (__fesetenv): Return 0.
46297         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
46298         argument FE_TONEAREST.
46299         * math/feupdateenv.c (__feupdateenv): Return 0.
46300         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
46302 2013-06-18  Roland McGrath  <roland@hack.frob.com>
46304         * elf/rtld-Rules (rtld-compile-command.S): New variable.
46305         (rtld-compile-command.s, rtld-compile-command.c): New variables.
46306         ($(objpfx)rtld-%.os rules): Use them.
46308 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46310         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
46311         fields.
46313 2013-06-17  Roland McGrath  <roland@hack.frob.com>
46315         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
46316         length of target pattern, then descending length of dependency pattern.
46317         * configure.in (AWK): Require gawk 3.1.2 or newer.
46318         * manual/install.texi (Tools for Compilation): Say that we do.
46319         * configure: Regenerated.
46321         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
46322         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
46323         * scripts/sysd-rules.awk: ... this new script.
46324         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
46325         than a glob-style pattern.
46327 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
46329         * math/test-misc.c (main): Do not treat incorrectly rounded
46330         conversions as failure unless ROUNDING_TESTS passes.
46332 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
46334         [BZ #15631]
46335         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
46336         restore exception state around main square root computation, then
46337         check for inexactness explicitly.
46339         * math/libm-test.inc (fma_test_data): Add another test.
46341 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46343         * manual/threads.texi (Non-POSIX Extensions): New document
46344         node.  Document pthread_getattr_default_np and
46345         pthread_setattr_default_np.
46347         * Versions.def (libpthread): Add GLIBC_2.18.
46348         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
46349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46350         Likewise.
46351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46352         Likewise.
46353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46354         Likewise.
46355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46356         Likewise.
46357         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
46358         Likewise.
46359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46360         Likewise.
46361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46362         Likewise.
46363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46364         Likewise.
46365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46366         Likewise.
46368 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46370         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46371         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
46373 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46374             H.J. Lu  <hjl.tools@gmail.com>
46376         [BZ #15627]
46377         * sysdeps/x86_64/rtld-memset.c: Remove file.
46378         * sysdeps/x86_64/rtld-memset.S: New file.
46380 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
46382         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
46383         (test_in_one_mode): Take arguments for whether the rounding mode
46384         is supported for each floating-point type.
46385         (do_test): Pass new arguments to test_in_one_mode using
46386         ROUNDING_TESTS.
46388 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46390         * posix/tst-waitid.c (do_test): Distinguish different instances of
46391         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
46392         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
46393         before entering the kernel for waitpid.
46395 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46397         * NEWS: Fix note on clock function precision.  Text by Roland
46398         McGrath.
46400 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46402         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
46403         it into place only when and if the sanity check passes.
46405 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
46407         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
46408         output for whether conversion result is exact.  Take argument
46409         indicating whether type is IBM long double.
46410         (round_for_all): Change need_exact field to ibm_ld.
46411         * stdlib/tst-strtod-round.c (struct exactness): New type.
46412         (struct test): Change bool ld_ok field to struct exactness exact.
46413         (TEST): Update all definitions for change to field.
46414         (tests): Regenerate array contents.
46415         (test_in_one_mode): Take pointer to new field instead of old ld_ok
46416         field value.  Check for IBM long double here.
46417         (do_test): Update calls to test_in_one_mode.
46419 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46421         [BZ #12515]
46422         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
46423         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
46425 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46427         [BZ #15605]
46428         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
46429         generated by the compiler on loop optimizations.
46430         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
46431         general definitions.
46433 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
46435         * math/bug-nextafter.c: Include <math-tests.h>.
46436         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46437         the relevant type.
46438         * math/bug-nexttoward.c: Include <math-tests.h>.
46439         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46440         the relevant type.
46441         * math/test-misc.c: Include <math-tests.h>.
46442         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46443         the relevant type.
46445 2013-06-12  Andreas Jaeger  <aj@suse.de>
46447         * po/ia.po: Update Interlingua translation from translation
46448         project.
46450 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46452         * include/fenv.h: Include stdbool.h.
46453         (struct rm_ctx): New structure.
46454         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
46455         Define macro.
46456         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
46457         (SET_RESTORE_ROUNDF): Likewise.
46458         (SET_RESTORE_ROUNDL): Likewise.
46459         (SET_RESTORE_ROUND_NOEX): Likewise.
46460         (SET_RESTORE_ROUND_NOEXF): Likewise.
46461         (SET_RESTORE_ROUND_NOEXL): Likewise.
46462         (SET_RESTORE_ROUND_53BIT): Likewise.
46463         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46464         (libc_feresetround_noexf_ctx): Likewise.
46465         (libc_feresetround_noexl_ctx): Likewise.
46466         (libc_feholdsetround_53bit_ctx): Likewise.
46467         (libc_feresetround_53bit_ctx): Likewise.
46468         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
46469         (libc_feholdexcept_setround_sse_ctx): New function.
46470         (libc_fesetenv_sse_ctx): Likewise.
46471         (libc_feupdateenv_sse_ctx): Likewise.
46472         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
46473         (libc_feholdexcept_setround_387_ctx): Likewise.
46474         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
46475         (libc_feholdsetround_387_prec_ctx): Likewise.
46476         (libc_feholdsetround_387_ctx): Likewise.
46477         (libc_feholdsetround_387_53bit_ctx): Likewise.
46478         (libc_feholdsetround_sse_ctx): Likewise.
46479         (libc_feresetround_sse_ctx): Likewise.
46480         (libc_feresetround_387_ctx): Likewise.
46481         (libc_feupdateenv_387_ctx): Likewise.
46482         (libc_feholdexcept_setroundf_ctx): Define macro.
46483         (libc_fesetenvf_ctx): Likewise.
46484         (libc_feupdateenvf_ctx): Likewise.
46485         (libc_feholdsetroundf_ctx): Likewise.
46486         (libc_feresetroundf_ctx): Likewise.
46487         (libc_feholdexcept_setround_ctx): Likewise.
46488         (libc_fesetenv_ctx): Likewise.
46489         (libc_feupdateenv_ctx): Likewise.
46490         (libc_feholdsetround_ctx): Likewise.
46491         (libc_feresetround_ctx): Likewise.
46492         (libc_feholdexcept_setroundl_ctx): Likewise.
46493         (libc_feupdateenvl_ctx): Likewise.
46494         (libc_feholdsetroundl_ctx): Likewise.
46495         (libc_feresetroundl_ctx): Likewise.
46496         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
46497         (libc_feresetround_53bit_ctx): Likewise.
46499 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46501         * locale/iso-639.def: Convert to UTF-8.
46503 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
46505         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
46506         (EXCEPTION_TESTS_double): Likewise.
46507         (EXCEPTION_TESTS_long_double): Likewise.
46508         (EXCEPTION_TESTS): Likewise.
46509         * math/libm-test.inc (test_exceptions): Only test exceptions if
46510         EXCEPTION_TESTS (FLOAT).
46512 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46514         * benchtests/Makefile (string-bench): Add strcpy_chk and
46515         stpcpy_chk.
46516         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
46517         * benchtests/bench-stpcpy_chk.c: New file.
46518         * benchtests/bench-strcpy_chk-ifunc.c: New file.
46519         * benchtests/bench-strcpy_chk.c: New file.
46520         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
46521         code.
46522         (do_test): Likewise.
46524 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46526         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
46527         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
46528         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
46529         with tabs where appropriate.
46530         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
46531         dl-procinfo.h.
46532         [PPC_PLATFORM_PPC440]: Likewise.
46533         [PPC_PLATFORM_PPC464]: Likewise.
46534         [PPC_PLATFORM_PPC476]: Likewise.
46535         (_dl_string_platform): Add support for detecting ppc405, ppc440,
46536         ppc464, and ppc476 platform strings merging from ports/
46537         dl-procinfo.h.
46539 2013-06-11  Andreas Schwab  <schwab@suse.de>
46541         [BZ #14991]
46542         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
46543         (from_ucs4_idx): Regenerate.
46544         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
46545         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
46546         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
46547         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
46548         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
46549         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
46550         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
46551         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
46552         from FROM_LOOP and TO_LOOP specific macros.
46553         (BODY): Handle combining characters.
46554         * iconvdata/BIG5HKSCS.irreversible: Update.
46555         * iconvdata/BIG5HKSCS.precomposed: New file.
46556         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
46557         characters.
46558         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
46560 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46562         * include/sys/time.h: Fix indentation and add copyright header.
46564         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
46565         (do_test): Likewise.
46566         * string/test-memchr.c (do_one_test): Likewise.
46567         (do_test): Likewise.
46568         * string/test-memcmp.c (do_one_test): Likewise.
46569         (do_test): Likewise.
46570         * string/test-memcpy.c (do_one_test): Likewise.
46571         (do_test): Likewise.
46572         * string/test-memmem.c (do_one_test): Likewise.
46573         (do_test): Likewise.
46574         (do_random_tests): Likewise.
46575         * string/test-memmove.c (do_one_test): Likewise.
46576         (do_test): Likewise.
46577         * string/test-memset.c (do_one_test): Likewise.
46578         (do_test): Likewise.
46579         * string/test-rawmemchr.c (do_one_test): Likewise.
46580         (do_test): Likewise.
46581         * string/test-strcasecmp.c (do_one_test): Likewise.
46582         (do_test): Likewise.
46583         * string/test-strcasestr.c (do_one_test): Likewise.
46584         (do_test): Likewise.
46585         * string/test-strcat.c (do_one_test): Likewise.
46586         (do_test): Likewise.
46587         * string/test-strchr.c (do_one_test): Likewise.
46588         (do_test): Likewise.
46589         * string/test-strcmp.c (do_one_test): Likewise.
46590         (do_test): Likewise.
46591         * string/test-strcpy.c (do_one_test): Likewise.
46592         (do_test): Likewise.
46593         * string/test-string.h: Likewise.
46594         (test_init): Likewise.
46595         * string/test-strlen.c (do_one_test): Likewise.
46596         (do_test): Likewise.
46597         * string/test-strncasecmp.c (do_one_test): Likewise.
46598         (do_test): Likewise.
46599         * string/test-strncat.c (do_one_test): Likewise.
46600         (do_test): Likewise.
46601         * string/test-strncmp.c (do_one_test): Likewise.
46602         (do_test_limit): Likewise.
46603         (do_test): Likewise.
46604         * string/test-strncpy.c (do_one_test): Likewise.
46605         (do_test): Likewise.
46606         * string/test-strnlen.c (do_one_test): Likewise.
46607         (do_test): Likewise.
46608         * string/test-strpbrk.c (do_one_test): Likewise.
46609         (do_test): Likewise.
46610         * string/test-strrchr.c (do_one_test): Likewise.
46611         (do_test): Likewise.
46612         * string/test-strspn.c (do_one_test): Likewise.
46613         (do_test): Likewise.
46614         * string/test-strstr.c (do_one_test): Likewise.
46615         (do_test): Likewise.
46617         * benchtests/Makefile (string-bench): Add string benchmarks.
46618         * benchtests/bench-bcopy-ifunc.c: New file.
46619         * benchtests/bench-bcopy.c: New file.
46620         * benchtests/bench-bzero-ifunc.c: New file.
46621         * benchtests/bench-bzero.c: New file.
46622         * benchtests/bench-memccpy-ifunc.c: New file.
46623         * benchtests/bench-memccpy.c: New file.
46624         * benchtests/bench-memchr-ifunc.c: New file.
46625         * benchtests/bench-memchr.c: New file.
46626         * benchtests/bench-memcmp-ifunc.c: New file.
46627         * benchtests/bench-memcmp.c: New file.
46628         * benchtests/bench-memmem-ifunc.c: New file.
46629         * benchtests/bench-memmem.c: New file.
46630         * benchtests/bench-memmove-ifunc.c: New file.
46631         * benchtests/bench-memmove.c: New file.
46632         * benchtests/bench-mempcpy-ifunc.c: New file.
46633         * benchtests/bench-mempcpy.c: New file.
46634         * benchtests/bench-memset-ifunc.c: New file.
46635         * benchtests/bench-memset.c: New file.
46636         * benchtests/bench-rawmemchr-ifunc.c: New file.
46637         * benchtests/bench-rawmemchr.c: New file.
46638         * benchtests/bench-stpcpy-ifunc.c: New file.
46639         * benchtests/bench-stpcpy.c: New file.
46640         * benchtests/bench-stpncpy-ifunc.c: New file.
46641         * benchtests/bench-stpncpy.c: New file.
46642         * benchtests/bench-strcasecmp-ifunc.c: New file.
46643         * benchtests/bench-strcasecmp.c: New file.
46644         * benchtests/bench-strcasestr-ifunc.c: New file.
46645         * benchtests/bench-strcasestr.c: New file.
46646         * benchtests/bench-strcat-ifunc.c: New file.
46647         * benchtests/bench-strcat.c: New file.
46648         * benchtests/bench-strchr-ifunc.c: New file.
46649         * benchtests/bench-strchr.c: New file.
46650         * benchtests/bench-strchrnul-ifunc.c: New file.
46651         * benchtests/bench-strchrnul.c: New file.
46652         * benchtests/bench-strcmp-ifunc.c: New file.
46653         * benchtests/bench-strcmp.c: New file.
46654         * benchtests/bench-strcpy-ifunc.c: New file.
46655         * benchtests/bench-strcpy.c: New file.
46656         * benchtests/bench-strcspn-ifunc.c: New file.
46657         * benchtests/bench-strcspn.c: New file.
46658         * benchtests/bench-strlen-ifunc.c: New file.
46659         * benchtests/bench-strlen.c: New file.
46660         * benchtests/bench-strncasecmp-ifunc.c: New file.
46661         * benchtests/bench-strncasecmp.c: New file.
46662         * benchtests/bench-strncat-ifunc.c: New file.
46663         * benchtests/bench-strncat.c: New file.
46664         * benchtests/bench-strncmp-ifunc.c: New file.
46665         * benchtests/bench-strncmp.c: New file.
46666         * benchtests/bench-strncpy-ifunc.c: New file.
46667         * benchtests/bench-strncpy.c: New file.
46668         * benchtests/bench-strnlen-ifunc.c: New file.
46669         * benchtests/bench-strnlen.c: New file.
46670         * benchtests/bench-strpbrk-ifunc.c: New file.
46671         * benchtests/bench-strpbrk.c: New file.
46672         * benchtests/bench-strrchr-ifunc.c: New file.
46673         * benchtests/bench-strrchr.c: New file.
46674         * benchtests/bench-strspn-ifunc.c: New file.
46675         * benchtests/bench-strspn.c: New file.
46676         * benchtests/bench-strstr-ifunc.c: New file.
46677         * benchtests/bench-strstr.c: New file.
46679         * benchtests/Makefile: Disable parallel execution of targets.
46680         (string-bench): Add memcpy.
46681         (benchset): New variable to store a list of benchmark sets.
46682         (bench-func): Renamed from bench.
46683         (bench-set): New target.
46684         (bench): Depend on bench-func and bench-set.
46685         * benchtests/README: Add section on benchmark sets.
46686         * benchtests/bench-memcpy-ifunc.c: New file.
46687         * benchtests/bench-memcpy.c: New file.
46688         * benchtests/bench-string.h: New file.
46690 2013-06-11  Andreas Schwab  <schwab@suse.de>
46692         [BZ #15577]
46693         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46694         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46695         values in the triple.
46696         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46697         terminator in the group key.
46699 2013-06-11  Andreas Jaeger  <aj@suse.de>
46701         * po/zh_TW.po: Update Chinese (traditional) translation from
46702         translation project.
46704 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46706         * include/time.h (__clock_gettime): Add libc_hidden_proto.
46707         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46708         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
46709         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46710         (clock_getcpuclockid): Likewise.
46711         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46712         Add weak_alias and libc_hidden_def.
46713         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46714         * rt/clock_gettime.c (clock_gettime): Rename to
46715         __clock_gettime.  Add weak_alias and libc_hidden_def.
46716         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46717         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46718         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
46719         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46720         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46721         Likewise.
46722         * rt/clock_settime.c (clock_settime): Rename to
46723         __clock_settime.  Add weak_alias and libc_hidden_def.
46724         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46726 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
46728         * mach/err_boot.sub: Remove trailing whitespace.
46729         * mach/err_ipc.sub: Likewise.
46730         * mach/err_mach.sub: Likewise.
46732         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46733         (ROUNDING_TESTS_double): Likewise.
46734         (ROUNDING_TESTS_long_double): Likewise.
46735         (ROUNDING_TESTS): Likewise.
46736         * math/libm-test.inc: Include <math-tests.h>.
46737         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46738         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46739         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46740         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46742 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46744         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46745         of assigning.
46747 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
46749         * sysdeps/gnu/errlist.awk: Do not generate space at end of
46750         otherwise empty TRANS lines.
46751         * sysdeps/gnu/errlist.c: Regenerated.
46753         * catgets/gencat.c (error_print): Use (void) in function
46754         definition.
46755         * crypt/crypt_util.c (__init_des): Likewise.
46756         * crypt/speeds.c (Stop): Likewise.
46757         (main): Likewise.
46758         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46759         * inet/ruserpass.c (token): Likewise.
46760         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46761         * intl/localealias.c (extend_alias_table): Likewise.
46762         * intl/plural-exp.c (init_germanic_plural): Likewise.
46763         * libio/fcloseall.c (__fcloseall): Likewise.
46764         * libio/genops.c (_IO_flush_all): Likewise.
46765         (_IO_flush_all_linebuffered): Likewise.
46766         (_IO_cleanup): Likewise.
46767         (_IO_iter_begin): Likewise.
46768         (_IO_iter_end): Likewise.
46769         (_IO_list_lock): Likewise.
46770         (_IO_list_unlock): Likewise.
46771         (_IO_list_resetlock): Likewise.
46772         * libio/getchar.c (getchar): Likewise.
46773         * libio/getchar_u.c (getchar_unlocked): Likewise.
46774         * libio/getwchar.c (getwchar): Likewise.
46775         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46776         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46777         * login/getpt.c (__getpt): Likewise.
46778         * login/tst-utmp.c (main): Likewise.
46779         * malloc/hooks.c (__malloc_check_init): Likewise.
46780         * malloc/malloc.c (__malloc_stats): Likewise.
46781         * malloc/mtrace.c (tr_break): Likewise.
46782         (mtrace): Likewise.
46783         (muntrace): Likewise.
46784         * misc/fstab.c (endfsent): Likewise.
46785         * misc/getclktck.c (__getclktck): Likewise.
46786         * misc/getdtsz.c (__getdtablesize): Likewise.
46787         * misc/gethostid.c (gethostid): Likewise.
46788         * misc/getpagesize.c (__getpagesize): Likewise.
46789         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46790         (__get_nprocs): Likewise.
46791         (__get_phys_pages): Likewise.
46792         (__get_avphys_pages): Likewise.
46793         * misc/getttyent.c (getttyent): Likewise.
46794         (setttyent): Likewise.
46795         (endttyent): Likewise.
46796         * misc/getusershell.c (getusershell): Likewise.
46797         (endusershell): Likewise.
46798         (setusershell): Likewise.
46799         (initshells): Likewise.
46800         * misc/hsearch.c (__hdestroy): Likewise.
46801         * misc/sync.c (sync): Likewise.
46802         * misc/syslog.c (closelog_internal): Likewise.
46803         (closelog): Likewise.
46804         * misc/ttyslot.c (ttyslot): Likewise.
46805         * misc/vhangup.c (vhangup): Likewise.
46806         * posix/fork.c (__fork): Likewise.
46807         * posix/getegid.c (__getegid): Likewise.
46808         * posix/geteuid.c (__geteuid): Likewise.
46809         * posix/getgid.c (__getgid): Likewise.
46810         * posix/getpid.c (__getpid): Likewise.
46811         * posix/getppid.c (__getppid): Likewise.
46812         * posix/getuid.c (__getuid): Likewise.
46813         * posix/pause.c (pause): Likewise.
46814         * posix/setpgrp.c (setpgrp): Likewise.
46815         * posix/setsid.c (__setsid): Likewise.
46816         * posix/test-vfork.c (noop): Likewise.
46817         * resolv/gethnamaddr.c (_endhtent): Likewise.
46818         (_gethtent): Likewise.
46819         (ht_endhostent): Likewise.
46820         (gethostent): Likewise.
46821         (dns_service): Likewise.
46822         * stdlib/drand48.c (drand48): Likewise.
46823         * stdlib/lrand48.c (lrand48): Likewise.
46824         * stdlib/mrand48.c (mrand48): Likewise.
46825         * stdlib/rand.c (rand): Likewise.
46826         * stdlib/random.c (__random): Likewise.
46827         * stdlib/setenv.c (clearenv): Likewise.
46828         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46829         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46830         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46831         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46832         (__get_nprocs): Likewise.
46833         (__get_phys_pages): Likewise.
46834         (__get_avphys_pages): Likewise.
46835         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46836         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46837         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46838         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46839         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46840         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46841         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46842         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46843         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46844         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46845         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46846         * sysdeps/mach/hurd/sync.c (sync): Likewise.
46847         * sysdeps/posix/clock.c (clock): Likewise.
46848         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46849         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46850         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46851         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46852         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46853         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46854         (__get_nprocs_conf): Likewise.
46855         (__get_phys_pages): Likewise.
46856         (__get_avphys_pages): Likewise.
46857         * time/clock.c (clock): Likewise.
46858         * time/tzset.c (__tzname_max): Likewise.
46860 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
46862         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46863         (__bswap_32): Do not use "register".
46864         * crypt/crypt.c (_ufc_doit_r): Likewise.
46865         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46866         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46867         * gmon/gmon.c (__monstartup): Likewise.
46868         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46869         * hurd/hurdmalloc.c (more_memory): Likewise.
46870         (malloc): Likewise.
46871         (free): Likewise.
46872         (realloc): Likewise.
46873         (malloc_fork_prepare): Likewise.
46874         (malloc_fork_parent): Likewise.
46875         (malloc_fork_child): Likewise.
46876         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46877         (_svcauth_des): Likewise.
46878         * inet/inet_lnaof.c (inet_lnaof): Likewise.
46879         * inet/inet_net.c (inet_network): Likewise.
46880         * inet/inet_netof.c (inet_netof): Likewise.
46881         * inet/rcmd.c (__validuser2_sa): Likewise.
46882         * io/fts.c (fts_open): Likewise.
46883         (fts_load): Likewise.
46884         (fts_close): Likewise.
46885         (fts_read): Likewise.
46886         (fts_children): Likewise.
46887         (fts_build): Likewise.
46888         (fts_stat): Likewise.
46889         (fts_sort): Likewise.
46890         (fts_alloc): Likewise.
46891         (fts_lfree): Likewise.
46892         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46893         (_IO_file_xsgetn): Likewise.
46894         (_IO_file_xsgetn_mmap): Likewise.
46895         * libio/iofopncook.c (_IO_cookie_read): Likewise.
46896         (_IO_cookie_write): Likewise.
46897         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46898         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46899         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46900         * malloc/obstack.c (_obstack_begin): Likewise.
46901         (_obstack_begin_1): Likewise.
46902         (_obstack_newchunk): Likewise.
46903         (_obstack_allocated_p): Likewise.
46904         (obstack_free): Likewise.
46905         (_obstack_memory_used): Likewise.
46906         * misc/getttyent.c (getttynam): Likewise.
46907         (getttyent): Likewise.
46908         (skip): Likewise.
46909         (value): Likewise.
46910         * misc/getusershell.c (initshells): Likewise.
46911         * misc/syslog.c (__vsyslog_chk): Likewise.
46912         * misc/ttyslot.c (ttyslot): Likewise.
46913         * nis/nis_hash.c (__nis_hash): Likewise.
46914         * posix/fnmatch_loop.c (FCT): Likewise.
46915         * posix/getconf.c (print_all): Likewise.
46916         (main): Likewise.
46917         * posix/getopt.c (exchange): Likewise.
46918         * posix/glob.c (globfree): Likewise.
46919         (prefix_array): Likewise.
46920         (__glob_pattern_type): Likewise.
46921         * resolv/arpa/nameser.h (NS_GET16): Likewise.
46922         (NS_GET32): Likewise.
46923         (NS_PUT16): Likewise.
46924         (NS_PUT32): Likewise.
46925         * resolv/gethnamaddr.c (getanswer): Likewise.
46926         (gethostbyname2): Likewise.
46927         (gethostbyaddr): Likewise.
46928         (_gethtent): Likewise.
46929         (_gethtbyname2): Likewise.
46930         (_gethtbyaddr): Likewise.
46931         * resolv/ns_print.c (dst_s_get_int16): Likewise.
46932         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46933         * resolv/res_init.c (__res_vinit): Likewise.
46934         (net_mask): Likewise.
46935         * resolv/res_mkquery.c (outchar): Likewise.
46936         (PRINT): Likewise.
46937         * stdio-common/printf_fp.c (outchar): Likewise.
46938         (PRINT): Likewise.
46939         * stdio-common/printf_fphex.c (outchar): Likewise.
46940         (PRINT): Likewise.
46941         * stdio-common/printf_size.c (outchar): Likewise.
46942         (PRINT): Likewise.
46943         * stdio-common/test_rdwr.c (main): Likewise.
46944         * stdio-common/tfformat.c (matches): Likewise.
46945         * stdio-common/vfprintf.c (outchar): Likewise.
46946         (printf_unknown): Likewise.
46947         (buffered_vfprintf): Likewise.
46948         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46949         * stdio-common/xbug.c (AppendToBuffer): Likewise.
46950         (ReadFile): Likewise.
46951         * stdlib/qsort.c (SWAP): Likewise.
46952         (_quicksort): Likewise.
46953         * stdlib/setenv.c (__add_to_environ): Likewise.
46954         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46955         * stdlib/strtol_l.c (__strtol_l): Likewise.
46956         * stdlib/tst-strtod.c (main): Likewise.
46957         * stdlib/tst-strtol.c (main): Likewise.
46958         * stdlib/tst-strtoll.c (main): Likewise.
46959         * string/bits/string2.h (__strcmp_cc): Likewise.
46960         (__strcmp_cg): Likewise.
46961         (__strcspn_c1): Likewise.
46962         (__strcspn_c2): Likewise.
46963         (__strcspn_c3): Likewise.
46964         (__strspn_c1): Likewise.
46965         (__strspn_c2): Likewise.
46966         (__strspn_c3): Likewise.
46967         (__strsep_1c): Likewise.
46968         (__strsep_2c): Likewise.
46969         (__strsep_3c): Likewise.
46970         * string/memccpy.c (__memccpy): Likewise.
46971         * string/stpcpy.c (__stpcpy): Likewise.
46972         * string/strcmp.c (strcmp): Likewise.
46973         * string/strrchr.c (strrchr): Likewise.
46974         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46975         Likewise.
46976         * sysdeps/mach/hurd/getcwd.c
46977         (_hurd_canonicalize_directory_name_internal): Likewise.
46978         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46979         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46980         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46981         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46982         Likewise, in both definitions.
46983         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46984         definitions.
46985         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46986         64] (__bswap_64): Likewise.
46987         * time/test_time.c (main): Likewise.
46988         * time/tzfile.c (__tzfile_read): Likewise.
46989         (__tzfile_compute): Likewise.
46990         * time/tzset.c (__tzset_parse_tz): Likewise.
46991         (tzset_internal): Likewise.
46992         (compute_change): Likewise.
46993         * wcsmbs/wcscat.c (__wcscat): Likewise.
46994         * wcsmbs/wcschr.c (wcschr): Likewise.
46995         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46996         * wcsmbs/wcscspn.c (wcscspn): Likewise.
46997         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46998         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46999         * wcsmbs/wcsspn.c (wcsspn): Likewise.
47000         * wcsmbs/wcsstr.c (wcsstr): Likewise.
47001         * wcsmbs/wmemchr.c (wmemchr): Likewise.
47002         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47003         * wcsmbs/wmemset.c (wmemset): Likewise.
47005 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
47007         * scripts/config.guess: Update to version 2013-05-16.
47008         * scripts/config.sub: Update to version 2013-04-24.
47009         * scripts/install-sh: Update to version 2011-11-20.07.
47010         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
47011         * scripts/move-if-change: Update to version 2012-01-06 07:23.
47013 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
47015         * debug/fgetws_u_chk.c: Fix leading whitespaces.
47016         * elf/sln.c: Likewise.
47017         * hurd/hurd/ioctl.h: Likewise.
47018         * hurd/hurdmalloc.c: Likewise.
47019         * hurd/xattr.c: Likewise.
47020         * include/shlib-compat.h: Likewise.
47021         * inet/ruserpass.c: Likewise.
47022         * libio/iofgets_u.c: Likewise.
47023         * libio/iofgetws_u.c: Likewise.
47024         * locale/programs/ld-identification.c: Likewise.
47025         * locale/programs/ld-time.c: Likewise.
47026         * mach/msg-destroy.c: Likewise.
47027         * nss/nss_files/files-netgrp.c: Likewise.
47028         * resolv/res_data.c: Likewise.
47029         * soft-fp/op-1.h: Likewise.
47030         * soft-fp/op-2.h: Likewise.
47031         * soft-fp/op-4.h: Likewise.
47032         * soft-fp/op-common.h: Likewise.
47033         * stdio-common/printf_fphex.c: Likewise.
47034         * stdlib/strtod_l.c: Likewise.
47035         * sunrpc/rpc/clnt.h: Likewise.
47036         * sysdeps/generic/framestate.c: Likewise.
47037         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47038         * sysdeps/i386/bsd-setjmp.S: Likewise.
47039         * sysdeps/i386/__longjmp.S: Likewise.
47040         * sysdeps/i386/setjmp.S: Likewise.
47041         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47042         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47043         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47044         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47045         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47046         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47047         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47048         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47049         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47050         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47051         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47052         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47053         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47054         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47055         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47056         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47057         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47058         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
47059         * sysdeps/ieee754/support.c: Likewise.
47060         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47061         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
47062         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
47063         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
47064         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
47065         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
47066         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
47067         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
47068         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
47069         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
47070         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
47071         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
47072         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
47073         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
47074         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
47075         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
47076         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47079 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
47081         * posix/transbug.c: Remove executable mode.
47083 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
47085         * crypt/speeds.c: Remove trailing whitespace.
47086         * dlfcn/default.c: Likewise.
47087         * elf/ifuncdep2.c: Likewise.
47088         * elf/ifuncmain1.c: Likewise.
47089         * elf/ifuncmain1vis.c: Likewise.
47090         * elf/testobj.h: Likewise.
47091         * elf/tst-stackguard1.c: Likewise.
47092         * gmon/sys/gmon.h: Likewise.
47093         * hurd/hurdmsg.c: Likewise.
47094         * hurd/new-fd.c: Likewise.
47095         * hurd/ports-get.c: Likewise.
47096         * iconvdata/ibm1008_420.c: Likewise.
47097         * inet/tst-getni1.c: Likewise.
47098         * inet/tst-getni2.c: Likewise.
47099         * libio/ioungetc.c: Likewise.
47100         * libio/wfiledoalloc.c: Likewise.
47101         * manual/libm-err-tab.pl: Likewise.
47102         * math/w_dremf.c: Likewise.
47103         * misc/ftruncate.c: Likewise.
47104         * posix/bug-glob2.c: Likewise.
47105         * posix/tst-pcre.c: Likewise.
47106         * posix/wait4.c: Likewise.
47107         * resolv/README: Likewise.
47108         * resolv/res_debug.h: Likewise.
47109         * resolv/tst-inet_ntop.c: Likewise.
47110         * setjmp/bug269-setjmp.c: Likewise.
47111         * soft-fp/extended.h: Likewise.
47112         * soft-fp/op-1.h: Likewise.
47113         * soft-fp/op-2.h: Likewise.
47114         * soft-fp/op-4.h: Likewise.
47115         * soft-fp/op-8.h: Likewise.
47116         * soft-fp/testit.c: Likewise.
47117         * stdio-common/bug16.c: Likewise.
47118         * stdlib/random.c: Likewise.
47119         * sunrpc/rpcsvc/rquota.x: Likewise.
47120         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
47121         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47122         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47123         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47124         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47125         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47126         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47127         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47128         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47129         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47130         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47131         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47132         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47133         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47134         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47135         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47136         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47137         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47138         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47139         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47140         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47141         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47142         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
47143         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47144         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47145         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47146         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47147         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47148         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47149         * sysdeps/ieee754/s_lib_version.c: Likewise.
47150         * sysdeps/mach/hurd/check_fds.c: Likewise.
47151         * sysdeps/mach/hurd/getsockname.c: Likewise.
47152         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
47153         * sysdeps/mach/hurd/recvfrom.c: Likewise.
47154         * sysdeps/powerpc/bits/link.h: Likewise.
47155         * sysdeps/powerpc/dl-procinfo.c: Likewise.
47156         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
47157         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
47158         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
47159         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47160         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47161         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
47162         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47163         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
47164         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47165         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
47166         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47167         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
47168         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47169         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47170         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47171         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47172         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47173         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47174         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47175         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47176         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
47177         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47178         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47179         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
47180         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47181         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47182         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47183         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47184         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47185         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47186         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47187         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47188         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47189         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
47190         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47191         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
47192         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47193         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
47194         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
47195         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
47196         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
47197         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
47198         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
47199         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47200         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
47201         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
47202         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47203         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
47204         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
47205         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47206         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47207         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47208         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47209         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
47210         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
47211         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
47212         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47213         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
47214         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
47215         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
47216         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
47217         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
47218         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47219         * sysdeps/powerpc/sysdep.h: Likewise.
47220         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47221         * sysdeps/s390/s390-64/sub_n.S: Likewise.
47222         * sysdeps/sh/dl-trampoline.S: Likewise.
47223         * sysdeps/sh/memset.S: Likewise.
47224         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
47225         * sysdeps/sh/strlen.S: Likewise.
47226         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
47227         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
47228         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
47229         * sysdeps/sparc/sparc32/rem.S: Likewise.
47230         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
47231         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
47232         * sysdeps/sparc/sparc32/strchr.S: Likewise.
47233         * sysdeps/sparc/sparc32/udiv.S: Likewise.
47234         * sysdeps/sparc/sparc32/urem.S: Likewise.
47235         * sysdeps/sparc/sparc64/add_n.S: Likewise.
47236         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47237         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
47238         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
47239         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
47240         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
47241         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
47242         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
47243         * sysdeps/unix/bsd/times.c: Likewise.
47244         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
47245         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
47246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47249         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
47250         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47251         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
47252         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
47253         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
47254         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
47255         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47256         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
47257         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47258         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47259         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
47260         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47261         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
47262         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
47263         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
47264         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
47265         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
47266         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47267         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
47268         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
47269         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
47270         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
47271         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47272         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
47273         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
47274         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
47275         * sysdeps/x86_64/strcspn.S: Likewise.
47277 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47279         * locale/C-translit.h: Revert #include <stdint.h> because this is a
47280         generated file.  Regenerate properly from gen-translit.pl.
47281         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
47282         locale/C-translit.h.
47284 2013-06-05  Andreas Schwab  <schwab@suse.de>
47286         [BZ #15100]
47287         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
47288         week as 6 instead of -1.
47289         * time/tst-strptime.c (day_tests): Add test case.
47291 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47293         * sysdeps/generic/math_private.h
47294         (libc_feholdexcept_setround_53bit): Replace with
47295         libc_feholdsetround_53bit.
47296         (libc_feupdateenv_53bit): Replace with
47297         libc_feresetround_53bit.
47298         (SET_RESTORE_ROUND_53BIT): Adjust.
47300 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47302         * string/test-strchrnul.c: Add copyright header.
47304         * posix/tst-getaddrinfo4.c: Increase test timeout.
47306 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
47308         [BZ #15536]
47309         * math/libm-test.inc (MAX_EXP): Remove
47310         (MIN_EXP): Define.
47311         (ulp): Use MIN_EXP - MANT_DIG.
47312         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
47314 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
47316         * po/be.po: Revert last change.
47317         * po/zh_CN.po: Likewise.
47318         * po/header.pot: Likewise.
47320 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
47322         * Makefile ($(common-objpfx)linkobj/libc.so): Define
47323         link-libc-deps to empty as target-specific variable.
47324         * Makerules (link-libc-args): New variable.
47325         (libc-for-link): Likewise.
47326         (link-libc-deps): Likewise.
47327         (lib%.so): Depend on $(link-libc-deps).  Link with
47328         $(link-libc-args).
47329         (build-module): Link with $(link-libc-args).
47330         (build-module-asneeded): Likewise.
47331         (build-module-helper-objlist): Filter out $(link-libc-deps) from
47332         list of objects.
47333         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
47334         target-specific variable.
47335         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
47336         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
47337         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
47338         libc.
47339         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
47340         libc and ld.so.
47341         ($(objpfx)libpcprofile.so): Likewise.
47342         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
47343         libc_nonshared.a.
47344         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
47345         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
47346         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
47347         $(link-libc-deps).
47348         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
47349         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
47350         * login/Makefile ($(objpfx)libutil.so): Likewise.
47351         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
47352         * math/Makefile ($(objpfx)libm.so): Likewise.
47353         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
47354         $(objpfx)libnsl.so): Define libc-for-link as target-specific
47355         variable instead of depending directly on libc.
47356         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
47357         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
47358         $(link-libc-deps).
47359         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
47360         libc.
47361         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
47362         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
47363         ($(objpfx)libanl.so): Likewise.
47364         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
47365         ld.so.
47366         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
47367         $(link-libc-deps).
47368         * sysdeps/i386/fpu/Makefile: Remove file.
47369         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
47370         ($(objpfx)libm.so): Remove dependency on ld.so.
47372 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
47374         [BZ # 15553]
47375         * nis/yp_xdr.c (XDRMAXNAME): Define.
47376         (XDRMAXRECORD): Define.
47377         (xdr_domainname): Use XDRMAXNAME.
47378         (xdr_mapname): Likewise.
47379         (xdr_peername): Likewise.
47380         (xdr_keydat): Use XDRMAXRECORD.
47381         (xdr_valdat): Likewise.
47383 2013-05-30  Jeff Law  <law@redhat.com>
47385         [BZ #14256]
47386         * manual/errno.texi (ESTALE): Update to account for more than
47387         just NFS file systems.
47388         * sysdeps/gnu/errlist.c: Regenerated.
47390 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47392         [BZ #15465]
47393         * elf/Makefile (tests): Add tst-null-argv.
47394         (modules-names):  Add tst-null-argv-lib.
47395         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
47396         (tst-null-argv-ENV): Set environment for tst-null-argv.
47397         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
47398         (RTLD_PROGNAME): New macro.
47399         * elf/tst-null-argv.c: New test case.
47400         * elf/tst-null-argv-lib.c: Library for test case.
47401         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
47402         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
47403         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
47404         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
47405         * elf/dl-init.c (call_init): Likewise.
47406         (_dl_init): Likewise.
47407         * elf/dl-load.c (print_search_path): Likewise.
47408         (_dl_map_object): Likewise.
47409         * elf/dl-lookup.c (do_lookup_x): Likewise.
47410         (add_dependency): Likewise.
47411         (_dl_lookup_symbol_x): Likewise.
47412         (_dl_debug_bindings): Likewise.
47413         * elf/dl-open.c (_dl_show_scope): Likewise.
47414         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47415         * elf/dl-version.c (match_symbol): Likewise.
47416         (_dl_check_map_versions): Likewise.
47417         * elf/rtld.c (dl_main): Likewise.
47418         (print_unresolved): Use RTLD_PROGNAME.
47419         (print_missing_version): Likewise.
47420         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
47421         (elf_machine_rela): Likewise.
47422         * sysdeps/powerpc/powerpc32/dl-machine.c
47423         (__process_machine_rela): Likewise.
47424         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47425         Likewise.
47426         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47427         Likewise.
47428         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
47429         Likewise.
47430         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47431         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
47432         Likewise.
47433         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
47434         Likewise.
47435         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47437 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
47439         * po/be.po: Add descriptive title.
47440         * po/zh_CN.po: Likewise.
47441         * po/header.pot: Likewise.
47443 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
47445         * locale/programs/locarchive.c (create_archive): Inlucde fname in
47446         error message.
47447         (enlarge_archive): Likewise.
47449 2013-05-28  Ben North  <ben@redfrontdoor.org>
47451         * manual/arith.texi (frexp): It is the magnitude of the return
47452         value which lies in [0.5, 1), not the return value itself.
47454 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47458 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
47460         * stdio-common/bug26.c (main): Correct fscanf template.
47462         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
47463         declare _dl_skip_args.
47465         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
47466         Don't declare.
47468         * manual/platform.texi: Add missing @end deftypefun.
47470 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47472         [BZ #15529]
47473         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
47474         bit of mantissa of 2^16382.
47475         * math/libm-test.inc (hypot_test_data): Add more tests.
47477         * math/libm-test.inc: Add drem and pow10 to list of tested
47478         functions.
47479         (pow10_test): New function.
47480         (drem_test): Likewise.
47481         (drem_test_tonearest): Likewise.
47482         (drem_test_towardzero): Likewise.
47483         (drem_test_downward): Likewise.
47484         (drem_test_upward): Likewise.
47485         (main): Call the new functions.
47487         * math/libm-test.inc (finite_test_data): Remove.
47488         (finite_test): Run tests from isfinite_test_data.
47489         (gamma_test_data): Remove.
47490         (gamma_test): Run tests from lgamma_test_data.
47491         * sysdeps/i386/fpu/libm-test-ulps: Update.
47492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47494 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47496         * manual/platform.texi: Add PowerPC PPR function set documentation.
47497         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
47498         implementation.
47500 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
47502         * math/libm-test.inc (MAX_EXP): Define.
47503         (ULPDIFF): Define.
47504         (ulp): New function.
47505         (check_float_internal): Use ULPDIFF.
47506         (cpow_test): Disable failing test.
47507         (check_ulp): Test ulp() implemetnation.
47508         (main): Call check_ulp before starting tests.
47510 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47512         * math/gen-libm-test.pl (generate_testfile): Do not handle
47513         START_DATA and END_DATA.
47514         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
47515         END_DATA.
47516         (acos_tonearest_test_data): Likewise.
47517         (acos_towardzero_test_data): Likewise.
47518         (acos_downward_test_data): Likewise.
47519         (acos_upward_test_data): Likewise.
47520         (acosh_test_data): Likewise.
47521         (asin_test_data): Likewise.
47522         (asin_tonearest_test_data): Likewise.
47523         (asin_towardzero_test_data): Likewise.
47524         (asin_downward_test_data): Likewise.
47525         (asin_upward_test_data): Likewise.
47526         (asinh_test_data): Likewise.
47527         (atan_test_data): Likewise.
47528         (atanh_test_data): Likewise.
47529         (atan2_test_data): Likewise.
47530         (cabs_test_data): Likewise.
47531         (cacos_test_data): Likewise.
47532         (cacosh_test_data): Likewise.
47533         (carg_test_data): Likewise.
47534         (casin_test_data): Likewise.
47535         (casinh_test_data): Likewise.
47536         (catan_test_data): Likewise.
47537         (catanh_test_data): Likewise.
47538         (cbrt_test_data): Likewise.
47539         (ccos_test_data): Likewise.
47540         (ccosh_test_data): Likewise.
47541         (ceil_test_data): Likewise.
47542         (cexp_test_data): Likewise.
47543         (cimag_test_data): Likewise.
47544         (clog_test_data): Likewise.
47545         (clog10_test_data): Likewise.
47546         (conj_test_data): Likewise.
47547         (copysign_test_data): Likewise.
47548         (cos_test_data): Likewise.
47549         (cos_tonearest_test_data): Likewise.
47550         (cos_towardzero_test_data): Likewise.
47551         (cos_downward_test_data): Likewise.
47552         (cos_upward_test_data): Likewise.
47553         (cosh_test_data): Likewise.
47554         (cosh_tonearest_test_data): Likewise.
47555         (cosh_towardzero_test_data): Likewise.
47556         (cosh_downward_test_data): Likewise.
47557         (cosh_upward_test_data): Likewise.
47558         (cpow_test_data): Likewise.
47559         (cproj_test_data): Likewise.
47560         (creal_test_data): Likewise.
47561         (csin_test_data): Likewise.
47562         (csinh_test_data): Likewise.
47563         (csqrt_test_data): Likewise.
47564         (ctan_test_data): Likewise.
47565         (ctan_tonearest_test_data): Likewise.
47566         (ctan_towardzero_test_data): Likewise.
47567         (ctan_downward_test_data): Likewise.
47568         (ctan_upward_test_data): Likewise.
47569         (ctanh_test_data): Likewise.
47570         (ctanh_tonearest_test_data): Likewise.
47571         (ctanh_towardzero_test_data): Likewise.
47572         (ctanh_downward_test_data): Likewise.
47573         (ctanh_upward_test_data): Likewise.
47574         (erf_test_data): Likewise.
47575         (erfc_test_data): Likewise.
47576         (exp_test_data): Likewise.
47577         (exp_tonearest_test_data): Likewise.
47578         (exp_towardzero_test_data): Likewise.
47579         (exp_downward_test_data): Likewise.
47580         (exp_upward_test_data): Likewise.
47581         (exp10_test_data): Likewise.
47582         (exp2_test_data): Likewise.
47583         (expm1_test_data): Likewise.
47584         (fabs_test_data): Likewise.
47585         (fdim_test_data): Likewise.
47586         (finite_test_data): Likewise.
47587         (floor_test_data): Likewise.
47588         (fma_test_data): Likewise.
47589         (fma_towardzero_test_data): Likewise.
47590         (fma_downward_test_data): Likewise.
47591         (fma_upward_test_data): Likewise.
47592         (fmax_test_data): Likewise.
47593         (fmin_test_data): Likewise.
47594         (fmod_test_data): Likewise.
47595         (fpclassify_test_data): Likewise.
47596         (frexp_test_data): Likewise.
47597         (gamma_test_data): Likewise.
47598         (hypot_test_data): Likewise.
47599         (ilogb_test_data): Likewise.
47600         (isfinite_test_data): Likewise.
47601         (isgreater_test_data): Likewise.
47602         (isgreaterequal_test_data): Likewise.
47603         (isinf_test_data): Likewise.
47604         (isless_test_data): Likewise.
47605         (islessequal_test_data): Likewise.
47606         (islessgreater_test_data): Likewise.
47607         (isnan_test_data): Likewise.
47608         (isnormal_test_data): Likewise.
47609         (issignaling_test_data): Likewise.
47610         (isunordered_test_data): Likewise.
47611         (j0_test_data): Likewise.
47612         (j1_test_data): Likewise.
47613         (jn_test_data): Likewise.
47614         (ldexp_test_data): Likewise.
47615         (lgamma_test_data): Likewise.
47616         (lrint_test_data): Likewise.
47617         (lrint_tonearest_test_data): Likewise.
47618         (lrint_towardzero_test_data): Likewise.
47619         (lrint_downward_test_data): Likewise.
47620         (lrint_upward_test_data): Likewise.
47621         (llrint_test_data): Likewise.
47622         (llrint_tonearest_test_data): Likewise.
47623         (llrint_towardzero_test_data): Likewise.
47624         (llrint_downward_test_data): Likewise.
47625         (llrint_upward_test_data): Likewise.
47626         (log_test_data): Likewise.
47627         (log10_test_data): Likewise.
47628         (log1p_test_data): Likewise.
47629         (log2_test_data): Likewise.
47630         (logb_test_data): Likewise.
47631         (logb_downward_test_data): Likewise.
47632         (lround_test_data): Likewise.
47633         (llround_test_data): Likewise.
47634         (modf_test_data): Likewise.
47635         (nearbyint_test_data): Likewise.
47636         (nextafter_test_data): Likewise.
47637         (nexttoward_test_data): Likewise.
47638         (pow_test_data): Likewise.
47639         (pow_tonearest_test_data): Likewise.
47640         (pow_towardzero_test_data): Likewise.
47641         (pow_downward_test_data): Likewise.
47642         (pow_upward_test_data): Likewise.
47643         (remainder_test_data): Likewise.
47644         (remainder_tonearest_test_data): Likewise.
47645         (remainder_towardzero_test_data): Likewise.
47646         (remainder_downward_test_data): Likewise.
47647         (remainder_upward_test_data): Likewise.
47648         (remquo_test_data): Likewise.
47649         (rint_test_data): Likewise.
47650         (rint_tonearest_test_data): Likewise.
47651         (rint_towardzero_test_data): Likewise.
47652         (rint_downward_test_data): Likewise.
47653         (rint_upward_test_data): Likewise.
47654         (round_test_data): Likewise.
47655         (scalb_test_data): Likewise.
47656         (scalbn_test_data): Likewise.
47657         (scalbln_test_data): Likewise.
47658         (signbit_test_data): Likewise.
47659         (sin_test_data): Likewise.
47660         (sin_tonearest_test_data): Likewise.
47661         (sin_towardzero_test_data): Likewise.
47662         (sin_downward_test_data): Likewise.
47663         (sin_upward_test_data): Likewise.
47664         (sincos_test_data): Likewise.
47665         (sinh_test_data): Likewise.
47666         (sinh_tonearest_test_data): Likewise.
47667         (sinh_towardzero_test_data): Likewise.
47668         (sinh_downward_test_data): Likewise.
47669         (sinh_upward_test_data): Likewise.
47670         (sqrt_test_data): Likewise.
47671         (tan_test_data): Likewise.
47672         (tan_tonearest_test_data): Likewise.
47673         (tan_towardzero_test_data): Likewise.
47674         (tan_downward_test_data): Likewise.
47675         (tan_upward_test_data): Likewise.
47676         (tanh_test_data): Likewise.
47677         (tgamma_test_data): Likewise.
47678         (trunc_test_data): Likewise.
47679         (y0_test_data): Likewise.
47680         (y1_test_data): Likewise.
47681         (yn_test_data): Likewise.
47682         (significand_test_data): Likewise.
47684         * math/gen-libm-test.pl (@functions): Remove variable.
47685         (generate_testfile): Don't handle START and END lines.
47686         * math/libm-test.inc (START): New macro.
47687         (END): Likewise.
47688         (END_COMPLEX): Likewise.
47689         (acos_test): Use END macro without arguments.
47690         (acos_test_tonearest): Likewise.
47691         (acos_test_towardzero): Likewise.
47692         (acos_test_downward): Likewise.
47693         (acos_test_upward): Likewise.
47694         (acosh_test): Likewise.
47695         (asin_test): Likewise.
47696         (asin_test_tonearest): Likewise.
47697         (asin_test_towardzero): Likewise.
47698         (asin_test_downward): Likewise.
47699         (asin_test_upward): Likewise.
47700         (asinh_test): Likewise.
47701         (atan_test): Likewise.
47702         (atanh_test): Likewise.
47703         (atan2_test): Likewise.
47704         (cabs_test): Likewise.
47705         (cacos_test): Use END_COMPLEX macro without arguments.
47706         (cacosh_test): Likewise.
47707         (carg_test): Use END macro without arguments.
47708         (casin_test): Use END_COMPLEX macro without arguments.
47709         (casinh_test): Likewise.
47710         (catan_test): Likewise.
47711         (catanh_test): Likewise.
47712         (cbrt_test): Use END macro without arguments.
47713         (ccos_test): Use END_COMPLEX macro without arguments.
47714         (ccosh_test): Likewise.
47715         (ceil_test): Use END macro without arguments.
47716         (cexp_test): Use END_COMPLEX macro without arguments.
47717         (cimag_test): Use END macro without arguments.
47718         (clog_test): Use END_COMPLEX macro without arguments.
47719         (clog10_test): Likewise.
47720         (conj_test): Likewise.
47721         (copysign_test): Use END macro without arguments.
47722         (cos_test): Likewise.
47723         (cos_test_tonearest): Likewise.
47724         (cos_test_towardzero): Likewise.
47725         (cos_test_downward): Likewise.
47726         (cos_test_upward): Likewise.
47727         (cosh_test): Likewise.
47728         (cosh_test_tonearest): Likewise.
47729         (cosh_test_towardzero): Likewise.
47730         (cosh_test_downward): Likewise.
47731         (cosh_test_upward): Likewise.
47732         (cpow_test): Use END_COMPLEX macro without arguments.
47733         (cproj_test): Likewise.
47734         (creal_test): Use END macro without arguments.
47735         (csin_test): Use END_COMPLEX macro without arguments.
47736         (csinh_test): Likewise.
47737         (csqrt_test): Likewise.
47738         (ctan_test): Likewise.
47739         (ctan_test_tonearest): Likewise.
47740         (ctan_test_towardzero): Likewise.
47741         (ctan_test_downward): Likewise.
47742         (ctan_test_upward): Likewise.
47743         (ctanh_test): Likewise.
47744         (ctanh_test_tonearest): Likewise.
47745         (ctanh_test_towardzero): Likewise.
47746         (ctanh_test_downward): Likewise.
47747         (ctanh_test_upward): Likewise.
47748         (erf_test): Use END macro without arguments.
47749         (erfc_test): Likewise.
47750         (exp_test): Likewise.
47751         (exp_test_tonearest): Likewise.
47752         (exp_test_towardzero): Likewise.
47753         (exp_test_downward): Likewise.
47754         (exp_test_upward): Likewise.
47755         (exp10_test): Likewise.
47756         (exp2_test): Likewise.
47757         (expm1_test): Likewise.
47758         (fabs_test): Likewise.
47759         (fdim_test): Likewise.
47760         (finite_test): Likewise.
47761         (floor_test): Likewise.
47762         (fma_test): Likewise.
47763         (fma_test_towardzero): Likewise.
47764         (fma_test_downward): Likewise.
47765         (fma_test_upward): Likewise.
47766         (fmax_test): Likewise.
47767         (fmin_test): Likewise.
47768         (fmod_test): Likewise.
47769         (fpclassify_test): Likewise.
47770         (frexp_test): Likewise.
47771         (gamma_test): Likewise.
47772         (hypot_test): Likewise.
47773         (ilogb_test): Likewise.
47774         (isfinite_test): Likewise.
47775         (isgreater_test): Likewise.
47776         (isgreaterequal_test): Likewise.
47777         (isinf_test): Likewise.
47778         (isless_test): Likewise.
47779         (islessequal_test): Likewise.
47780         (islessgreater_test): Likewise.
47781         (isnan_test): Likewise.
47782         (isnormal_test): Likewise.
47783         (issignaling_test): Likewise.
47784         (isunordered_test): Likewise.
47785         (j0_test): Likewise.
47786         (j1_test): Likewise.
47787         (jn_test): Likewise.
47788         (ldexp_test): Likewise.
47789         (lgamma_test): Likewise.
47790         (lrint_test): Likewise.
47791         (lrint_test_tonearest): Likewise.
47792         (lrint_test_towardzero): Likewise.
47793         (lrint_test_downward): Likewise.
47794         (lrint_test_upward): Likewise.
47795         (llrint_test): Likewise.
47796         (llrint_test_tonearest): Likewise.
47797         (llrint_test_towardzero): Likewise.
47798         (llrint_test_downward): Likewise.
47799         (llrint_test_upward): Likewise.
47800         (log_test): Likewise.
47801         (log10_test): Likewise.
47802         (log1p_test): Likewise.
47803         (log2_test): Likewise.
47804         (logb_test): Likewise.
47805         (logb_test_downward): Likewise.
47806         (lround_test): Likewise.
47807         (llround_test): Likewise.
47808         (modf_test): Likewise.
47809         (nearbyint_test): Likewise.
47810         (nextafter_test): Likewise.
47811         (nexttoward_test): Likewise.
47812         (pow_test): Likewise.
47813         (pow_test_tonearest): Likewise.
47814         (pow_test_towardzero): Likewise.
47815         (pow_test_downward): Likewise.
47816         (pow_test_upward): Likewise.
47817         (remainder_test): Likewise.
47818         (remainder_test_tonearest): Likewise.
47819         (remainder_test_towardzero): Likewise.
47820         (remainder_test_downward): Likewise.
47821         (remainder_test_upward): Likewise.
47822         (remquo_test): Likewise.
47823         (rint_test): Likewise.
47824         (rint_test_tonearest): Likewise.
47825         (rint_test_towardzero): Likewise.
47826         (rint_test_downward): Likewise.
47827         (rint_test_upward): Likewise.
47828         (round_test): Likewise.
47829         (scalb_test): Likewise.
47830         (scalbn_test): Likewise.
47831         (scalbln_test): Likewise.
47832         (signbit_test): Likewise.
47833         (sin_test): Likewise.
47834         (sin_test_tonearest): Likewise.
47835         (sin_test_towardzero): Likewise.
47836         (sin_test_downward): Likewise.
47837         (sin_test_upward): Likewise.
47838         (sincos_test): Likewise.
47839         (sinh_test): Likewise.
47840         (sinh_test_tonearest): Likewise.
47841         (sinh_test_towardzero): Likewise.
47842         (sinh_test_downward): Likewise.
47843         (sinh_test_upward): Likewise.
47844         (sqrt_test): Likewise.
47845         (tan_test): Likewise.
47846         (tan_test_tonearest): Likewise.
47847         (tan_test_towardzero): Likewise.
47848         (tan_test_downward): Likewise.
47849         (tan_test_upward): Likewise.
47850         (tanh_test): Likewise.
47851         (tgamma_test): Likewise.
47852         (trunc_test): Likewise.
47853         (y0_test): Likewise.
47854         (y1_test): Likewise.
47855         (yn_test): Likewise.
47856         (significand_test): Likewise.
47858 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
47860         [BZ #15381]
47861         * libio/genops.c (_IO_no_init): Initialize wide struct info.
47863 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47865         [BZ #14894]
47866         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47867         __ppc_mdoio and __ppc_mdoom.
47868         * manual/platform.texi: Document new functions __ppc_yield,
47869         __ppc_mdoio and __ppc_mdoom.
47871 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
47873         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47874         (main): Mention "tls" pseudo-hwcap is legacy.
47875         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47877 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47879         * math/gen-libm-test.pl (parse_args): Output only string of
47880         arguments as text for test name, not full call or descriptions of
47881         tests for extra outputs.
47882         (generate_testfile): Do not pass function name to parse_args.
47883         Generate this_func variable from START.
47884         * math/libm-test.inc (struct test_f_f_data): Rename test_name
47885         field to arg_str.
47886         (struct test_ff_f_data): Likewise.
47887         (test_ff_f_data_nexttoward): Likewise.
47888         (struct test_fi_f_data): Likewise.
47889         (struct test_fl_f_data): Likewise.
47890         (struct test_if_f_data): Likewise.
47891         (struct test_fff_f_data): Likewise.
47892         (struct test_c_f_data): Likewise.
47893         (struct test_f_f1_data): Likewise.  Remove field extra_name.
47894         (struct test_fF_f1_data): Likewise.
47895         (struct test_ffI_f1_data): Likewise.
47896         (struct test_c_c_data): Rename test_name field to arg_str.
47897         (struct test_cc_c_data): Likewise.
47898         (struct test_f_i_data): Likewise.
47899         (struct test_ff_i_data): Likewise.
47900         (struct test_f_l_data): Likewise.
47901         (struct test_f_L_data): Likewise.
47902         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
47903         and extra2_name.
47904         (COMMON_TEST_SETUP): New macro.
47905         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47906         (COMMON_TEST_CLEANUP): Likewise.
47907         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47908         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47909         macros.
47910         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47911         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
47912         macros.
47913         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47914         (RUN_TEST_fff_f): Take argument string.  Call new setup and
47915         cleanup macros.
47916         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47917         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
47918         macros.
47919         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47920         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
47921         macros.
47922         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47923         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
47924         cleanup macros.
47925         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47926         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
47927         cleanup macros.
47928         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47929         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
47930         cleanup macros.
47931         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47932         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
47933         macros.
47934         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47935         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
47936         macros.
47937         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47938         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
47939         macros.
47940         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47941         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
47942         cleanup macros.
47943         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47944         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
47945         cleanup macros.
47946         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47947         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
47948         macros.
47949         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47950         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
47951         cleanup macros.
47952         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47953         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
47954         macros.
47955         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47956         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
47957         macros.
47958         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47959         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
47960         cleanup macros.
47961         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47963 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
47965         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47966         to _sifields.sigfault.
47967         (si_addr_lsb): Define new macro.
47968         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47969         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47970         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47972 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
47974         [BZ #15441]
47975         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47976         returns -1.
47977         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47978         null return -1.
47979         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47980         loading the domain.
47982 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47984         * math/gen-libm-test.pl (parse_args): Do not include expected
47985         result in test name.
47986         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47987         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47988         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47989         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47990         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47993 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47995         * benchtests/Makefile: Sort function entries.
47997         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47998         tanh, asinh, acosh, atanh.
47999         * benchtests/acos-inputs: New file.
48000         * benchtests/acosh-inputs: New file.
48001         * benchtests/asin-inputs: New file.
48002         * benchtests/asinh-inputs: New file.
48003         * benchtests/atanh-inputs: New file.
48004         * benchtests/cosh-inputs: New file.
48005         * benchtests/log-inputs: New file.
48006         * benchtests/sinh-inputs: New file.
48007         * benchtests/tanh-inputs: New file.
48009 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
48011         [BZ #15339]
48012         * posix/tst-getaddrinfo4.c: New test.
48013         * posix/Makefile (tests): Add it.
48015 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48017         [BZ #15339]
48018         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
48019         when no services were used.
48020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
48021         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
48023 2013-05-21  Andreas Schwab  <schwab@suse.de>
48025         [BZ #15014]
48026         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
48027         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
48028         successful.
48029         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
48030         redundant variable declarations and reallocation of buffer when
48031         parsing as IPv6 address.  Always set NSS status when called from
48032         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
48033         buffer too small.  Correct computation of needed size.
48034         * nss/Makefile (tests): Add test-digits-dots.
48035         * nss/test-digits-dots.c: New test.
48037 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48039         * benchtests/Makefile: Remove instructions for adding
48040         benchmark tests.
48041         * benchtests/README: New file to explain how to execute and
48042         enhance the benchmark tests.
48044 2013-05-21  Andreas Schwab  <schwab@suse.de>
48046         [BZ #15493]
48047         * setjmp/Makefile (tests): Add tst-sigsetjmp.
48048         * setjmp/tst-sigsetjmp.c: New test.
48050 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48052         * sysdeps/x86_64/memset.S (memset): New implementation.
48053         (__bzero): Likewise.
48054         (__memset_tail): New function.
48056 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48058         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
48059         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
48060         __memcpy_sse2_unaligned ifunc selection.
48061         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48062         Add memcpy-sse2-unaligned.S.
48063         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48064         Add: __memcpy_sse2_unaligned.
48066 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
48068         [BZ #15490]
48069         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48070         math_force_eval before restoring floating-point envrionment.
48071         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
48072         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
48073         Likewise.
48074         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
48075         <math_private.h>.
48076         (__nearbyintl): Use math_force_eval before restoring
48077         floating-point environment.
48078         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
48080         * math/gen-libm-test.pl (special_functions): Remove.
48081         (parse_args): Don't handle TEST_extra.  Handle functions with no
48082         return value.
48083         * math/libm-test.inc (struct test_sincos_data): Replace with
48084         struct test_fFF_11_data.
48085         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
48086         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
48087         (sincos_test_data): Change element type to struct
48088         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
48089         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
48090         RUN_TEST_LOOP_sincos.
48091         * math/README.libm-test: Don't mention special handling of
48092         individual functions.
48093         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
48094         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48095         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48096         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48097         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48100         * math/gen-libm-test.pl (get_variable): Remove function.
48101         (parse_args): Don't show pointer parameters to call in test
48102         names.  Use "extra output N" in test names for extra outputs
48103         rather than naming variables.
48105 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
48107         [BZ #15488]
48108         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
48109         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
48110         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
48111         double tests.
48112         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
48113         disable.
48114         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
48115         check_long_double.
48117         * math/gen-libm-test.pl (@tests): Remove variable.
48118         ($count): Likewise.
48119         (new_test): Remove function.
48120         (show_exceptions): New function.
48121         (special_functions): Use show_exceptions instead of new_test.
48122         (parse_args): Likewise.
48123         (generate_testfile): Pass only function name in generated call to
48124         print_max_error or print_complex_max_error.
48125         (get_ulps): Do not handle complex tests specially.
48126         (output_test): Rename to ...
48127         (get_all_ulps_for_test): ... this.  Return a string rather than
48128         printing to a file.  Require ulps to be present.
48129         (output_ulps): Generate arrays rather than #defines.
48130         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
48131         (struct ulp_data): New type.
48132         (BUILD_COMPLEX_ULP): Remove macro.
48133         (compare_ulp_data): New function.
48134         (find_ulps): Likewise.
48135         (find_test_ulps): Likewise.
48136         (find_function_ulps): Likewise.
48137         (find_complex_function_ulps): Likewise.
48138         (print_max_error): Determine allowed ulps using
48139         find_function_ulps.
48140         (print_complex_max_error): Determine allowed ulps using
48141         find_complex_function_ulps.
48142         (check_float_internal): Determine max ulps using find_test_ulps.
48143         (check_float): Do not take max_ulp parameter.  Update call to
48144         check_float_internal.
48145         (check_complex): Likewise.
48146         (check_int): Do not take max_ulp parameter.
48147         (check_long): Likewise.
48148         (check_bool): Likewise.
48149         (check_longlong): Likewise.
48150         (struct test_f_f_data): Remove max_ulp field.
48151         (struct test_ff_f_data): Likewise.
48152         (struct test_ff_f_data_nexttoward): Likewise.
48153         (struct test_fi_f_data): Likewise.
48154         (struct test_fl_f_data): Likewise.
48155         (struct test_if_f_data): Likewise.
48156         (struct test_fff_f_data): Likewise.
48157         (struct test_c_f_data): Likewise.
48158         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
48159         (struct test_fF_f1_data): Likewise.
48160         (struct test_ffI_f1_data): Likewise.
48161         (struct test_c_c_data): Remove max_ulp field.
48162         (struct test_cc_c_data): Likewise.
48163         (struct test_f_i_data): Likewise.
48164         (struct test_ff_i_data): Likewise.
48165         (struct test_f_l_data): Likewise.
48166         (struct test_f_L_data): Likewise.
48167         (struct test_sincos_data): Likewise.
48168         (RUN_TEST_f_f): Do not handle ulps.
48169         (RUN_TEST_LOOP_f_f): Likewise.
48170         (RUN_TEST_2_f): Likewise.
48171         (RUN_TEST_LOOP_2_f): Likewise.
48172         (RUN_TEST_fff_f): Likewise.
48173         (RUN_TEST_LOOP_fff_f): Likewise.
48174         (RUN_TEST_c_f): Likewise.
48175         (RUN_TEST_LOOP_c_f): Likewise.
48176         (RUN_TEST_f_f1): Likewise.
48177         (RUN_TEST_LOOP_f_f1): Likewise.
48178         (RUN_TEST_fF_f1): Likewise.
48179         (RUN_TEST_LOOP_fF_f1): Likewise.
48180         (RUN_TEST_fI_f1): Likewise.
48181         (RUN_TEST_LOOP_fI_f1): Likewise.
48182         (RUN_TEST_ffI_f1): Likewise.
48183         (RUN_TEST_LOOP_ffI_f1): Likewise.
48184         (RUN_TEST_c_c): Likewise.
48185         (RUN_TEST_LOOP_c_c): Likewise.
48186         (RUN_TEST_cc_c): Likewise.
48187         (RUN_TEST_LOOP_cc_c): Likewise.
48188         (RUN_TEST_f_i): Likewise.
48189         (RUN_TEST_LOOP_f_i): Likewise.
48190         (RUN_TEST_f_i_tg): Likewise.
48191         (RUN_TEST_LOOP_f_i_tg): Likewise.
48192         (RUN_TEST_ff_i_tg): Likewise.
48193         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48194         (RUN_TEST_f_b): Likewise.
48195         (RUN_TEST_LOOP_f_b): Likewise.
48196         (RUN_TEST_f_b_tg): Likewise.
48197         (RUN_TEST_LOOP_f_b_tg): Likewise.
48198         (RUN_TEST_f_l): Likewise.
48199         (RUN_TEST_LOOP_f_l): Likewise.
48200         (RUN_TEST_f_L): Likewise.
48201         (RUN_TEST_LOOP_f_L): Likewise.
48202         (RUN_TEST_sincos): Likewise.
48203         (RUN_TEST_LOOP_sincos): Likewise.
48205 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
48207         [BZ #15480]
48208         [BZ #15485]
48209         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
48210         main case of finite arguments, set rounding mode to FE_TONEAREST
48211         and discard exceptions.
48212         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
48213         exceptions.
48214         (remainder_tonearest_test_data): New variable.
48215         (remainder_test_tonearest): New function.
48216         (remainder_towardzero_test_data): New variable.
48217         (remainder_test_towardzero): New function.
48218         (remainder_downward_test_data): New variable.
48219         (remainder_test_downward): New function.
48220         (remainder_upward_test_data): New variable.
48221         (remainder_test_upward): New function.
48222         (main): Call the new test functions.
48224         * math/libm-test.inc (struct test_f_f1_data): Remove field
48225         extra_init.
48226         (struct test_fF_f1_data): Likewise.
48227         (struct test_ffI_f1_data): Likewise.
48228         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
48229         based on value of EXTRA_EXPECTED.
48230         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48231         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
48232         EXTRA_VAR based on value of EXTRA_EXPECTED.
48233         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48234         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
48235         EXTRA_VAR based on value of EXTRA_EXPECTED.
48236         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48237         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
48238         EXTRA_VAR based on value of EXTRA_EXPECTED.
48239         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48240         * math/gen-libm-test.pl (parse_args): Don't output initializers
48241         for extra output values.
48243         * math/libm-test.inc (check_int): Expect result to be exactly
48244         equal to expected value and do not handle ulps.
48245         (check_long): Likewise.
48246         (check_longlong): Likewise.
48248         * math/libm-test.inc (ceil_test_data): Test for "inexact"
48249         exceptions.
48250         (cimag_test_data): Likewise.
48251         (conj_test_data): Likewise.
48252         (copysign_test_data): Likewise.
48253         (cproj_test_data): Likewise.
48254         (creal_test_data): Likewise.
48255         (fabs_test_data): Likewise.
48256         (fdim_test_data): Likewise.
48257         (finite_test_data): Likewise.
48258         (floor_test_data): Likewise.
48259         (fmax_test_data): Likewise.
48260         (fmin_test_data): Likewise.
48261         (fmod_test_data): Likewise.
48262         (fpclassify_test_data): Likewise.
48263         (frexp_test_data): Likewise.
48264         (ilogb_test_data): Likewise.
48265         (isfinite_test_data): Likewise.
48266         (isgreater_test_data): Likewise.
48267         (isgreaterequal_test_data): Likewise.
48268         (isinf_test_data): Likewise.
48269         (isless_test_data): Likewise.
48270         (islessequal_test_data): Likewise.
48271         (islessgreater_test_data): Likewise.
48272         (isnan_test_data): Likewise.
48273         (isnormal_test_data): Likewise.
48274         (issignaling_test_data): Likewise.
48275         (isunordered_test_data): Likewise.
48276         (ldexp_test_data): Likewise.
48277         (lrint_test_data): Likewise.
48278         (lrint_test_data) [TEST_FLOAT]: Disable one test.
48279         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
48280         (lrint_tonearest_test_data): Test for "inexact" exceptions.
48281         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48282         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
48283         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48284         test input.
48285         (lrint_towardzero_test_data): Test for "inexact" exceptions.
48286         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48287         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
48288         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
48289         that test input.
48290         (lrint_downward_test_data): Test for "inexact" exceptions.
48291         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48292         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
48293         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48294         test input.
48295         (lrint_upward_test_data): Test for "inexact" exceptions.
48296         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
48297         test input.
48298         (llrint_test_data): Test for "inexact" exceptions.
48299         (llrint_test_data) [TEST_FLOAT]: Disable one test.
48300         (llrint_tonearest_test_data): Test for "inexact" exceptions.
48301         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48302         (llrint_towardzero_test_data): Test for "inexact" exceptions.
48303         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48304         (llrint_downward_test_data): Test for "inexact" exceptions.
48305         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48306         (llrint_upward_test_data): Test for "inexact" exceptions.
48307         (logb_test_data): Likewise.
48308         (logb_downward_test_data): Likewise.
48309         (nextafter_test_data): Likewise.
48310         (nexttoward_test_data): Likewise.
48311         (remainder_test_data): Likewise.
48312         (remquo_test_data): Likewise.
48313         (scalbn_test_data): Likewise.
48314         (scalbln_test_data): Likewise.
48315         (signbit_test_data): Likewise.
48316         (sqrt_test_data): Likewise.
48317         (significand_test_data): Likewise.
48319 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48321         [BZ #15424]
48322         * benchtests/bench-modf.c (struct args): Mark arg0 as
48323         volatile.
48324         * scripts/bench.pl: Mark members of struct args as volatile.
48326 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48328         [BZ # 15497]
48329         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
48330         negative infinity on POWER6 or lower.
48331         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
48333 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48335         [BZ #15442]
48336         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
48337         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
48338         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
48339         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
48340         (_FP_SETQNAN): New macro.
48341         (_FP_SETQNAN_SEMIRAW): Likewise.
48342         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
48343         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
48344         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
48345         (FP_EXTEND): Use _FP_FRAC_SNANP.
48346         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
48347         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
48348         into account.
48349         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48350         New macro.
48351         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48352         Likewise.
48354 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48356         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
48357         with DIVIDE_BY_ZERO_EXCEPTION.
48358         (gamma_test_data): Likewise.
48359         (lgamma_test_data): Likewise.
48360         (log_test_data): Likewise.
48361         (log10_test_data): Likewise.
48362         (log2_test_data): Likewise.
48363         (tgamma_test_data): Likewise.
48365         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
48366         (acos_test_tonearest): Likewise.
48367         (acos_test_towardzero): Likewise.
48368         (acos_test_downward): Likewise.
48369         (acos_test_upward): Likewise.
48370         (acosh_test): Likewise.
48371         (asin_test): Likewise.
48372         (asin_test_tonearest): Likewise.
48373         (asin_test_towardzero): Likewise.
48374         (asin_test_downward): Likewise.
48375         (asin_test_upward): Likewise.
48376         (asinh_test): Likewise.
48377         (atan_test): Likewise.
48378         (atanh_test): Likewise.
48379         (atan2_test): Likewise.
48380         (cabs_test): Likewise.
48381         (cacos_test): Likewise.
48382         (cacosh_test): Likewise.
48383         (casin_test): Likewise.
48384         (casinh_test): Likewise.
48385         (catan_test): Likewise.
48386         (catanh_test): Likewise.
48387         (cbrt_test): Likewise.
48388         (ccos_test): Likewise.
48389         (ccosh_test): Likewise.
48390         (cexp_test): Likewise.
48391         (clog_test): Likewise.
48392         (clog10_test): Likewise.
48393         (cos_test): Likewise.
48394         (cos_test_tonearest): Likewise.
48395         (cos_test_towardzero): Likewise.
48396         (cos_test_downward): Likewise.
48397         (cos_test_upward): Likewise.
48398         (cosh_test): Likewise.
48399         (cosh_test_tonearest): Likewise.
48400         (cosh_test_towardzero): Likewise.
48401         (cosh_test_downward): Likewise.
48402         (cosh_test_upward): Likewise.
48403         (cpow_test): Likewise.
48404         (csin_test): Likewise.
48405         (csinh_test): Likewise.
48406         (csqrt_test): Likewise.
48407         (ctan_test): Likewise.
48408         (ctan_test_tonearest): Likewise.
48409         (ctan_test_towardzero): Likewise.
48410         (ctan_test_downward): Likewise.
48411         (ctan_test_upward): Likewise.
48412         (ctanh_test): Likewise.
48413         (ctanh_test_tonearest): Likewise.
48414         (ctanh_test_towardzero): Likewise.
48415         (ctanh_test_downward): Likewise.
48416         (ctanh_test_upward): Likewise.
48417         (erf_test): Likewise.
48418         (erfc_test): Likewise.
48419         (exp_test): Likewise.
48420         (exp_test_tonearest): Likewise.
48421         (exp_test_towardzero): Likewise.
48422         (exp_test_downward): Likewise.
48423         (exp_test_upward): Likewise.
48424         (exp10_test): Likewise.
48425         (exp2_test): Likewise.
48426         (expm1_test): Likewise.
48427         (fmod_test): Likewise.
48428         (gamma_test): Likewise.
48429         (hypot_test): Likewise.
48430         (j0_test): Likewise.
48431         (j1_test): Likewise.
48432         (jn_test): Likewise.
48433         (lgamma_test): Likewise.
48434         (log_test): Likewise.
48435         (log10_test): Likewise.
48436         (log1p_test): Likewise.
48437         (log2_test): Likewise.
48438         (logb_test_downward): Likewise.
48439         (pow_test): Likewise.
48440         (pow_test_tonearest): Likewise.
48441         (pow_test_towardzero): Likewise.
48442         (pow_test_downward): Likewise.
48443         (pow_test_upward): Likewise.
48444         (remainder_test): Likewise.
48445         (remquo_test): Likewise.
48446         (sin_test): Likewise.
48447         (sin_test_tonearest): Likewise.
48448         (sin_test_towardzero): Likewise.
48449         (sin_test_downward): Likewise.
48450         (sin_test_upward): Likewise.
48451         (sincos_test): Likewise.
48452         (sinh_test): Likewise.
48453         (sinh_test_tonearest): Likewise.
48454         (sinh_test_towardzero): Likewise.
48455         (sinh_test_downward): Likewise.
48456         (sinh_test_upward): Likewise.
48457         (sqrt_test): Likewise.
48458         (tan_test): Likewise.
48459         (tan_test_tonearest): Likewise.
48460         (tan_test_towardzero): Likewise.
48461         (tan_test_downward): Likewise.
48462         (tan_test_upward): Likewise.
48463         (tanh_test): Likewise.
48464         (tgamma_test): Likewise.
48465         (y0_test): Likewise.
48466         (y1_test): Likewise.
48467         (yn_test): Likewise.
48469         * math/gen-libm-test.pl (adjust_arg): Remove function.
48470         (special_function): Remove argument $in_func.  Only handle
48471         generating output for tables of tests, not inside functions.
48472         (parse_args): Likewise.
48473         (generate_testfile): Remove variable $in_func.  Update call to
48474         parse_args.
48475         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
48476         (MINUS_ZERO_INIT): Rename macro to minus_zero.
48477         (PLUS_INFTY_INIT): Rename macro to plus_infty.
48478         (MINUS_INFTY_INIT): Rename macro to minus_infty.
48479         (QNAN_VALUE_INIT): Rename macro to qnan_value.
48480         (MAX_VALUE_INIT): Rename macro to max_value.
48481         (MIN_VALUE_INIT): Rename macro to min_value.
48482         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
48483         (plus_zero): Remove variable.
48484         (minus_zero): Likewise.
48485         (plus_infty): Likewise.
48486         (minus_infty): Likewise.
48487         (qnan_value): Likewise.
48488         (max_value): Likewise.
48489         (min_value): Likewise.
48490         (min_subnorm_value): Likewise.
48492 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48494         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
48495         uint64_t or uint32_t usage.
48496         * crypt/sha256-block.c: Likewise.
48497         * crypt/sha256-crypt.c: Likewise.
48498         * crypt/sha256.c: Likewise.
48499         * crypt/sha512-block.c: Likewise.
48500         * crypt/sha512-crypt.c: Likewise.
48501         * crypt/sha512.c: Likewise.
48502         * debug/backtrace-tst.c: Likewise.
48503         * debug/pcprofiledump.c: Likewise.
48504         * elf/cache.c: Likewise.
48505         * elf/dl-cache.c: Likewise.
48506         * elf/dl-misc.c: Likewise.
48507         * elf/dl-profile.c: Likewise.
48508         * elf/dl-support.c: Likewise.
48509         * elf/ldconfig.c: Likewise.
48510         * elf/sprof.c: Likewise.
48511         * iconv/dummy-repertoire.c: Likewise.
48512         * iconv/iconv_charmap.c: Likewise.
48513         * iconv/skeleton.c: Likewise.
48514         * iconvdata/8bit-generic.c: Likewise.
48515         * iconvdata/cp737.h: Likewise.
48516         * iconvdata/cp775.h: Likewise.
48517         * iconvdata/ibm1008.h: Likewise.
48518         * iconvdata/ibm1025.h: Likewise.
48519         * iconvdata/ibm1046.h: Likewise.
48520         * iconvdata/ibm1097.h: Likewise.
48521         * iconvdata/ibm1112.h: Likewise.
48522         * iconvdata/ibm1122.h: Likewise.
48523         * iconvdata/ibm1123.h: Likewise.
48524         * iconvdata/ibm1124.h: Likewise.
48525         * iconvdata/ibm1129.h: Likewise.
48526         * iconvdata/ibm1130.h: Likewise.
48527         * iconvdata/ibm1132.h: Likewise.
48528         * iconvdata/ibm1133.h: Likewise.
48529         * iconvdata/ibm1137.h: Likewise.
48530         * iconvdata/ibm1140.h: Likewise.
48531         * iconvdata/ibm1141.h: Likewise.
48532         * iconvdata/ibm1142.h: Likewise.
48533         * iconvdata/ibm1143.h: Likewise.
48534         * iconvdata/ibm1144.h: Likewise.
48535         * iconvdata/ibm1145.h: Likewise.
48536         * iconvdata/ibm1146.h: Likewise.
48537         * iconvdata/ibm1147.h: Likewise.
48538         * iconvdata/ibm1148.h: Likewise.
48539         * iconvdata/ibm1149.h: Likewise.
48540         * iconvdata/ibm1153.h: Likewise.
48541         * iconvdata/ibm1154.h: Likewise.
48542         * iconvdata/ibm1155.h: Likewise.
48543         * iconvdata/ibm1156.h: Likewise.
48544         * iconvdata/ibm1157.h: Likewise.
48545         * iconvdata/ibm1158.h: Likewise.
48546         * iconvdata/ibm1160.h: Likewise.
48547         * iconvdata/ibm1161.h: Likewise.
48548         * iconvdata/ibm1162.h: Likewise.
48549         * iconvdata/ibm1163.h: Likewise.
48550         * iconvdata/ibm1164.h: Likewise.
48551         * iconvdata/ibm1166.h: Likewise.
48552         * iconvdata/ibm1167.h: Likewise.
48553         * iconvdata/ibm12712.h: Likewise.
48554         * iconvdata/ibm1390.h: Likewise.
48555         * iconvdata/ibm1399.h: Likewise.
48556         * iconvdata/ibm16804.h: Likewise.
48557         * iconvdata/ibm4517.h: Likewise.
48558         * iconvdata/ibm4899.h: Likewise.
48559         * iconvdata/ibm4909.h: Likewise.
48560         * iconvdata/ibm4971.h: Likewise.
48561         * iconvdata/ibm5347.h: Likewise.
48562         * iconvdata/ibm803.h: Likewise.
48563         * iconvdata/ibm856.h: Likewise.
48564         * iconvdata/ibm901.h: Likewise.
48565         * iconvdata/ibm902.h: Likewise.
48566         * iconvdata/ibm9030.h: Likewise.
48567         * iconvdata/ibm9066.h: Likewise.
48568         * iconvdata/ibm921.h: Likewise.
48569         * iconvdata/ibm922.h: Likewise.
48570         * iconvdata/ibm9448.h: Likewise.
48571         * iconvdata/isiri-3342.h: Likewise.
48572         * iconvdata/jis0201.h: Likewise.
48573         * include/link.h: Likewise.
48574         * include/netdb.h: Likewise.
48575         * inet/check_native.c: Likewise.
48576         * inet/check_pf.c: Likewise.
48577         * inet/getipv4sourcefilter.c: Likewise.
48578         * inet/getnameinfo.c: Likewise.
48579         * inet/getsourcefilter.c: Likewise.
48580         * inet/htonl.c: Likewise.
48581         * inet/setipv4sourcefilter.c: Likewise.
48582         * inet/setsourcefilter.c: Likewise.
48583         * inet/test-inet6_opt.c: Likewise.
48584         * inet/tst-network.c: Likewise.
48585         * locale/C-collate.c: Likewise.
48586         * locale/C-ctype.c: Likewise.
48587         * locale/C-time.c: Likewise.
48588         * locale/C-translit.h: Likewise.
48589         * locale/loadarchive.c: Likewise.
48590         * locale/programs/3level.h: Likewise.
48591         * locale/programs/charmap.c: Likewise.
48592         * locale/programs/charmap.h: Likewise.
48593         * locale/programs/ld-address.c: Likewise.
48594         * locale/programs/ld-collate.c: Likewise.
48595         * locale/programs/ld-ctype.c: Likewise.
48596         * locale/programs/ld-identification.c: Likewise.
48597         * locale/programs/ld-measurement.c: Likewise.
48598         * locale/programs/ld-messages.c: Likewise.
48599         * locale/programs/ld-monetary.c: Likewise.
48600         * locale/programs/ld-name.c: Likewise.
48601         * locale/programs/ld-numeric.c: Likewise.
48602         * locale/programs/ld-paper.c: Likewise.
48603         * locale/programs/ld-telephone.c: Likewise.
48604         * locale/programs/ld-time.c: Likewise.
48605         * locale/programs/linereader.c: Likewise.
48606         * locale/programs/locale.c: Likewise.
48607         * locale/programs/locarchive.c: Likewise.
48608         * locale/programs/locfile.h: Likewise.
48609         * locale/programs/repertoire.c: Likewise.
48610         * locale/programs/simple-hash.c: Likewise.
48611         * locale/programs/simple-hash.h: Likewise.
48612         * malloc/memusage.c: Likewise.
48613         * malloc/memusagestat.c: Likewise.
48614         * nis/nis_defaults.c: Likewise.
48615         * nis/nis_hash.c: Likewise.
48616         * nis/nis_print.c: Likewise.
48617         * nis/nis_xdr.c: Likewise.
48618         * nscd/connections.c: Likewise.
48619         * nscd/hstcache.c: Likewise.
48620         * nscd/nscd_gethst_r.c: Likewise.
48621         * nscd/nscd_getserv_r.c: Likewise.
48622         * nscd/nscd_helper.c: Likewise.
48623         * nscd/servicescache.c: Likewise.
48624         * nss/makedb.c: Likewise.
48625         * nss/nss_db/db-XXX.c: Likewise.
48626         * nss/nss_db/db-initgroups.c: Likewise.
48627         * nss/nss_db/db-netgrp.c: Likewise.
48628         * nss/nss_files/files-network.c: Likewise.
48629         * nss/nss_files/files-parse.c: Likewise.
48630         * posix/bug-regex5.c: Likewise.
48631         * posix/fnmatch_loop.c: Likewise.
48632         * posix/regcomp.c: Likewise.
48633         * posix/regexec.c: Likewise.
48634         * posix/tst-rfc3484-2.c: Likewise.
48635         * posix/tst-rfc3484-3.c: Likewise.
48636         * posix/tst-rfc3484.c: Likewise.
48637         * resolv/nss_dns/dns-canon.c: Likewise.
48638         * resolv/nss_dns/dns-network.c: Likewise.
48639         * resolv/res_init.c: Likewise.
48640         * resolv/res_mkquery.c: Likewise.
48641         * resolv/tst-aton.c: Likewise.
48642         * stdlib/cxa_atexit.c: Likewise.
48643         * stdlib/cxa_finalize.c: Likewise.
48644         * stdlib/gen-fpioconst.c: Likewise.
48645         * stdlib/strtol_l.c: Likewise.
48646         * string/tst-endian.c: Likewise.
48647         * sunrpc/auth_des.c: Likewise.
48648         * sunrpc/clnt_udp.c: Likewise.
48649         * sunrpc/rtime.c: Likewise.
48650         * sunrpc/svcauth_des.c: Likewise.
48651         * sunrpc/xdr.c: Likewise.
48652         * sunrpc/xdr_intXX_t.c: Likewise.
48653         * sunrpc/xdr_rec.c: Likewise.
48654         * sysdeps/generic/ldconfig.h: Likewise.
48655         * sysdeps/generic/ldsodefs.h: Likewise.
48656         * sysdeps/generic/memusage.h: Likewise.
48657         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48658         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48659         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48660         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48661         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48662         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48663         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48664         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48665         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48666         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48667         * sysdeps/posix/getaddrinfo.c: Likewise.
48668         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48669         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48670         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48671         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48672         * sysdeps/powerpc/test-gettimebase.c: Likewise.
48673         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48674         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48675         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48676         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48677         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48678         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48679         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48680         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48681         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48682         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48683         * sysdeps/x86_64/dl-tls.h: Likewise.
48684         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48685         * time/alt_digit.c: Likewise.
48686         * time/era.c: Likewise.
48687         * wcsmbs/tst-c16c32-1.c: Likewise.
48689 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48691         * math/libm-test.inc (struct test_sincos_data): New type.
48692         (RUN_TEST_LOOP_sincos): New macro.
48693         (sincos_test_data): New variable.
48694         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48696 2013-05-16  Richard Henderson  <rth@redhat.com>
48698         * math/atest-exp2.c (LIMB64): New macro.
48699         (CONSTSZ): New macro.
48700         (mp_exp1, mp_exp_m1, mp_log2): New variables.
48701         (hexdig): Move ...
48702         (print_mpn_fp): ... to function scope.
48703         (read_mpn_hex): Remove.
48704         (get_log2): Remove.
48705         (exp2_mpn): Use mp_log2.
48706         (main): Use mp_exp1.
48708 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48710         * math/libm-test.inc: Remove comment about not testing "inexact"
48711         exceptions.
48712         (INEXACT_EXCEPTION): New macro.
48713         (NO_INEXACT_EXCEPTION): Likewise.
48714         (INVALID_EXCEPTION_OK): Update value.
48715         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48716         (OVERFLOW_EXCEPTION_OK): Likewise.
48717         (UNDERFLOW_EXCEPTION_OK): Likewise.
48718         (IGNORE_ZERO_INF_SIGN): Likewise.
48719         (ERRNO_UNCHANGED): Likewise.
48720         (ERRNO_EDOM): Likewise.
48721         (ERRNO_ERANGE): Likewise.
48722         (test_exceptions): Handle testing "inexact" exceptions.
48723         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48724         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48725         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48726         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48727         INEXACT_EXCEPTION.
48728         (rint_towardzero_test_data): Likewise.
48729         (rint_downward_test_data): Likewise.
48730         (rint_upward_test_data): Likewise.
48732         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48733         with OVERFLOW_EXCEPTION.
48734         (exp10_test_data): Likewise.
48735         (exp2_test_data): Likewise.
48736         (expm1_test_data): Likewise.
48737         (lgamma_test_data): Likewise.
48738         (pow_test_data): Likewise.
48739         (tgamma_test_data): Likewise.
48740         (yn_test_data): Remove duplicate test of overflow.
48742         * math/libm-test.inc (struct test_cc_c_data): New type.
48743         (RUN_TEST_LOOP_cc_c): New macro.
48744         (cpow_test_data): New variable.
48745         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48747         * math/libm-test.inc (struct test_f_L_data): New type.
48748         (RUN_TEST_LOOP_f_L): New macro.
48749         (llrint_test_data): New variable.
48750         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48751         (llrint_tonearest_test_data): New variable.
48752         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48753         (llrint_towardzero_test_data): New variable.
48754         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48755         (llrint_downward_test_data): New variable.
48756         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48757         (llrint_upward_test_data): New variable.
48758         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48759         (llround_test_data): New variable.
48760         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48762 2013-05-13  Peter Collingbourne  <pcc@google.com>
48764         * math/atest-exp2.c (get_log2): Remove const attribute.
48766 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48768         * math/libm-test.inc (struct test_f_l_data): New type.
48769         (RUN_TEST_LOOP_f_l): New macro.
48770         (lrint_test_data): New variable.
48771         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48772         (lrint_tonearest_test_data): New variable.
48773         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48774         (lrint_towardzero_test_data): New variable.
48775         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48776         (lrint_downward_test_data): New variable.
48777         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48778         (lrint_upward_test_data): New variable.
48779         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48780         (lround_test_data): New variable.
48781         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48783 2013-05-15  Peter Collingbourne  <pcc@google.com>
48785         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48786         (EXTRACT_WORDS64) Use where appropriate.
48787         (INSERT_WORDS64) Likewise.
48789         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48790         constraints with x constraints.
48791         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48793         * malloc/obstack.c (_obstack_compat): Add initializer.
48795 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48797         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48798         si_trapno and add si_addr_lsb to _sifields.sigfault.
48799         (si_trapno): Remove macro.
48800         (si_addr_lsb): Define new macro.
48801         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48803 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48805         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48806         instead of TEST_f_l.
48807         (llrint_test_tonearest): Likewise.
48808         (llrint_test_towardzero): Likewise.
48809         (llrint_test_downward): Likewise.
48810         (llrint_test_upward): Likewise.
48811         (llround_test): Likewise.
48813         * math/libm-test.inc (struct test_f_i_data): Add comment.
48814         (RUN_TEST_LOOP_f_b): New macro.
48815         (RUN_TEST_LOOP_f_b_tg): Likewise.
48816         (finite_test_data): New variable.
48817         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48818         (isfinite_test_data): New variable.
48819         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48820         (isinf_test_data): New variable.
48821         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48822         (isnan_test_data): New variable.
48823         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48824         (isnormal_test_data): New variable.
48825         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48826         (issignaling_test_data): New variable.
48827         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48828         (signbit_test_data): New variable.
48829         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48831         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48832         with INVALID_EXCEPTION.
48833         (acosh_test_data): Likewise.
48834         (asin_test_data): Likewise.
48835         (atanh_test_data): Likewise.
48836         (fmod_test_data): Likewise.
48837         (log_test_data): Likewise.
48838         (log10_test_data): Likewise.
48839         (log2_test_data): Likewise.
48840         (pow_test_data): Likewise.
48841         (sqrt_test_data): Likewise.
48842         (y0_test_data): Likewise.
48843         (y1_test_data): Likewise.
48844         (yn_test_data): Likewise.
48846         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48847         function contents.
48849         * math/libm-test.inc (struct test_ff_i_data): New type.
48850         (RUN_TEST_LOOP_ff_i_tg): New macro.
48851         (isgreater_test_data): New variable.
48852         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48853         (isgreaterequal_test_data): New variable.
48854         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48855         (isless_test_data): New variable.
48856         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48857         (islessequal_test_data): New variable.
48858         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48859         (islessgreater_test_data): New variable.
48860         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48861         (isunordered_test_data): New variable.
48862         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48864 2013-05-14  David S. Miller  <davem@davemloft.net>
48866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48868 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
48870         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48872         * math/libm-test.inc (struct test_fF_f1_data): Change type of
48873         extra_test to int.
48874         (struct test_f_i_data): Change type of max_ulp to int.
48876         * math/libm-test.inc (test_ffI_f1_data): New type.
48877         (RUN_TEST_LOOP_ffI_f1): New macro.
48878         (remquo_test_data): New variable.
48879         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48881         * setjmp/tst-setjmp-fp.c: New file.
48882         * setjmp/Makefile (tests): Add tst-setjmp-fp.
48883         (link-libm): New variable.
48884         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48886         * math/libm-test.inc (struct test_f_i_data): New type.
48887         (RUN_TEST_LOOP_f_i): New macro.
48888         (RUN_TEST_LOOP_f_i_tg): Likewise.
48889         (fpclassify_test_data): New variable.
48890         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48891         (ilogb_test_data): New variable.
48892         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48894         * math/libm-test.inc (scalbln_test): Correct function name in END
48895         call.
48897         * math/libm-test.inc (struct test_f_f1_data): Add comment.
48898         (RUN_TEST_LOOP_fI_f1): New macro.
48899         (frexp_test_data): New variable.
48900         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48902         * math/libm-test.inc (struct test_fF_f1_data): New type.
48903         (RUN_TEST_LOOP_fF_f1): New macro.
48904         (modf_test_data): New variable.
48905         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48907         * math/libm-test.inc (struct test_f_f1_data): New type.
48908         (RUN_TEST_LOOP_f_f1): New macro.
48909         (gamma_test_data): New variable.
48910         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48911         (lgamma_test_data): New variable.
48912         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48914 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
48916         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48917         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48918         (main): Comment "tls" pseudo-hwcap.
48920 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
48922         * math/libm-test.inc (struct test_fl_f_data): New type.
48923         (RUN_TEST_LOOP_fl_f): New variable.
48924         (scalbln_test_data): New variable.
48925         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48927         * math/libm-test.inc (struct test_fi_f_data): New type.
48928         (RUN_TEST_LOOP_fi_f): New macro.
48929         (ldexp_test_data): New variable.
48930         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48931         (scalbn_test_data): New variable.
48932         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48934         * math/libm-test.inc (struct test_c_f_data): New type.
48935         (RUN_TEST_LOOP_c_f): New macro.
48936         (cabs_test_data): New variable.
48937         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48938         (carg_test_data): New variable.
48939         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48940         (cimag_test_data): New variable.
48941         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48942         (creal_test_data): New variable.
48943         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48945         * math/libm-test.inc (struct test_if_f_data): New type.
48946         (RUN_TEST_LOOP_if_f): New macro.
48947         (jn_test_data): New variable.
48948         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48949         (yn_test_data): New variable.
48950         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48952         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48954 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48956         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48957         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48959 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48961         * benchtests/Makefile (CPPFLAGS-nonlib): Add
48962         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48963         (bench-deps): Add bench-timing.h.
48964         * benchtests-bench-skeleton.c: Include bench-timing.h.
48965         (main): Use TIMING_* macros instead of clock_gettime.
48966         * benchtests/bench-timing.h: New file.
48968         [BZ #14582]
48969         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48970         Renamed from _LIB_VERSION.
48971         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48973 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
48975         * math/libm-test.inc (struct test_fff_f_data): New type.
48976         (RUN_TEST_LOOP_fff_f): New macro.
48977         (fma_test_data): New variable.
48978         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48979         (fma_towardzero_test_data): New variable.
48980         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48981         (fma_downward_test_data): New variable.
48982         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48983         (fma_upward_test_data): New variable.
48984         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48986         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48987         (struct test_c_c_data): New type.
48988         (RUN_TEST_LOOP_c_c): New macro.
48989         (cacos_test_data): New variable.
48990         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48991         (cacosh_test_data): New variable.
48992         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48993         (casin_test_data): New variable.
48994         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48995         (casinh_test_data): New variable.
48996         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48997         (catan_test_data): New variable.
48998         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48999         (catanh_test_data): New variable.
49000         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
49001         (ccos_test_data): New variable.
49002         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
49003         (ccosh_test_data): New variable.
49004         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
49005         (cexp_test_data): New variable.
49006         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
49007         (clog_test_data): New variable.
49008         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
49009         (clog10_test_data): New variable.
49010         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
49011         (conj_test_data): New variable.
49012         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
49013         (cproj_test_data): New variable.
49014         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
49015         (csin_test_data): New variable.
49016         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
49017         (csinh_test_data): New variable.
49018         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
49019         (csqrt_test_data): New variable.
49020         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
49021         (ctan_test_data): New variable.
49022         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
49023         (ctan_tonearest_test_data): New variable.
49024         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49025         (ctan_towardzero_test_data): New variable.
49026         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49027         (ctan_downward_test_data): New variable.
49028         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49029         (ctan_upward_test_data): New variable.
49030         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49031         (ctanh_test_data): New variable.
49032         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
49033         (ctanh_tonearest_test_data): New variable.
49034         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49035         (ctanh_towardzero_test_data): New variable.
49036         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49037         (ctanh_downward_test_data): New variable.
49038         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49039         (ctanh_upward_test_data): New variable.
49040         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49041         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
49042         of BUILD_COMPLEX.
49044         * math/libm-test.inc (struct test_ff_f_data): New type.
49045         (struct test_ff_f_data_nexttoward): Likewise.
49046         (RUN_TEST_LOOP_2_f): New macro.
49047         (RUN_TEST_LOOP_ff_f): Likewise.
49048         (atan2_test_data): New variable.
49049         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
49050         (copysign_test_data): New variable.
49051         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
49052         (fdim_test_data): New variable.
49053         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
49054         (fmax_test_data): New variable.
49055         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
49056         (fmin_test_data): New variable.
49057         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
49058         (fmod_test_data): New variable.
49059         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
49060         (hypot_test_data): New variable.
49061         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
49062         (nextafter_test_data): New variable.
49063         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
49064         (nexttoward_test_data): New variable.
49065         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
49066         (pow_test_data): New variable.
49067         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
49068         (pow_tonearest_test_data): New variable.
49069         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
49070         (pow_towardzero_test_data): New variable.
49071         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
49072         (pow_downward_test_data): New variable.
49073         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
49074         (pow_upward_test_data): New variable.
49075         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
49076         (remainder_test_data): New variable.
49077         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
49078         (scalb_test_data): New variable.
49079         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
49080         * sysdeps/i386/fpu/libm-test-ulps: Update.
49082 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
49084         * math/libm-test.inc (fma_test): Use max_value instead of local
49085         variable fltmax.
49086         (nextafter_test): Likewise.
49088         * math/libm-test.inc (acos_towardzero_test_data): New variable.
49089         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49090         (acos_downward_test_data): New variable.
49091         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49092         (acos_upward_test_data): New variable.
49093         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49094         (acosh_test_data): New variable.
49095         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
49096         (asin_test_data): New variable.
49097         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
49098         (asin_tonearest_test_data): New variable.
49099         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49100         (asin_towardzero_test_data): New variable.
49101         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49102         (asin_downward_test_data): New variable.
49103         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49104         (asin_upward_test_data): New variable.
49105         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49106         (asinh_test_data): New variable.
49107         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
49108         (atan_test_data): New variable.
49109         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
49110         (atanh_test_data): New variable.
49111         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
49112         (cbrt_test_data): New variable.
49113         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
49114         (ceil_test_data): New variable.
49115         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
49116         (cos_test_data): New variable.
49117         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
49118         (cos_tonearest_test_data): New variable.
49119         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49120         (cos_towardzero_test_data): New variable.
49121         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49122         (cos_downward_test_data): New variable.
49123         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49124         (cos_upward_test_data): New variable.
49125         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49126         (cosh_test_data): New variable.
49127         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
49128         (cosh_tonearest_test_data): New variable.
49129         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49130         (cosh_towardzero_test_data): New variable.
49131         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49132         (cosh_downward_test_data): New variable.
49133         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49134         (cosh_upward_test_data): New variable.
49135         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49136         (erf_test_data): New variable.
49137         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
49138         (erfc_test_data): New variable.
49139         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
49140         (exp_test_data): New variable.
49141         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
49142         (exp_tonearest_test_data): New variable.
49143         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49144         (exp_towardzero_test_data): New variable.
49145         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49146         (exp_downward_test_data): New variable.
49147         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49148         (exp_upward_test_data): New variable.
49149         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49150         (exp10_test_data): New variable.
49151         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
49152         (exp2_test_data): New variable.
49153         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
49154         (expm1_test_data): New variable.
49155         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
49156         (fabs_test_data): New variable.
49157         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
49158         (floor_test_data): New variable.
49159         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
49160         (j0_test_data): New variable.
49161         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
49162         (j1_test_data): New variable.
49163         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
49164         (log_test_data): New variable.
49165         (log_test): Run tests with RUN_TEST_LOOP_f_f.
49166         (log10_test_data): New variable.
49167         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
49168         (log1p_test_data): New variable.
49169         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
49170         (log2_test_data): New variable.
49171         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
49172         (logb_test_data): New variable.
49173         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
49174         (logb_downward_test_data): New variable.
49175         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49176         (nearbyint_test_data): New variable.
49177         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
49178         (rint_test_data): New variable.
49179         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
49180         (rint_tonearest_test_data): New variable.
49181         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49182         (rint_towardzero_test_data): New variable.
49183         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49184         (rint_downward_test_data): New variable.
49185         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49186         (rint_upward_test_data): New variable.
49187         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49188         (round_test_data): New variable.
49189         (round_test): Run tests with RUN_TEST_LOOP_f_f.
49190         (sin_test_data): New variable.
49191         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
49192         (sin_tonearest_test_data): New variable.
49193         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49194         (sin_towardzero_test_data): New variable.
49195         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49196         (sin_downward_test_data): New variable.
49197         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49198         (sin_upward_test_data): New variable.
49199         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49200         (sinh_test_data): New variable.
49201         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
49202         (sinh_tonearest_test_data): New variable.
49203         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49204         (sinh_towardzero_test_data): New variable.
49205         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49206         (sinh_downward_test_data): New variable.
49207         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49208         (sinh_upward_test_data): New variable.
49209         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49210         (sqrt_test_data): New variable.
49211         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
49212         (tan_test_data): New variable.
49213         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
49214         (tan_tonearest_test_data): New variable.
49215         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49216         (tan_towardzero_test_data): New variable.
49217         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49218         (tan_downward_test_data): New variable.
49219         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49220         (tan_upward_test_data): New variable.
49221         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49222         (tanh_test_data): New variable.
49223         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
49224         (tgamma_test_data): New variable.
49225         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
49226         (trunc_test_data): New variable.
49227         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
49228         (y0_test_data): New variable.
49229         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
49230         (y1_test_data): New variable.
49231         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
49232         (significand_test_data): New variable.
49233         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
49235 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
49237         [BZ #12387]
49238         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
49240 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49242         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
49244 2013-05-10  Andreas Jaeger  <aj@suse.de>
49246         [BZ #15448]
49247         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
49248         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
49250 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49252         * math/gen-libm-test.pl (adjust_arg): New function.
49253         (special_functions): Handle generating output in both functions
49254         and arrays.
49255         (parse_args): Likewise.
49256         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
49257         $in_func argument to parse_args.
49258         * math/libm-test.inc (struct test_f_f_data): New type.
49259         (IF_ROUND_INIT_): New macro.
49260         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
49261         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49262         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49263         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49264         (ROUND_RESTORE_): Likewise.
49265         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
49266         (ROUND_RESTORE_FE_TONEAREST): Likewise.
49267         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
49268         (ROUND_RESTORE_FE_UPWARD): Likewise.
49269         (RUN_TEST_LOOP_f_f): New macro.
49270         (acos_test_data): New variable.
49271         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
49272         (acos_tonearest_test_data): New variable.
49273         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49275 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49277         * benchtests/bench-skeleton.c (startup): Fix coding style.
49279 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49281         [BZ #6809]
49282         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
49283         negative infinity argument.
49284         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
49285         negative infinity argument.
49286         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
49287         negative infinity argument.
49288         * math/libm-test.inc (tgamma_test): Expect errno to be set for
49289         domain errors.
49291 2013-05-10  Florian Weimer  <fweimer@redhat.com>
49293         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
49294         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
49295         * iconv/iconv_prog.c (main): Likewise.
49296         * locale/programs/charmap-dir.c (charmap_readdir)
49297         (fopen_uncompressed): Likewise.
49298         * locale/programs/locfile.c (siblings_uncached)
49299         (write_locale_data): Use lstat64 instead of lstat.
49300         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
49301         stat.
49303 2013-05-10  Andreas Jaeger  <aj@suse.de>
49305         [BZ #15395]
49306         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
49307         localization.
49308         Include <locale.h>.
49310 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
49312         * elf/dl-close.c (_dl_close_worker): Add comments.
49314 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
49316         [BZ #15359]
49317         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
49318         high part of pi/2.
49319         (__ieee754_rem_pio2l): Update comments.
49321         [BZ #15429]
49322         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
49323         high part of pi/2.
49324         (__ieee754_rem_pio2l): Update comments.
49326         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
49327         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
49329         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
49330         M_PI_4l.
49332         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
49333         (M_PI_34_LOG10El): Likewise.
49334         (M_PI2_LOG10El): Likewise.
49335         (M_PI4_LOG10El): Likewise.
49336         (M_PI_LOG10El): Likewise.
49338 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49342 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
49344         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
49345         (MINUS_ZERO_INIT): Likewise.
49346         (PLUS_INFTY_INIT): Likewise.
49347         (MINUS_INFTY_INIT): Likewise.
49348         (QNAN_VALUE_INIT): Likewise.
49349         (MAX_VALUE_INIT): Likewise.
49350         (MIN_VALUE_INIT): Likewise.
49351         (MIN_SUBNORM_VALUE_INIT): Likewise.
49352         (plus_zero): Initialize with PLUS_ZERO_INIT.
49353         (minus_zero): Initialize with MINUS_ZERO_INIT.
49354         (plus_infty): Initialize with PLUS_INFTY_INIT.
49355         (minus_infty): Initialize with MINUS_INFTY_INIT.
49356         (qnan_value): Initialize with QNAN_VALUE_INIT.
49357         (max_value): Initialize with MAX_VALUE_INIT.
49358         (min_value): Initialize with MIN_VALUE_INIT.
49359         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
49361         * math/libm-test.inc (RUN_TEST_if_f): New macro.
49362         (jn_test): Use TEST_if_f instead of TEST_ff_f.
49363         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
49364         (yn_test): Use TEST_if_f instead of TEST_ff_f.
49366         * math/libm-test.inc (RUN_TEST_f_f): New macro.
49367         (RUN_TEST_2_f): Likewise.
49368         (RUN_TEST_ff_f): Likewise.
49369         (RUN_TEST_fi_f): Likewise.
49370         (RUN_TEST_fl_f): Likewise.
49371         (RUN_TEST_fff_f): Likewise.
49372         (RUN_TEST_c_f): Likewise.
49373         (RUN_TEST_f_f1): Likewise.
49374         (RUN_TEST_fF_f1): Likewise.
49375         (RUN_TEST_fI_f1): Likewise.
49376         (RUN_TEST_ffI_f1): Likewise.
49377         (RUN_TEST_c_c): Likewise.
49378         (RUN_TEST_cc_c): Likewise.
49379         (RUN_TEST_f_i): Likewise.
49380         (RUN_TEST_f_i_tg): Likewise.
49381         (RUN_TEST_ff_i_tg): Likewise.
49382         (RUN_TEST_f_b): Likewise.
49383         (RUN_TEST_f_b_tg): Likewise.
49384         (RUN_TEST_f_l): Likewise.
49385         (RUN_TEST_f_L): Likewise.
49386         (RUN_TEST_sincos): Likewise.
49387         * math/gen-libm-test.pl (new_test): Take new argument to indicate
49388         whether to show exceptions.  Do not include ");\n" in return
49389         value.
49390         (special_functions): Output call to RUN_TEST_sincos instead of
49391         check_float calls.  Update calls to new_test.
49392         (parse_args): Output call to single RUN_TEST_* macro instead of
49393         check_* calls and other assignments.  Update calls to new_test.
49395         [BZ #2546]
49396         [BZ #2560]
49397         [BZ #5159]
49398         [BZ #15426]
49399         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
49400         input to result for tgamma overflow.
49401         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
49402         (gamma_coeff): New variable.
49403         (NCOEFF): New macro.
49404         (gamma_positive): New function.
49405         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
49406         underflow here.  Use gamma_positive instead of exp (lgamma) for
49407         other arguments.
49408         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
49409         (gamma_coeff): New variable.
49410         (NCOEFF): New macro.
49411         (gammaf_positive): New function.
49412         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
49413         underflow here.  Use gamma_positive instead of exp (lgamma) for
49414         other arguments.
49415         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
49416         (gamma_coeff): New variable.
49417         (NCOEFF): New macro.
49418         (gammal_positive): New function.
49419         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
49420         underflow here.  Use gamma_positive instead of exp (lgamma) for
49421         other arguments.
49422         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
49423         (gamma_coeff): New variable.
49424         (NCOEFF): New macro.
49425         (gammal_positive): New function.
49426         (__ieee754_gammal_r): Handle positive infinity, overflow and
49427         underflow here.  Handle NaN the same as positive infinity.  Remove
49428         check x < 0xffffffff for negative integers.  Use gamma_positive
49429         instead of exp (lgamma) for other arguments.
49430         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
49431         (gamma_coeff): New variable.
49432         (NCOEFF): New macro.
49433         (gammal_positive): New function.
49434         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
49435         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
49436         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
49437         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
49438         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
49439         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
49440         * sysdeps/generic/math_private.h (__gamma_productf): New
49441         prototype.
49442         (__gamma_product): Likewise.
49443         (__gamma_productl): Likewise.
49444         * math/Makefile (libm-calls): Add gamma_product.
49445         * math/libm-test.inc (tgamma_test): Add more tests.
49446         * sysdeps/i386/fpu/libm-test-ulps: Update.
49447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49449 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
49451         * benchtests/bench-skeleton.c (main): Preheat CPU.
49453 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
49455         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
49457 2013-05-07  Roland McGrath  <roland@hack.frob.com>
49459         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
49460         and _dl_skip_args_internal.
49462 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
49464         * manual/message.texi (Message Translation): Talk about users.
49465         Message to key mapping impacts design.
49467 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49469         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
49471         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
49473         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
49474         * sysdeps/wordsize-64/glob64.c: ... here.
49476         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
49477         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
49478         New macros.
49480         * debug/getlogin_r_chk.c: Moved to ...
49481         * login/getlogin_r_chk.c: ... here.
49482         * debug/Makefile (routines): Move getlogin_r_chk to ...
49483         * login/Makefile (routines): ... here.
49484         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
49485         * login/Versions (libc: GLIBC_2.4): ... here.
49487         * io/poll.c (__poll): Renamed from poll.
49488         Add libc_hidden_def.
49489         (poll): Define as weak alias.
49491         * debug/ptsname_r_chk.c: Moved to ...
49492         * login/ptsname_r_chk.c: ... here.
49493         * debug/Makefile (routines): Move ptsname_r_chk to ...
49494         * login/Makefile (routines): ... here.
49495         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
49496         * login/Versions (libc: GLIBC_2.4): ... here.
49498         * posix/getlogin.c: Moved to ...
49499         * login/getlogin.c: ... here.
49500         * posix/getlogin_r.c: Moved to ...
49501         * login/getlogin_r.c: ... here.
49502         * posix/getlogin_r.c: Moved to ...
49503         * login/getlogin_r.c: ... here.
49504         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
49505         * login/Makefile (routines): ... here.
49506         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
49507         * login/Versions (libc: GLIBC_2.0): ... here.
49509         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
49510         (setrlimit): Define as weak alias.
49512         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
49513         Call __ names for open, ftruncate, and close.
49514         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
49515         (truncate): Define as weak alias.
49517 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
49519         * math/gen-libm-test.pl (parse_args): Initialize x before each
49520         test of frexp, modf and remquo.
49522         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
49523         test signgam value.
49525 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49527         [BZ #15418]
49528         [BZ #15419]
49529         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
49530         internal tests.
49531         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49533 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49535         * elf/dl-writev.h: New file.
49536         * elf/dl-misc.c: Include it.
49537         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
49538         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
49540 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
49542         * math/libm-test.inc (noXFails): Remove variable.
49543         (noXPasses): Likewise.
49544         (BUILD_COMPLEX_INT): Remove macro.
49545         (print_screen): Remove xfail argument.
49546         (print_screen_max_error): Likewise.
49547         (update_stats): Likewise.
49548         (print_max_error): Likewise.  Update calls to other affected
49549         functions.
49550         (print_complex_max_error): Likewise.
49551         (test_single_exception): Update calls to print_screen.
49552         (test_single_errno): Likewise.
49553         (check_float_internal): Remove xfail argument.  Update calls to
49554         other affected functions.
49555         (check_float): Likewise.
49556         (check_complex): Likewise.
49557         (check_int): Likewise.
49558         (check_long): Likewise.
49559         (check_bool): Likewise.
49560         (check_longlong): Likewise.
49561         (main): Don't print noXFails and noXPasses.
49562         * math/gen-libm-test.pl (top level): Don't mention expected
49563         failure handling in comment.
49564         (new_test): Don't handle expected failures.
49565         (parse_args): Don't mention expected failure handling in comment.
49566         (generate_testfile): Don't handle expected failures.
49567         (parse_ulps): Likewise.
49568         (print_ulps_file): Likewise.
49569         (get_failure): Remove function.
49570         (output_test): Don't handle expected failures.
49571         * make/README.libm-test: Don't mention expected failure handling.
49573         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
49574         (minus_zero): Likewise.
49575         (plus_infty): Likewise.
49576         (minus_infty): Likewise.
49577         (qnan_value): Likewise.
49578         (max_value): Likewise.
49579         (min_value): Likewise.
49580         (min_subnorm_value): Likewise.
49581         (initialize): Do not initialize those variables dynamically.
49583 2013-05-03  Roland McGrath  <roland@hack.frob.com>
49585         * io/open.c (__open_2): Moved to ...
49586         * io/open_2.c: ... this new file.
49587         * io/open64.c (__open64_2): Moved to ...
49588         * io/open64_2.c: ... this new file.
49589         * io/openat.c (__openat_2): Moved to ...
49590         * io/openat_2.c: ... this new file.
49591         * io/openat64.c (__openat64_2): Moved to ...
49592         * io/openat64_2.c: ... this new file.
49593         * io/Makefile (routines): Add them.
49594         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49595         * sysdeps/unix/sysv/linux/open_2.c: File removed.
49596         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49597         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49598         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49599         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49600         (__openat64): Add hidden_ver.
49601         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49602         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49604         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49605         Separately conditionalize setting of GLRO(dl_sysinfo) so
49606         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49607         as well, but the actual setting is only under [NEED_DL_SYSINFO].
49609 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49611         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49612         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49613         definition.
49614         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49615         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49616         (_libc_vdso_platform_setup): Add __vdso_time initialization.
49617         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49618         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49620 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
49622         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49623         test signgam value.
49625         * math/libm-test.inc (hypot_test): Do not use
49626         IGNORE_ZERO_INF_SIGN.
49628 2013-05-03  Andreas Jaeger  <aj@suse.de>
49630         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49631         Linux 3.9.
49632         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49633         (PF_MAX): Adjust for VSOCK change.
49635 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49639 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
49641         [BZ #15264]
49642         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49643         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49644         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49646 2013-05-02  David S. Miller  <davem@davemloft.net>
49648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49650 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
49652         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49654 2013-05-01  Roland McGrath  <roland@hack.frob.com>
49656         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49658 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
49660         [BZ #14952]
49661         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49662         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49663         Use __attribute__ ((__gnu_inline__)).
49664         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49665         Don't use __attribute__ ((__gnu_inline__)).
49667 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
49669         [BZ #15423]
49670         * math/s_catan.c (__catan): Handle small real or imaginary part of
49671         input specially to avoid spurious underflow.
49672         * math/s_catanf.c (__catanf): Likewise.
49673         * math/s_catanh.c (__catanh): Likewise.
49674         * math/s_catanhf.c (__catanhf): Likewise.
49675         * math/s_catanhl.c (__catanhl): Likewise.
49676         * math/s_catanl.c (__catanl): Likewise.
49677         * math/libm-test.inc (catan_test): Add more tests.
49678         (catanh_test): Likewise.
49679         * sysdeps/i386/fpu/libm-test-ulps: Update.
49680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49682 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49686 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
49688         [BZ #15416]
49689         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49690         accurately for denominator in atan2.
49691         * math/s_catanf.c (__catanf): Likewise.
49692         * math/s_catanh.c (__catanh): Likewise.
49693         * math/s_catanhf.c (__catanhf): Likewise.
49694         * math/s_catanhl.c (__catanhl): Likewise.
49695         * math/s_catanl.c (__catanl): Likewise.
49696         * math/libm-test.inc (catan_test): Add more tests.
49697         (catanh_test): Likewise.
49698         * sysdeps/i386/fpu/libm-test-ulps: Update.
49699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49701 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49703         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49705         * benchtests/Makefile (bench): Remove slow benchmarks.
49706         * benchtests/atan-inputs: Add slow benchmark inputs.
49707         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49708         (BENCH_FUNC): Accept variant offset.
49709         (VARIANT): Define.
49710         * benchtests/bench-skeleton.c (main): Run benchmark for each
49711         variant.
49712         * benchtests/cos-inputs: Add slow benchmark inputs.
49713         * benchtests/exp-inputs: Likewise.
49714         * benchtests/pow-inputs: Likewise.
49715         * benchtests/sin-inputs: Likewise.
49716         * benchtests/slowatan-inputs: Remove.
49717         * benchtests/slowatan.c: Remove.
49718         * benchtests/slowcos-inputs: Remove.
49719         * benchtests/slowcos.c: Remove.
49720         * benchtests/slowexp-inputs: Remove.
49721         * benchtests/slowexp.c: Remove.
49722         * benchtests/slowpow-inputs: Remove.
49723         * benchtests/slowpow.c: Remove.
49724         * benchtests/slowsin-inputs: Remove.
49725         * benchtests/slowsin.c: Remove.
49726         * benchtests/slowtan-inputs: Remove.
49727         * benchtests/slowtan.c: Remove.
49728         * benchtests/tan-inputs: Add slow benchmark inputs.
49729         * scripts/bench.pl: Parse comments and directives.
49731         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
49732         in CPPFLAGS.
49733         ($(objpfx)bench-%.c): Remove *-ITER.
49734         * benchtests/bench-modf.c: Remove definition of ITER.
49735         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49736         (main): Loop for DURATION seconds instead of fixed number of
49737         iterations.
49738         * scripts/bench.pl: Don't expect iterations in parameters.
49740 2013-04-29  Roland McGrath  <roland@hack.frob.com>
49742         * io/fchdir.c (__fchdir): Renamed from fchdir.
49743         (fchdir): Define as weak alias.
49745 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49747         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49748         (ERRNO_EDOM): Likewise.
49749         (ERRNO_ERANGE): Likewise.
49750         (noErrnoTests): New variable.
49751         (init_max_error): Set errno to 0.
49752         (test_single_errno): New function.
49753         (test_errno): Likewise.
49754         (check_float_internal): Call test_errno.  Set errno to 0.
49755         (check_complex): Refer to errno tests in comment.
49756         (check_int): Call test_errno.  Set errno to 0.
49757         (check_long): Likewise.
49758         (check_bool): Likewise.
49759         (check_longlong): Likewise.
49760         (cos_test): Use ERRNO_* flags for errno tests instead of
49761         check_int.
49762         (expm1_test): Likewise.
49763         (fmod_test): Likewise.
49764         (ilogb_test): Likewise.
49765         (lgamma_test): Likewise.
49766         (pow_test): Likewise.
49767         (remainder_test): Likewise.
49768         (sin_test): Likewise.
49769         (tan_test): Likewise.
49770         (yn_test): Likewise.
49771         (initialize): Set errno to 0.
49772         (main): Print number of errno tests.
49773         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49775 2013-04-29  Andreas Jaeger  <aj@suse.de>
49777         [BZ #15084]
49778         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49779         and RES_USEVC.
49781         [BZ #15085]
49782         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49783         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49784         unimplemented.
49786         [BZ #15380]
49787         * stdlib/random.c (__initstate): Return NULL if
49788         __initstate fails.
49790         [BZ #15086]
49791         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49792         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49793         RES_SNGLKUPREOP.
49795 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49799 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49801         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49802         of individual tests.
49803         (casin_test): Likewise.
49804         (casinh_test): Likewise.
49806 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
49808         [BZ #15409]
49809         * math/s_catan.c (__catan): Handle arguments with large real or
49810         imaginary part separately without squaring.
49811         * math/s_catanf.c (__catanf): Likewise.
49812         * math/s_catanh.c (__catanh): Likewise.
49813         * math/s_catanhf.c (__catanhf): Likewise.
49814         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49815         and redefine.
49816         (__catanhl): Handle arguments with large real or imaginary part
49817         separately without squaring.
49818         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49819         and redefine.
49820         (__catanl): Handle arguments with large real or imaginary part
49821         separately without squaring.
49822         * math/libm-test.inc (catan_test): Add more tests.
49823         (catanh_test): Likewise.
49824         * sysdeps/i386/fpu/libm-test-ulps: Update.
49825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49827 2013-04-27  Andreas Jaeger  <aj@suse.de>
49829         [BZ #15007]
49830         * stdlib/stdlib.h: Update guards for qecvt.
49831         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49832         <stdlib.h>.
49834 2013-04-27  Allan McRae  <allan@archlinux.org>
49836         * sysdeps/i386/fpu/libm-test-ulps: Update.
49838 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
49840         [BZ #15406]
49841         * math/s_catan.c: Include <float.h>.
49842         (__catan): Ensure underflow exception occurs for underflowed
49843         result.
49844         * math/s_catanf.c: Include <float.h>.
49845         (__catanf): Ensure underflow exception occurs for underflowed
49846         result.
49847         * math/s_catanh.c: Include <float.h>.
49848         (__catanh): Ensure underflow exception occurs for underflowed
49849         result.
49850         * math/s_catanhf.c: Include <float.h>.
49851         (__catanhf): Ensure underflow exception occurs for underflowed
49852         result.
49853         * math/s_catanhl.c: Include <float.h>.
49854         (__catanhl): Ensure underflow exception occurs for underflowed
49855         result.
49856         * math/s_catanl.c: Include <float.h>.
49857         (__catanl): Ensure underflow exception occurs for underflowed
49858         result.
49859         * math/libm-test.inc (catan_test): Add more tests.
49860         (catanh_test): Likewise.
49862         [BZ #15405]
49863         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49864         underflowed result.
49865         * math/s_ccoshf.c (__ccoshf): Likewise.
49866         * math/s_ccoshl.c (__ccoshl): Likewise.
49867         * math/s_csin.c (__csin): Likewise.
49868         * math/s_csinf.c (__csinf): Likewise.
49869         * math/s_csinh.c (__csinh): Likewise.
49870         * math/s_csinhf.c (__csinhf): Likewise.
49871         * math/s_csinhl.c (__csinhl): Likewise.
49872         * math/s_csinl.c (__csinl): Likewise.
49873         * math/libm-test.inc (ccos_test): Add more tests.
49874         (ccosh_test): Likewise.
49875         (csin_test): Likewise.
49876         (csinh_test): Likewise.
49878 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49880         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49881         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49882         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49883         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49884         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49885         powerpc/power5+/fpu folders.
49886         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49889 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49891         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49893 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
49895         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49896         additions to variable.
49897         [$(config-machine) = x86_64] (modules-names): Likewise.
49898         ($(objpfx)tst-audit3): Remove dependency.
49899         ($(objpfx)tst-audit3.out): Likewise.
49900         ($(objpfx)tst-audit4): Likewise.
49901         ($(objpfx)tst-audit4.out): Likewise.
49902         ($(objpfx)tst-audit5): Likewise.
49903         ($(objpfx)tst-audit5.out): Likewise.
49904         ($(objpfx)tst-audit6): Likewise.
49905         ($(objpfx)tst-audit6.out): Likewise.
49906         ($(objpfx)tst-audit7): Likewise.
49907         ($(objpfx)tst-audit7.out): Likewise.
49908         (tst-audit3-ENV): Remove variable.
49909         (tst-audit4-ENV): Likewise.
49910         (tst-audit5-ENV): Likewise.
49911         (tst-audit6-ENV): Likewise.
49912         (tst-audit7-ENV): Likewise.
49913         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49914         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49915         addition to variable.
49916         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49917         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49918         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49919         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49920         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49921         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49922         tst-audit3, tst-audit4 and tst-audit5.
49923         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49924         tst-audit6 and tst-audit7.
49925         [$(subdir) = elf] (modules-names): Add audit modules for those
49926         tests.
49927         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49928         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49929         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49930         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49931         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49932         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49933         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49934         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49935         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49936         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49937         [$(subdir) = elf] (tst-audit3-ENV): New variable.
49938         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49939         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49940         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49941         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49942         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49943         Likewise.
49944         [$(subdir) = elf && $(config-cflags-avx) = yes]
49945         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49946         [$(subdir) = elf && $(config-cflags-avx) = yes]
49947         (CFLAGS-tst-auditmod4a.c): Likewise.
49948         [$(subdir) = elf && $(config-cflags-avx) = yes]
49949         (CFLAGS-tst-auditmod4b.c): Likewise.
49950         [$(subdir) = elf && $(config-cflags-avx) = yes]
49951         (CFLAGS-tst-auditmod6b.c): Likewise.
49952         [$(subdir) = elf && $(config-cflags-avx) = yes]
49953         (CFLAGS-tst-auditmod6c.c): Likewise.
49954         [$(subdir) = elf && $(config-cflags-avx) = yes]
49955         (CFLAGS-tst-auditmod7b.c): Likewise.
49956         * elf/tst-audit3.c: Move to ...
49957         * sysdeps/x86_64/tst-audit3.c: ... here.
49958         * elf/tst-audit4.c: Move to ...
49959         * sysdeps/x86_64/tst-audit4.c: ... here.
49960         * elf/tst-audit5.c: Move to ...
49961         * sysdeps/x86_64/tst-audit5.c: ... here.
49962         * elf/tst-audit6.c: Move to ...
49963         * sysdeps/x86_64/tst-audit6.c: ... here.
49964         * elf/tst-audit7.c: Move to ...
49965         * sysdeps/x86_64/tst-audit7.c: ... here.
49966         * elf/tst-auditmod3a.c: Move to ...
49967         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49968         * elf/tst-auditmod3b.c: Move to ...
49969         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49970         * elf/tst-auditmod4a.c: Move to ...
49971         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49972         * elf/tst-auditmod4b.c: Move to ...
49973         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49974         * elf/tst-auditmod5a.c: Move to ...
49975         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49976         * elf/tst-auditmod5b.c: Move to ...
49977         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49978         * elf/tst-auditmod6a.c: Move to ...
49979         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49980         * elf/tst-auditmod6b.c: Move to ...
49981         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49982         * elf/tst-auditmod6c.c: Move to ...
49983         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49984         * elf/tst-auditmod7a.c: Move to ...
49985         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49986         * elf/tst-auditmod7b.c: Move to ...
49987         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49989 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
49991         [BZ #15366]
49992         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49993         define unconditionally.
49994         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49995         define unconditionally.
49996         (INT8_C, INT16_C, etc.): Likewise.
49998 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
50000         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
50001         __ehdr_start with hidden visibility.
50003         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
50005 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
50007         * math/libm-test.inc (cos_test): Use accurate hex constants.
50008         (sincost_test): Likewise.
50010 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
50012         * math/libm-test.inc (catan_test): Add more tests.
50013         (catanh_test): Likewise.
50015         * math/s_catanf.c (__catanf): Use suffixed floating-point
50016         constants.
50017         * math/s_catanhf.c (__catanhf): Likewise.
50018         * math/s_catanhl.c (__catanhl): Likewise.
50019         * math/s_catanl.c (__catanl): Likewise.
50021         [BZ #15394]
50022         * math/s_catan.c (__catan): Calculate imaginary part of result
50023         with log1p not log unless computing log of number close to 0.
50024         * math/s_catanf.c (__catanf): Likewise.
50025         * math/s_catanl.c (__catanl): Likewise.
50026         * math/s_catanh.c (__catanh): Calculate real part of result with
50027         log1p not log unless computing log of number close to 0.
50028         * math/s_catanhf.c (__catanhf): Likewise.
50029         * math/s_catanhl.c (__catanhl): Likewise.
50030         * math/libm-test.inc (catan_test): Add more tests.
50031         (catanh_test): Likewise.
50032         * sysdeps/i386/fpu/libm-test-ulps: Update.
50033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50035 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50037         * benchtests/Makefile: Mention files in which fast and slow
50038         paths of math functions are implemented.
50040 2013-04-23  Roland McGrath  <roland@hack.frob.com>
50042         * sysdeps/posix/timespec_get.c: New file.
50044 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50046         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
50047         POWER.
50048         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
50049         for POWER.
50050         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
50051         powerpc/power5/fpu folders.
50052         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
50053         * benchtests/Makefile: Add modf testcase.
50054         * benchtests/bench-modf.c: New file: Benchmark test for mo
50056 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50058         [BZ #14888]
50059         * time/Makefile (tests): Add tst-strptime-whitespace.
50060         * time/strptime_l.c (get_number): Use ISSPACE.
50061         (__strptime_internal): Likewise.
50062         * time/tst-strptime-whitespace.c: New test case.
50064 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
50066         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
50067         member.
50068         (_nss_files_init): Set it here.
50070 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
50072         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
50073         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
50074         unsigned.
50076 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
50078         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
50080 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50082         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
50083         size just once.
50085 2013-04-21  David S. Miller  <davem@davemloft.net>
50087         * po/ru.po: Update Russion translation from translation project.
50089 2013-04-17  Adam Conrad  <adconrad@0c3.net>
50091         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
50092         and setfsgid.
50094 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
50096         * configure.in: Remove i386 configure warning. Remove i386 case.
50097         * configure: Regenerate.
50098         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
50099         Add example to error message.
50100         * sysdeps/i386/configure: Regenerate.
50102 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50104         * benchtests/Makefile (bench): Add cos, tan, slowcos and
50105         slowtan.
50106         * benchtests/cos-inputs: New file.
50107         * benchtests/slowcos-inputs: New file.
50108         * benchtests/slowcos.c: New file.
50109         * benchtests/slowtan-inputs: New file.
50110         * benchtests/slowtan.c: New file.
50111         * benchtests/tan-inputs: New file.
50113 2013-04-16  Roland McGrath  <roland@hack.frob.com>
50115         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
50116         considered kosher.
50118 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50120         * benchtests/Makefile: Include cppflags-iterator.mk to add
50121         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
50123         * Makefile.in (bench-clean): New target.
50124         * benchtests/Makefile (bench-clean): Likewise.
50126 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
50128         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
50130 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
50132         * stdio-common/tstdiomisc.c: Fix coding-style violation.
50134 2013-04-15  Andreas Schwab  <schwab@suse.de>
50136         * nscd/grpcache.c (cache_addgr): Properly check for short write.
50137         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50138         * nscd/pwdcache.c (cache_addpw): Likewise.
50139         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
50140         more than recsize.
50142 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50144         * benchtests/Makefile (bench): Write all output to
50145         bench-out.tmp together.
50147 2013-04-15  Andreas Schwab  <schwab@suse.de>
50149         * nscd/nscd.c (main): Don't fork again after closing files.
50151 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50153         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
50155         * benchtests/Rules (bench-deps): Collect dependencies into a
50156         single variable.  Add Makefile to dependencies.
50157         ($(objpfx)bench-%.c): Depend on bench-deps.
50159 2013-04-12  Roland McGrath  <roland@hack.frob.com>
50160             Xavier Roche  <roche+kml2@exalead.com>
50162         [BZ #15361]
50163         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
50164         just that it's a file descriptor.
50165         * manual/llio.texi (Synchronizing AIO Operations): Update description
50166         for EBADF error from aio_fsync.
50168 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50170         * Rules (bench): Move target definition...
50171         * benchtests/Makefile: ... here.
50173 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
50175         * math/libm-test.inc (cos_test): Fix PI/2 test.
50176         (sincos_test): Likewise.
50177         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50178         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
50180 2013-04-11  Andreas Schwab  <schwab@suse.de>
50182         [BZ #13988]
50183         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
50184         accept exponent character only when digits were seen.
50185         * stdio-common/Makefile (tests): Add bug26.
50186         * stdio-common/bug26.c: New file.
50188         [BZ #14293]
50189         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
50190         non-freeable.
50192 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50194         * Makeconfig (rtld-prefix): Define built linker prefix.
50195         * Rules (run-bench): Use it.
50196         * math/Makefile (run-regen-ulps): Likewise.
50198         * Rules (bench): Remove eval.
50200 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50201             Roland McGrath  <roland@hack.frob.com>
50202             Ondrej Bilka  <neleai@seznam.cz>
50204         [BZ #15346]
50205         * time/getdate.c: Include ctype.h and alloca.h.
50206         (__getdate_r): Trim leading and trailing spaces of input.
50207         * time/tst-getdate.c (tests): Add tests with leading and
50208         trailing spaces.
50210 2013-04-08  Roland McGrath  <roland@hack.frob.com>
50212         [BZ #14280]
50213         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
50214         when computing value.
50216 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50218         * math/README.libm-test (How can I generate "libm-test-ulps"?):
50219         Use testrun.sh to run libm tests.
50221         [BZ #15309]
50222         * elf/dl-open.c (dl_open_worker): memset all of seen array.
50224 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
50226         [BZ #15264]
50227         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
50229 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50231         * Makefile.in (regen-ulps): New target.
50232         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
50233         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
50234         [ifneq (no,$(PERL)] (regen-ulps): New target.
50235         [ifeq (no,$(PERL)] (regen-ulps): New target.
50236         * math/libm-test.inc (ulps_file_name): Define.
50237         (output_dir): New variable.
50238         (options): Add "output-dir" option.
50239         (parse_opt): Handle 'o' case.
50240         (main): If output_dir is non-NULL use it as a prefix
50241         otherwise use "".
50242         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
50244 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50246         [BZ #10060, #10062]
50247         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
50248         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
50249         fail configure if __sync_val_compare_and_swap is not inlined.
50250         * sysdeps/i386/configure: Regenerate.
50251         * configure.in: Build for i686 when configured for i386.
50252         * configure: Regenerate.
50253         * README: Remove i386 reference.
50255 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50257         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
50258         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50260 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50262         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
50263         (lmsnanval): New variables.
50264         (F): Add conversion tests.
50265         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
50266         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
50268         * stdio-common/tstdiomisc.c (F): Properly collect individual
50269         tests' results.
50271         [BZ #14686, #15336]
50272         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
50273         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
50274         Instead, use input NaN values or generate a qNaN by arithmetic
50275         operation.  Also fix bugs to comply with the standard.
50276         * math/libm-test.inc (remainder_test): Add more tests.
50278         [BZ #15335, #15342]
50279         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
50280         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
50281         input NaN values or generate a qNaN by arithmetic operation.
50283         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
50284         unreachable code.
50286         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
50287         definitions.
50289 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
50291         [BZ #14478]
50292         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
50293         underflowed result.
50294         * math/s_cexpf.c (__cexpf): Likewise.
50295         * math/s_cexpl.c (__cexpl): Likewise.
50296         * math/libm-test.inc (cexp_test): Add more tests.
50298 2013-04-03  Andreas Schwab  <schwab@suse.de>
50300         [BZ #15330]
50301         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
50302         order arrays from heap if bigger than alloca cutoff.
50304 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
50306         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
50307         (SNAN_TESTS_double): Refer to GCC PR56831.
50308         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
50309         GCC PR56828.
50311 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50313         * Rules (bench): Move bench.out after the run is complete.
50315         * Rules (bench): Echo currently running benchmark.
50317         * benchtests/Makefile (bench): Add atan and slowatan.
50318         * benchtests/atan-inputs: New file.
50319         * benchtests/slowatan-inputs: New file.
50320         * benchtests/slowatan.c: New file.
50322         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
50323         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
50324         its value.
50326         [BZ #15305]
50327         * sysdeps/unix/sysv/linux/kernel-features.h
50328         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
50329         __ASSUME_XFS_RESTRICTED_CHOWN.
50330         * sysdeps/unix/sysv/linux/pathconf.c
50331         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
50332         Save and restore errno.
50334 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
50336         [BZ #15327]
50337         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
50338         arguments using __kernel_casinh.
50339         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
50340         arguments using __kernel_casinhf.
50341         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
50342         arguments using __kernel_casinhl.
50343         * math/libm-test.inc (cacosh_test): Add more tests.
50344         * sysdeps/i386/fpu/libm-test-ulps: Update.
50345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50347 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50349         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
50350         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
50352         * bench/Makefile (bench): Add sin and slowsin.
50353         * benchtests/sin-inputs: New file.
50354         * benchtests/slowsin-inputs: New file.
50355         * benchtests/slowsin.c: New file.
50357         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
50358         (bench): Add slowexp and slowpow.
50359         (exp-ITER): Increase iterations.
50360         (pow-ITER): Likewise.
50361         * benchtests/exp-inputs: Change input.
50362         * benchtests/pow-inputs: Likewise.
50363         * benchtests/slowexp-inputs: New file.
50364         * benchtests/slowexp.c: New file.
50365         * benchtests/slowpow-inputs: New file.
50366         * benchtests/slowpow.c: New file.
50368 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50370         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
50371         instructions.
50372         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50373         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
50374         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50375         * benchtests/Makefile: Add rint benchtest.
50376         * benchtests/rint-inputs: Input for rint benchtest.
50378 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50380         * Versions.def (libm): Add GLIBC_2.18.
50381         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
50382         hidden libm prototypes.
50383         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
50384         * math/Makefile (libm-calls): Add s_issignaling.
50385         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
50386         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
50387         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
50388         declaration.
50389         * math/math.h [__USE_GNU] (issignaling): New macro.
50390         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
50391         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
50392         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
50393         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
50394         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
50395         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
50396         * manual/arith.texi (issignaling): New section.
50397         * manual/libm-err-tab.pl (@all_functions): Update comment.
50398         * math/gen-libm-test.pl (parse_args): Apply special handling for
50399         issignaling.
50400         * math/libm-test.inc (print_float, issignaling_test): New
50401         functions.
50402         (check_float_internal): Add issignaling checks.
50403         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
50404         default definition.
50405         * sysdeps/powerpc/math-tests.h: New file.
50406         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
50407         tests.
50408         * math/test-snan.c (TEST_FUNC): Likewise.
50410 2013-03-30  David S. Miller  <davem@davemloft.net>
50412         * po/de.po: Update from translation team.
50414 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
50416         [BZ #10357]
50417         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50418         imaginary part less than 1.0 and real part less than 0.5
50419         specially.
50420         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50421         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50422         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
50423         (cacos_test): Add more tests.
50424         (casin_test): Likewise.
50425         (casinh_test): Likewise.
50426         * sysdeps/i386/fpu/libm-test-ulps: Update.
50427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50429 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50431         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
50432         ONE with its value.
50434         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
50435         (__pow_mp): Replace ONE and MONE with their values.
50436         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50437         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
50438         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50439         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
50440         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50441         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50443         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
50445         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
50446         (__pow_mp): Replace ZERO and MZERO with their values.
50447         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50448         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50449         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50450         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50451         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50452         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
50453         (__sqr): Likewise.
50455         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
50457         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
50459 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50461         * include/stdlib.h [!SHARED] (__call_tls_dtors):
50462         Declare with __attribute__ ((weak)).
50463         * stdlib/exit.c (__libc_atexit) [!SHARED]:
50464         Call __call_tls_dtors only if it's not NULL.
50466 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50468         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
50469         didn't do it already, then set _dl_phdr and _dl_phnum based on the
50470         magic __ehdr_start linker symbol if it's defined.
50471         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
50472         them up here if it was already done.
50474         * elf/dl-support.c (_dl_phdr): Make pointer to const.
50475         (_dl_aux_init): Use const in cast when setting it.
50476         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
50477         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
50478         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
50480         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
50481         Declare them here.
50482         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
50483         * csu/libc-tls.c: Nor here.
50484         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
50486         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
50487         (__libc_message): Never call vsyslog.
50489 2013-03-28  Alan Modra  <amodra@gmail.com>
50491         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
50492         Define as empty.
50493         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
50494         Likewise.
50496 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50498         [BZ #15214]
50499         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
50500         underflow.
50501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50503 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50505         [BZ #15304]
50506         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50507         Don't add gid passed as argument.
50509         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
50511 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
50513         [BZ #15307]
50514         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50515         imaginary part between 1.0 and 1.5 and real part less than 0.5
50516         specially.
50517         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50518         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50519         * math/libm-test.inc (cacos_test): Add more tests.
50520         (casin_test): Likewise.
50521         (casinh_test): Likewise.
50522         * sysdeps/i386/fpu/libm-test-ulps: Update.
50523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50525 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50527         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
50528         constants.
50529         (norm): Likewise.
50530         (denorm): Likewise.
50531         (__dbl_mp): Likewise.
50532         (add_magnitudes): Likewise.
50533         (sub_magnitudes): Likewise.
50534         (__add): Likewise.
50535         (__sub): Likewise.
50536         (__mul): Likewise.
50537         (__sqr): Likewise.
50538         (__inv): Likewise.
50539         (__dvd): Likewise.
50541         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
50542         commented code.
50543         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
50544         (__dubcos): Likewise.
50545         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
50546         (__ieee754_acos): Likewise.
50547         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50548         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
50549         (__exp1): Likewise.
50550         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50551         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50552         (log1): Likewise.
50553         (my_log2): Likewise.
50554         (checkint): Likewise.
50555         * sysdeps/ieee754/dbl-64/e_remainder.c
50556         (__ieee754_remainder): Likewise.
50557         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50558         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
50559         (bsloww): Likewise.
50560         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50562         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50563         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
50564         MANTISSA_STORE_T to store computations on mantissa.  Use
50565         macros for rounding and division.
50566         (denorm): Likewise.
50567         (__dbl_mp): Likewise.
50568         (add_magnitudes): Likewise.
50569         (sub_magnitudes): Likewise.
50570         (__mul): Likewise.
50571         (__sqr): Likewise.
50572         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50573         powers of two in terms of TWOPOW macro.
50574         (mp_no): Make type of mantissa as MANTISSA_T.
50575         [!RADIXI]: Define RADIXI.
50576         [!TWO52]: Define TWO52.
50577         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50579 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50581         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
50582         llroundl symbol when building for PPC32.
50584 2013-03-24  Mark H Weaver  <mhw@netris.org>
50586         * manual/arith.texi (Normalization Functions): Fix prototypes for
50587         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50589 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50591         [BZ #13889]
50592         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50593         high value to check if expl overflow.
50594         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50595         to check for underflow and overflow.
50596         * math/libm-test.inc: Add exp test.
50598 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
50600         [BZ #11120]
50601         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50602         with NOT_IN_libc.
50604 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50606         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50607         symbol.
50609 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50611         * math/gen-libm-test.pl (parse_args, special_functions): Properly
50612         wrap blocks consisting of several statements.
50614         * sysdeps/generic/math-tests.h: New file.
50615         * sysdeps/i386/fpu/math-tests.h: Likewise.
50616         * math/test-snan.c: Include it.
50617         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50619 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50621         [BZ #15285]
50622         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50623         (__ieee754_j0l): Do not improve calculations using cos of twice
50624         input for inputs above LDBL_MAX / 2.0L.
50625         (__ieee754_y0l): Likewise.
50626         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50627         (__ieee754_j1l): Do not improve calculations using cos of twice
50628         input for inputs above LDBL_MAX / 2.0L.
50629         (__ieee754_y1l): Likewise.
50630         * math/libm-test.inc (j0_test): Add another test.
50631         (j1_test): Likewise.
50632         (y0_test): Likewise.
50633         (y1_test): Likewise.
50634         * sysdeps/i386/fpu/libm-test-ulps: Update.
50636 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50638         * Rules ($(objpfx)bench-%.c): Include code from a C source
50639         file.
50641 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50643         [BZ #15287]
50644         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50645         imaginary part 1.0 and real part less than 0.5 specially.
50646         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50647         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50648         * math/libm-test.inc (cacos_test): Add more tests.
50649         (casin_test): Likewise.
50650         (casinh_test): Likewise.
50651         * sysdeps/i386/fpu/libm-test-ulps: Update.
50652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50654 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50656         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50657         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50659 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
50661         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50662         * config.make.in (config-cflags-sse4): Remove variable.
50663         (config-cflags-avx): Likewise.
50664         (config-cflags-sse2avx): Likewise.
50665         (config-cflags-novzeroupper): Likewise.
50666         (config-asflags-i686): Likewise.
50667         (have-mfma4): Likewise.
50668         (have-as-vis3): Likewise.
50669         (MIG): Likewise.
50670         * configure.in (MIG): Do not AC_SUBST.
50671         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50672         (libc_cv_cc_sse4): Do not AC_SUBST.
50673         (libc_cv_cc_avx): Likewise.
50674         (libc_cv_cc_sse2avx): Likewise.
50675         (libc_cv_cc_novzeroupper): Likewise.
50676         (libc_cv_cc_fma4): Likewise.
50677         (libc_cv_as_i686): Likewise.
50678         (libc_cv_sparc_as_vis3): Likewise.
50679         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50680         LIBC_CONFIG_VAR.
50681         (config-asflags-i686): Likewise.
50682         (config-cflags-avx): Likewise.
50683         (config-cflags-sse2avx): Likewise.
50684         (have-mfma4): Likewise.
50685         (config-cflags-novzeroupper): Likewise.
50686         * sysdeps/mach/configure.in (MIG): Likewise.
50687         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50688         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50689         LIBC_CONFIG_VAR.
50690         (config-cflags-avx): Likewise.
50691         (config-cflags-sse2avx): Likewise.
50692         (have-mfma4): Likewise.
50693         (config-cflags-novzeroupper): Likewise.
50694         * configure: Regenerated.
50695         * sysdeps/i386/configure: Likewise.
50696         * sysdeps/mach/configure: Likewise.
50697         * sysdeps/sparc/configure: Likewise.
50698         * sysdeps/x86_64/configure: Likewise.
50700 2013-03-20  Roland McGrath  <roland@hack.frob.com>
50702         [BZ #14812]
50703         * locale/programs/localedef.c (options): Put N_ translation marker
50704         on argument names, not just descriptions.
50706 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50708         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50710 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
50712         [BZ #14176]
50713         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50715 2013-03-19  Roland McGrath  <roland@hack.frob.com>
50717         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50718         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50719         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50720         [!BEFORE_ABORT] (before_abort): New function.
50721         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50722         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50723         (writev_for_fatal): New function.
50724         (WRITEV_FOR_FATAL): New macro; call that.
50725         (backtrace_and_maps): New function.
50726         (BEFORE_ABORT): New macro; call that.
50727         (struct str_list): Type removed.
50728         (__libc_message, __libc_fatal): Functions removed.
50729         Include <sysdeps/posix/libc_fatal.c> instead.
50731 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
50733         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50734         constants.
50735         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50736         double constants.
50738 2013-03-19  Andreas Schwab  <schwab@suse.de>
50740         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50741         * sysdeps/gnu/configure: Regenerate.
50743         * configure.in: Substitute libc_cv_rtlddir.
50744         * configure: Regenerate.
50745         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50746         * Makeconfig (rtlddir, inst_rtlddir): New variables.
50747         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50748         * elf/Makefile (install-others, CFLAGS-interp.c)
50749         (ldso_install, common-ldd-rewrite): Likewise.
50750         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50751         $(inst_slibdir)/$(rtld-installed-name).
50752         * scripts/rellns-sh: Add -p option.
50753         * Makerules (make-shlib-link): Use rellns-sh to get relative name
50754         for source.
50756 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50758         * manual/nptl.texi: Renamed to ...
50759         * manual/threads.texi: ... this.
50760         * manual/Makefile (chapters): Update.
50762 2013-03-18  Roland McGrath  <roland@hack.frob.com>
50764         [BZ #14812]
50765         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50766         on argument names, not just descriptions.
50767         * malloc/memusagestat.c (options): Likewise.
50768         * nss/getent.c (options): Likewise.
50770 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
50772         [BZ #14812]
50773         * iconv/iconv_prog.c (options): Put N_ translation marker
50774         on argument names, not just descriptions.
50775         * iconv/iconvconfig.c (options): Likewise.
50777 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
50779         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50780         implementation which is faster on all x86_64 architectures.
50781         Tested on AMD, Intel Nehalem, SNB, IVB.
50782         * sysdeps/x86_64/strnlen.S: Likewise.
50784         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50785         Remove all multiarch strlen and strnlen versions.
50786         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50787         Remove strlen and strnlen related parts.
50789         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50790         Inline strlen part.
50791         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50793         * sysdeps/x86_64/multiarch/strlen.S: Remove.
50794         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50795         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50796         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50797         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50798         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50800 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
50802         * manual/memory.texi (Malloc Tunable Parameters):
50803         Sort parameters alphabetically. Add comments for missing entries.
50805 2013-03-17  David S. Miller  <davem@davemloft.net>
50807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50809 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
50811         [BZ #15283]
50812         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50813         for arguments at most half maximum finite value.
50814         * math/libm-test.inc (j0_test): Add more tests.
50815         (j1_test): Likewise.
50816         (y0_test): Likewise.
50817         (y1_test): Likewise.
50818         * sysdeps/i386/fpu/libm-test-ulps: Update.
50819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50821         [BZ #14155]
50822         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50823         1 / x and functions P and Q for arguments above 0x1p256L.
50824         (__ieee754_y0l): Likewise.
50825         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50826         (__ieee754_y1l): Likewise.
50827         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50828         (j1_test): Likewise.
50829         (y0_test): Likewise.
50830         (y1_test): Likewise.
50832 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
50834         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50835         variable.
50837 2013-03-15  Roland McGrath  <roland@hack.frob.com>
50839         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50840         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50841         zero since it's initialized to EXEC_PAGESIZE.
50843         * sysdeps/unix/sysv/linux/ldsodefs.h
50844         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50845         * sysdeps/generic/ldsodefs.h: ... here.
50847 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
50849         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50851         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50852         math/test-snan.c.
50853         * math/test-snan.c: Renamed from
50854         sysdeps/powerpc/fpu/test-powerpc-snan.c.
50855         * math/Makefile (tests): Add test-snan.
50856         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50857         test-powerpc-snan.
50859         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50860         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
50861         functions.
50862         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
50863         __builtin_nan family of functions.
50864         * math/libm-test.inc (initialize): Initialize qnan_value with
50865         __builtin_nan family of functions.
50866         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50867         Remove variables.
50868         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50869         Remove functions.
50870         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
50871         storage class.  Initialize qNaN_var and sNaN_var with
50872         __builtin_nan and __builtin_nans families of functions,
50873         respectively.
50875         * math/libm-test.inc (acosh_test): Also test with qNaN input.
50876         (sqrt_test): Remove duplicate test with qNaN input.
50877         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50878         (round_test, signbit_test, significand_test): Note missing +/-Inf
50879         as well as qNaN tests.
50881         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50882         qNaN_var.  Fix a few strings, too.
50883         * math/libm-test.inc (nan_value): Rename to qnan_value.
50884         * math/gen-libm-test.pl (%beautify): Adjust to that.
50885         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50886         * math/test-misc.c (main): Likewise.
50887         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50888         to __qnan_bytes, and __qnan_union, respectively.
50889         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50890         Likewise.
50891         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50892         and lqnanval, respectively.
50893         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50894         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50895         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50896         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50898         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50899         * math/test-misc.c (main) [__x86_64__]: Enable test for long
50900         doubles.
50902         * math/test-misc.c (main): Fix copy'n'pastos.
50903         * misc/tst-efgcvt.c (special): Likewise.
50905         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50906         Remove declarations.
50908 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50910         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50911         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50912         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50913         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50915 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50917         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50918         macro to return vdso values correctly in IFUNC implementations.
50919         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50920         Optimization by using IFUNC.
50922 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50923             Richard Henderson  <rth@redhat.com>
50924             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50926         * Makefile.in (bench): New target.
50927         * NEWS: Mention the benchmark framework.
50928         * Rules (bench): Likewise.
50929         (binaries-bench): Generate binaries for functions to
50930         benchmark.
50931         * benchtests/Makefile: New makefile for benchmark tests.
50932         * benchtests/bench-skeleton.c: New skeleton file for benchmark
50933         programs.
50934         * benchtests/exp-inputs: New input file for EXP function.
50935         * benchtests/pow-inputs: New input file for POW function.
50936         * scripts/bench.pl: New script to generate source files for
50937         benchmark programs.
50939 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50941         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50942         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50943         computations on mantissa.  Use macros for rounding and
50944         division.
50945         (denorm): Likewise.
50946         (__dbl_mp): Likewise.
50947         (add_magnitudes): Likewise.
50948         (sub_magnitudes): Likewise.
50949         (__mul): Likewise.
50950         (__sqr): Likewise.
50951         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50952         powers of two in terms of TWOPOW macro.
50953         (mp_no): Make type of mantissa as MANTISSA_T.
50954         [!RADIXI]: Define RADIXI.
50955         [!TWO52]: Define TWO52.
50956         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50958         * manual/nptl.texi (cindex): Modify threads to pthreads.
50960 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
50962         * sysdeps/x86_64/preconfigure: Regenerated.
50964 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
50966         [BZ #14155]
50967         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50968         0x1p28 and above.
50969         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50970         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50971         0x1p28 and above.
50972         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50973         * math/libm-test.inc (j0_test): Do not allow one spurious
50974         underflow exception.
50975         (y1_test): Likewise.
50977 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50979         * manual/Makefile (chapters): Add nptl.
50980         * manual/debug.texi (Debugging Support): Add link to Threads
50981         chapter.
50982         * manual/nptl.texi: New file.
50984         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50986 2013-03-14  Petr Baudis  <pasky@ucw.cz>
50988         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50989         for non-NULL pointer before the memory validity test. Pointed
50990         out by Holger Brunck <holger.brunck@keymile.com>.
50992 2013-03-13  Andreas Schwab  <schwab@suse.de>
50994         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50995         instead of .os.
50997 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
50999         * timezone/zic.c: Update from tzcode 2013b.
51001 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
51003         * manual/install.texi (Configuring and compiling):
51004         Mention i686 and i586.
51005         * INSTALL: Regenerate.
51007 2013-03-12  Roland McGrath  <roland@hack.frob.com>
51009         * sysdeps/init_array/elf-init.c: New file.
51010         * csu/elf-init.c
51011         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
51012         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
51014         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
51015         __gmon_start__ as global, but as static with a .preinit_array pointer.
51016         * sysdeps/init_array/gmon-start.c: New file.  Use that.
51017         * sysdeps/init_array/crti.S: New file, empty except for comments.
51018         * sysdeps/init_array/crtn.S: Likewise.
51020 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
51022         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
51023         definining bcopy.
51024         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51025         Remove Prefer_SSE_for_memop.
51026         * sysdeps/x86_64/multiarch/init-arch.h: Remove
51027         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
51028         HAS_PREFER_SSE_FOR_MEMOP.
51029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
51030         memset-x86-64.
51031         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51032         Remove bzero, memset ifunc support.
51033         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
51034         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
51035         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51036         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51038 2013-03-11  Andreas Schwab  <schwab@suse.de>
51040         [BZ #15234]
51041         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
51042         by SHLIB_COMPAT.
51043         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
51044         (GLIBC_2.16): Remove pthread_atfork.
51046 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
51048         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
51049         (ptestcases.h): Likewise.
51051 2013-03-08  Roland McGrath  <roland@hack.frob.com>
51053         * Makeconfig ($(common-objpfx)config.status): Depend on
51054         sysdeps/*/preconfigure{,.in} too.
51056 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
51058         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
51059         (__free_hook): Use void * instead of __malloc_ptr_t.
51060         (__malloc_hook): Likewise.
51061         (__realloc_hook): Likewise.
51062         (__memalign_hook): Likewise.
51063         (__after_morecore_hook): Likewise.
51064         * malloc/arena.c (save_malloc_hook): Likewise.
51065         (save_free_hook): Likewise.
51066         * malloc/hooks.c (malloc_hook_ini): Likewise.
51067         (realloc_hook_ini): Likewise.
51068         (memalign_hook_ini): Likewise.
51069         * malloc/malloc.c (malloc_hook_ini): Likewise.
51070         (realloc_hook_ini): Likewise.
51071         (memalign_hook_ini): Likewise.
51072         (__free_hook): Likewise.
51073         (__malloc_hook): Likewise.
51074         (__realloc_hook): Likewise.
51075         (__memalign_hook): Likewise.
51076         (__libc_malloc): Likewise.
51077         (__libc_free): Likewise.
51078         (__libc_realloc): Likewise.
51079         (__libc_memalign): Likewise.
51080         (__libc_valloc): Likewise.
51081         (__libc_pvalloc): Likewise.
51082         (__libc_calloc): Likewise.
51083         (__posix_memalign): Likewise.
51084         * malloc/morecore.c (__sbrk): Likewise.
51085         (__default_morecore): Likewise.
51087         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
51089         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
51090         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
51091         __malloc_ptrdiff_t.
51093         * malloc/malloc.h (__malloc_size_t): Remove macro.
51094         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
51095         __malloc_size_t.
51096         (old_memalign_hook): Likewise.
51097         (old_realloc_hook): Likewise.
51098         (struct hdr): Likewise.
51099         (flood): Likewise.
51100         (mallochook): Likewise.
51101         (memalignhook): Likewise.
51102         (reallochook): Likewise.
51103         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
51104         (tr_old_realloc_hook): Likewise.
51105         (tr_old_memalign_hook): Likewise.
51106         (tr_mallochook): Likewise.
51107         (tr_reallochook): Likewise.
51108         (tr_memalignhook): Likewise.
51110 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51112         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
51113         default_ldbl_pack and using as default implementation.
51114         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
51115         implementation.
51116         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
51117         redundant definition.
51118         (ldbl_insert_mantissa): Likewise.
51119         (ldbl_canonicalize): Likewise.
51120         (ldbl_nearbyint): Likewise.
51121         (ldbl_pack): Rename to ldbl_pack_ppc.
51122         (ldbl_unpack): Rename to ldbl_unpack_ppc.
51123         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
51124         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
51126 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51128         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
51129         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
51130         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
51131         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
51132         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
51133         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
51134         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
51135         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
51137 2013-03-07  Andreas Jaeger  <aj@suse.de>
51139         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51140         bits/mman-linux.h.
51142 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51144         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
51145         Include mpa.h and declare __MPEXP.
51146         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
51147         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51148         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51149         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
51150         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51151         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51152         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
51154         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
51155         (__slowpow): Use long double EXPL and LOGL functions to
51156         compute POW.
51157         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51158         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51159         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
51160         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51161         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51162         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
51164         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
51165         intermediate variable to calculate exponent.
51166         (__sqr): Likewise.
51167         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51168         Likewise.
51169         (__sqr): Likewise.
51171         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
51172         [!NO__SQR]: Define __sqr.
51173         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
51174         and NO__SQR.  Remove all code except __mul and __sqr.  Include
51175         sysdeps/ieee754/dbl-64/mpa.c.
51176         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51178         [BZ #12723]
51179         * posix/Makefile (tests): Add tst-pathconf.
51180         * posix/tst-pathconf.c: New test case.
51181         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
51182         _PC_PIPE_BUF.
51183         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
51185 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
51187         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
51189 2013-03-06  Andreas Jaeger  <aj@suse.de>
51191         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
51192         definition via __MAP_ANONYMOUS.
51194         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
51195         it's not part of Linux headers.
51197         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
51198         (MAP_HUGE_MASK): Define.
51200         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51201         Define.
51202         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51203         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51204         Define.
51205         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51206         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51207         Define.
51208         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51209         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
51210         Define.
51211         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51213         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
51214         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
51215         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
51216         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
51217         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
51218         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
51220         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51221         Handle f2fs.
51223         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51224         Handle f2fs and efivarfs.
51226         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
51227         f2fs.
51229         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
51230         (EFIVARFS_MAGIC): Add.
51231         (F2FS_LINK_MAX): Add.
51233 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51235         * stdio-common/vfprintf.c: Replace __builtin_expect with
51236         __glibc_unlikely.
51238 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
51240         [BZ #13550]
51241         * sysdeps/generic/bp-sym.h: Remove file.
51242         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
51243         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
51244         <bp-sym.h> and <bp-asm.h>.
51245         (__longjmp): Don't use BP_SYM.
51246         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
51247         and <bp-asm.h>.
51248         (memcpy): Don't use BP_SYM.
51249         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
51250         <bp-sym.h> and <bp-asm.h>.
51251         (memcpy): Don't use BP_SYM.
51252         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
51253         <bp-asm.h>.
51254         (memcpy): Don't use BP_SYM.
51255         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
51256         <bp-asm.h>.
51257         (memset): Don't use BP_SYM.
51258         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51259         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51260         (__bzero): Don't use BP_SYM.
51261         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51262         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51263         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
51264         <bp-sym.h> and <bp-asm.h>.
51265         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51266         pointers.
51267         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
51268         <bp-sym.h> and <bp-asm.h>.
51269         (memcpy): Don't use BP_SYM.
51270         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
51271         <bp-sym.h> and <bp-asm.h>.
51272         (memset): Don't use BP_SYM.
51273         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51274         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51275         (__bzero): Don't use BP_SYM.
51276         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51277         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51278         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
51279         <bp-sym.h> and <bp-asm.h>.
51280         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51281         pointers.
51282         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
51283         <bp-sym.h> and <bp-asm.h>.
51284         (memcpy): Don't use BP_SYM.
51285         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
51286         <bp-sym.h> and <bp-asm.h>.
51287         (memset): Don't use BP_SYM.
51288         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51289         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51290         (__bzero): Don't use BP_SYM.
51291         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51292         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51293         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
51294         <bp-sym.h> and <bp-asm.h>.
51295         (__memchr): Don't use BP_SYM.
51296         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
51297         <bp-sym.h> and <bp-asm.h>.
51298         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51299         pointers.
51300         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
51301         <bp-sym.h> and <bp-asm.h>.
51302         (memcpy): Don't use BP_SYM.
51303         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
51304         <bp-sym.h> and <bp-asm.h>.
51305         (__mempcpy): Don't use BP_SYM.
51306         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
51307         <bp-sym.h> and <bp-asm.h>.
51308         (__memrchr): Don't use BP_SYM.
51309         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
51310         <bp-sym.h> and <bp-asm.h>.
51311         (memset): Don't use BP_SYM.
51312         (__bzero): Likewise.
51313         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
51314         <bp-sym.h> and <bp-asm.h>.
51315         (__rawmemchr): Don't use BP_SYM.
51316         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
51317         <bp-sym.h> and <bp-asm.h>.
51318         (__STRCMP): Don't use BP_SYM.
51319         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
51320         <bp-sym.h> and <bp-asm.h>.
51321         (strchr): Don't use BP_SYM.
51322         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
51323         <bp-sym.h> and <bp-asm.h>.
51324         (__strchrnul): Don't use BP_SYM.
51325         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
51326         <bp-sym.h> and <bp-asm.h>.
51327         (strlen): Don't use BP_SYM.
51328         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
51329         <bp-sym.h> and <bp-asm.h>.
51330         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51331         pointers.
51332         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
51333         <bp-sym.h> and <bp-asm.h>.
51334         (__strnlen): Don't use BP_SYM.
51335         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
51336         <bp-sym.h> and <bp-asm.h>.
51337         (__GI__setjmp): Don't use BP_SYM.
51338         (_setjmp): Likewise.
51339         (__sigsetjmp): Likewise.
51340         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
51341         (L(start_addresses)): Don't use BP_SYM.
51342         (_start): Likewise.
51343         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
51344         <bp-asm.h>.
51345         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
51346         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
51347         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51348         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51349         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
51350         <bp-asm.h>.
51351         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
51352         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
51353         about bounded pointers.
51354         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51355         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51356         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
51357         <bp-asm.h>.
51358         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51359         about bounded pointers.  Remove GKM FIXME comments.
51360         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51361         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
51362         <bp-asm.h>.
51363         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
51364         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
51365         Remove GKM FIXME comments.
51366         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51367         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51368         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
51369         <bp-asm.h>.
51370         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51371         about bounded pointers.  Remove GKM FIXME comment.
51372         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
51373         and <bp-asm.h>.
51374         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51375         pointers.
51376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
51377         <bp-sym.h> and <bp-asm.h>.
51378         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
51380         <bp-sym.h> and <bp-asm.h>.
51381         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51382         comment.
51384 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51386         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
51387         call free(NULL).
51389 2013-03-05  David S. Miller  <davem@davemloft.net>
51391         * po/es.po: Update from translation team.
51393 2013-03-05  Andreas Jaeger  <aj@suse.de>
51395         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
51396         <bits/mman-linux.h>.
51397         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51398         is fine.
51399         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
51400         <bits/mman-linux.h> to end of file.
51401         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51402         is fine.
51403         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
51404         <bits/mman-linux.h> to end of file.
51405         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51406         is fine.
51407         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
51408         <bits/mman-linux.h> to end of file.
51410         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
51411         (MCL_CURRENT, MCL_FUTURE): Define here.
51413 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51415         [BZ #15232]
51416         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
51417         attribute_hidden.
51418         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51420 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51422         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
51423         fourth parameter needed for rt_sigprocmask syscall.
51424         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
51425         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51426         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
51427         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51428         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51429         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
51431 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
51433         [BZ #13550]
51434         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
51435         comment about bounded pointers.
51436         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
51437         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
51439 2013-03-04  Andreas Jaeger  <aj@suse.de>
51441         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
51442         common definitions.
51444         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
51445         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
51446         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
51447         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51448         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51449         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51451 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51453         [BZ #15055]
51454         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
51455         __ieee754_sqrl instead of __sqrl.
51457 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
51459         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
51460         * sysdeps/powerpc/fpu_control.h: ... here.
51461         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
51462         * sysdeps/powerpc/bits/fenvinline.h: ... here.
51463         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
51464         * sysdeps/powerpc/bits/mathinline.h: ... here.
51466 2013-03-01  Roland McGrath  <roland@hack.frob.com>
51468         * elf/dl-hwcaps.c (_dl_important_hwcaps):
51469         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
51470         to just [NEED_DL_SYSINFO_DSO].
51471         * elf/dl-support.c: Likewise.
51472         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
51473         * elf/rtld.c (dl_main): Likewise.
51474         * elf/setup-vdso.h (setup_vdso): Likewise.
51475         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
51476         * sysdeps/unix/sysv/linux/dl-sysdep.c
51477         (_dl_discover_osversion): Likewise.
51479 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
51481         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
51482         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51484 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
51486         * NEWS: Mention libm performance improvements and non-x86 PI
51487         futex support.
51489         * csu/libc-start.c (__pthread_initialize_minimal): Change
51490         function arguments.
51491         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51493 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
51495         [BZ #13550]
51496         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
51497         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
51498         <bp-sym.h> and <bp-asm.h>.
51499         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51500         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
51501         and <bp-asm.h>.
51502         (memcpy): Don't use BP_SYM.
51503         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
51504         <bp-asm.h>.
51505         (__mpn_add_n): Don't use BP_SYM.
51506         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
51507         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
51508         and <bp-asm.h>.
51509         (__mpn_addmul_1): Don't use BP_SYM.
51510         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51511         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
51512         <bp-sym.h>.
51513         (_setjmp): Don't use BP_SYM.
51514         (__novmx_setjmp): Likewise.
51515         (__GI__setjmp): Likewise.
51516         (__vmx_setjmp): Likewise.
51517         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
51518         <bp-sym.h>.
51519         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
51520         (__bzero): Don't use BP_SYM.
51521         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51522         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51523         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
51524         <bp-sym.h> and <bp-asm.h>.
51525         (memcpy): Don't use BP_SYM.
51526         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
51527         <bp-sym.h> and <bp-asm.h>.
51528         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51529         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
51530         <bp-sym.h> and <bp-asm.h>.
51531         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51532         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
51533         <bp-asm.h>.
51534         (__mpn_lshift): Don't use BP_SYM.
51535         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51536         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
51537         <bp-asm.h>.
51538         (memset): Don't use BP_SYM.
51539         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51540         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51541         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
51542         <bp-asm.h>.
51543         (__mpn_mul_1): Don't use BP_SYM.
51544         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51545         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
51546         <bp-sym.h> and <bp-asm.h>.
51547         (memcmp): Don't use BP_SYM.
51548         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
51549         <bp-sym.h> and <bp-asm.h>.
51550         (memcpy): Don't use BP_SYM.
51551         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
51552         <bp-sym.h> and <bp-asm.h>.
51553         (memset): Don't use BP_SYM.
51554         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
51555         <bp-sym.h> and <bp-asm.h>.
51556         (strncmp): Don't use BP_SYM.
51557         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
51558         <bp-sym.h> and <bp-asm.h>.
51559         (memcpy): Don't use BP_SYM.
51560         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
51561         <bp-sym.h> and <bp-asm.h>.
51562         (memset): Don't use BP_SYM.
51563         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
51564         <bp-sym.h> and <bp-asm.h>.
51565         (__memchr): Don't use BP_SYM.
51566         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
51567         <bp-sym.h> and <bp-asm.h>.
51568         (memcmp): Don't use BP_SYM.
51569         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
51570         <bp-sym.h> and <bp-asm.h>.
51571         (memcpy): Don't use BP_SYM.
51572         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
51573         <bp-sym.h> and <bp-asm.h>.
51574         (__mempcpy): Don't use BP_SYM.
51575         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
51576         <bp-sym.h> and <bp-asm.h>.
51577         (__memrchr): Don't use BP_SYM.
51578         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
51579         <bp-sym.h> and <bp-asm.h>.
51580         (memset): Don't use BP_SYM.
51581         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
51582         <bp-sym.h> and <bp-asm.h>.
51583         (__rawmemchr): Don't use BP_SYM.
51584         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51585         <bp-sym.h> and <bp-asm.h>.
51586         (__STRCMP): Don't use BP_SYM.
51587         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51588         <bp-sym.h> and <bp-asm.h>.
51589         (strchr): Don't use BP_SYM.
51590         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51591         <bp-sym.h> and <bp-asm.h>.
51592         (__strchrnul): Don't use BP_SYM.
51593         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51594         <bp-sym.h> and <bp-asm.h>.
51595         (strlen): Don't use BP_SYM.
51596         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51597         <bp-sym.h> and <bp-asm.h>.
51598         (strncmp): Don't use BP_SYM.
51599         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51600         <bp-sym.h> and <bp-asm.h>.
51601         (__strnlen): Don't use BP_SYM.
51602         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51603         <bp-asm.h>.
51604         (__mpn_rshift): Don't use BP_SYM.
51605         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51606         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51607         <bp-sym.h> and <bp-asm.h>.
51608         (__sigsetjmp): Don't use BP_SYM.
51609         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51610         (L(start_addresses)): Don't use BP_SYM.
51611         (_start): Likewise.
51612         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51613         <bp-asm.h>.
51614         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51615         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51616         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51617         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51618         <bp-asm.h>.
51619         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51620         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51621         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51622         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51623         <bp-asm.h>.
51624         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51625         comments.
51626         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51627         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51628         <bp-asm.h>.
51629         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
51630         FIXME comments.
51631         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51632         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51633         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51634         <bp-asm.h>.
51635         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51636         comment.
51637         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51638         and <bp-asm.h>.
51639         (strncmp): Don't use BP_SYM,
51640         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51641         <bp-asm.h>.
51642         (__mpn_sub_n): Don't use BP_SYM.
51643         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51644         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51645         and <bp-asm.h>.
51646         (__mpn_submul_1): Don't use BP_SYM.
51647         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51649         <bp-sym.h> and <bp-asm.h>.
51650         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51652         <bp-sym.h> and <bp-asm.h>.
51653         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51654         comment.
51656 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51658         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51659         Use ZK to minimize writes to Z.
51660         (sub_magnitudes): Simplify code a bit.
51661         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51662         Use ZK to minimize writes to Z.
51663         (sub_magnitudes): Simplify code a bit.
51665 2013-02-27  Roland McGrath  <roland@hack.frob.com>
51667         * csu/gmon-start.c: Add special exception to license text.
51669 2013-02-27  Richard Henderson  <rth@redhat.com>
51671         * scripts/config.guess: Update from config.git.
51672         * scripts/config.sub: Likewise.
51674 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51676         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51678         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51680         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51682         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51684         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51686 2013-02-26  Roland McGrath  <roland@hack.frob.com>
51688         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51689         [$(build-shared = yes].
51691 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51693         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51694         (__mul): Reduce iterations for calculating mantissa.
51696         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51697         MPTWO.
51698         (__mpranred): Likewise.
51700         [BZ #15160]
51701         * malloc/memusagestat.c (main): Draw graphs for heap and stack
51702         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51704 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
51706         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51707         Define __attribute__.
51709 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51711         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51712         unused.
51713         * posix/regex_internal.h (__attribute): Remove.
51714         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51715         (re_string_context_at): Likewise.
51716         (bitset_not): Use __attribute__ and mark function as possibly
51717         unused.
51718         (bitset_merge): Likewise.
51719         (bitset_mask): Likewise.
51720         (re_string_char_size_at): Likewise.
51721         (re_string_wchar_at): Likewise.
51722         (re_string_elem_size_at): Likewise.
51724 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51726         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51727         code.
51728         (cc32): Likewise.
51730         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51731         (__acr): Likewise.
51732         (__cpy): Likewise.
51733         (norm): Likewise.
51734         (denorm): Likewise.
51735         (__dbl_mp): Likewise.
51736         (add_magnitudes): Likewise.
51737         (sub_magnitudes): Likewise.
51738         (__mul): Likewise.
51739         (__inv): Likewise.
51741         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51742         style.
51744         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51745         style.
51747         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51748         code.
51750         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51751         up changes with default code.
51752         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51753         Likewise.
51755 2013-02-24  Allan McRae  <allan@archlinux.org>
51757         * manual/socket.texi (The Internet Namespace): Order menu items
51758         to match that in the file.
51760         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51761         node listing of the info page menu.
51763 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
51765         [BZ #13550]
51766         * sysdeps/i386/bp-asm.h: Remove file.
51767         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51768         (PARMS): Do not use macros from bp-asm.h.
51769         (S1): Likewise.
51770         (S2): Likewise.
51771         (SIZE): Likewise.
51772         (__mpn_add_n): Do not use BP_SYM
51773         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51774         "bp-asm.h".
51775         (PARMS): Do not use macros from bp-asm.h.
51776         (S1): Likewise.
51777         (SIZE): Likewise.
51778         (__mpn_addmul_1): Do not use BP_SYM
51779         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51780         "bp-asm.h".
51781         (PARMS): Do not use macros from bp-asm.h.
51782         (SIGMSK): Likewise.
51783         (_setjmp): Likewise.  Do not use BP_SYM.
51784         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51785         "bp-asm.h".
51786         (PARMS): Do not use macros from bp-asm.h.
51787         (SIGMSK): Likewise.
51788         (setjmp): Likewise.  Do not use BP_SYM.
51789         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51790         "bp-asm.h".
51791         (PARMS): Do not use macros from bp-asm.h.
51792         (__frexp): Do not use BP_SYM.
51793         (frexp): Likewise.
51794         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51795         "bp-asm.h".
51796         (PARMS): Do not use macros from bp-asm.h.
51797         (__frexpf): Do not use BP_SYM.
51798         (frexpf): Likewise.
51799         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51800         "bp-asm.h".
51801         (PARMS): Do not use macros from bp-asm.h.
51802         (__frexpl): Do not use BP_SYM.
51803         (frexpl): Likewise.
51804         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51805         "bp-asm.h".
51806         (PARMS): Do not use macros from bp-asm.h.
51807         (__remquo): Do not use BP_SYM.
51808         (remquo): Likewise.
51809         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51810         "bp-asm.h".
51811         (PARMS): Do not use macros from bp-asm.h.
51812         (__remquof): Do not use BP_SYM.
51813         (remquof): Likewise.
51814         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51815         "bp-asm.h".
51816         (PARMS): Do not use macros from bp-asm.h.
51817         (__remquol): Do not use BP_SYM.
51818         (remquol): Likewise.
51819         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
51820         "bp-asm.h".
51821         (PARMS): Do not use macros from bp-asm.h.
51822         (DEST): Likewise.
51823         (SRC): Likewise.
51824         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
51825         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51826         "bp-asm.h".
51827         (PARMS): Do not use macros from bp-asm.h.
51828         (strlen): Do not use BP_SYM.
51829         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51830         "bp-asm.h".
51831         (PARMS): Do not use macros from bp-asm.h.
51832         (S1): Likewise.
51833         (S2): Likewise.
51834         (SIZE): Likewise.
51835         (__mpn_add_n): Do not use BP_SYM.
51836         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
51837         "bp-asm.h".
51838         (PARMS): Do not use macros from bp-asm.h.
51839         (S1): Likewise.
51840         (SIZE): Likewise.
51841         (__mpn_addmul_1): Do not use BP_SYM.
51842         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51843         weak_alias.
51844         (bzero): Likewise.
51845         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51846         "bp-asm.h".
51847         (PARMS): Do not use macros from bp-asm.h.
51848         (S): Likewise.
51849         (SIZE): Likewise.
51850         (__mpn_lshift): Do not use BP_SYM.
51851         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51852         "bp-asm.h".
51853         (PARMS): Do not use macros from bp-asm.h.
51854         (DEST): Likewise.
51855         (SRC): Likewise.
51856         (LEN): Likewise.
51857         (memcpy): Likewise.  Do not use BP_SYM.
51858         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51859         libc_hidden_def and weak_alias.
51860         (mempcpy): Do not use BP_SYM in weak_alias.
51861         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51862         "bp-asm.h".
51863         (PARMS): Do not use macros from bp-asm.h.
51864         (DEST): Likewise.
51865         (LEN): Likewise.
51866         [!BZERO_P] (CHR): Likewise.
51867         (memset): Likewise.  Do not use BP_SYM.
51868         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51869         "bp-asm.h".
51870         (PARMS): Do not use macros from bp-asm.h.
51871         (S1): Likewise.
51872         (SIZE): Likewise.
51873         (__mpn_mul_1): Do not use BP_SYM.
51874         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51875         "bp-asm.h".
51876         (PARMS): Do not use macros from bp-asm.h.
51877         (S): Likewise.
51878         (SIZE): Likewise.
51879         (__mpn_rshift): Do not use BP_SYM.
51880         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51881         "bp-asm.h".
51882         (PARMS): Do not use macros from bp-asm.h.
51883         (STR): Likewise.
51884         (CHR): Likewise.
51885         (strchr): Likewise.  Do not use BP_SYM.
51886         (index): Do not use BP_SYM in weak_alias.
51887         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51888         "bp-asm.h".
51889         (PARMS): Do not use macros from bp-asm.h.
51890         (DEST): Likewise.
51891         (SRC): Likewise.
51892         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
51893         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51894         "bp-asm.h".
51895         (PARMS): Do not use macros from bp-asm.h.
51896         (strlen): Do not use BP_SYM.
51897         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51898         "bp-asm.h".
51899         (PARMS): Do not use macros from bp-asm.h.
51900         (S1): Likewise.
51901         (S2): Likewise.
51902         (SIZE): Likewise.
51903         (__mpn_sub_n): Do not use BP_SYM.
51904         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51905         "bp-asm.h".
51906         (PARMS): Do not use macros from bp-asm.h.
51907         (S1): Likewise.
51908         (SIZE): Likewise.
51909         (__mpn_submul_1): Do not use BP_SYM.
51910         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51911         "bp-asm.h".
51912         (PARMS): Do not use macros from bp-asm.h.
51913         (S1): Likewise.
51914         (S2): Likewise.
51915         (SIZE): Likewise.
51916         (__mpn_add_n): Do not use BP_SYM.
51917         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51918         weak_alias.
51919         (bzero): Likewise.
51920         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51921         "bp-asm.h".
51922         (PARMS): Do not use macros from bp-asm.h.
51923         (BLK2): Likewise.
51924         (LEN): Likewise.
51925         (memcmp): Do not use BP_SYM.
51926         (bcmp): Do not use BP_SYM in weak_alias.
51927         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51928         "bp-asm.h".
51929         (PARMS): Do not use macros from bp-asm.h.
51930         (DEST): Likewise.
51931         (SRC): Likewise.
51932         (LEN): Likewise.
51933         (memcpy): Likewise.  Do not use BP_SYM.
51934         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51935         "bp-asm.h".
51936         (PARMS): Do not use macros from bp-asm.h.
51937         (DEST): Likewise.
51938         (SRC): Likewise.
51939         (LEN): Likewise.
51940         (memmove): Likewise.  Do not use BP_SYM.
51941         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51942         "bp-asm.h".
51943         (PARMS): Do not use macros from bp-asm.h.
51944         (DEST): Likewise.
51945         (SRC): Likewise.
51946         (LEN): Likewise.
51947         (__mempcpy): Likewise.  Do not use BP_SYM.
51948         (mempcpy): Do not use BP_SYM in weak_alias.
51949         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51950         "bp-asm.h".
51951         (PARMS): Do not use macros from bp-asm.h.
51952         (DEST): Likewise.
51953         (LEN): Likewise.
51954         [!BZERO_P] (CHR): Likewise.
51955         (memset): Likewise.  Do not use BP_SYM.
51956         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51957         "bp-asm.h".
51958         (PARMS): Do not use macros from bp-asm.h.
51959         (STR2): Likewise.
51960         (strcmp): Do not use BP_SYM.
51961         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51962         "bp-asm.h".
51963         (PARMS): Do not use macros from bp-asm.h.
51964         (STR): Likewise.
51965         (DELIM): Likewise.
51966         [USE_AS_STRTOK_R] (SAVE): Likewise.
51967         (FUNCTION): Likewise.  Do not use BP_SYM.
51968         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51969         aliases.
51970         (strtok_r): Likewise.
51971         (__GI___strtok_r): Likewise.
51972         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51973         (PARMS): Do not use macros from bp-asm.h.
51974         (S): Likewise.
51975         (SIZE): Likewise.
51976         (__mpn_lshift): Do not use BP_SYM.
51977         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51978         (PARMS): Do not use macros from bp-asm.h.
51979         (STR): Likewise.
51980         (CHR): Likewise.
51981         (__memchr): Do not use BP_SYM.
51982         (memchr): Do not use BP_SYM in weak_alias.
51983         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51984         (PARMS): Do not use macros from bp-asm.h.
51985         (BLK2): Likewise.
51986         (LEN): Likewise.
51987         (memcmp): Do not use BP_SYM.
51988         (bcmp): Do not use BP_SYM in weak_alias.
51989         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51990         (PARMS): Do not use macros from bp-asm.h.
51991         (S1): Likewise.
51992         (SIZE): Likewise.
51993         (__mpn_mul_1): Do not use BP_SYM.
51994         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51995         "bp-asm.h".
51996         (PARMS): Do not use macros from bp-asm.h.
51997         (STR): Likewise.
51998         (CHR): Likewise.
51999         (__rawmemchr): Do not use BP_SYM.
52000         (rawmemchr): Do not use BP_SYM in weak_alias.
52001         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52002         (PARMS): Do not use macros from bp-asm.h.
52003         (S): Likewise.
52004         (SIZE): Likewise.
52005         (__mpn_rshift): Do not use BP_SYM.
52006         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52007         (PARMS): Do not use macros from bp-asm.h.
52008         (SIGMSK): Likewise.
52009         (__sigsetjmp): Likewise.  Do not use BP_SYM.
52010         * sysdeps/i386/start.S: Do not include "bp-sym.h".
52011         (_start): Do not use BP_SYM.
52012         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
52013         (PARMS): Do not use macros from bp-asm.h.
52014         (DEST): Likewise.
52015         (SRC): Likewise.
52016         (__stpcpy): Likewise.  Do not use BP_SYM.
52017         (stpcpy): Do not use BP_SYM in weak_alias.
52018         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
52019         "bp-asm.h".
52020         (PARMS): Do not use macros from bp-asm.h.
52021         (DEST): Likewise.
52022         (SRC): Likewise.
52023         (LEN): Likewise.
52024         (__stpncpy): Likewise.  Do not use BP_SYM.
52025         (stpncpy): Do not use BP_SYM in weak_alias.
52026         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52027         (PARMS): Do not use macros from bp-asm.h.
52028         (STR): Likewise.
52029         (CHR): Likewise.
52030         (strchr): Likewise.  Do not use BP_SYM.
52031         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
52032         "bp-asm.h".
52033         (PARMS): Do not use macros from bp-asm.h.
52034         (STR): Likewise.
52035         (CHR): Likewise.
52036         (__strchrnul): Likewise.  Do not use BP_SYM.
52037         (strchrnul): Do not use BP_SYM in weak_alias.
52038         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
52039         "bp-asm.h".
52040         (PARMS): Do not use macros from bp-asm.h.
52041         (STOP): Likewise.
52042         (strcspn): Do not use BP_SYM.
52043         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
52044         "bp-asm.h".
52045         (PARMS): Do not use macros from bp-asm.h.
52046         (STR): Likewise.
52047         (STOP): Likewise.
52048         (strpbrk): Likewise.  Do not use BP_SYM.
52049         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
52050         "bp-asm.h".
52051         (PARMS): Do not use macros from bp-asm.h.
52052         (STR): Likewise.
52053         (CHR): Likewise.
52054         (strrchr): Likewise.  Do not use BP_SYM.
52055         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
52056         (PARMS): Do not use macros from bp-asm.h.
52057         (SKIP): Likewise.
52058         (strspn): Do not use BP_SYM.
52059         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
52060         (PARMS): Do not use macros from bp-asm.h.
52061         (STR): Likewise.
52062         (DELIM): Likewise.
52063         (SAVE): Likewise.
52064         (FUNCTION): Likewise.  Do not use BP_SYM.
52065         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
52066         aliases.
52067         (strtok_r): Likewise.
52068         (__GI___strtok_r): Likewise.
52069         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52070         (PARMS): Do not use macros from bp-asm.h.
52071         (S1): Likewise.
52072         (S2): Likewise.
52073         (SIZE): Likewise.
52074         (__mpn_sub_n): Do not use BP_SYM.
52075         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
52076         "bp-asm.h".
52077         (PARMS): Do not use macros from bp-asm.h.
52078         (S1): Likewise.
52079         (SIZE): Likewise.
52080         (__mpn_submul_1): Do not use BP_SYM.
52081         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
52082         <bp-sym.h>.
52083         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
52084         and <bp-asm.h>.
52085         (PARMS): Do not use macros from bp-asm.h.
52086         (FLAGS): Likewise.
52087         (PTID): Likewise.
52088         (TLS): Likewise.
52089         (CTID): Likewise.
52090         (__clone): Do not use BP_SYM.
52091         (clone): Do not use BP_SYM in weak_alias.
52092         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
52093         and <bp-asm.h>.
52094         (PARMS): Do not use macros from bp-asm.h.
52095         (LEN): Likewise.
52096         (__mmap64): Do not use BP_SYM.
52097         (mmap64): Do not use BP_SYM in weak_alias.
52098         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52099         <bp-sym.h> and <bp-asm.h>.
52100         (PARMS): Do not use macros from bp-asm.h.
52101         (__posix_fadvise64_l64): Do not use BP_SYM.
52102         * sysdeps/unix/sysv/linux/i386/semtimedop.S
52103         (PARMS): Do not use macros from bp-asm.h.
52104         (NSOPS): Likewise.
52105         (semtimedop): Do not use BP_SYM.
52106         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
52107         and <bp-asm.h>.
52109 2013-02-21  Allan McRae  <allan@archlinux.org>
52111         * manual/message.texi (Charset conversion in gettext):
52112         Move @end statement to beginning of line.
52114 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52116         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
52117         static.
52118         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52119         Likewise.
52121         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
52122         (denorm): Likewise.
52123         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
52124         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
52126 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52128         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
52129         tail-call to the resolved function if pltexit isn't needed.
52131 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52133         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
52134         or Y being zero as being unlikely.
52135         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52136         Likewise.
52138 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
52140         * manual/nss.texi (System Databases and Name Service Switch):
52141         Remove frobnicate @pxref.
52143 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52145         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52146         __attribute__ ((unused)) to __attribute__ ((__unused__)).
52148 2013-02-20  Petr Machata  <pmachata@redhat.com>
52150         * elf/elf.h (R_ARM_TARGET1): New macro.
52151         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
52152         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
52153         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
52154         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
52155         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
52156         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
52157         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
52158         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
52159         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
52160         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
52161         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
52162         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
52163         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
52164         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
52165         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
52166         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
52167         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
52168         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
52169         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
52170         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
52171         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
52172         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
52173         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
52174         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
52175         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
52176         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
52177         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
52178         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
52179         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
52180         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
52181         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
52182         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
52183         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
52184         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
52185         (R_ARM_THM_GOT_BREL12): Likewise.
52186         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
52187         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
52188         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
52189         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
52190         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
52191         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
52192         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
52193         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
52194         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
52196 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52198         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52199         __attribute_used__ to __attribute__ ((unused)).
52201 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52203         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
52204         powerpc mpa.c.
52205         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
52206         comment formatting.
52207         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
52209 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
52211         [BZ #13550]
52212         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
52213         Remove macro.
52214         (ENTER): Remove both macro definitions.
52215         (LEAVE): Likewise.
52216         (CHECK_BOUNDS_LOW): Likewise.
52217         (CHECK_BOUNDS_HIGH): Likewise.
52218         (CHECK_BOUNDS_BOTH): Likewise.
52219         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
52220         (RETURN_BOUNDED_POINTER): Likewise.
52221         (RETURN_NULL_BOUNDED_POINTER): Likewise.
52222         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
52223         (POP_ERRNO_LOCATION_RETURN): Likewise.
52224         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
52225         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52226         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
52227         macros.
52228         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52229         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
52230         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
52231         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
52232         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
52233         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
52234         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
52235         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
52236         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
52237         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
52238         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
52239         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
52240         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52241         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
52242         removed macros.
52243         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52244         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
52245         macros.
52246         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52247         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
52248         * sysdeps/i386/i586/memset.S (memset): Likewise.
52249         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
52250         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52251         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
52252         macros.
52253         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52254         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
52255         Change uses of L(2) to L(out).
52256         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
52257         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
52258         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
52259         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52260         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
52261         removed macros.
52262         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52263         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
52264         macros.
52265         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52266         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
52267         (RETURN): Do not use macro LEAVE.
52268         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
52269         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
52270         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
52271         * sysdeps/i386/i686/memset.S (memset): Likewise.
52272         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
52273         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
52274         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52275         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
52276         Likewise.
52277         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52278         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
52279         L(1_2) and L(1_3) into L(1).
52280         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52281         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
52282         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52283         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
52284         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52285         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
52286         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
52287         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52288         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
52289         macros.
52290         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
52291         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52292         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
52293         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
52294         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
52295         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52296         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
52297         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
52298         * sysdeps/i386/strcspn.S (strcspn): Likewise.
52299         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
52300         * sysdeps/i386/strrchr.S (strrchr): Likewise.
52301         * sysdeps/i386/strspn.S (strspn): Likewise.
52302         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
52303         conditional code.
52304         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52305         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
52306         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52307         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
52308         L(1_3) into L(1_1).
52309         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
52310         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52311         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
52312         macros.
52313         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52315 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
52317         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
52318         macro.
52320 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52322         * math/atest-exp.c (exp_mpn): Remove ROUND.
52323         * math/atest-exp2.c (exp_mpn): Likewise.
52324         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
52326         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
52327         * stdlib/tst-tls-atexit-lib.c: Likewise.
52328         * stdlib/tst-tls-atexit.c: Likewise.
52330 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52332         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
52333         and __attribute_alloc_size__.
52335 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52337         * include/programs/xmalloc.h: Change __attribute_alloc_size to
52338         __attribute_alloc_size__.
52339         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
52340         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
52342 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52344         * include/programs/xmalloc.h: New file.
52345         * catgets/gencat.c: Include it.
52346         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
52347         * elf/pldd.c: Likewise.
52348         * iconv/iconv_charmap.c: Likewise.
52349         * iconv/iconvconfig.c: Likewise.
52350         * iconv/strtab.c: Likewise.
52351         * locale/programs/locale.c: Likewise.
52352         * locale/programs/localedef.h: Likewise.
52353         * locale/programs/simple-hash.c: Likewise.
52354         * nscd/nscd.h: Likewise.
52355         * nss/makedb.c: Likewise.
52356         * sysdeps/generic/ldconfig.h: Likewise.
52358 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52360         * Versions.def: Add GLIBC_2.18.
52361         * include/link.h (struct link_map): New member l_tls_dtor_count.
52362         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
52363         (__call_tls_dtors): Likewise.
52364         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
52365         __cxa_thread_atexit_impl.
52366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52367         Likewise.
52368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52369         Likewise.
52370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52371         Likewise.
52372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52373         Likewise.
52374         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
52376         Likewise.
52377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
52378         Likewise.
52379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52380         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52381         Likewise.
52382         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
52383         (tests): Add test case tst-tls-atexit.
52384         (modules-names): Add shared library for tst-tls-atexit.
52385         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
52386         (GLIBC_PRIVATE): Add __call_tls_dtors.
52387         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
52388         for libstdc++.
52389         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
52390         * stdlib/tst-tls-atexit.c: New test case.
52391         * stdlib/tst-tls-atexit-lib.c: New test case.
52393         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
52395         * elf/Versions (ld): Add _dl_find_dso_for_object.
52396         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
52397         * elf/dl-open.c (_dl_find_dso_for_object): New function.
52398         (dl_open_worker): Use _dl_find_dso_for_object.
52399         * elf/dl-sym.c (do_sym): Likewise.
52400         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
52402 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52404         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
52405         Syntactic changes only.
52406         (_dl_runtime_profile): Do a tail-call to the resolved function.
52408 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
52410         [BZ #13550]
52411         * sysdeps/x86_64/bp-asm.h: Remove file.
52412         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
52413         <bp-sym.h> and <bp-asm.h>.
52414         (__clone): Do not use BP_SYM.
52415         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
52416         <bp-sym.h> and <bp-asm.h>.
52417         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52418         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
52419         "bp-asm.h".
52420         (_setjmp): Do not use BP_SYM.
52421         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
52422         "bp-asm.h".
52423         (setjmp): Do not use BP_SYM.
52424         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
52425         libc_hidden_def.
52426         (mempcpy): Do not use BP_SYM in weak_alias.
52427         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
52428         "bp-asm.h".
52429         (strchr): Do not use BP_SYM.
52430         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
52431         "bp-asm.h".
52432         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
52433         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
52434         (_start): Do not use BP_SYM.
52435         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
52436         "bp-asm.h".
52437         (strcat): Do not use BP_SYM.
52438         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
52439         "bp-asm.h".
52440         (STRCMP): Do not use BP_SYM.
52441         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
52442         "bp-asm.h".
52443         (STRCPY): Do not use BP_SYM.
52444         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
52445         "bp-asm.h".
52446         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
52447         "bp-asm.h".
52448         (FUNCTION): Do not use BP_SYM.
52449         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
52450         weak_alias.
52451         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
52453 2013-02-17  Andreas Jaeger  <aj@suse.de>
52455         * time/Versions: Sort entries.
52456         * string/Versions: Likewise.
52457         * resolv/Versions: Likewise.
52458         * posix/Versions: Likewise.
52459         * iconv/Versions: Likewise.
52460         * elf/Versions: Likewise.
52461         * wcsmbs/Versions: Likewise.
52463 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52465         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
52466         loop termination condition.
52468         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
52469         variable to calculate EZ.
52470         (__sqr): Likewise.
52472         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
52473         the lower precision input.
52475 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
52477         [BZ #13550]
52478         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
52479         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
52480         (run-via-rtld-prefix): Do not handle %-bp tests.
52481         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
52482         (all-object-suffixes): Remove .ob.
52483         (bppfx): Remove variable.
52484         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
52485         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
52486         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
52487         [$(build-bounded) = yes] (libtype.ob): Likewise.
52488         * Makerules (elide-routines.ob): Remove variable.
52489         (do-tests-clean): Do not handle *-bp.out.
52490         (common-mostlyclean): Do not handle *-bp and *-bp.out.
52491         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
52492         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
52493         (tests): Do not include $(tests-bp.out).
52494         (xtests): Do not include $(xtests-bp.out).
52495         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
52496         [$(build-bounded) = yes] ($(addprefix
52497         $(objpfx),$(binaries-bounded))): Remove rule.
52498         ($(objpfx)%-bp.out): Remove rule.
52499         * config.make.in (build-bounded): Remove variable.
52500         * crypt/Makefile [$(build-bounded) = yes]
52501         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
52502         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
52503         append to variable.
52504         [$(build-bounded) = yes] (install-lib): Likewise.
52505         [$(build-bounded) = yes] (generated): Likewise.
52506         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
52507         Remove rule.
52508         * intl/Makefile [$(build-bounded) = yes]
52509         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
52510         * math/Makefile [$(build-bounded) = yes]
52511         ($(tests:%=$(objpfx)%-bp): Likewise.
52512         * misc/Makefile [$(build-bounded) = yes]
52513         ($(objpfx)tst-tsearch-bp): Likewise.
52514         * nptl/Makeconfig (bounded-thread-library): Remove variable.
52515         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
52516         Remove dependency.
52517         * string/Makefile (o-objects.ob): Remove variable.
52518         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
52519         (CFLAGS-.ob): Remove variable.
52520         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
52521         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
52522         both definitions of variable.
52523         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
52524         (ASFLAGS-.ob): Remove variable.
52526 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
52528         [BZ #13550]
52529         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
52530         Remove __BOUNDED_POINTERS__ from condition.
52531         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
52532         * string/bits/string2.h [!__NO_STRING_INLINES &&
52533         !__BOUNDED_POINTERS__]: Likewise.
52534         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
52535         Likewise.
52536         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
52537         Remove conditional code.
52538         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
52539         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
52540         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
52541         condition.
52543         [BZ #13550]
52544         * csu/libc-start.c: Do not include <bp-sym.h>.
52545         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
52546         * elf/dl-open.c: Do not include <bp-sym.h>.
52547         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
52548         * math/fegetenv.c: Do not include <bp-sym.h>.
52549         (fegetenv): Do not use BP_SYM in versioned symbols.
52550         * nptl/sysdeps/pthread/bits/libc-lockP.h
52551         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
52552         <bp-sym.h>.
52553         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52554         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
52555         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52556         (__pthread_mutex_destroy): Likewise.
52557         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52558         (__pthread_mutex_lock): Likewise.
52559         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52560         (__pthread_mutex_trylock): Likewise.
52561         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52562         (__pthread_mutex_unlock): Likewise.
52563         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52564         (__pthread_mutexattr_init): Likewise.
52565         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52566         (__pthread_mutexattr_destroy): Likewise.
52567         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52568         (__pthread_mutexattr_settype): Likewise.
52569         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52570         (__pthread_rwlock_init): Likewise.
52571         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52572         (__pthread_rwlock_destroy): Likewise.
52573         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52574         (__pthread_rwlock_rdlock): Likewise.
52575         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52576         (__pthread_rwlock_tryrdlock): Likewise.
52577         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52578         (__pthread_rwlock_wrlock): Likewise.
52579         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52580         (__pthread_rwlock_trywrlock): Likewise.
52581         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52582         (__pthread_rwlock_unlock): Likewise.
52583         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52584         (__pthread_key_create): Likewise.
52585         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52586         (__pthread_setspecific): Likewise.
52587         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52588         (__pthread_getspecific): Likewise.
52589         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52590         Likewise.
52591         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52592         (_pthread_cleanup_push_defer): Likewise.
52593         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52594         (_pthread_cleanup_pop_restore): Likewise.
52595         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52596         (pthread_setcancelstate): Likewise.
52597         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52598         <bp-sym.h>.
52599         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52600         (memchr): Do not use BP_SYM in weak_alias.
52601         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52602         (fegetenv): Do not use BP_SYM in versioned symbols.
52603         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52604         (fesetenv): Do not use BP_SYM in versioned symbols.
52605         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52606         (feupdateenv): Do not use BP_SYM in versioned symbols.
52607         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52608         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52609         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52610         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52611         (open64): Do not use BP_SYM in weak_alias.
52612         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52613         (fegetenv): Do not use BP_SYM in versioned symbols.
52614         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52615         (fesetenv): Do not use BP_SYM in versioned symbols.
52616         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52617         (feupdateenv): Do not use BP_SYM in versioned symbols.
52618         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52619         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52620         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52621         (feraiseexcept): Do not use BP_SYM in versioned symbols.
52622         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52623         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52624         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52625         <bp-sym.h>.
52626         (__libc_start_main): Do not use BP_SYM.
52628 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52630         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52631         redundant return line.
52632         (norm): Likewise.
52633         (denorm): Likewise.
52634         (dbl_mp): Likewise.
52635         (sub_magnitudes): Likewise.
52636         (__add): Likewise.
52637         (__sub): Likewise.
52638         (__mul): Likewise.
52639         (__inv): Likewise.
52640         (__dvd): Likewise.
52641         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52642         (norm): Likewise.
52643         (denorm): Likewise.
52644         (dbl_mp): Likewise.
52645         (sub_magnitudes): Likewise.
52646         (__add): Likewise.
52647         (__sub): Likewise.
52648         (__mul): Likewise.
52649         (__inv): Likewise.
52650         (__dvd): Likewise.
52652         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52653         instead of __mul.
52654         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52655         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52656         (cc32): Likewise.
52658         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52659         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52660         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52661         of __mul for squares.
52662         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52663         function
52664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52665         Likewise.
52666         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52667         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52669 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
52671         [BZ #13550]
52672         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52673         code.
52674         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52675         prototype or function definition.  Rename ubp_* variables and
52676         parameters.  Remove argv definitions conditional on
52677         [__BOUNDED_POINTERS__].
52678         * debug/backtrace.c (__backtrace): Do not use __unbounded.
52679         * elf/dl-runtime.c (_dl_fixup): Likewise.
52680         * include/set-hooks.h (RUN_HOOK): Likewise.
52681         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52682         definition.
52683         * string/strcpy.c (strcpy): Do not use __unbounded.
52684         * sysdeps/generic/frame.h (struct layout): Likewise.
52685         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52686         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52687         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52688         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52689         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52690         (__backtrace): Likewise.
52691         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52692         use __ptrvalue.
52693         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52694         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52695         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52696         Likewise.
52697         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52698         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52699         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52700         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52701         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52702         Do not use __unbounded.
52703         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52704         Rename __unboundedrlimits parameter to rlimits in prototype.
52705         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52706         Do not use __unbounded.
52707         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52708         not use __ptrvalue.
52709         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52710         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52711         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52712         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52713         __ptrvalue or __unbounded.
52714         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52715         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52716         use __unbounded.
52717         (__new_msgctl): Do not use __ptrvalue.
52718         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52719         __unbounded.
52720         (__libc_msgrcv): Do not use __ptrvalue.
52721         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52722         startup_info): Do not use __unbounded.
52723         (__libc_start_main): Likewise.  Rename ubp_* variables and
52724         parameters.  Remove argv definitions conditional on
52725         [__BOUNDED_POINTERS__].
52726         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52727         __ptrvalue.
52728         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52729         use __unbounded.
52730         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52731         or __ptrvalue.
52732         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52733         use __unbounded.
52734         (__new_shmctl): Do not use __ptrvalue.
52735         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52736         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52737         Likewise.
52738         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52739         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52740         (__libc_sigaction): Likewise.
52741         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52742         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52743         Likewise.
52744         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52746 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
52748         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52750         * string/mempcpy.c: Implement by calling memcpy.
52752 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52754         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52756         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52757         evaluation.
52759         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52760         values in the mantissa.
52762         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52763         minimize writes to Z.
52764         (sub_magnitudes): Simplify code a bit.
52766 2013-02-12  Roland McGrath  <roland@hack.frob.com>
52768         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52769         from the message.  The linker prefixes all warnings with that already.
52771 2013-02-12  Andreas Schwab  <schwab@suse.de>
52773         [BZ #15078]
52774         * posix/regexec.c (extend_buffers): Add parameter min_len.
52775         (check_matching): Pass minimum needed length.
52776         (clean_state_log_if_needed): Likewise.
52777         (get_subexp): Likewise.
52778         * posix/Makefile (tests): Add bug-regex34.
52779         (bug-regex34-ENV): Define.
52780         * posix/bug-regex34.c: New file.
52782         [BZ #11561]
52783         * posix/regcomp.c (parse_bracket_exp): When looking up collating
52784         elements compare against the byte sequence of it, not its name.
52785         * posix/Makefile (tests): Add bug-regex35.
52786         (bug-regex35-ENV): Define.
52787         * posix/bug-regex35.c: New file.
52789 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52791         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
52792         comment.
52793         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52794         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52795         (CHECK_EOL): Add undef.
52797 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
52799         * bits/stdlib-bsearch.h: New file.
52800         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52801         * stdlib/stdlib.h: Likewise.
52803 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52805         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52806         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52807         declaration.
52808         * manual/search.texi (Array Search Function): Add missing const in
52809         lfind prototype.
52810         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52811         declaration to use rlim_t.
52812         (Basic Scheduling Functions): Remove erroneous const from
52813         sched_getparam prototype.  Remove erroneous * from
52814         sched_get_priority_max and sched_get_priority_min prototypes.
52815         (Resource Usage): Fix summary @comment on vtimes to refer to
52816         sys/vtimes.h rather than vtimes.h.
52817         Add missing *s in vtimes prototype.
52818         (Limits on Resources): Fix ulimit prototype to return long int.
52819         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52820         prototypes to use long int rather than double.
52821         (BSD Random): Fix initstate and setstate to use char *, not void *.
52822         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52823         prototype to make second argument 'struct aiocb64 *const[]'.
52824         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52825         (Status of AIO Operations): Remove erroneous const in aio_return and
52826         aio_return64 prototypes.
52827         (Synchronizing I/O): Fix sync prototype to return void.
52828         * manual/startup.texi (Suboptions): Remove an erroneous const in
52829         getsubopt prototype.
52830         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52831         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52832         use size_t rather than int.
52833         (Scanning All Users): Likewise for getpwent_r.
52834         (Setting Groups): Add missing const to setgroups prototype.
52835         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52836         * manual/socket.texi (Host Names): Fix gethostbyaddr and
52837         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52838         'const void *' rather than 'const char *'.
52839         (Host Address Functions): Likewise for inet_ntop.
52840         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52841         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52842         ssize_t for return value.
52843         (Sending Data): Likewise for send, sendto, sendmsg.
52844         (Socket Option Functions): Add a missing const in setsockopt prototype.
52845         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52846         use wchar_t for the argument.
52847         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52848         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52849         take no arguments.
52850         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52851         double/float/long double for second argument.
52852         Fix return types of significand, significandf, significandl.
52853         * manual/filesys.texi (Setting Permissions): Use mode_t for second
52854         argument in fchmod prototype.
52855         (File Owner): Use uid_t and gid_t in fchown prototype.
52856         (File Times): Add const to utimes, futimes, and lutimes prototypes.
52857         (Making Special Files): Use mode_t and dev_t in mknod prototype.
52858         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52859         use 'const struct dirent **' as argument types to CMP function pointer
52860         argument.
52861         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52862         (File Times): Fix summary magic @comment for struct utimbuf and utime
52863         to refer to utime.h, not time.h.
52864         * manual/string.texi (Argz Functions): Add missing const in
52865         argz_extract and argz_next prototypes.
52866         (Finding Tokens in a String): Likewise for basename.
52867         (String/Array Comparison): Fix typo in wcscasecmp prototype.
52868         (Copying and Concatenation): Fix typo in wmemmove prototype.
52869         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52870         (Signal Stack): Remove erroneous const in sigstack prototype.
52871         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52872         prototype.
52873         (Simple Calendar Time): Likewise for stime.
52874         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52875         prototype.
52876         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52877         say sys/sysctl.h instead.
52878         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52879         and vsyslog prototypes.
52881 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52883         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52884         Remove.
52886 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52888         * misc/sys/mman.h: Fix typo in mremap comment.
52890 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52892         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52893         the '\0' terminator.
52895 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52897         [BZ #13550]
52898         * debug/segfault.c: Don't include <bp-checks.h>.
52899         * sysdeps/generic/bp-checks.h: Remove file.
52900         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52901         (__GETDENTS): Don't use CHECK_N.
52902         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52903         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52904         (__getgroups): Don't use CHECK_N.
52905         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52906         (setgroups): Don't use CHECK_N.
52907         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52908         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52909         (__libc_msgrcv): Don't use CHECK_N.
52910         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52911         (__libc_msgsnd): Don't use CHECK_N.
52912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52913         <bp-checks.h>.
52914         (__libc_pread): Don't use CHECK_N.
52915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52916         include <bp-checks.h>.
52917         (__libc_pread64): Don't use CHECK_N.
52918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52919         include <bp-checks.h>.
52920         (__libc_pwrite): Don't use CHECK_N.
52921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52922         include <bp-checks.h>.
52923         (__libc_pwrite64): Don't use CHECK_N.
52924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52925         <bp-checks.h>.
52926         (__libc_pread): Don't use CHECK_N.
52927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52928         include <bp-checks.h>.
52929         (__libc_pread64): Don't use CHECK_N.
52930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52931         include <bp-checks.h>.
52932         (__libc_pwrite): Don't use CHECK_N.
52933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52934         include <bp-checks.h>.
52935         (__libc_pwrite64): Don't use CHECK_N.
52936         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52937         (do_pread): Don't use CHECK_N.
52938         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52939         (do_pread64): Don't use CHECK_N.
52940         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52941         (do_pwrite): Don't use CHECK_N.
52942         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52943         (do_pwrite64): Don't use CHECK_N.
52944         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52945         (__libc_readv): Don't use CHECK_N.
52946         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52947         (semop): Don't use CHECK_N.
52948         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52949         <bp-checks.h>.
52950         (semtimedop): Don't use CHECK_N.
52951         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52952         (__libc_pread): Don't use CHECK_N.
52953         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52954         <bp-checks.h>.
52955         (__libc_pread64): Don't use CHECK_N.
52956         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52957         <bp-checks.h>.
52958         (__libc_pwrite): Don't use CHECK_N.
52959         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52960         <bp-checks.h>.
52961         (__libc_pwrite64): Don't use CHECK_N.
52962         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52963         <bp-checks.h>.
52964         (__libc_msgrcv): Don't use CHECK_N.
52965         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52966         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
52967         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52968         (__libc_writev): Don't use CHECK_N.
52970 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52972         * string/strcpy.c: Removed unused variable.
52974         * Makeconfig (+sysdep-includes): Define with := rather than =.
52975         Use an existing include/ subdir of each sysdeps dir before it.
52977 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52979         * nscd/connection.c (register_traced_file): Comment function.
52980         [HAVE_INOTIFY] (union __inev): Define.
52981         [HAVE_INOTIFY] (inotify_check_files): New function.
52982         [HAVE_INOTIFY] (clear_db_cache): Likewise.
52983         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52984         clear_db_cache.
52985         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52987 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52989         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52990         loaded if not already and that a failure is permanent.
52992 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52994         [BZ #15006]
52995         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52996         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52998 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53000         [BZ #13550]
53001         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
53002         (CHECK_1_NULL_OK): Likewise.
53003         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
53004         (__fxstat): Do not use CHECK_1.
53005         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
53006         <bp-checks.h>.
53007         (___fxstat64): Do not use CHECK_1.
53008         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
53009         <bp-checks.h>.
53010         (__fxstatat): Do not use CHECK_1.
53011         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
53012         <bp-checks.h>.
53013         (__fxstatat64): Do not use CHECK_1.
53014         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
53015         <bp-checks.h>.
53016         (__fxstat): Do not use CHECK_1.
53017         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
53018         <bp-checks.h>.
53019         (__fxstatat): Do not use CHECK_1.
53020         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53021         <bp-checks.h>.
53022         (__getresgid): Do not use CHECK_1.
53023         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53024         <bp-checks.h>.
53025         (__getresuid): Do not use CHECK_1.
53026         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
53027         <bp-checks.h>.
53028         (__lxstat): Do not use CHECK_1.
53029         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53030         <bp-checks.h>.
53031         (__old_msgctl): Do not use CHECK_1.
53032         (__new_msgctl): Likewise.
53033         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
53034         <bp-checks.h>.
53035         (__new_setrlimit): Do not use CHECK_1.
53036         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53037         <bp-checks.h>.
53038         (__old_shmctl): Do not use CHECK_1.
53039         (__new_shmctl): Likewise.
53040         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
53041         <bp-checks.h>.
53042         (__xstat): Do not use CHECK_1.
53043         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
53044         (__lxstat): Do not use CHECK_1.
53045         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
53046         <bp-checks.h>.
53047         (___lxstat64): Do not use CHECK_1.
53048         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
53049         (__old_msgctl): Do not use CHECK_1.
53050         (__new_msgctl): Likewise.
53051         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
53052         <bp-checks.h>.
53053         (__gettimeofday): Do not use CHECK_1.
53054         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
53055         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
53056         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
53057         <bp-checks.h>.
53058         (__gettimeofday): Do not use CHECK_1.
53059         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
53060         (__old_shmctl): Do not use CHECK_1_NULL_OK.
53061         (__new_shmctl): Do not use CHECK_1.
53062         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
53063         <bp-checks.h>.
53064         (do_sigtimedwait): Do not use CHECK_1.
53065         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
53066         <bp-checks.h>.
53067         (do_sigwaitinfo): Do not use CHECK_1.
53068         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
53069         <bp-checks.h>.
53070         (msgctl): Do not use CHECK_1.
53071         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
53072         <bp-checks.h>.
53073         (shmctl): Do not use CHECK_1.
53074         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
53075         (ustat): Do not use CHECK_1.
53076         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
53077         <bp-checks.h>.
53078         (__fxstat): Do not use CHECK_1.
53079         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
53080         <bp-checks.h>.
53081         (__fxstatat): Do not use CHECK_1.
53082         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
53083         <bp-checks.h>.
53084         (__lxstat): Do not use CHECK_1.
53085         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
53086         <bp-checks.h>.
53087         (__xstat): Do not use CHECK_1.
53088         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
53089         (__xstat): Do not use CHECK_1.
53090         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
53091         (___xstat64): Do not use CHECK_1.
53093         [BZ #13550]
53094         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
53095         definitions.
53096         (CHECK_BOUNDS_HIGH): Likewise.
53097         * string/strcpy.c: Do not include <bp-checks.h>.
53098         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
53100 2013-02-07  Roland McGrath  <roland@hack.frob.com>
53102         * nscd/nscd-client.h (__nscd_drop_map_ref):
53103         Add __attribute__ ((unused)).
53104         * nis/nss-nisplus.h (niserr2nss): Likewise.
53106         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
53107         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
53109         * csu/libc-tls.c (init_static_tls, init_slotinfo):
53110         Remove inline keyword.
53111         * include/rounding-mode.h (round_away): Likewise.
53112         * libio/wfileops.c (adjust_wide_data): Likewise.
53113         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
53114         (__m128i_strloadu_tolower): Likewise.
53115         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
53116         (__m128i_strloadu_tolower): Likewise.
53117         * time/mktime.c (ydhms_diff): Likewise.
53118         * locale/elem-hash.h (elem_hash): Likewise.
53119         * locale/setlocale.c (setdata): Likewise.
53120         * posix/regex_internal.h (re_string_char_size_at): Likewise.
53121         (re_string_wchar_at): Likewise.
53122         (bitset_not, bitset_merge, bitset_mask): Likewise.
53123         [!(__GNUC__ > 3)] (inline): Remove macro.
53124         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
53125         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
53126         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
53127         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
53128         * string/memcmp.c (memcmp_bytes): Likewise.
53129         * locale/programs/locarchive.c (compute_hashval): Likewise.
53130         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
53131         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
53132         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
53133         * nss/getent.c (print_rpc, print_protocols): Likewise.
53134         (print_passwd, print_group, print_aliases): Likewise.
53135         * nis/nss-nisplus.h (niserr2nss): Likewise.
53136         * nscd/connections.c (restart_p): Likewise.
53137         Change return type to bool.
53139 2013-02-05  Roland McGrath  <roland@hack.frob.com>
53141         * Makeconfig (all-Depend-files): Add existing
53142         $(sorted-subdirs:=/Depend) files.
53143         (all-subdirs): Remove nss.
53144         * sysdeps/unix/inet/Subdirs: Add it here instead.
53145         * hesiod/Depend: New file.
53147         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
53148         instead of calling alloca.
53150         * io/lseek.c (__lseek): Rename to __libc_lseek.
53151         Define __lseek as an alias.
53153         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
53155 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
53157         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
53158         else clause and remove check for non-standard endianness.
53160 2013-02-04  David S. Miller  <davem@davemloft.net>
53162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53164 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
53166         [BZ #13550]
53167         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
53168         (__ubp_memchr): Remove prototype.
53169         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
53170         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53171         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
53172         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53173         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
53174         Remove alias.
53175         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
53176         (__ubp_memchr): Likewise.
53177         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
53178         (__ubp_memchr): Likewise.
53179         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
53180         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
53181         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
53182         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
53183         CHECK_STRING.
53184         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53185         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
53186         (__getcwd): Do not use CHECK_STRING.
53187         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53188         <bp-checks.h>.
53189         (__real_chown): Do not use CHECK_STRING.
53190         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
53191         <bp-checks.h>.
53192         (fchownat): Do not use CHECK_STRING.
53193         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
53194         CHECK_STRING.
53195         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53196         <bp-checks.h>.
53197         (__lchown): Do not use CHECK_STRING.
53198         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53199         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53200         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53201         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
53202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53203         include <bp-checks.h>.
53204         (truncate64): Do not use CHECK_STRING.
53205         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53206         <bp-checks.h>.
53207         (__real_chown): Do not use CHECK_STRING.
53208         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53209         <bp-checks.h>.
53210         (__lchown): Do not use CHECK_STRING.
53211         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53212         <bp-checks.h>.
53213         (__chown): Do not use CHECK_STRING.
53214         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
53215         <bp-checks.h>.
53216         (truncate64): Do not use CHECK_STRING.
53217         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
53218         Likewise.
53219         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
53220         (__xmknod): Do not use CHECK_STRING.
53221         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
53222         <bp-checks.h>.
53223         (__xmknodat): Do not use CHECK_STRING.
53224         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53225         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
53227 2013-02-04  Andreas Schwab  <schwab@suse.de>
53229         [BZ #14142]
53230         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
53231         * include/netdb.h: Likewise for h_errno.
53232         * elf/tst-stackguard1.c: Include <tls.h>.
53234 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
53236         * elf/link.h (struct link_map): Extend the l_addr comment.
53237         * include/link.h (struct link_map): Likewise.
53239 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
53241         [BZ #13550]
53242         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
53243         (BOUNDED_1): Remove macro.
53244         * debug/backtrace.c: Don't include <bp-checks.h>.
53245         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
53246         (__backtrace): Likewise.
53247         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
53248         <bp-checks.h>.
53249         (__backtrace): Don't use BOUNDED_1.
53250         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
53251         <bp-checks.h>.
53252         (__backtrace): Don't use BOUNDED_1.
53253         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
53254         (__backtrace): Don't use BOUNDED_1.
53255         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
53256         (shmat): Don't use BOUNDED_N.
53258 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
53260         [BZ #13550]
53261         * sysdeps/generic/bp-start.h: Remove file.
53262         * csu/libc-start.c: Don't include <bp-start.h>.
53263         (LIBC_START_MAIN): Set up __environ directly instead of using
53264         INIT_ARGV_and_ENVIRON.
53265         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
53266         <bp-start.h>.
53268         [BZ #13550]
53269         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
53270         definitions.
53271         (CHECK_FCNTL): Likewise.
53272         (CHECK_N_PAGES): Likewise.
53274         [BZ #13550]
53275         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
53276         definitions.
53277         (CHECK_SIGSET_NULL_OK): Likewise.
53278         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
53279         <bp-checks.h>.
53280         (sigpending): Don't use CHECK_SIGSET.
53281         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
53282         <bp-checks.h>.
53283         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53284         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
53285         <bp-checks.h>.
53286         (do_sigsuspend): Don't use CHECK_SIGSET.
53287         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
53288         use CHECK_SIGSET.
53289         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
53290         (do_sigwait): Don't use CHECK_SIGSET.
53291         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
53292         use CHECK_SIGSET.
53293         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
53294         include <bp-checks.h>.
53295         (sigpending): Don't use CHECK_SIGSET.
53296         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
53297         include <bp-checks.h>.
53298         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53299         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
53300         <bp-checks.h>.
53301         (sigpending): Don't use CHECK_SIGSET.
53302         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
53303         <bp-checks.h>.
53304         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53306         [BZ #13550]
53307         * sysdeps/generic/bp-semctl.h: Remove file.
53308         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
53309         <bp-checks.h> and <bp-semctl.h>.
53310         (__old_semctl): Don't use CHECK_SEMCTL.
53311         (__new_semctl): Likewise.
53312         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
53313         and <bp-semctl.h>.
53314         (__old_semctl): Don't use CHECK_SEMCTL.
53315         (__new_semctl): Likewise.
53316         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
53317         <bp-checks.h> and <bp-semctl.h>.
53318         (__old_semctl): Don't use CHECK_SEMCTL.
53319         (__new_semctl): Likewise.
53320         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
53321         <bp-checks.h> and <bp-semctl.h>.
53322         (semctl): Don't use CHECK_SEMCTL.
53324         [BZ #13550]
53325         * Makerules (elide-bp-thunks): Remove variable.
53326         (elide-routines.oS): Don't use $(elide-bp-thunks).
53327         (elide-routines.os): Likewise.
53328         (elide-routines.o): Likewise.
53329         (elide-routines.op): Likewise.
53330         (elide-routines.og): Likewise.
53331         (objects): Don't use $(bp-thunks).
53332         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
53333         include.
53334         (common-generated): Do not add s-proto-bp.d.
53335         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
53336         (int): Likewise.
53337         (typ): Likewise.
53338         Do not generate makefile rules for bounded-pointer thunks.
53339         * sysdeps/generic/bp-thunks.h: Remove file.
53340         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
53341         * sysdeps/unix/s-proto-bp.S: Likewise.
53343         [BZ #15062]
53344         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
53345         parts of result separately when argument is not close to line from
53346         -i to i and one part of argument is small.
53347         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53348         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53349         * math/libm-test.inc (cacos_test): Add more tests.
53350         (casin_test): Likewise.
53351         (casinh_test): Likewise.
53352         * sysdeps/i386/fpu/libm-test-ulps: Update.
53353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53355 2013-01-31  David S. Miller  <davem@davemloft.net>
53357         * po/de.po: Update from translation team.
53359 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
53361         * time/tzfile.c: Include stdint.h for SIZE_MAX.
53363 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
53365         * configure.in (_AC_PROG_CC_C89): New definition.
53366         * configure: Regenerate.
53368         * configure.in (AC_PROG_CPP): New definition.
53369         * configure: Regenerate.
53371 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53373         * debug/tst-backtrace.h: New file.
53374         * debug/tst-backtrace2.c: Include tst-backtrace.h.
53375         (ret): Remove variable.
53376         (x): Likewise.
53377         (FAIL): Remove macro.
53378         (NO_INLINE): Likewise.
53379         (fn1): Use match function instead of strstr.
53380         * debug/tst-backtrace3.c: Include tst-backtrace.h.
53381         (ret): Remove variable.
53382         (x): Likewise.
53383         (FAIL): Remove macro.
53384         (NO_INLINE): Likewise.
53385         (fn): Use match function instead of strstr.
53386         * debug/tst-backtrace4.c: Include tst-backtrace.h.
53387         (ret): Remove variable.
53388         (x): Likewise.
53389         (FAIL): Remove macro.
53390         (NO_INLINE): Likewise.
53391         (handle_signal): Use match function instead of strstr.
53392         * debug/tst-backtrace5.c: Include tst-backtrace.h.
53393         (ret): Remove variable.
53394         (x): Likewise.
53395         (FAIL): Remove macro.
53396         (NO_INLINE): Likewise.
53397         (handle_signal): Use match function instead of strstr.
53399 2013-01-23  Roland McGrath  <roland@hack.frob.com>
53401         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
53403 2013-01-23  David S. Miller  <davem@davemloft.net>
53405         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
53406         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
53407         argument of CAS if possible.
53408         * sysdeps/sparc/sparc64/bits/atomic.h
53409         (__arch_compare_and_exchange_val_32_acq): Likewise.
53410         (__arch_compare_and_exchange_val_64_acq): Likewise.
53412 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
53414         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
53415         * sysdeps/posix/ulimit.c: ... this.
53416         Include <limits.h>.
53417         * sysdeps/unix/bsd/ulimit.c: Remove file.
53419 2013-01-23  Adam Conrad  <adconrad@0c3.net>
53421         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
53422         (LDFLAGS-tst-array5): Likewise.
53424 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53426         [BZ #15036]
53427         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
53428         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
53429         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
53430         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
53432 2013-01-21  David S. Miller  <davem@davemloft.net>
53434         * sysdeps/sparc/backtrace.c: New file.
53435         * sysdeps/sparc/sparc32/backtrace.h: New file.
53436         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
53437         * sysdeps/sparc/sparc64/backtrace.h: New file.
53438         * sysdeps/sparc/sparc64/backtrace.c: Delete.
53439         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
53440         -funwind-tables.
53442 2013-01-21  Andreas Schwab  <schwab@suse.de>
53444         [BZ #15020]
53445         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
53446         closed its stdout.
53448 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
53450         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
53451         "mpa2.h".
53452         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53454 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
53455             Mark Mitchell  <mark@codesourcery.com>
53456             Tom de Vries  <tom@codesourcery.com>
53457             Paul Pluzhnikov  <ppluzhnikov@google.com>
53459         * debug/tst-backtrace2.c: New file.
53460         * debug/tst-backtrace3.c: Likewise.
53461         * debug/tst-backtrace4.c: Likewise.
53462         * debug/tst-backtrace5.c: Likewise.
53463         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
53464         (CFLAGS-tst-backtrace3.c): Likewise.
53465         (CFLAGS-tst-backtrace4.c): Likewise.
53466         (CFLAGS-tst-backtrace5.c): Likewise.
53467         (LDFLAGS-tst-backtrace2): Likewise.
53468         (LDFLAGS-tst-backtrace3): Likewise.
53469         (LDFLAGS-tst-backtrace4): Likewise.
53470         (LDFLAGS-tst-backtrace5): Likewise.
53471         (tests): Add new tests tst-backtrace2, tst-backtrace3,
53472         tst-backtrace4 and tst-backtrace5.
53474 2013-01-18  Anton Blanchard  <anton@samba.org>
53475             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53477         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
53478         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
53479         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
53480         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
53481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53482         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
53483         "+r" and remove output regs list as redundant.  Add explicit inline
53484         asm to specify register of return val to work around compiler codegen
53485         bug.  Remove (int) cast on return value.  Add return type parameter to
53486         use in macro so that this macro does not truncate return value for
53487         64-bit values.
53488         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
53489         pass to INTERNAL_VSYSCALL_NCS.
53490         (INLINE_VSYSCALL): Add 'long int' as return type to
53491         INTERNAL_VSYSCALL_NCS macro invocation.
53492         (INTERNAL_VSYSCALL): Add 'long int' as return type to
53493         INTERNAL_VSYSCALL_NCS macro invocation.
53494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53496 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53498         [BZ #14496]
53499         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
53500         Fix application of SIMD FP exception mask.
53502         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
53503         mp_no from a power of two.
53504         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
53505         __mpexp_twomm1.  Use __pow_mp.
53507         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
53508         multiplication.
53510 2013-01-17  David S. Miller  <davem@davemloft.net>
53512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53514 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53516         [BZ #15023]
53517         * include/complex.h: Condition contents on [!_COMPLEX_H].
53518         (__kernel_casinhf): New prototype.
53519         (__kernel_casinh): Likewise.
53520         (__kernel_casinhl): Likewise.
53521         * math/Makefile (libm_calls): Add k_casinh.
53522         * math/k_casinh.c: New file.
53523         * math/k_casinhf.c: Likewise.
53524         * math/k_casinhl.c: Likewise.
53525         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
53526         finite nonzero arguments.
53527         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
53528         finite nonzero arguments.
53529         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
53530         finite nonzero arguments.
53531         * math/s_casinh.c: Do not include <float.h>.
53532         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
53533         * math/s_casinhf.c: Do not include <float.h>.
53534         (__casinhf): Move code for finite nonzero arguments to
53535         k_casinhf.c.
53536         * math/s_casinhl.c: Do not include <float.h>.
53537         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
53538         redefine.
53539         (__casinhl): Move code for finite nonzero arguments to
53540         k_casinhl.c.
53541         * math/libm-test.inc (cacos_test): Add more tests.
53542         * sysdeps/i386/fpu/libm-test-ulps: Update.
53543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53545 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
53547         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
53548         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
53549         [!HAVE_MREMAP]: Remove [defined linux] case.
53550         * malloc/arena.c: Do not include <malloc-sysdep.h>.
53552 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53554         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
53556 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
53558         * elf/elf.h (R_386_SIZE32): New relocation.
53559         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
53560         R_386_SIZE32.
53561         (elf_machine_rela): Likewise.
53562         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53563         R_X86_64_SIZE64 and R_X86_64_SIZE32.
53565 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53567         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
53568         (FP_FAST_FMA): Do not define.
53569         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
53570         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
53571         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
53572         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
53573         !_SOFT_FLOAT]: Likewise.
53574         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
53575         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
53576         value.
53577         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
53578         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
53579         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
53580         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
53581         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
53582         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
53583         file.
53585 2013-01-16  Andreas Schwab  <schwab@suse.de>
53587         [BZ #14327]
53588         * include/stdlib.h (__mktemp): Add declaration.
53589         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53590         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53592 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53594         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53595         definitions.
53596         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53597         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53598         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53599         definitions here.
53600         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53601         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53602         definitions.
53603         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53604         and ONE.
53605         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53606         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53607         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53608         definitions.
53609         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53610         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53611         definitions.
53612         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53614         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53616 2013-01-15  David S. Miller  <davem@davemloft.net>
53618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53619         trunc{,f} to libm-sysdep_routes.
53620         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53622         file.
53623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53625         file.
53626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53627         file.
53628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53630         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53631         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53632         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53633         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53634         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53635         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53638         nearbyint{,f} to libm-sysdep_routes.
53639         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53641         New file.
53642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53643         file.
53644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53645         New file.
53646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53647         file.
53648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53650         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53651         file.
53652         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53653         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53654         file.
53655         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53656         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53657         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53659         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53660         libc_feholdexcept and libc_fesetenv.
53662 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
53664         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53666 2013-01-14  David S. Miller  <davem@davemloft.net>
53668         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53669         (SPARC_ASM_VIS2_IFUNC): Likewise.
53670         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53672         use of 'siam' instruction.
53673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53674         Likewise.
53675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53676         Likewise.
53677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53678         Likewise.
53679         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53680         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53681         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53682         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53684         file.
53685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53686         file.
53687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53688         file.
53689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53690         file.
53691         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53692         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53693         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53694         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53696         new VIS2 routines.
53697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53700         Likewise.
53701         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53702         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53703         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53704         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53706         routines to libm-sysdep_routines.
53707         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53710         fdim/fdimf to libm-sysdep_routines.
53711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53712         file.
53713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53715         file.
53716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53719         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53720         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53721         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53722         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53724 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53726         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53727         to optimize copies.
53729         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53730         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53731         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53733         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53734         local variable MPTWO.
53735         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53736         Likewise.
53738 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53740         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53741         GLOB_NOESCAPE.
53743 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53745         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53747 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53749         * manual/pattern.texi (glob_t): Document gl_flags.
53750         (glob64_t): Likewise.
53752 2013-01-11  David S. Miller  <davem@davemloft.net>
53754         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53755         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53756         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
53757         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53758         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53759         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53760         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53761         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53762         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53763         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53764         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53765         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53766         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53768         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53769         sparc V9 rather than using V8 code.
53770         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53771         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53773         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53774         Move to...
53775         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53776         Here.
53778 2013-01-11  Roland McGrath  <roland@hack.frob.com>
53780         [BZ #14941]
53781         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53782         not in the main loop.
53783         * configure: Regenerated.
53785 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
53787         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53788         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53789         to just #else.
53790         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
53791         [!__GLIBC_HAVE_LONG_LONG] case.
53792         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53793         condition to just #else.
53794         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53795         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53796         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53797         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53798         unconditional.
53799         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53800         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53801         #elif condition to just #else.
53802         * sysdeps/unix/sysv/linux/sys/sysmacros.h
53803         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53804         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53805         #elif condition to just #else.
53807 2013-01-11  Steve Ellcey  <sellcey@mips.com>
53809         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53810         (EF_MIPS_ARCH_64): Fix value.
53811         (EF_MIPS_ARCH_32R2): New.
53812         (EF_MIPS_ARCH_64R2): New.
53814 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
53816         * Makeconfig (+link-pie-before-libc): New.
53817         (+link-pie-after-libc): Likewise.
53818         (+link-pie-tests): Likewise.
53819         (+link-pie): Rewritten.
53820         (link-before-libc): Remove $(config-LDFLAGS).
53821         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53822         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53823         (config-LDFLAGS): Renamed to ...
53824         (rtld-LDFLAGS): This.
53825         (rtld-tests-LDFLAGS): New macro.
53826         (link-libc-rpath-link): Likewise.
53827         (link-libc-tests-rpath-link): Likewise.
53828         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53829         (link-libc): Prepand $(link-libc-rpath-link).
53830         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53831         (test-program-prefix): New macro.
53832         (test-via-rtld-prefix): Likewise.
53833         (test-program-cmd): Likewise.
53834         (host-test-program-cmd): Likewise.
53835         * Makefile ($(common-objpfx)testrun.sh): Replace
53836         $(run-program-prefix) with $(test-program-prefix).
53837         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53838         $(rtld-LDFLAGS).
53839         ($(common-objpfx)shlib.lds): Likewise.
53840         (build-module-helper): Likewise.
53841         ($(common-objpfx)format.lds): Likewise.
53842         * Rules (binaries-pie-tests): New.
53843         (binaries-pie-notests): Likewise.
53844         (binaries-pie): Rewritten.
53845         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53846         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53847         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53848         (make-test-out): Replace $(host-built-program-cmd) with
53849         $(host-test-program-cmd).
53850         * config.make.in (build-hardcoded-path-in-tests): New variable.
53851         * configure.in (--enable-hardcoded-path-in-tests): New configure
53852         option.
53853         (hardcoded_path_in_tests): New AC_SUBST.
53854         * configure: Regenerated.
53855         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53856         $(built-program-cmd) with $(test-program-cmd).
53857         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53858         (test_program_cmd): This.
53859         * elf/Makefile ($(objpfx)order.out): Run test with
53860         $(test-program-prefix).
53861         ($(objpfx)order2.out): Likewise.
53862         ($(objpfx)tst-initorder.out): Likewise.
53863         ($(objpfx)tst-initorder2.out): Likewise.
53864         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53865         $(test-program-cmd).
53866         ($(objpfx)tst-array1-static.out): Likewise.
53867         ($(objpfx)tst-array2.out): Likewise.
53868         ($(objpfx)tst-array3.out): Likewise.
53869         ($(objpfx)tst-array4.out): Likewise.
53870         ($(objpfx)tst-array5.out): Likewise.
53871         ($(objpfx)tst-array5-static.out): Likewise.
53872         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53873         $(test-program-cmd).
53874         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53875         $(run-program-prefix) with $(test-program-prefix).
53876         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53877         (test_program_prefix): This.
53878         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53879         $(run-program-prefix) with $(test-program-prefix).
53880         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53881         (test_program_prefix): This.
53882         * iconvdata/tst-tables.sh: Likewise.
53883         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53884         $(run-program-prefix) with $(test-program-prefix).
53885         ($(objpfx)tst-translit.out): Likewise.
53886         ($(objpfx)tst-gettext2.out): Likewise.
53887         ($(objpfx)tst-gettext4.out): Likewise.
53888         ($(objpfx)tst-gettext6.out): Likewise.
53889         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53890         (test_program_prefix): This.
53891         * intl/tst-gettext2.sh: Likewise.
53892         * intl/tst-gettext4.sh  Likewise.
53893         * intl/tst-gettext6.sh: Likewise.
53894         * intl/tst-translit.sh: Likewise.
53895         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53896         with $(test-program-cmd).
53897         * libio/Makefile ($(objpfx)test-freopen.out): Replace
53898         $(run-program-prefix) with $(test-program-prefix).
53899         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53900         (test_program_prefix): This.
53901         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53902         $(run-program-prefix) with $(test-program-prefix).
53903         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53904         (test_program_prefix): This.
53905         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53906         * posix/Makefile ($(objpfx)globtest.out): Replace
53907         $(run-via-rtld-prefix) and $(test-wrapper) with
53908         $(test-program-prefix) and $(test-via-rtld-prefix).
53909         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53910         $(test-program-prefix).
53911         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53912         $(host-test-program-cmd).
53913         (tst-spawn-ARGS): Likewise.
53914         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53915         $(test-program-prefix).
53916         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53917         (test_via_rtld_prefix): This.
53918         (test_wrapper): Renamed to ...
53919         (test_program_prefix): This.
53920         (run_program_prefix): Replaced by test_program_prefix.
53921         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53922         (test_program_prefix): This.
53923         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53924         with $(host-test-program-cmd).
53925         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53926         $(run-program-prefix) with $(test-program-prefix).
53927         ($(objpfx)tst-printf.out): Likewise.
53928         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53929         $(test-program-cmd).
53930         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53931         (test_program_prefix): This.
53932         * stdio-common/tst-unbputc.sh: Likewise.
53933         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53934         $(run-program-prefix) with $(test-program-prefix).
53935         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53936         (test_program_prefix): This.
53937         * string/Makefile ($(objpfx)tst-svc.out):  Replace
53938         $(built-program-cmd) with $(test-program-cmd).
53940 2013-01-11  Andreas Jaeger  <aj@suse.de>
53942         [BZ #15003]
53943         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53944         value. Sync with Linux 3.7.
53946 2013-01-10  David S. Miller  <davem@davemloft.net>
53948         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53949         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53950         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53952 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53954         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53955         never set.
53956         * configure: Regenerated.
53958 2013-01-10  David S. Miller  <davem@davemloft.net>
53960         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53961         sparc V9 rather than using V8 code.
53962         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53963         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53965 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53967         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53968         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53969         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53970         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53971         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53972         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53973         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53974         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53975         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53976         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53977         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53978         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53979         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53980         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53981         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53982         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53983         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53984         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53985         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53986         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53987         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53988         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53989         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53990         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53991         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53992         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53993         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53995 2013-01-10  David S. Miller  <davem@davemloft.net>
53997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53999 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54001         * posix/Makefile (tests-static): New variable.
54002         (tests): Add $(tests-static).
54003         (tst-exec-static-ARGS): New variable.
54004         (tst-spawn-static-ARGS): Likewise.
54005         * posix/tst-exec-static.c: New file.
54006         * posix/tst-spawn-static.c: Likewise.
54007         * posix/tst-exec.c: Support run directly.
54008         * posix/tst-spawn.c: Likewise.
54010 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
54012         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
54013         long.
54014         * math/bits/mathcalls.h (llrint): Likewise.
54015         (llround): Likewise.
54016         * stdlib/stdlib.h (struct drand48_data): Likewise.
54017         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
54018         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
54019         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
54020         Likewise.
54021         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
54022         Likewise.
54023         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
54024         (elf_greg_t): Likewise.
54025         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
54026         (__jmp_buf): Likewise.
54027         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
54028         definitions.
54029         (llrint): Likewise, for all definitions.
54030         (llrintl): Likewise.
54032         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
54033         Remove [__GNUC__] condition.
54034         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
54035         condition to just [__USE_ISOC99].
54036         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
54038 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54040         [BZ #14200]
54041         * sysdeps/unix/sysv/linux/x86/bits/environments.h
54042         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
54043         defined.
54044         (_POSIX_V6_ILP32_OFF32): Likewise.
54045         (_XBS5_ILP32_OFF32): Likewise.
54046         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
54047         (__ILP32_OFFBIG_LDFLAGS): Likewise.
54049 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54051         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
54053         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
54054         doubles __mpexp_twomm1.  Adjust usage.
54055         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
54056         Remove.
54058 2013-01-10  Andreas Schwab  <schwab@suse.de>
54060         [BZ #14964]
54061         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
54062         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
54064 2013-01-09  David S. Miller  <davem@davemloft.net>
54066         [BZ #15003]
54067         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
54068         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
54069         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
54070         (TCP_FASTOPEN): Define.
54071         (tcp_repair_opt): New structure.
54072         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
54073         enum values.
54074         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
54075         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
54076         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
54077         (tcp_cookie_transactions): New structure.
54079 2013-01-09  Anton Blanchard  <anton@samba.org>
54081         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
54082         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
54083         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
54084         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
54086 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
54088         * include/features.h (__USE_ANSI): Remove.
54090 2013-01-09  Roland McGrath  <roland@hack.frob.com>
54092         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
54094         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
54096 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
54098         * sysdeps/s390/fpu/libm-test-ulps: Update.
54100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54102         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
54103         (__acr): Likewise.
54104         (__cpy): Likewise.
54105         (norm): Likewise.
54106         (denorm): Likewise.
54107         (__mp_dbl): Likewise.
54108         (__dbl_mp): Likewise.
54109         (add_magnitudes): Likewise.
54110         (sub_magnitudes): Likewise.
54111         (__add): Likewise.
54112         (__sub): Likewise.
54113         (__mul): Likewise.
54114         (__inv): Likewise.
54115         (__dvd): Likewise.
54116         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
54117         (__acr): Likewise.
54118         (__cpy): Likewise.
54119         (norm): Likewise.
54120         (denorm): Likewise.
54121         (__mp_dbl): Likewise.
54122         (__dbl_mp): Likewise.
54123         (add_magnitudes): Likewise.
54124         (sub_magnitudes): Likewise.
54125         (__add): Likewise.
54126         (__sub): Likewise.
54127         (__mul): Likewise.
54128         (__inv): Likewise.
54129         (__dvd): Likewise.
54130         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
54131         (__acr): Likewise.
54132         (__cpy): Likewise.
54133         (norm): Likewise.
54134         (denorm): Likewise.
54135         (__mp_dbl): Likewise.
54136         (__dbl_mp): Likewise.
54137         (add_magnitudes): Likewise.
54138         (sub_magnitudes): Likewise.
54139         (__add): Likewise.
54140         (__sub): Likewise.
54141         (__mul): Likewise.
54142         (__inv): Likewise.
54143         (__dvd): Likewise.
54145 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
54147         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
54148         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
54149         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
54150         2 && __USE_EXTERN_INLINES]: Likewise.
54152 2013-01-08  Andreas Jaeger  <aj@suse.de>
54154         [BZ# 14985]
54155         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
54156         Remove.
54157         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54158         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54160 2013-01-07  Anton Blanchard  <anton@samba.org>
54162         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
54163         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54164         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
54165         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54166         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54167         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54168         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
54169         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54170         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54171         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54172         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54173         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54174         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54175         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54176         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54177         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54178         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54179         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54180         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54181         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54182         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54183         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
54184         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54185         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54186         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
54187         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54188         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54189         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54190         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
54191         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54192         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54193         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54194         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54195         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54196         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54197         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54198         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54199         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54200         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
54201         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54202         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
54203         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54204         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54206 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
54208         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
54209         (__MALLOC_PMT): Likewise.
54210         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
54211         [__GNUC__], only on [_LIBC].
54212         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54213         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
54214         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54215         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
54216         forward declaration.
54217         (realloc_hook_ini): Likewise.
54218         (memalign_hook_ini): Likewise.
54219         (__libc_memalign): Do not use __MALLOC_PMT in variable
54220         declaration.
54221         (__libc_valloc): Likewise.
54222         (__libc_pvalloc): Likewise.
54223         (__libc_calloc): Likewise.
54224         (__posix_memalign): Likewise.
54226         [BZ #14996]
54227         * math/s_casinh.c: Include <float.h>.
54228         (__casinh): Do not do computation with squaring and square root
54229         for large arguments.
54230         * math/s_casinhf.c: Include <float.h>.
54231         (__casinhf): Do not do computation with squaring and square root
54232         for large arguments.
54233         * math/s_casinhl.c: Include <float.h>.
54234         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
54235         (__casinhl): Do not do computation with squaring and square root
54236         for large arguments.
54237         * math/libm-test.inc (casin_test): Add more tests.
54238         (casinh_test): Likewise.
54239         * sysdeps/i386/fpu/libm-test-ulps: Update.
54240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54242 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
54244         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
54245         (__x86_64_raw_data_cache_size): Likewise.
54246         (__x86_64_data_cache_size_half): Likewise.
54247         (__x86_64_raw_data_cache_size_half): Likewise.
54248         (__x86_64_shared_cache_size): Likewise.
54249         (__x86_64_raw_shared_cache_size): Likewise.
54250         (__x86_64_shared_cache_size_half): Likewise.
54251         (__x86_64_raw_shared_cache_size_half): Likewise.
54252         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
54253         to ...
54254         (__x86_data_cache_size): This.
54255         (__x86_64_raw_data_cache_size): Renamed to ...
54256         (__x86_raw_data_cache_size): This.
54257         (__x86_64_data_cache_size_half): Renamed to ...
54258         (__x86_data_cache_size_half): This.
54259         (__x86_64_raw_data_cache_size_half): Renamed to ...
54260         (__x86_raw_data_cache_size_half): This.
54261         (__x86_64_shared_cache_size): Renamed to ...
54262         (__x86_shared_cache_size): This.
54263         (__x86_64_raw_shared_cache_size): Renamed to ...
54264         (__x86_raw_shared_cache_size): This.
54265         (__x86_64_shared_cache_size_half): Renamed to ...
54266         (__x86_shared_cache_size_half): This.
54267         (__x86_64_raw_shared_cache_size_half): Renamed to ...
54268         (__x86_raw_shared_cache_size_half): This.
54269         * sysdeps/x86_64/memcpy.S: Updated.
54270         * sysdeps/x86_64/memset.S: Likewise.
54271         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54272         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54273         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54275 2013-01-04  David S. Miller  <davem@davemloft.net>
54277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54279 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
54281         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
54282         1 to avoid redefinition warning.
54283         (__USE_GNU): Don't define.
54284         (init_signaling_nan): Protoize.
54286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54288 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54290         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
54291         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
54292         (__cpymn): Likewise.
54293         (norm): Remove commented code.
54294         (denorm): Likewise.
54295         (__mp_dbl): Likewise.
54296         (__inv): Likewise.
54297         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
54298         (__cpymn): Likewise.
54299         (norm): Remove commented code.
54300         (denorm): Likewise.
54301         (__mp_dbl): Likewise.
54302         (__inv): Likewise.
54304         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
54305         mp_no value for 1.0 and 2.0.
54306         (norm): Use RADIXI instead of radixi.d.
54307         (denorm): Likewise.
54308         (__mul): Use 0.0 instead of zero.d.
54309         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
54310         mp_no value for 1.0 and 2.0.
54311         (norm): Use RADIXI instead of radixi.d.
54312         (denorm): Likewise.
54313         (__mul): Use 0.0 instead of zero.d.
54315 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
54317         [BZ #14994]
54318         * math/s_casinh.c (__casinh): Reduce finite argument to first
54319         quadrant then set signs of results at the end.
54320         * math/s_casinhf.c (__casinhf): Likewise.
54321         * math/s_casinhl.c (__casinhl): Likewise.
54322         * math/libm-test.inc (casin_test): Add more tests.
54323         (casinh_test): Likewise.
54324         * sysdeps/i386/fpu/libm-test-ulps: Update.
54325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54327 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54329         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
54331         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
54333         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
54334         declarations.
54335         (denorm): Likewise.
54336         (__mp_dbl): Likewise.
54337         (__inv): Likewise.
54339         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
54340         and adjust the header comment.
54342         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
54343         variable name from declaration.
54345 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
54347         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54348         Initialize COMMON_CPUID_INDEX_7 element.
54349         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
54350         (CPUID_RTM): Likewise.
54351         (HAS_RTM): Likewise.
54352         (COMMON_CPUID_INDEX_7): New enum.
54354 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
54356         [BZ #14981]
54357         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
54358         size is zero, record memory as freed.
54360 2013-01-03  Andreas Jaeger  <aj@suse.de>
54362         * po/ia.po: Add new Interlingua translation.
54364 2012-01-03  Allan McRae  <allan@archlinux.org>
54366         * locale/programs/localedef.c: Fix description of '--posix' flag.
54368 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
54370         * NEWS: Update dates in second copyright notice.
54371         * README: Update copyright dates in example.
54372         * manual/libc.texinfo: Update copyright dates.
54373         * scripts/test-installation.pl: Update copyright date in --version
54374         output.
54376         * hurd/ctty-input.c: Fix copyright notice formatting.
54377         * hurd/ctty-output.c: Likewise.
54378         * hurd/dtable.c: Likewise.
54379         * hurd/hurd-raise.c: Likewise.
54380         * hurd/hurdprio.c: Likewise.
54381         * hurd/msgportdemux.c: Likewise.
54382         * misc/sys/file.h: Likewise.
54383         * misc/sys/ioctl.h: Likewise.
54384         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54385         * sysdeps/mach/hurd/chdir.c: Likewise.
54386         * sysdeps/mach/hurd/fchdir.c: Likewise.
54387         * sysdeps/mach/hurd/rename.c: Likewise.
54388         * sysdeps/mach/hurd/rmdir.c: Likewise.
54389         * sysdeps/mach/hurd/seekdir.c: Likewise.
54390         * sysdeps/mach/hurd/setsid.c: Likewise.
54391         * sysdeps/posix/wait3.c: Likewise.
54393         * All files with FSF copyright notices: Update copyright dates
54394         using scripts/update-copyrights.
54395         * intl/plural.c: Regenerated.
54396         * locale/programs/charmap-kw.h: Likewise.
54397         * locale/programs/locfile-kw.h: Likewise.
54399 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54401         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
54402         four values.
54404         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
54405         calculation loop and add branch prediction.
54407         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
54408         check access beyond bounds of m1np.
54410         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54411         MPTWO.
54412         (__inv): Remove local variable MPTWO to use the global
54413         constant.
54414         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
54415         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54416         variable MPTWO.
54417         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
54418         MP3HALFS static const.
54420 2013-01-01  David S. Miller  <davem@davemloft.net>
54422         * po/ca.po: Update from translation team.
54424 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
54426         * scripts/update-copyrights: New file.
54427         * Makeconfig: Reformat copyright notice.
54428         * ctype/ctype.h: Likewise.
54429         * debug/swprintf_chk.c: Likewise.
54430         * elf/dl-cache.c: Likewise.
54431         * elf/dl-debug.c: Likewise.
54432         * elf/dl-object.c: Likewise.
54433         * grp/initgroups.c: Likewise.
54434         * hurd/Makefile: Likewise.
54435         * hurd/hurd/signal.h: Likewise.
54436         * hurd/hurdfault.c: Likewise.
54437         * hurd/hurdioctl.c: Likewise.
54438         * hurd/hurdlookup.c: Likewise.
54439         * hurd/intr-msg.c: Likewise.
54440         * iconv/gconv_open.c: Likewise.
54441         * libio/swprintf.c: Likewise.
54442         * locale/lc-ctype.c: Likewise.
54443         * locale/nl_langinfo.c: Likewise.
54444         * mach/Machrules: Likewise.
54445         * mach/Makefile: Likewise.
54446         * malloc/obstack.h: Likewise.
54447         * manual/Makefile: Likewise.
54448         * manual/tsort.awk: Likewise.
54449         * misc/bits/stab.def: Likewise.
54450         * nis/nis_print_group_entry.c: Likewise.
54451         * nis/nis_table.c: Likewise.
54452         * nis/nss_compat/compat-pwd.c: Likewise.
54453         * nis/nss_compat/compat-spwd.c: Likewise.
54454         * po/Makefile: Likewise.
54455         * posix/fnmatch.c: Likewise.
54456         * posix/regex.h: Likewise.
54457         * resolv/Makefile: Likewise.
54458         * resolv/nss_dns/dns-network.c: Likewise.
54459         * resolv/res_hconf.c: Likewise.
54460         * scripts/gen-sorted.awk: Likewise.
54461         * soft-fp/soft-fp.h: Likewise.
54462         * stdio-common/printf.h: Likewise.
54463         * stdlib/monetary.h: Likewise.
54464         * stdlib/random.c: Likewise.
54465         * stdlib/random_r.c: Likewise.
54466         * sysdeps/generic/Makefile: Likewise.
54467         * sysdeps/gnu/Makefile: Likewise.
54468         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54469         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54470         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54471         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54472         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54473         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54474         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54475         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54476         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54477         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54478         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54479         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54480         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54481         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54482         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
54483         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54484         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54485         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54486         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54487         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54488         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54489         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54490         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54491         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54492         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
54493         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54494         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54495         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
54496         * sysdeps/mach/hurd/errnos.awk: Likewise.
54497         * sysdeps/mach/hurd/fork.c: Likewise.
54498         * sysdeps/mach/hurd/getcwd.c: Likewise.
54499         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
54500         * sysdeps/mach/hurd/mmap.c: Likewise.
54501         * sysdeps/mach/hurd/utimes.c: Likewise.
54502         * sysdeps/mach/hurd/xmknod.c: Likewise.
54503         * sysdeps/posix/profil.c: Likewise.
54504         * sysdeps/posix/readdir_r.c: Likewise.
54505         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54506         * sysdeps/powerpc/bits/setjmp.h: Likewise.
54507         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
54508         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54509         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54510         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54511         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54512         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54513         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54514         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54515         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54516         * sysdeps/pthread/lio_listio.c: Likewise.
54517         * sysdeps/sparc/dl-procinfo.h: Likewise.
54518         * sysdeps/unix/i386/sysdep.S: Likewise.
54519         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
54520         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
54521         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
54522         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
54523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54524         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
54525         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
54526         * sysdeps/unix/sysv/linux/speed.c: Likewise.
54527         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
54528         * sysdeps/wordsize-32/divdi3.c: Likewise.
54529         * time/sys/time.h: Likewise.
54530         * wcsmbs/Makefile: Likewise.
54532 2013-01-01  David S. Miller  <davem@davemloft.net>
54534         * po/fr.po: Update from translation team.
54536         * catgets/gencat.c: Update copyright year.
54537         * csu/version.c: Likewise.
54538         * debug/catchsegv.sh: Likewise.
54539         * debug/pcprofiledump.c: Likewise.
54540         * debug/xtrace.sh: Likewise.
54541         * elf/ldconfig.c: Likewise.
54542         * elf/ldd.bash.in: Likewise.
54543         * elf/pldd.c: Likewise.
54544         * elf/sotruss.ksh: Likewise.
54545         * elf/sprof.c: Likewise.
54546         * iconv/iconv_prog.c: Likewise.
54547         * iconv/iconvconfig.c: Likewise.
54548         * locale/programs/locale.c: Likewise.
54549         * locale/programs/localedef.c: Likewise.
54550         * login/programs/pt_chown.c: Likewise.
54551         * malloc/memusage.sh: Likewise.
54552         * malloc/memusagestat.c: Likewise.
54553         * malloc/mtrace.pl: Likewise.
54554         * nscd/nscd.c: Likewise.
54555         * nss/getent.c: Likewise.
54556         * nss/makedb.c: Likewise.
54557         * posix/getconf.c: Likewise.
54559 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54561         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
54562         numbers.
54564 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
54566         * math/bits/mathcalls.h (modf): Use __nonnull.
54568 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54570         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
54571         (split): Use macro CN instead of the bare value.
54572         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
54573         could be used.
54574         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
54575         instead of the bare value.
54576         (power1): Likewise.
54578 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54580         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
54581         __ATAN_TWOM.
54582         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54584         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54585         their values.
54586         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54587         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54588         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54589         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54591 2012-12-28  Andreas Jaeger  <aj@suse.de>
54593         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
54594         values are from Linux 3.7.
54596         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54597         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
54599 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54601         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54602         TRUE case.
54604         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54605         (norm): Likewise.
54606         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54607         variables with preprocessor constants.
54608         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54609         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54610         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54612 2012-12-27  Bruno Haible  <bruno@clisp.org>
54614         [BZ #14317]
54615         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54616         only if needed.
54618 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54620         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54621         and use variable directly.
54622         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54624         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54625         MPONE.
54626         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54627         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54628         variable MPONE.
54629         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54630         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54631         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54632         include directive.  Remove local variable MPONE.
54633         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54634         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54635         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54637 2012-12-25  David S. Miller  <davem@davemloft.net>
54639         * version.h (RELEASE): Set to "development".
54640         (VERSION): Set to "2.17.90".
54641         * NEWS: Add 2.18 section.
54643 2012-12-21  David S. Miller  <davem@davemloft.net>
54645         * po/hr.po: Update from translation team.
54647 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54649         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54651 2012-12-19  Steve Ellcey  <sellcey@mips.com>
54653         * NEWS:  Mention new memcpy for MIPS.
54655 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54657         * manual/contrib.texi (Contributors): Spelling correction.
54659 2012-12-15  David S. Miller  <davem@davemloft.net>
54661         * po/ru.po: Update from translation team.
54663 2012-12-13  David S. Miller  <davem@davemloft.net>
54665         * NEWS: Mention IFUNC testsuite enhancements.
54667         * po/pl.po: Update from translation team.
54668         * po/bg.po: Likewise.
54670         * manual/contrib.texi (Contributors): Update entries for Hongjiu
54671         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
54673 2012-12-11  David S. Miller  <davem@davemloft.net>
54675         * po/sv.po: Update from translation team.
54677         * po/vi.po: Update from translation team.
54679         * po/cs.po: Update from translation team.
54681         * po/de.po: Update from translation team.
54682         * po/eo.po: Likewise.
54683         * po/nl.po: Likewise.
54685 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54687         [BZ #14246]
54688         * manual/argp.texi (Argp Helper Functions): Move node to follow
54689         Argp Parsing State.
54691         [BZ #14872]
54692         * manual/conf.texi (Limits on File System Capacity): Mention if
54693         terminating null is included in the max size.
54695 2012-12-10  Andreas Jaeger  <aj@suse.de>
54697         * po/cs.po: Update from translation team.
54699 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54701         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54702         void pointer and cast to uintptr_t.
54703         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54704         path.
54705         * sysdeps/s390/s390-64/memcpy.S: Likewise.
54706         * sysdeps/s390/s390-64/memset.S: Likewise.
54708 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
54710         [BZ #14833]
54711         * menual/message.texi (Message Translation): Fix typos.
54712         (Helper programs for gettext): Likewise.
54714 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
54716         [BZ #14898]
54717         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54718         Change to -1.
54720 2012-12-07  David S. Miller  <davem@davemloft.net>
54722         * po/libc.pot: Update.
54724 2012-12-07  Richard Henderson  <rth@redhat.com>
54726         [BZ #10114]
54727         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54728         normal/normal case to before the switch.
54729         (_FP_DIV): Likewise.
54731 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
54732             Mike Frysinger  <vapier@gentoo.org>
54734         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54735         check for __NR_fadvise64_64.
54737 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
54739         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54740         0, not just to plain "0" as a statement.
54741         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54742         with cw.
54744 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
54746         * NEWS: Use sourceware.org in Bugzilla URL.
54748 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54751         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54753         * stdio-common/tst-put-error.c (do_test): Add newline to the
54754         padded test to ensure flush.
54756 2012-12-05  Jeff Law  <law@redhat.com>
54758         * sunrpc/etc.rpc (fedfs_admin): Add entry.
54760 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
54762         * README: Don't refer to ports add-on as distributed separately.
54763         Mention AArch64 in list of systems supported in the ports add-on.
54765         * LICENSES: Add more non-FSF copyright and license notices.
54767         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54768         ((unused)).
54770         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54772         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54773         10000 as width of padded output.
54775 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54777         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54779         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54780         variable LX with __attribute__ ((unused)).
54781         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54782         Likewise.
54783         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54784         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54785         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54786         with __attribute__ ((unused)).
54788 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
54790         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54792 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54794         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54795         (CFLAGS-nldbl-acos.c): New variable.
54796         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54797         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54798         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54799         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54800         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54801         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54802         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54803         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54804         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54805         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54806         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54807         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54808         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54809         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54810         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54811         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54812         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54813         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54814         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54815         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54816         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54817         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54818         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54819         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54820         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54821         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54822         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54823         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54824         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54825         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54826         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54827         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54828         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54829         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54830         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54831         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54832         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54833         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54834         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54835         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54836         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54837         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54838         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54839         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54840         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54841         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54842         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54843         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54844         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54845         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54846         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54847         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54848         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54849         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54850         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54851         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54852         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54853         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54854         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54855         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54856         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54857         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54858         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54859         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54860         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54861         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54862         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54863         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54864         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54865         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54866         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54867         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54868         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54869         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54870         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54871         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54872         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54873         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54874         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54875         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54876         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54877         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54878         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54879         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54880         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54881         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54882         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54883         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54884         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54885         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54886         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54887         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54888         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54889         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54890         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54891         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54892         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54895         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54897         [BZ #14914]
54898         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54899         whole low double instead of just low 47 bits when splitting values
54900         into two parts.
54902 2012-12-03  Allan McRae  <allan@archlinux.org>
54904         * manual/stdio.texi (Predefined Printf Handlers): Remove
54905         @hsep and @vsep usage.
54907 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
54909         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54910         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54912 2012-12-03  Jeff Law  <law@redhat.com>
54914         * time/sys/time.h (settimeofday): Do not mark TV argument
54915         as __nonnull.
54917 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
54919         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54920         when currently writing and seek to current position when not.
54921         * libio/Makefile (tests): Remove bug-fclose1.
54922         * libio/bug-fclose1.c: Delete.
54924 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
54926         * manual/arith.texi (feenableexcept): Fix typo.
54927         (fedisableexcept): Likewise.
54929 2012-11-30  Roland McGrath  <roland@hack.frob.com>
54931         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54932         second, differently-typed declaration, rather than a cast.
54934 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54936         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54937         * include/rpc/svc.h: ... here.
54939 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
54941         [BZ #13013]
54942         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54943         depending n and resplen2 to catch cases where answer
54944         equals answerp2.
54946 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
54948         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54949         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54951 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
54953         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54955 2012-11-29  Roland McGrath  <roland@hack.frob.com>
54957         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54959 2012-11-28  Jeff Law  <law@redhat.com>
54961         [BZ #13761]
54962         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54963         dataset_temporary.  Track alloca usage into alloca_used.
54964         If dataset is large allocate and release it via malloc/free.
54966 2012-06-04  Florian Weimer  <fweimer@redhat.com>
54968         [BZ #14197]
54969         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54971 2012-11-28  David S. Miller  <davem@davemloft.net>
54973         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54975 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54977         [BZ #14803]
54978         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54979         of pi/2 rounded to nearest to 64 bits.
54980         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54981         nearest to 64 bits.
54982         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54983         bits.
54985 2012-11-28  Jeff Law <law@redhat.com>
54986             Martin Osvald <mosvald@redhat.com>
54988         [BZ #14889]
54989         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54990         * sunrpc/svc.c: Include time.h.
54991         (__svc_accept_failed): New function.
54992         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54993         any reason other than EINTR, call __svc_accept_failed.
54994         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54995         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54997 2012-11-28  Andreas Schwab  <schwab@suse.de>
54999         * scripts/abilist.awk: Also handle indirect functions in .opd
55000         section.
55002 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55004         [BZ #13881]
55005         * sysdeps/x86/fpu/powl_helper.c: New file.
55006         * sysdeps/x86/fpu/Makefile: Likewise.
55007         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
55008         (p3): New object.
55009         (__ieee754_powl): Use __powl_helper for finite arguments except
55010         integer exponents below 8.
55011         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
55012         (p3): New object.
55013         (__ieee754_powl): Use __powl_helper for finite arguments except
55014         integer exponents below 8.
55015         * math/libm-test.inc (pow_test): Add more tests and enable some
55016         previously disabled tests.
55017         * sysdeps/i386/fpu/libm-test-ulps: Update.
55018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55020 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55021             Carlos O'Donell  <carlos_odonell@mentor.com>
55023         * nss/makedb.c (is_prime): Assert that input is odd and greater
55024         than 4.  Note that fact in a comment too.
55025         (next_prime): Add 4 to input.
55027 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55029         [BZ #11741]
55030         * libio/Makefile (tests): Add test case tst-fwrite-error.
55031         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
55032         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
55033         * libio/tst-fwrite-error.c: New test case.
55035 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
55037         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
55038         before casting to void *.
55039         * include/libc-internal.h (__pointer_type): New macro.
55040         (__integer_if_pointer_type_sub): Likewise.
55041         (__integer_if_pointer_type): Likewise.
55042         (cast_to_integer): Likewise.
55043         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
55044         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
55045         before casting to atomic64_t.
55046         (atomic_exchange_acq): Likewise.
55047         (__arch_exchange_and_add_body): Likewise.
55048         (__arch_add_body): Likewise.
55049         (atomic_add_negative): Likewise.
55050         (atomic_add_zero): Likewise.
55052 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
55054         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
55055         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
55056         (add_fdes): Likewise.
55057         (linear_search_fdes): Likewise.
55058         (binary_search_unencoded_fdes): Likewise.
55060 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
55062         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
55064 2012-11-24  Adam Conrad  <adconrad@0c3.net>
55066         * configure.in: Autodetect C++ header directories.
55067         * configure: Regenerated.
55069 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
55071         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
55073 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
55075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55077 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
55079         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
55080         LDBL_MANT_DIG == 106]: Disable some tests.
55081         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55082         Likewise.
55083         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55084         Likewise.
55086         [BZ #14871]
55087         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
55088         input for small inputs.  Return +/- pi/2 for large inputs.
55089         * math/libm-test.inc (atan_test): Add more tests.
55091         * sysdeps/generic/unwind-dw2-fde-glibc.c
55092         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
55093         __attribute__ ((unused)).
55095         [BZ #14645]
55096         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
55097         x * y if x and y are nonzero and z is zero.
55099         [BZ #14811]
55100         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
55101         nonzero exponents with absolute value below 0x1p-117 to +/-
55102         0x1p-117.
55104         [BZ #14869]
55105         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
55106         up arguments below 2**-450, not just those below 2**-500.
55107         * math/libm-test.inc (hypot_test): Add another test.
55109         [BZ #14868]
55110         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
55111         Return a+b for ratio over 2**120, not 2**60.
55112         * math/libm-test.inc (hypot_test): Add another test.
55114         * math/libm-test.inc (clog_test): Use
55115         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
55116         (clog10_test): Likewise.
55118         [BZ #6778]
55119         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
55121 2012-11-22  Andreas Schwab  <schwab@suse.de>
55123         * sysdeps/i386/fpu/libm-test-ulps: Update.
55125 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
55127         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
55128         printf output with newline.
55130 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
55132         [BZ #14865]
55133         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
55134         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
55135         -z nodlopen, -z initfirst and -z execstack support.
55136         * configure: Regenerated.
55138         * elf/elf.h (DF_1_NODIRECT): New macro.
55139         (DF_1_IGNMULDEF): Likewise.
55140         (DF_1_NOKSYMS): Likewise.
55141         (DF_1_NOHDR): Likewise.
55142         (DF_1_EDITED): Likewise.
55143         (DF_1_NORELOC): Likewise.
55144         (DF_1_SYMINTPOSE): Likewise.
55145         (DF_1_GLOBAUDIT): Likewise.
55146         (DF_1_SINGLETON): Likewise.
55147         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
55148         DT_1_SUPPORTED_MASK bits.
55149         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
55151 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
55153         * sysdeps/unix/make-syscalls.sh: Document prefixes.
55155 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
55157         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
55158         macro.
55160         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
55161         (sendmmsg): Move declarations...
55162         * socket/sys/socket.h: ... here.
55163         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
55164         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
55165         include it from...
55166         * socket/recvmmsg.c: ... this new file.
55167         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
55168         (sendmmsg): Rename to __sendmmsg, create weak alias and make
55169         definition of __sendmmsg hidden.
55170         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
55171         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
55172         Move ENOSYS stub into and include it from...
55173         * socket/sendmmsg.c: ... this new file.
55174         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
55175         (sysdep_routines): Move recvmmsg and sendmmsg...
55176         * socket/Makefile (routines): ... here.
55177         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
55178         (GLIBC_PRIVATE): Add __sendmmsg.
55179         * include/sys/socket.h (__sendmmsg): Add declarations.
55180         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
55181         sendmmsg.
55183 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
55185         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
55186         variable I1 with __attribute__ ((unused)).
55187         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55189 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55191         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
55192         DUMMY variables with __attribute__ ((unused)).
55194         * bits/byteswap.h: Include <bits/types.h>.
55195         (__bswap_64): Use __uint64_t instead of unsigned long long int.
55197 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55199         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
55200         string_t.  Do not manually set errno.
55201         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
55202         length with __strnlen.  Make sure to both set errno and return it on
55203         failure.
55205 2012-11-19  David S. Miller  <davem@davemloft.net>
55207         With help from Joseph Myers.
55208         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
55209         very large arguments properly.
55210         * math/libm-test.inc (atan_test): New tests.
55211         (atan2_test): New tests.
55212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55213         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55215 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55217         [BZ #14856]
55218         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
55219         Define to 3.
55221         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
55222         [POSIX] (EADDRNOTAVAIL): Likewise.
55223         [POSIX] (EAFNOSUPPORT): Likewise.
55224         [POSIX] (EALREADY): Likewise.
55225         [POSIX] (ECONNABORTED): Likewise.
55226         [POSIX] (ECONNREFUSED): Likewise.
55227         [POSIX] (ECONNRESET): Likewise.
55228         [POSIX] (EDESTADDRREQ): Likewise.
55229         [POSIX] (EDQUOT): Likewise.
55230         [POSIX] (EHOSTUNREACH): Likewise.
55231         [POSIX] (EIDRM): Likewise.
55232         [POSIX] (EISCONN): Likewise.
55233         [POSIX] (ELOOP): Likewise.
55234         [POSIX] (EMULTIHOP): Likewise.
55235         [POSIX] (ENETDOWN): Likewise.
55236         [POSIX] (ENETUNREACH): Likewise.
55237         [POSIX] (ENOBUFS): Likewise.
55238         [POSIX] (ENODATA): Likewise.
55239         [POSIX] (ENOLINK): Likewise.
55240         [POSIX] (ENOMSG): Likewise.
55241         [POSIX] (ENOPROTOOPT): Likewise.
55242         [POSIX] (ENOSR): Likewise.
55243         [POSIX] (ENOSTR): Likewise.
55244         [POSIX] (ENOTCONN): Likewise.
55245         [POSIX] (ENOTSOCK): Likewise.
55246         [POSIX] (EOPNOTSUPP): Likewise.
55247         [POSIX] (EOVERFLOW): Likewise.
55248         [POSIX] (EPROTO): Likewise.
55249         [POSIX] (EPROTONOSUPPORT): Likewise.
55250         [POSIX] (EPROTOTYPE): Likewise.
55251         [POSIX] (ESTALE): Likewise.
55252         [POSIX] (ETIME): Likewise.
55253         [POSIX] (ETXTBSY): Likewise.
55254         [POSIX] (EWOULDBLOCK): Likewise.
55255         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
55256         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
55257         [POSIX] (SEEK_CUR): Likewise.
55258         [POSIX] (SEEK_END): Likewise.
55259         [POSIX || UNIX98] (mode_t): Do not require.
55260         [POSIX] (off_t): Likewise.
55261         [POSIX] (pid_t): Likewise.
55262         [POSIX] (sys/stat.h): Do not allow header.
55263         [POSIX] (unistd.h): Likewise.
55264         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
55265         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
55266         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
55267         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
55268         require.
55269         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
55270         sigevent): Specify elements.
55271         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
55272         entry.
55273         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
55274         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
55276         * conform/data/cpio.h-data [POSIX]: Disable whole file.
55277         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
55278         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
55279         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
55280         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
55281         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
55282         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
55283         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
55284         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
55285         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
55286         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
55287         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
55288         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
55289         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
55290         Likewise.
55291         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
55292         Likewise.
55293         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
55294         Likewise.
55295         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
55296         Likewise.
55297         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
55298         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
55299         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
55300         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
55301         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
55302         Specify lower bound on value.
55303         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
55304         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
55305         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
55306         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
55307         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
55308         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
55309         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
55310         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
55311         value.
55312         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
55313         as optional.
55314         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
55315         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
55316         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
55317         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
55318         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
55319         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
55320         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
55321         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
55322         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
55323         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
55324         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
55325         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
55326         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
55327         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
55328         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
55329         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
55330         entry.
55331         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
55332         optional.
55333         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
55334         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
55335         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
55336         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
55337         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
55338         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
55339         Likewise.
55340         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
55341         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
55342         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
55343         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
55344         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
55345         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
55346         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
55347         as optional.
55348         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
55349         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
55350         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
55351         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
55352         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
55353         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
55354         specify as optional.
55355         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
55356         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
55357         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
55358         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
55359         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
55360         [XPG3] (NL_LANGMAX): Likewise.
55361         [POSIX || XPG3] (NL_MSGMAX): Likewise.
55362         [POSIX || XPG3] (NL_NMAX): Likewise.
55363         [POSIX || XPG3] (NL_SETMAX): Likewise.
55364         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
55365         [XPG3] (NZERO): Likewise.
55366         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
55367         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
55368         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
55369         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
55370         (REG_ERANGE): Expect.
55371         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
55372         optional-constant.
55373         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
55374         Use (void) in prototype.
55375         [POSIX] (*_t): Allow.
55376         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
55377         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
55378         (WRDE_BADVAL): Expect.
55380         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
55381         expect.
55382         [XPG3 || XPG4] (O_RSYNC): Likewise.
55383         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
55384         Likewise.
55385         [XPG3 || XPG4] (pthread_sigmask): Likewise.
55386         [XPG3 || XPG4] (sigqueue): Likewise.
55387         [XPG3 || XPG4] (sigtimedwait): Likewise.
55388         [XPG3 || XPG4] (sigwaitinfo): Likewise.
55389         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
55390         [XPG3 || XPG4] (vsnprintf): Likewise.
55391         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
55392         Likewise.
55393         [XPG3 || XPG4] (blksize_t): Likewise.
55394         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
55395         Likewise.
55396         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
55397         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
55398         [XPG3 || XPG4] (struct itimerspec): Likewise.
55399         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
55400         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
55401         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
55402         [XPG3 || XPG4] (clockid_t): Likewise.
55403         [XPG3 || XPG4] (timer_t): Likewise.
55404         [XPG3 || XPG4] (clock_getres): Likewise.
55405         [XPG3 || XPG4] (clock_gettime): Likewise.
55406         [XPG3 || XPG4] (clock_settime): Likewise.
55407         [XPG3 || XPG4] (nanosleep): Likewise.
55408         [XPG3 || XPG4] (timer_create): Likewise.
55409         [XPG3 || XPG4] (timer_delete): Likewise.
55410         [XPG3 || XPG4] (timer_gettime): Likewise.
55411         [XPG3 || XPG4] (timer_getoverrun): Likewise.
55412         [XPG3 || XPG4] (timer_settime): Likewise.
55413         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
55414         [XPG3 || XPG4] (getlogin_r): Likewise.
55415         [XPG3 || XPG4] (pread): Likewise.
55416         [XPG3 || XPG4] (pthread_atfork): Likewise.
55417         [XPG3 || XPG4] (pwrite): Likewise.
55419         [BZ #14835]
55420         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
55421         <bits/siginfo.h>.
55423 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55425         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
55426         finalizing MALLSTREAM.
55428         * sysdeps/mach/hurd/syncfs.c: New file.
55430 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55432         [BZ #14719]
55433         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
55434         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
55435         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
55436         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
55437         (_nss_dns_gethostbyname4_r): Likewise.
55438         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
55439         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
55441 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
55443         [BZ #13763]
55444         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
55446 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
55448         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
55449         * elf/cache.c (print_entry): Print ",AArch64" for
55450         FLAG_AARCH64_LIB64
55452         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
55453         * elf/cache.c (print_entry): Print ",hard-float" for
55454         FLAG_ARM_LIBHF.
55456 2012-11-18  David S. Miller  <davem@davemloft.net>
55458         With help from Joseph Myers.
55459         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
55460         cutoff to 2**-13.
55461         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
55462         cutoff to 2**-25.
55463         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
55464         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
55465         small.
55466         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
55467         * math/libm-test.inc (y0_test): New tests.
55468         (y1_test): New tests.
55469         * sysdeps/i386/fpu/libm-test-ulps: Update.
55470         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55473 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
55475         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
55476         64-bit targets.
55477         * configure: Regenerated.
55479 2012-11-17  David S. Miller  <davem@davemloft.net>
55481         [BZ #14811]
55482         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
55483         nonzero exponents with absolute value below 0x1p-128 to +/-
55484         0x1p-128.
55486 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
55488         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
55490         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
55492         * posix/getconf-speclist.c: New file.
55493         * posix/posix-envs.def: Likewise.
55494         * posix/confstr.c (START_ENV_GROUP): New macro.
55495         (END_ENV_GROUP): Likewise.
55496         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55497         (KNOWN_PRESENT_ENV_STRING): Likewise.
55498         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55499         (UNKNOWN_ENVIRONMENT): Likewise.
55500         (confstr): Include posix-envs.def instead of handling
55501         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
55502         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
55503         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
55504         (END_ENV_GROUP): Likewise.
55505         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55506         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55507         (UNKNOWN_ENVIRONMENT): Likewise.
55508         (__sysconf): Include posix-envs.def instead of handling associated
55509         cases directly here.
55510         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
55511         preprocessing getconf-speclist.c rather than running getconf or
55512         generating empty file.
55514 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
55516         * scripts/check-local-headers.sh: Ignore 'mach' headers.
55518 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
55520         [BZ #14672]
55521         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
55523 2012-11-16  David S. Miller  <davem@davemloft.net>
55525         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
55526         smaller than LDBL_EPSILON/2.0L, just return xm1.
55528 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
55530         * elf/tst-array1.c (init): Set constructor priority to 1000.
55531         (fini): Set destructor priority to 1000.
55532         * elf/tst-array2dep.c: Likewise.
55534 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55536         [BZ #11741]
55537         * libio/fileops.c (_IO_new_file_write): Correctly return error.
55538         (_IO_new_file_xsputn): Also return EOF if none of the input
55539         data was written when overflow failed.
55540         * libio/iopadn.c (_IO_padn): Likewise.
55541         * libio/iowpadn.c (_IO_wpadn): Likewise.
55542         * stdio-common/tst-put-error.c: Add copyright notice.
55543         (do_test): Add case for printing padded string.
55544         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
55545         _IO_padn returned error.
55546         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
55547         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
55548         return EOF.
55550 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55552         * libio/libioP.h: Add comment note that the references to C++
55553         bits are now obsolete.
55555 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55557         * math/libm-test.inc (check_complex): Use asprintf.
55559 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
55561         * debug/pcprofiledump.c (print_version): Update copyright year.
55562         * malloc/memusagestat.c (print_version): Likewise.
55564 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
55566         [BZ #14831]
55567         * elf/Makefile (tests): Add tst-audit8.
55568         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
55569         ($(objpfx)tst-audit8.out): New target.
55570         (tst-audit8-ENV): New variable.
55571         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
55572         audit if l_reloc_result is NULL.
55573         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
55574         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
55575         * elf/tst-audit8.c: New file.
55577 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55579         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
55580         * misc/Makefile (CFLAGS-select.c): Define.
55581         * posix/Makefile (CFLAGS-pause.c): Define.
55583 2012-11-13  David S. Miller  <davem@davemloft.net>
55585         * crypt/Makefile: Move test targets after toplevel Rules
55586         inclusion.  Grab any necessary sysdep routines when linking.
55587         * crypt/md5.c (md5_process_block): Remove define, we will always
55588         name it __md5_process_block.
55589         (md5_finish_ctx): Update md5_process_block call.
55590         (md5_stream): Likewise.
55591         (md5_process_bytes): Likewise.
55592         (md5_process_block): Rename to __md5_process_block and move to ...
55593         * crypt/md5-block.c: ... here.
55594         * crypt/sha256.c (sha256_process_block): Move to ...
55595         * crypt/sha256-block.c: ... here.
55596         * crypt/sha512.c (sha512_process_block): Move to ...
55597         * crypt/sha512-block.c: ... here.
55598         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55599         path.
55600         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55601         * sysdeps/sparc/sparc64/multiarch/Makefile
55602         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55603         crypt subdir.
55604         (localedef-aux): Add md5 crypto assembler when in locale subdir.
55605         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55606         multiarch changes.
55607         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55608         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55609         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55610         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55611         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55612         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55613         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55614         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55615         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55616         file.
55617         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55618         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55619         file.
55620         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55622 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
55624         * timezone/tzselect.ksh: Update from tzcode git revision
55625         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55626         * timezone/zdump.c: Likewise.
55627         * timezone/zic.c: Likewise.
55628         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55629         in TZVERSION setting, not $(PKGVERSION).
55630         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
55631         REPORT_BUGS_TO settings.
55633         [BZ #14838]
55634         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55635         macro.
55637 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55639         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55640         detection to immediately after _FP_ROUND().
55641         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55642         bits are 0.
55644 2012-11-11  David S. Miller  <davem@davemloft.net>
55646         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55647         inttypes.h
55648         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55649         __close rather than their public counterparts.
55651 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
55653         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55654         file.
55655         [UNIX98] (sem_timedwait): Do not expect.
55656         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55657         [XPG4 || UNIX98] (sockatmark): Do not expect.
55658         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55659         (clock_getcpuclockid): Do not expect.
55660         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55661         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55662         Do not expect.
55663         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55664         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55665         [UNIX98] (vwscanf): Likewise.
55666         [UNIX98] (vswscanf): Likewise.
55668 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
55670         * timezone/version.h: Remove file.
55671         * timezone/README: Do not refer to version.h.
55672         * timezone/Makefile ($(objpfx)zic.o): New dependency on
55673         $(objpfx)version.h.
55674         ($(objpfx)zdump.o): Likewise.
55675         ($(objpfx)version.h): New target.
55677         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55678         2012i.
55679         * timezone/README: Don't mention modification to tzselect.ksh.
55680         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55681         work on unmodified tzselect.ksh.  Substitute version numbers in
55682         tzselect.ksh.
55684         * Makefile (format-me): Remove.
55685         (INSTALL): Adjust indentation.  Use commands directly instead of
55686         using $(format-me).
55688         * aclocal.m4 (ACX_PKGVERSION): New macro.
55689         (ACX_BUGURL): Likewise.
55690         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55691         (PKGVERSION): New AC_DEFINE_UNQUOTED.
55692         (REPORT_BUGS_TO): Likewise.
55693         * configure: Regenerated.
55694         * config.h.in (PKGVERSION): New macro.
55695         (REPORT_BUGS_TO): Likewise.
55696         * config.make.in (PKGVERSION): New variable.
55697         (PKGVERSION_TEXI): Likewise.
55698         (REPORT_BUGS_TO): Likewise.
55699         (REPORT_BUGS_TEXI): Likewise.
55700         * Makefile (format-me): Use -I$(common-objpfx)manual.
55701         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55702         ($(common-objpfx)manual/%): New target.
55703         (manual/%): Remove target.
55704         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55705         (print_version): Use PKGVERSION.
55706         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55707         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55708         and REPORT_BUGS_TO.
55709         ($(objpfx)xtrace): Likewise.
55710         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55711         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55712         (print_version): Use PKGVERSION.
55713         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55714         (do_version): Use PKGVERSION.
55715         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55716         REPORT_BUGS_TO.
55717         (common-ldd-rewrite): Likewise.
55718         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55719         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55720         (print_version): Use PKGVERSION.
55721         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55722         * elf/pldd.c (argp_program_bug_address): Remove variable.
55723         (more_help): New function.
55724         (argp): Use more_help.
55725         (print_version): Use PKGVERSION.
55726         * elf/sln.c (main): Use PKGVERSION.
55727         (usage): Use REPORT_BUGS_TO.
55728         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55729         (top level): Use PKGVERSION.
55730         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55731         (print_version): Use PKGVERSION.
55732         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55733         (print_version): Use PKGVERSION.
55734         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55735         (print_version): Use PKGVERSION.
55736         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55737         (print_version): Use PKGVERSION.
55738         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55739         (print_version): Use PKGVERSION.
55740         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55741         (print_version): Use PKGVERSION.
55742         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55743         and BUGURL.
55744         ($(objpfx)memusage): Likewise.
55745         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55746         (do_version): Use PKGVERSION.
55747         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55748         (print_version): Use PKGVERSION.
55749         * malloc/mtrace.pl ($PACKAGE): Remove variable.
55750         ($PKGVERSION): New variable.
55751         ($REPORT_BUGS_TO): Likewise.
55752         (usage): Use $REPORT_BUGS_TO.
55753         (top level): Use $PKGVERSION.
55754         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55755         ($(objpfx)pkgvers.texi): New rule.
55756         ($(objpfx)stamp-pkgvers): Likewise.
55757         * manual/install.texi: Include pkgvers.texi.
55758         (--with-pkgversion): Document new configure option.
55759         (--with-bugurl): Likewise.
55760         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55761         than necessarily for this particular distribution.  Use
55762         REPORT_BUGS_TO for where to report bugs.
55763         * INSTALL: Regenerated.
55764         * manual/libc.texinfo: Include pkgvers.texi.
55765         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55766         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55767         (print_version): Use PKGVERSION.
55768         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55769         (print_version): Use PKGVERSION.
55770         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55771         (print_version): Use PKGVERSION.
55772         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55773         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55774         macro.
55775         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55776         (print_version): Use PKGVERSION.
55777         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55778         (print_version): Use PKGVERSION.
55779         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55780         and PKGVERSION.
55782         * timezone/checktab.awk: Update from tzcode 2012i.
55783         * timezone/ialloc.c: Likewise.
55784         * timezone/private.h: Likewise.
55785         * timezone/scheck.c: Likewise.
55786         * timezone/tzfile.h: Likewise.
55787         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55788         (TZVERSION): Hardcode tzcode version number.
55789         * timezone/zdump.c: Update from tzcode 2012i.
55790         * timezone/zic.c: Likewise.
55791         * timezone/version.h: New file.
55792         * timezone/README: Describe version.h.  Update upstream location.
55794         [BZ #14824]
55795         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55796         (mktemp): Enable declaration.
55797         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55798         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55799         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55800         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55801         Likewise.
55802         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55803         Likewise.
55804         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55805         Likewise.
55806         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55807         Likewise.
55808         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55809         Likewise.
55810         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55811         Likewise.
55813         [BZ #14821]
55814         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55815         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
55816         for copies of such integer values.
55817         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55818         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55820 2012-11-09  Andreas Jaeger  <aj@suse.de>
55822         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55823         definitions and declarations that are provided by
55824         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55826 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55828         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55829         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55830         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55831         definition.
55833 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55835         * elf/elf.h: Update comment before AArch64 relocations.
55837 2012-11-07  David S. Miller  <davem@davemloft.net>
55839         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55840         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55841         (__start_context): Declare.
55842         (__makecontext_ret): Delete.
55843         (__makecontext): Hook up __start_context instead of
55844         __makecontext_ret.
55845         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55846         (sysdep_routines): Add __start_context when in stdlib.
55848 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55850         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55851         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55852         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
55853         hardcoded "nm".
55854         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
55855         (READELF): New variable.  Use it instead of hardcoded "readelf".
55857 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55859         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55860         * sysdeps/x86/Makefile: Here.
55861         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55862         * sysdeps/x86/tst-xmmymm.sh: This.
55864 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55866         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55867         expectations.
55868         [UNIX98] (pthread_barrier_t): Do not expect.
55869         [UNIX98] (pthread_barrierattr_t): Likewise.
55870         [UNIX98] (pthread_spinlock_t): Likewise.
55871         [UNIX98] (pthread_barrier_destroy): Likewise.
55872         [UNIX98] (pthread_barrier_init): Likewise.
55873         [UNIX98] (pthread_barrier_wait): Likewise.
55874         [UNIX98] (pthread_barrierattr_destroy): Likewise.
55875         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55876         [UNIX98] (pthread_barrierattr_init): Likewise.
55877         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55878         [UNIX98] (pthread_getcpuclockid): Likewise.
55879         [UNIX98] (pthread_mutex_timedlock): Likewise.
55880         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55881         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55882         [UNIX98] (pthread_sigmask): Likewise.
55883         [UNIX98] (pthread_spin_destroy): Likewise.
55884         [UNIX98] (pthread_spin_init): Likewise.
55885         [UNIX98] (pthread_spin_lock): Likewise.
55886         [UNIX98] (pthread_spin_trylock): Likewise.
55887         [UNIX98] (pthread_spin_unlock): Likewise.
55888         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55889         Do not expect.
55890         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55891         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55892         [XPG3 || XPG4] (pthread_cond_t): Likewise.
55893         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55894         [XPG3 || XPG4] (pthread_key_t): Likewise.
55895         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55896         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55897         [XPG3 || XPG4] (pthread_once_t): Likewise.
55898         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55899         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55900         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55901         [XPG3 || XPG4] (pthread_t): Likewise.
55903         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55904         not expect.
55905         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55907         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55908         Change function return type to int.
55910         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55911         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55912         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55913         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55914         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55915         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55916         [!POSIX] (posix_madvise): Likewise.
55917         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55918         && !UNIX98].
55919         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55920         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55921         (mode_t): Likewise.
55922         (posix_mem_offset): Likewise.
55923         (posix_typed_mem_get_info): Likewise.
55924         (posix_typed_mem_open): Likewise.
55926         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55927         Change condition to [XOPEN2K8].
55929         * conform/conformtest.pl: Preprocess allow-header data with -x c
55930         instead of from stdin.
55931         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55932         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55933         [C99-based standards] (cerfc): Likewise.
55934         [C99-based standards] (cexp2): Likewise.
55935         [C99-based standards] (cexpm1): Likewise.
55936         [C99-based standards] (clog10): Likewise.
55937         [C99-based standards] (clog1p): Likewise.
55938         [C99-based standards] (clog2): Likewise.
55939         [C99-based standards] (clgamma): Likewise.
55940         [C99-based standards] (ctgamma): Likewise.
55941         [C99-based standards] (cerff): Likewise.
55942         [C99-based standards] (cerfcf): Likewise.
55943         [C99-based standards] (cexp2f): Likewise.
55944         [C99-based standards] (cexpm1f): Likewise.
55945         [C99-based standards] (clog10f): Likewise.
55946         [C99-based standards] (clog1pf): Likewise.
55947         [C99-based standards] (clog2f): Likewise.
55948         [C99-based standards] (clgammaf): Likewise.
55949         [C99-based standards] (ctgammaf): Likewise.
55950         [C99-based standards] (cerfl): Likewise.
55951         [C99-based standards] (cerfcl): Likewise.
55952         [C99-based standards] (cexp2l): Likewise.
55953         [C99-based standards] (cexpm1l): Likewise.
55954         [C99-based standards] (clog10l): Likewise.
55955         [C99-based standards] (clog1pl): Likewise.
55956         [C99-based standards] (clog2l): Likewise.
55957         [C99-based standards] (clgammal): Likewise.
55958         [C99-based standards] (ctgammal): Likewise.
55959         * conform/data/inttypes.h-data [C99-based standards]: Include
55960         stdint.h-data.  Remove all expectations for stdint.h contents.
55961         [C99-based standards] (PRI*): Do not allow.
55962         [C99-based standards] (SCN*): Likewise.
55963         [C99-based standards] (*_t): Likewise.
55964         [C99-based-standards] (PRId8): Expect macro.
55965         [C99-based-standards] (PRIi8): Likewise.
55966         [C99-based-standards] (PRIo8): Likewise.
55967         [C99-based-standards] (PRIu8): Likewise.
55968         [C99-based-standards] (PRIx8): Likewise.
55969         [C99-based-standards] (PRIX8): Likewise.
55970         [C99-based-standards] (SCNd8): Likewise.
55971         [C99-based-standards] (SCNi8): Likewise.
55972         [C99-based-standards] (SCNo8): Likewise.
55973         [C99-based-standards] (SCNu8): Likewise.
55974         [C99-based-standards] (SCNx8): Likewise.
55975         [C99-based-standards] (PRIdLEAST8): Likewise.
55976         [C99-based-standards] (PRIiLEAST8): Likewise.
55977         [C99-based-standards] (PRIoLEAST8): Likewise.
55978         [C99-based-standards] (PRIuLEAST8): Likewise.
55979         [C99-based-standards] (PRIxLEAST8): Likewise.
55980         [C99-based-standards] (PRIXLEAST8): Likewise.
55981         [C99-based-standards] (SCNdLEAST8): Likewise.
55982         [C99-based-standards] (SCNiLEAST8): Likewise.
55983         [C99-based-standards] (SCNoLEAST8): Likewise.
55984         [C99-based-standards] (SCNuLEAST8): Likewise.
55985         [C99-based-standards] (SCNxLEAST8): Likewise.
55986         [C99-based-standards] (PRIdFAST8): Likewise.
55987         [C99-based-standards] (PRIiFAST8): Likewise.
55988         [C99-based-standards] (PRIoFAST8): Likewise.
55989         [C99-based-standards] (PRIuFAST8): Likewise.
55990         [C99-based-standards] (PRIxFAST8): Likewise.
55991         [C99-based-standards] (PRIXFAST8): Likewise.
55992         [C99-based-standards] (SCNdFAST8): Likewise.
55993         [C99-based-standards] (SCNiFAST8): Likewise.
55994         [C99-based-standards] (SCNoFAST8): Likewise.
55995         [C99-based-standards] (SCNuFAST8): Likewise.
55996         [C99-based-standards] (SCNxFAST8): Likewise.
55997         [C99-based-standards] (PRId16): Likewise.
55998         [C99-based-standards] (PRIi16): Likewise.
55999         [C99-based-standards] (PRIo16): Likewise.
56000         [C99-based-standards] (PRIu16): Likewise.
56001         [C99-based-standards] (PRIx16): Likewise.
56002         [C99-based-standards] (PRIX16): Likewise.
56003         [C99-based-standards] (SCNd16): Likewise.
56004         [C99-based-standards] (SCNi16): Likewise.
56005         [C99-based-standards] (SCNo16): Likewise.
56006         [C99-based-standards] (SCNu16): Likewise.
56007         [C99-based-standards] (SCNx16): Likewise.
56008         [C99-based-standards] (PRIdLEAST16): Likewise.
56009         [C99-based-standards] (PRIiLEAST16): Likewise.
56010         [C99-based-standards] (PRIoLEAST16): Likewise.
56011         [C99-based-standards] (PRIuLEAST16): Likewise.
56012         [C99-based-standards] (PRIxLEAST16): Likewise.
56013         [C99-based-standards] (PRIXLEAST16): Likewise.
56014         [C99-based-standards] (SCNdLEAST16): Likewise.
56015         [C99-based-standards] (SCNiLEAST16): Likewise.
56016         [C99-based-standards] (SCNoLEAST16): Likewise.
56017         [C99-based-standards] (SCNuLEAST16): Likewise.
56018         [C99-based-standards] (SCNxLEAST16): Likewise.
56019         [C99-based-standards] (PRIdFAST16): Likewise.
56020         [C99-based-standards] (PRIiFAST16): Likewise.
56021         [C99-based-standards] (PRIoFAST16): Likewise.
56022         [C99-based-standards] (PRIuFAST16): Likewise.
56023         [C99-based-standards] (PRIxFAST16): Likewise.
56024         [C99-based-standards] (PRIXFAST16): Likewise.
56025         [C99-based-standards] (SCNdFAST16): Likewise.
56026         [C99-based-standards] (SCNiFAST16): Likewise.
56027         [C99-based-standards] (SCNoFAST16): Likewise.
56028         [C99-based-standards] (SCNuFAST16): Likewise.
56029         [C99-based-standards] (SCNxFAST16): Likewise.
56030         [C99-based-standards] (PRId32): Likewise.
56031         [C99-based-standards] (PRIi32): Likewise.
56032         [C99-based-standards] (PRIo32): Likewise.
56033         [C99-based-standards] (PRIu32): Likewise.
56034         [C99-based-standards] (PRIx32): Likewise.
56035         [C99-based-standards] (PRIX32): Likewise.
56036         [C99-based-standards] (SCNd32): Likewise.
56037         [C99-based-standards] (SCNi32): Likewise.
56038         [C99-based-standards] (SCNo32): Likewise.
56039         [C99-based-standards] (SCNu32): Likewise.
56040         [C99-based-standards] (SCNx32): Likewise.
56041         [C99-based-standards] (PRIdLEAST32): Likewise.
56042         [C99-based-standards] (PRIiLEAST32): Likewise.
56043         [C99-based-standards] (PRIoLEAST32): Likewise.
56044         [C99-based-standards] (PRIuLEAST32): Likewise.
56045         [C99-based-standards] (PRIxLEAST32): Likewise.
56046         [C99-based-standards] (PRIXLEAST32): Likewise.
56047         [C99-based-standards] (SCNdLEAST32): Likewise.
56048         [C99-based-standards] (SCNiLEAST32): Likewise.
56049         [C99-based-standards] (SCNoLEAST32): Likewise.
56050         [C99-based-standards] (SCNuLEAST32): Likewise.
56051         [C99-based-standards] (SCNxLEAST32): Likewise.
56052         [C99-based-standards] (PRIdFAST32): Likewise.
56053         [C99-based-standards] (PRIiFAST32): Likewise.
56054         [C99-based-standards] (PRIoFAST32): Likewise.
56055         [C99-based-standards] (PRIuFAST32): Likewise.
56056         [C99-based-standards] (PRIxFAST32): Likewise.
56057         [C99-based-standards] (PRIXFAST32): Likewise.
56058         [C99-based-standards] (SCNdFAST32): Likewise.
56059         [C99-based-standards] (SCNiFAST32): Likewise.
56060         [C99-based-standards] (SCNoFAST32): Likewise.
56061         [C99-based-standards] (SCNuFAST32): Likewise.
56062         [C99-based-standards] (SCNxFAST32): Likewise.
56063         [C99-based-standards] (PRId64): Likewise.
56064         [C99-based-standards] (PRIi64): Likewise.
56065         [C99-based-standards] (PRIo64): Likewise.
56066         [C99-based-standards] (PRIu64): Likewise.
56067         [C99-based-standards] (PRIx64): Likewise.
56068         [C99-based-standards] (PRIX64): Likewise.
56069         [C99-based-standards] (SCNd64): Likewise.
56070         [C99-based-standards] (SCNi64): Likewise.
56071         [C99-based-standards] (SCNo64): Likewise.
56072         [C99-based-standards] (SCNu64): Likewise.
56073         [C99-based-standards] (SCNx64): Likewise.
56074         [C99-based-standards] (PRIdLEAST64): Likewise.
56075         [C99-based-standards] (PRIiLEAST64): Likewise.
56076         [C99-based-standards] (PRIoLEAST64): Likewise.
56077         [C99-based-standards] (PRIuLEAST64): Likewise.
56078         [C99-based-standards] (PRIxLEAST64): Likewise.
56079         [C99-based-standards] (PRIXLEAST64): Likewise.
56080         [C99-based-standards] (SCNdLEAST64): Likewise.
56081         [C99-based-standards] (SCNiLEAST64): Likewise.
56082         [C99-based-standards] (SCNoLEAST64): Likewise.
56083         [C99-based-standards] (SCNuLEAST64): Likewise.
56084         [C99-based-standards] (SCNxLEAST64): Likewise.
56085         [C99-based-standards] (PRIdFAST64): Likewise.
56086         [C99-based-standards] (PRIiFAST64): Likewise.
56087         [C99-based-standards] (PRIoFAST64): Likewise.
56088         [C99-based-standards] (PRIuFAST64): Likewise.
56089         [C99-based-standards] (PRIxFAST64): Likewise.
56090         [C99-based-standards] (PRIXFAST64): Likewise.
56091         [C99-based-standards] (SCNdFAST64): Likewise.
56092         [C99-based-standards] (SCNiFAST64): Likewise.
56093         [C99-based-standards] (SCNoFAST64): Likewise.
56094         [C99-based-standards] (SCNuFAST64): Likewise.
56095         [C99-based-standards] (SCNxFAST64): Likewise.
56096         [C99-based-standards] (PRIdMAX): Likewise.
56097         [C99-based-standards] (PRIiMAX): Likewise.
56098         [C99-based-standards] (PRIoMAX): Likewise.
56099         [C99-based-standards] (PRIuMAX): Likewise.
56100         [C99-based-standards] (PRIxMAX): Likewise.
56101         [C99-based-standards] (PRIXMAX): Likewise.
56102         [C99-based-standards] (SCNdMAX): Likewise.
56103         [C99-based-standards] (SCNiMAX): Likewise.
56104         [C99-based-standards] (SCNoMAX): Likewise.
56105         [C99-based-standards] (SCNuMAX): Likewise.
56106         [C99-based-standards] (SCNxMAX): Likewise.
56107         [C99-based-standards] (PRIdPTR): Likewise.
56108         [C99-based-standards] (PRIiPTR): Likewise.
56109         [C99-based-standards] (PRIoPTR): Likewise.
56110         [C99-based-standards] (PRIuPTR): Likewise.
56111         [C99-based-standards] (PRIxPTR): Likewise.
56112         [C99-based-standards] (PRIXPTR): Likewise.
56113         [C99-based-standards] (SCNdPTR): Likewise.
56114         [C99-based-standards] (SCNiPTR): Likewise.
56115         [C99-based-standards] (SCNoPTR): Likewise.
56116         [C99-based-standards] (SCNuPTR): Likewise.
56117         [C99-based-standards] (SCNxPTR): Likewise.
56118         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
56119         allow.
56120         * conform/data/stdint.h-data: Update comments to clarify
56121         requirements.
56122         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
56123         type.
56124         [C99-based standards] (INT8_MAX): Likewise.
56125         [C99-based standards] (INT16_MIN): Likewise.
56126         [C99-based standards] (INT16_MAX): Likewise.
56127         [C99-based standards] (INT32_MIN): Likewise.
56128         [C99-based standards] (INT32_MAX): Likewise.
56129         [C99-based standards] (INT64_MIN): Likewise.
56130         [C99-based standards] (INT64_MAX): Likewise.
56131         [C99-based standards] (UINT8_MAX): Likewise.
56132         [C99-based standards] (UINT16_MAX): Likewise.
56133         [C99-based standards] (UINT32_MAX): Likewise.
56134         [C99-based standards] (UINT64_MAX): Likewise.
56135         [C99-based standards] (INT_LEAST8_MIN): Likewise.
56136         [C99-based standards] (INT_LEAST8_MAX): Likewise.
56137         [C99-based standards] (INT_LEAST16_MIN): Likewise.
56138         [C99-based standards] (INT_LEAST16_MAX): Likewise.
56139         [C99-based standards] (INT_LEAST32_MIN): Likewise.
56140         [C99-based standards] (INT_LEAST32_MAX): Likewise.
56141         [C99-based standards] (INT_LEAST64_MIN): Likewise.
56142         [C99-based standards] (INT_LEAST64_MAX): Likewise.
56143         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
56144         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
56145         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
56146         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
56147         [C99-based standards] (INT_FAST8_MIN): Likewise.
56148         [C99-based standards] (INT_FAST8_MAX): Likewise.
56149         [C99-based standards] (INT_FAST16_MIN): Likewise.
56150         [C99-based standards] (INT_FAST16_MAX): Likewise.
56151         [C99-based standards] (INT_FAST32_MIN): Likewise.
56152         [C99-based standards] (INT_FAST32_MAX): Likewise.
56153         [C99-based standards] (INT_FAST64_MIN): Likewise.
56154         [C99-based standards] (INT_FAST64_MAX): Likewise.
56155         [C99-based standards] (UINT_FAST8_MAX): Likewise.
56156         [C99-based standards] (UINT_FAST16_MAX): Likewise.
56157         [C99-based standards] (UINT_FAST32_MAX): Likewise.
56158         [C99-based standards] (UINT_FAST64_MAX): Likewise.
56159         [C99-based standards] (INTPTR_MIN): Likewise.
56160         [C99-based standards] (INTPTR_MAX): Likewise.
56161         [C99-based standards] (UINTPTR_MAX): Likewise.
56162         [C99-based standards] (INTMAX_MIN): Likewise.
56163         [C99-based standards] (INTMAX_MAX): Likewise.
56164         [C99-based standards] (UINTMAX_MAX): Likewise.
56165         [C99-based standards] (PTRDIFF_MIN): Likewise.
56166         [C99-based standards] (PTRDIFF_MAX): Likewise.
56167         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
56168         [C99-based standards] (SIZE_MAX): Likewise.
56169         [C99-based standards] (WCHAR_MAX): Likewise.
56170         [C99-based standards] (WINT_MAX): Likewise.
56171         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
56172         constraint on value.
56173         [C99-based standards] (WCHAR_MIN): Likewise.
56174         [C99-based standards] (WINT_MIN): Likewise.
56175         [C99-based standards] (*_t): Allow.
56176         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
56177         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
56178         Include math.h-data and complex.h-data.  Remove all expectations
56179         of math.h and complex.h contents.
56180         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
56181         at end of line.
56182         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
56183         (struct tm): Expect tag.
56184         [C99-based-standards] (wcstof): Expect function.
56185         [C99-based-standards] (wcstold): Likewise.
56186         [C99-based-standards] (wcstoll): Likewise.
56187         [C99-based-standards] (wcstoull): Likewise.
56188         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
56189         macro-int-constant.  Specify type.
56190         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
56191         constraint on value.
56192         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56193         Specify type.
56194         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
56195         Specify value.
56196         [ISO C standards]: Do not allow headers.
56197         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
56198         wcs[abcdefghijklmnopqrstuvwxyz]*.
56199         [ISO C standards] (*_t): Do not allow.
56200         * conform/data/wctype.h-data [C99-based standards] (iswblank):
56201         Expect function.
56202         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
56203         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56204         Specify type.
56205         [ISO C standards]: Do not allow headers.
56206         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
56207         is[abcdefghijklmnopqrstuvwxyz]*.
56208         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
56209         to[abcdefghijklmnopqrstuvwxyz]*.
56210         [ISO C standards] (*_t): Do not allow.
56211         * conform/data/stdalign.h-data: New file.
56212         * conform/data/stdbool.h-data: Likewise.
56213         * conform/data/stdnoreturn.h-data: Likewise.
56215 2012-11-07  Roland McGrath  <roland@hack.frob.com>
56217         [BZ #14815]
56218         * manual/filesys.texi (Directory Entries): Typo fix.
56219         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
56221 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56223         * elf/elf.h (EM_AARCH64): New macro.
56224         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
56225         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
56226         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
56227         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
56228         (R_AARCH64_TLSDESC): Likewise.
56229         (NT_ARM_TLS): Likewise.
56230         (NT_ARM_HW_BREAK): Likewise.
56231         (NT_ARM_HW_WATCH): Likewise.
56233 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56235         [BZ #14811]
56236         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
56237         (__ieee754_powl): Saturate nonzero exponents with absolute value
56238         below 0x1p-79 to +/- 0x1p-79.
56239         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
56240         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
56241         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
56242         nonzero exponents with absolute value below 0x1p-32 to +/-
56243         0x1p-32.
56244         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
56245         (__ieee754_powl): Saturate nonzero exponents with absolute value
56246         below 0x1p-79 to +/- 0x1p-79.
56247         * math/libm-test.inc (pow_test): Add more tests.
56249 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56251         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
56252         _dl_s390_cap_flags with kernel. Increase string length.
56253         (_dl_s390_platforms): Add z196 and zEC12.
56255 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56257         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
56258         Change XOPEN21K to XOPEN2K.
56260 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
56262         * string/memmove.c: Use memcpy when possible.
56264 2012-11-06  Andreas Jaeger  <aj@suse.de>
56266         * po/eo.po: Update from translation team.
56268 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
56270         [BZ #14793]
56271         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
56272         exponent and small x and y exponents, scale x or y up.  Increase
56273         by 2 the exponent used in scaling up.
56274         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56275         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56276         * math/libm-test.inc (fma_test): Add more tests.
56277         (fma_test_towardzero): Likewise.
56278         (fma_test_downward): Likewise.
56279         (fma_test_upward): Likewise.
56281 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
56283         [BZ #14805]
56284         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
56285         fenv_t *.
56287         [BZ #14801]
56288         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
56289         namespace for names of struct fields.
56290         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
56291         fenv_t fields.
56292         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
56293         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
56295 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56297         [BZ #3665]
56298         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
56300 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56302         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
56303         PTR_DEMANGLE.
56305         [BZ #5246]
56306         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
56307         PTR_DEMANGLE.
56309 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
56311         [BZ #14797]
56312         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
56313         definitely overflow as x * y not x * y + z.
56314         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56315         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56316         * math/libm-test.inc (fma_test): Add more tests.
56317         (fma_test_towardzero): Likewise.
56318         (fma_test_downward): Likewise.
56319         (fma_test_upward): Likewise.
56321 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56323         [BZ #157]
56325         * include/stub-tag.h: Remove file.
56326         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
56327         '#include' of it.
56328         * manual/maint.texi (Porting): Don't reference it.
56329         * Makerules ($(objpfx)stubs): Likewise.
56330         * dirent/closedir.c: Don't include <stub-tag.h>.
56331         * dirent/dirfd.c: Likewise.
56332         * dirent/fdopendir.c: Likewise.
56333         * dirent/getdents.c: Likewise.
56334         * dirent/getdents64.c: Likewise.
56335         * dirent/opendir.c: Likewise.
56336         * dirent/readdir.c: Likewise.
56337         * dirent/readdir64.c: Likewise.
56338         * dirent/readdir64_r.c: Likewise.
56339         * dirent/readdir_r.c: Likewise.
56340         * dirent/rewinddir.c: Likewise.
56341         * dirent/seekdir.c: Likewise.
56342         * dirent/telldir.c: Likewise.
56343         * gmon/profil.c: Likewise.
56344         * grp/setgroups.c: Likewise.
56345         * inet/if_index.c: Likewise.
56346         * io/access.c: Likewise.
56347         * io/chdir.c: Likewise.
56348         * io/chmod.c: Likewise.
56349         * io/chown.c: Likewise.
56350         * io/close.c: Likewise.
56351         * io/dup.c: Likewise.
56352         * io/dup2.c: Likewise.
56353         * io/dup3.c: Likewise.
56354         * io/euidaccess.c: Likewise.
56355         * io/faccessat.c: Likewise.
56356         * io/fchdir.c: Likewise.
56357         * io/fchmod.c: Likewise.
56358         * io/fchmodat.c: Likewise.
56359         * io/fchown.c: Likewise.
56360         * io/fchownat.c: Likewise.
56361         * io/fcntl.c: Likewise.
56362         * io/flock.c: Likewise.
56363         * io/fstatfs.c: Likewise.
56364         * io/fstatfs64.c: Likewise.
56365         * io/fstatvfs.c: Likewise.
56366         * io/fstatvfs64.c: Likewise.
56367         * io/futimens.c: Likewise.
56368         * io/fxstat.c: Likewise.
56369         * io/fxstat64.c: Likewise.
56370         * io/fxstatat.c: Likewise.
56371         * io/fxstatat64.c: Likewise.
56372         * io/getcwd.c: Likewise.
56373         * io/isatty.c: Likewise.
56374         * io/lchmod.c: Likewise.
56375         * io/lchown.c: Likewise.
56376         * io/link.c: Likewise.
56377         * io/linkat.c: Likewise.
56378         * io/lseek.c: Likewise.
56379         * io/lseek64.c: Likewise.
56380         * io/lxstat64.c: Likewise.
56381         * io/mkdir.c: Likewise.
56382         * io/mkdirat.c: Likewise.
56383         * io/mkfifo.c: Likewise.
56384         * io/mkfifoat.c: Likewise.
56385         * io/open.c: Likewise.
56386         * io/open64.c: Likewise.
56387         * io/openat.c: Likewise.
56388         * io/openat64.c: Likewise.
56389         * io/pipe.c: Likewise.
56390         * io/pipe2.c: Likewise.
56391         * io/poll.c: Likewise.
56392         * io/posix_fadvise.c: Likewise.
56393         * io/posix_fadvise64.c: Likewise.
56394         * io/posix_fallocate.c: Likewise.
56395         * io/posix_fallocate64.c: Likewise.
56396         * io/read.c: Likewise.
56397         * io/readlink.c: Likewise.
56398         * io/readlinkat.c: Likewise.
56399         * io/rmdir.c: Likewise.
56400         * io/sendfile.c: Likewise.
56401         * io/sendfile64.c: Likewise.
56402         * io/statfs.c: Likewise.
56403         * io/statfs64.c: Likewise.
56404         * io/statvfs.c: Likewise.
56405         * io/statvfs64.c: Likewise.
56406         * io/symlink.c: Likewise.
56407         * io/symlinkat.c: Likewise.
56408         * io/ttyname.c: Likewise.
56409         * io/ttyname_r.c: Likewise.
56410         * io/umask.c: Likewise.
56411         * io/unlink.c: Likewise.
56412         * io/unlinkat.c: Likewise.
56413         * io/utime.c: Likewise.
56414         * io/utimensat.c: Likewise.
56415         * io/write.c: Likewise.
56416         * io/xmknod.c: Likewise.
56417         * io/xmknodat.c: Likewise.
56418         * io/xstat.c: Likewise.
56419         * io/xstat64.c: Likewise.
56420         * login/getpt.c: Likewise.
56421         * login/grantpt.c: Likewise.
56422         * login/unlockpt.c: Likewise.
56423         * math/e_acoshl.c: Likewise.
56424         * math/e_acosl.c: Likewise.
56425         * math/e_asinl.c: Likewise.
56426         * math/e_atan2l.c: Likewise.
56427         * math/e_atanhl.c: Likewise.
56428         * math/e_coshl.c: Likewise.
56429         * math/e_expl.c: Likewise.
56430         * math/e_fmodl.c: Likewise.
56431         * math/e_gammal_r.c: Likewise.
56432         * math/e_hypotl.c: Likewise.
56433         * math/e_j0l.c: Likewise.
56434         * math/e_j1l.c: Likewise.
56435         * math/e_jnl.c: Likewise.
56436         * math/e_lgammal_r.c: Likewise.
56437         * math/e_log10l.c: Likewise.
56438         * math/e_log2l.c: Likewise.
56439         * math/e_logl.c: Likewise.
56440         * math/e_powl.c: Likewise.
56441         * math/e_rem_pio2l.c: Likewise.
56442         * math/e_sinhl.c: Likewise.
56443         * math/e_sqrtl.c: Likewise.
56444         * math/fclrexcpt.c: Likewise.
56445         * math/fedisblxcpt.c: Likewise.
56446         * math/feenablxcpt.c: Likewise.
56447         * math/fegetenv.c: Likewise.
56448         * math/fegetexcept.c: Likewise.
56449         * math/fegetround.c: Likewise.
56450         * math/feholdexcpt.c: Likewise.
56451         * math/fesetenv.c: Likewise.
56452         * math/fesetround.c: Likewise.
56453         * math/feupdateenv.c: Likewise.
56454         * math/fgetexcptflg.c: Likewise.
56455         * math/fraiseexcpt.c: Likewise.
56456         * math/fsetexcptflg.c: Likewise.
56457         * math/ftestexcept.c: Likewise.
56458         * math/k_cosl.c: Likewise.
56459         * math/k_rem_pio2l.c: Likewise.
56460         * math/k_sinl.c: Likewise.
56461         * math/k_tanl.c: Likewise.
56462         * math/s_asinhl.c: Likewise.
56463         * math/s_atanl.c: Likewise.
56464         * math/s_cbrtl.c: Likewise.
56465         * math/s_erfl.c: Likewise.
56466         * math/s_expm1l.c: Likewise.
56467         * math/s_log1pl.c: Likewise.
56468         * math/s_tanhl.c: Likewise.
56469         * misc/acct.c: Likewise.
56470         * misc/brk.c: Likewise.
56471         * misc/chflags.c: Likewise.
56472         * misc/chroot.c: Likewise.
56473         * misc/fchflags.c: Likewise.
56474         * misc/fgetxattr.c: Likewise.
56475         * misc/flistxattr.c: Likewise.
56476         * misc/fremovexattr.c: Likewise.
56477         * misc/fsetxattr.c: Likewise.
56478         * misc/fsync.c: Likewise.
56479         * misc/ftruncate.c: Likewise.
56480         * misc/futimes.c: Likewise.
56481         * misc/futimesat.c: Likewise.
56482         * misc/getdomain.c: Likewise.
56483         * misc/getdtsz.c: Likewise.
56484         * misc/gethostid.c: Likewise.
56485         * misc/gethostname.c: Likewise.
56486         * misc/getloadavg.c: Likewise.
56487         * misc/getpagesize.c: Likewise.
56488         * misc/getsysstats.c: Likewise.
56489         * misc/getxattr.c: Likewise.
56490         * misc/gtty.c: Likewise.
56491         * misc/ioctl.c: Likewise.
56492         * misc/lgetxattr.c: Likewise.
56493         * misc/listxattr.c: Likewise.
56494         * misc/llistxattr.c: Likewise.
56495         * misc/lremovexattr.c: Likewise.
56496         * misc/lsetxattr.c: Likewise.
56497         * misc/lutimes.c: Likewise.
56498         * misc/madvise.c: Likewise.
56499         * misc/mincore.c: Likewise.
56500         * misc/mlock.c: Likewise.
56501         * misc/mlockall.c: Likewise.
56502         * misc/mmap.c: Likewise.
56503         * misc/mprotect.c: Likewise.
56504         * misc/msync.c: Likewise.
56505         * misc/munlock.c: Likewise.
56506         * misc/munlockall.c: Likewise.
56507         * misc/munmap.c: Likewise.
56508         * misc/preadv.c: Likewise.
56509         * misc/preadv64.c: Likewise.
56510         * misc/ptrace.c: Likewise.
56511         * misc/pwritev.c: Likewise.
56512         * misc/pwritev64.c: Likewise.
56513         * misc/readv.c: Likewise.
56514         * misc/reboot.c: Likewise.
56515         * misc/remap_file_pages.c: Likewise.
56516         * misc/removexattr.c: Likewise.
56517         * misc/revoke.c: Likewise.
56518         * misc/select.c: Likewise.
56519         * misc/setdomain.c: Likewise.
56520         * misc/setegid.c: Likewise.
56521         * misc/seteuid.c: Likewise.
56522         * misc/sethostid.c: Likewise.
56523         * misc/sethostname.c: Likewise.
56524         * misc/setregid.c: Likewise.
56525         * misc/setreuid.c: Likewise.
56526         * misc/setxattr.c: Likewise.
56527         * misc/sstk.c: Likewise.
56528         * misc/stty.c: Likewise.
56529         * misc/swapoff.c: Likewise.
56530         * misc/swapon.c: Likewise.
56531         * misc/sync.c: Likewise.
56532         * misc/syncfs.c: Likewise.
56533         * misc/syscall.c: Likewise.
56534         * misc/truncate.c: Likewise.
56535         * misc/ualarm.c: Likewise.
56536         * misc/usleep.c: Likewise.
56537         * misc/ustat.c: Likewise.
56538         * misc/utimes.c: Likewise.
56539         * misc/vhangup.c: Likewise.
56540         * misc/writev.c: Likewise.
56541         * posix/_exit.c: Likewise.
56542         * posix/alarm.c: Likewise.
56543         * posix/execve.c: Likewise.
56544         * posix/fexecve.c: Likewise.
56545         * posix/fork.c: Likewise.
56546         * posix/fpathconf.c: Likewise.
56547         * posix/getaddrinfo.c: Likewise.
56548         * posix/getegid.c: Likewise.
56549         * posix/geteuid.c: Likewise.
56550         * posix/getgid.c: Likewise.
56551         * posix/getgroups.c: Likewise.
56552         * posix/getlogin.c: Likewise.
56553         * posix/getlogin_r.c: Likewise.
56554         * posix/getpgid.c: Likewise.
56555         * posix/getpid.c: Likewise.
56556         * posix/getppid.c: Likewise.
56557         * posix/getresgid.c: Likewise.
56558         * posix/getresuid.c: Likewise.
56559         * posix/getsid.c: Likewise.
56560         * posix/getuid.c: Likewise.
56561         * posix/glob64.c: Likewise.
56562         * posix/nanosleep.c: Likewise.
56563         * posix/pathconf.c: Likewise.
56564         * posix/pause.c: Likewise.
56565         * posix/posix_madvise.c: Likewise.
56566         * posix/pread.c: Likewise.
56567         * posix/pread64.c: Likewise.
56568         * posix/pwrite.c: Likewise.
56569         * posix/pwrite64.c: Likewise.
56570         * posix/sched_getaffinity.c: Likewise.
56571         * posix/sched_getp.c: Likewise.
56572         * posix/sched_gets.c: Likewise.
56573         * posix/sched_primax.c: Likewise.
56574         * posix/sched_primin.c: Likewise.
56575         * posix/sched_rr_gi.c: Likewise.
56576         * posix/sched_setaffinity.c: Likewise.
56577         * posix/sched_setp.c: Likewise.
56578         * posix/sched_sets.c: Likewise.
56579         * posix/sched_yield.c: Likewise.
56580         * posix/setgid.c: Likewise.
56581         * posix/setlogin.c: Likewise.
56582         * posix/setpgid.c: Likewise.
56583         * posix/setresgid.c: Likewise.
56584         * posix/setresuid.c: Likewise.
56585         * posix/setsid.c: Likewise.
56586         * posix/setuid.c: Likewise.
56587         * posix/sleep.c: Likewise.
56588         * posix/spawni.c: Likewise.
56589         * posix/sysconf.c: Likewise.
56590         * posix/times.c: Likewise.
56591         * posix/wait.c: Likewise.
56592         * posix/wait3.c: Likewise.
56593         * posix/wait4.c: Likewise.
56594         * posix/waitpid.c: Likewise.
56595         * resolv/gai_sigqueue.c: Likewise.
56596         * resource/getpriority.c: Likewise.
56597         * resource/getrlimit.c: Likewise.
56598         * resource/getrusage.c: Likewise.
56599         * resource/nice.c: Likewise.
56600         * resource/setpriority.c: Likewise.
56601         * resource/setrlimit.c: Likewise.
56602         * resource/ulimit.c: Likewise.
56603         * rt/aio_cancel.c: Likewise.
56604         * rt/aio_fsync.c: Likewise.
56605         * rt/aio_read.c: Likewise.
56606         * rt/aio_sigqueue.c: Likewise.
56607         * rt/aio_suspend.c: Likewise.
56608         * rt/aio_write.c: Likewise.
56609         * rt/clock_getres.c: Likewise.
56610         * rt/clock_gettime.c: Likewise.
56611         * rt/clock_nanosleep.c: Likewise.
56612         * rt/clock_settime.c: Likewise.
56613         * rt/lio_listio.c: Likewise.
56614         * rt/mq_close.c: Likewise.
56615         * rt/mq_getattr.c: Likewise.
56616         * rt/mq_notify.c: Likewise.
56617         * rt/mq_open.c: Likewise.
56618         * rt/mq_receive.c: Likewise.
56619         * rt/mq_send.c: Likewise.
56620         * rt/mq_setattr.c: Likewise.
56621         * rt/mq_timedreceive.c: Likewise.
56622         * rt/mq_timedsend.c: Likewise.
56623         * rt/mq_unlink.c: Likewise.
56624         * rt/shm_open.c: Likewise.
56625         * rt/shm_unlink.c: Likewise.
56626         * rt/timer_create.c: Likewise.
56627         * rt/timer_delete.c: Likewise.
56628         * rt/timer_getoverr.c: Likewise.
56629         * rt/timer_gettime.c: Likewise.
56630         * rt/timer_settime.c: Likewise.
56631         * setjmp/__longjmp.c: Likewise.
56632         * setjmp/setjmp.c: Likewise.
56633         * signal/kill.c: Likewise.
56634         * signal/killpg.c: Likewise.
56635         * signal/raise.c: Likewise.
56636         * signal/sigaction.c: Likewise.
56637         * signal/sigaltstack.c: Likewise.
56638         * signal/sigblock.c: Likewise.
56639         * signal/sigignore.c: Likewise.
56640         * signal/sigintr.c: Likewise.
56641         * signal/signal.c: Likewise.
56642         * signal/sigpause.c: Likewise.
56643         * signal/sigpending.c: Likewise.
56644         * signal/sigqueue.c: Likewise.
56645         * signal/sigreturn.c: Likewise.
56646         * signal/sigset.c: Likewise.
56647         * signal/sigsetmask.c: Likewise.
56648         * signal/sigstack.c: Likewise.
56649         * signal/sigsuspend.c: Likewise.
56650         * signal/sigtimedwait.c: Likewise.
56651         * signal/sigvec.c: Likewise.
56652         * signal/sigwait.c: Likewise.
56653         * signal/sigwaitinfo.c: Likewise.
56654         * signal/sysv_signal.c: Likewise.
56655         * socket/accept.c: Likewise.
56656         * socket/accept4.c: Likewise.
56657         * socket/bind.c: Likewise.
56658         * socket/connect.c: Likewise.
56659         * socket/getpeername.c: Likewise.
56660         * socket/getsockname.c: Likewise.
56661         * socket/getsockopt.c: Likewise.
56662         * socket/isfdtype.c: Likewise.
56663         * socket/listen.c: Likewise.
56664         * socket/recv.c: Likewise.
56665         * socket/recvfrom.c: Likewise.
56666         * socket/recvmsg.c: Likewise.
56667         * socket/send.c: Likewise.
56668         * socket/sendmsg.c: Likewise.
56669         * socket/sendto.c: Likewise.
56670         * socket/setsockopt.c: Likewise.
56671         * socket/shutdown.c: Likewise.
56672         * socket/sockatmark.c: Likewise.
56673         * socket/socket.c: Likewise.
56674         * socket/socketpair.c: Likewise.
56675         * stdio-common/ctermid.c: Likewise.
56676         * stdio-common/cuserid.c: Likewise.
56677         * stdio-common/remove.c: Likewise.
56678         * stdio-common/rename.c: Likewise.
56679         * stdio-common/renameat.c: Likewise.
56680         * stdio-common/tempname.c: Likewise.
56681         * stdlib/getcontext.c: Likewise.
56682         * stdlib/makecontext.c: Likewise.
56683         * stdlib/setcontext.c: Likewise.
56684         * stdlib/swapcontext.c: Likewise.
56685         * stdlib/system.c: Likewise.
56686         * streams/fattach.c: Likewise.
56687         * streams/fdetach.c: Likewise.
56688         * streams/getmsg.c: Likewise.
56689         * streams/getpmsg.c: Likewise.
56690         * streams/putmsg.c: Likewise.
56691         * streams/putpmsg.c: Likewise.
56692         * sysdeps/unix/bsd/getpt.c: Likewise.
56693         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56694         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56695         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56697         Likewise.
56698         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56699         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56700         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56701         * sysvipc/msgctl.c: Likewise.
56702         * sysvipc/msgget.c: Likewise.
56703         * sysvipc/msgrcv.c: Likewise.
56704         * sysvipc/msgsnd.c: Likewise.
56705         * sysvipc/semctl.c: Likewise.
56706         * sysvipc/semget.c: Likewise.
56707         * sysvipc/semop.c: Likewise.
56708         * sysvipc/semtimedop.c: Likewise.
56709         * sysvipc/shmat.c: Likewise.
56710         * sysvipc/shmctl.c: Likewise.
56711         * sysvipc/shmdt.c: Likewise.
56712         * sysvipc/shmget.c: Likewise.
56713         * termios/tcdrain.c: Likewise.
56714         * termios/tcflow.c: Likewise.
56715         * termios/tcflush.c: Likewise.
56716         * termios/tcgetattr.c: Likewise.
56717         * termios/tcgetpgrp.c: Likewise.
56718         * termios/tcsendbrk.c: Likewise.
56719         * termios/tcsetattr.c: Likewise.
56720         * termios/tcsetpgrp.c: Likewise.
56721         * time/adjtime.c: Likewise.
56722         * time/clock.c: Likewise.
56723         * time/getitimer.c: Likewise.
56724         * time/gettimeofday.c: Likewise.
56725         * time/setitimer.c: Likewise.
56726         * time/settimeofday.c: Likewise.
56727         * time/stime.c: Likewise.
56728         * time/time.c: Likewise.
56730 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
56732         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56733         /usr/old/bin.
56735         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56736         instead of spaces.
56737         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56739 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
56741         [BZ #14796]
56742         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56743         FE_TONEAREST before applying Dekker multiplication and Knuth
56744         addition.  Clear inexact exceptions and check for exact zero
56745         results afterwards.
56746         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56747         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56748         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56749         * math/libm-test.inc (fma_test): Add more tests.
56750         (fma_test_towardzero): Likewise.
56751         (fma_test_downward): Likewise.
56752         (fma_test_upward): Likewise.
56753         * sysdeps/generic/math_private.h (default_libc_fesetround): New
56754         function.
56755         (libc_fesetround): New macro.
56756         (libc_fesetroundf): Likewise.
56757         (libc_fesetroundl): Likewise.
56758         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56759         function.
56760         (libc_fesetround_387): Likewise.
56761         (libc_fesetroundf): New macro.
56762         (libc_fesetround): Likewise.
56763         (libc_fesetroundl): Likewise.
56764         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56765         function.
56766         (libc_fesetroundf): New macro.
56767         (libc_fesetround): Likewise.
56768         (libc_fesetroundl): Likewise.
56769         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56770         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56771         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56772         libm_hidden_ver.
56773         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56774         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56775         libm_hidden_def.
56776         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56777         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56778         libm_hidden_ver.
56779         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56780         libm_hidden_def.
56782         [BZ #3439]
56783         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56784         integer constant usable in #if and use that to give value to enum
56785         constant.
56786         (FE_DIVBYZERO): Likewise.
56787         (FE_UNDERFLOW): Likewise.
56788         (FE_OVERFLOW): Likewise.
56789         (FE_INVALID): Likewise.
56790         (FE_INVALID_SNAN): Likewise.
56791         (FE_INVALID_ISI): Likewise.
56792         (FE_INVALID_IDI): Likewise.
56793         (FE_INVALID_ZDZ): Likewise.
56794         (FE_INVALID_IMZ): Likewise.
56795         (FE_INVALID_COMPARE): Likewise.
56796         (FE_INVALID_SOFTWARE): Likewise.
56797         (FE_INVALID_SQRT): Likewise.
56798         (FE_INVALID_INTEGER_CONVERSION): Likewise.
56799         (FE_TONEAREST): Likewise.
56800         (FE_TOWARDZERO): Likewise.
56801         (FE_UPWARD): Likewise.
56802         (FE_DOWNWARD): Likewise.
56803         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56804         (FE_DIVBYZERO): Likewise.
56805         (FE_OVERFLOW): Likewise.
56806         (FE_UNDERFLOW): Likewise.
56807         (FE_INEXACT): Likewise.
56808         (FE_TONEAREST): Likewise.
56809         (FE_DOWNWARD): Likewise.
56810         (FE_UPWARD): Likewise.
56811         (FE_TOWARDZERO): Likewise.
56812         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56813         (FE_UNDERFLOW): Likewise.
56814         (FE_OVERFLOW): Likewise.
56815         (FE_DIVBYZERO): Likewise.
56816         (FE_INVALID): Likewise.
56817         (FE_TONEAREST): Likewise.
56818         (FE_TOWARDZERO): Likewise.
56819         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56820         (FE_OVERFLOW): Likewise.
56821         (FE_UNDERFLOW): Likewise.
56822         (FE_DIVBYZERO): Likewise.
56823         (FE_INEXACT): Likewise.
56824         (FE_TONEAREST): Likewise.
56825         (FE_TOWARDZERO): Likewise.
56826         (FE_UPWARD): Likewise.
56827         (FE_DOWNWARD): Likewise.
56828         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56829         (FE_DIVBYZERO): Likewise.
56830         (FE_OVERFLOW): Likewise.
56831         (FE_UNDERFLOW): Likewise.
56832         (FE_INEXACT): Likewise.
56833         (FE_TONEAREST): Likewise.
56834         (FE_DOWNWARD): Likewise.
56835         (FE_UPWARD): Likewise.
56836         (FE_TOWARDZERO): Likewise.
56838 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
56840         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56842 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
56844         * scripts/cross-test-ssh.sh (command): Use newlines to separate
56845         commands.  Quote $PWD.
56846         (blacklist_exports): Don't use remove_newlines.  Replace "declare
56847         -x" by "export".
56848         (remove_newlines): Remove.
56850 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
56852         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56853         * stdlib/stdlib.h (atof): Moved to ...
56854         * include/bits/stdlib-float.h: Here.  New file.
56855         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56856         * stdlib/bits/stdlib-float.h: New file.
56857         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56858         -mno-sse -mno-mmx.
56859         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56860         <xmmintrin.h>.
56862 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56864         * conform/conformtest.pl (@headers): Add fenv.h.
56865         * conform/data/fenv.h-data: New file.
56866         * include/fenv.h [_ISOMAC]: Disable all contents of file except
56867         include of <math/fenv.h>.
56869         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56870         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56871         && !UNIX98].  Enables tests for XOPEN2K8.
56872         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56873         POSIX2008]: Likewise.
56875         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56876         (struct rusage): Do not expect type or its members.
56878         [BZ #3439]
56879         * math/math.h (FP_NAN): Define macro to integer constant usable in
56880         #if and use that to give value to enum constant.
56881         (FP_INFINITE): Likewise.
56882         (FP_ZERO): Likewise.
56883         (FP_SUBNORMAL): Likewise.
56884         (FP_NORMAL): Likewise.
56886 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
56888         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56889         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56890         arguments.
56892 2012-11-02  Roland McGrath  <roland@hack.frob.com>
56894         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56895         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56896         autoconf-time if not.
56897         * configure.in: Remove AC_PREREQ.
56899 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56901         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56902         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56903         of the internal implementation.
56905 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56907         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56908         except include of <misc/sys/syslog.h>.
56910 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56913         function returns with a NULL context exit with zero.
56915 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56917         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56919 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
56921         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56922         (run_program_cmd): This.
56923         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56924         (tst_langinfo): New variable.  Use it.
56926 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
56928         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56929         floating point opcodes.
56931 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56933         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56934         variable.
56936         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56938         * sysdeps/mach/hurd/powerpc: Remove directory.
56939         * sysdeps/mach/powerpc: Likewise.
56941 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56943         * scripts/check-local-headers.sh: Ignore c++ headers.
56945 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56947         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56948         __libc_cleanup_region_start argument.
56950 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
56952         [BZ #14784]
56953         [BZ #14785]
56954         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56955         x * y using scaling, not as x * y + z.
56956         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56957         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56958         * math/libm-test.inc (fma_test): Add more tests.
56959         (fma_test_towardzero): Likewise.
56960         (fma_test_downward): Likewise.
56961         (fma_test_upward): Likewise.
56963 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56965         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56967 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56969         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56970         New variable.
56972 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
56974         * rt/tst-shm.c (worker): Correct checking for mmap failure.
56976 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56979         Fix sort order.
56980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56981         Likewise.
56983 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56986         Fix the order of the list for glibc 2.17.
56987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56988         Likewise.
56990 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56994 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56996         [BZ #14610]
56997         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56998         for low part of x being zero before using __atanl (y).
56999         * math/libm-test.inc (atan2_test): Add another test.
57001         * manual/install.texi (Configuring and compiling): Document
57002         general use of test-wrapper and test-wrapper-env.
57003         * INSTALL: Regenerated.
57005         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
57006         (__fma): Do not extract and scale down low bits on after-rounding
57007         systems when result rounded to normal precision would have normal
57008         exponent.
57009         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
57010         (__fmal): Do not extract and scale down low bits on after-rounding
57011         systems when result rounded to normal precision would have normal
57012         exponent.
57013         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
57014         (__fmal): Do not extract and scale down low bits on after-rounding
57015         systems when result rounded to normal precision would have normal
57016         exponent.
57017         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
57018         macro.
57019         (fma_test): Add more tests.
57020         (fma_test_towardzero): Likewise.
57021         (fma_test_downward): Likewise.
57022         (fma_test_upward): Likewise.
57024 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
57026         * sysdeps/i386/tininess.h: Renamed to ...
57027         * sysdeps/x86/tininess.h: This.
57028         * sysdeps/x86_64/tininess.h: Removed.
57030 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57032         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
57033         input.  Use $(build-program-cmd).
57034         ($(objpfx)tst-array1-static.out): Likewise.
57035         ($(objpfx)tst-array2.out): Likewise.
57036         ($(objpfx)tst-array3.out): Likewise.
57037         ($(objpfx)tst-array4.out): Likewise.
57038         ($(objpfx)tst-array5.out): Likewise.
57039         ($(objpfx)tst-array5-static.out): Likewise.
57041 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
57043         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
57044         if defined.
57046         * nss/nsswitch.h (nss_interface_function): Provide new
57047         macro for use with NSS functions.
57048         * grp/initgroups.c: Use new macro.
57049         * nss/getXXbyYY.c: Likewise.
57050         * nss/getXXbyYY_r.c: Likewise.
57051         * nss/getXXent.c: Likewise.
57052         * nss/getXXent_r.c: Likewise.
57053         * sysdeps/posix/getaddrinfo.c: Likewise.
57055 2012-10-30  Andreas Jaeger  <aj@suse.de>
57057         * po/ru.po: Update Russion translation from translation project.
57059 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57061         [BZ #14152]
57062         [BZ #14783]
57063         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
57064         result and shift together with sticky bit instead of replicating
57065         round-to-nearest rounding.
57066         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57067         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57068         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
57069         missing underflow exceptions.
57070         (fma_test_towardzero): Add more tests.
57071         (fma_test_downward): Likewise.
57072         (fma_test_upward): Likewise.
57074         [BZ #14047]
57075         * sysdeps/generic/tininess.h: New file.
57076         * sysdeps/i386/tininess.h: Likewise.
57077         * sysdeps/sh/tininess.h: Likewise.
57078         * sysdeps/x86_64/tininess.h: Likewise.
57079         * stdlib/tst-strtod-underflow.c: Likewise.
57080         * stdlib/tst-tininess.c: Likewise.
57081         * stdlib/strtod_l.c: Include <tininess.h>.
57082         (round_and_return): Do not set errno for exact underflow cases.
57083         Force an underflow exception when setting errno for underflow.
57084         Determine underflow based on rounding to normal precision if
57085         TININESS_AFTER_ROUNDING.
57086         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
57087         ERANGE for exact underflow cases.
57088         * stdlib/Makefile (tests): Add tst-tininess and
57089         tst-strtod-underflow.
57090         ($(objpfx)tst-tininess): Use $(link-libm).
57091         ($(objpfx)tst-strtod-underflow): Likewise.
57093 2012-10-30  Andreas Jaeger  <aj@suse.de>
57095         [BZ#14767]
57096         * elf/Makefile (tests): Remove conditional for have-initfini-array
57097         since this is now always required and the variable does not exist
57098         anymore.
57099         (tests-static): Likewise.
57100         (modules-names): Likewise.
57102         * po/eo.po: Add Esperanto translation from translation project.
57104         * elf/tst-array1.c (fini_array): Make writeable so that it can be
57105         merged with constructor/destructor.
57106         (init_array): Likewise.
57107         * elf/tst-array2dep.c (fini_array): Likewise.
57108         (init_array): Likewise.
57110 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
57112         * manual/message.texi: Delete @cartouche tags.
57114 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
57116         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
57117         EOPNOTSUPP.
57118         * sysdeps/mach/hurd/fsync.c: Likewise.
57120         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
57121         [_POSIX_REALTIME_SIGNALS]: Change condition to
57122         [_POSIX_REALTIME_SIGNALS > 0].
57124 2012-10-27  Andreas Jaeger  <aj@suse.de>
57126         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
57127         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
57128         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
57129         [__WORDSIZE != 64]: Likewise.
57131 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
57133         *  iconvdata/tst-table.sh: Remove ${SHELL}.
57134         *  iconvdata/tst-tables.sh: Likewise.
57136 2012-10-25  David S. Miller  <davem@davemloft.net>
57138         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57139         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
57140         of strtoull.
57142         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
57143         ifunc-impl-list.c
57144         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57145         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
57146         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
57147         file.
57149 2012-10-25  Roland McGrath  <roland@hack.frob.com>
57151         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57152         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
57153         __getdirentries.
57155 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57156             Jim Blandy  <jimb@codesourcery.com>
57158         * scripts/cross-test-ssh.sh: New file.
57159         * manual/install.texi (Configuring and compiling): Document use of
57160         cross-test-ssh.sh.
57161         * INSTALL: Regenerated.
57163 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
57165         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
57166         EOPNOTSUPP.
57168 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57170         * Makeconfig (run-program-prefix): Fix comment.
57172 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57173             Jim Blandy  <jimb@codesourcery.com>
57175         * Makeconfig (test-wrapper): New variable,
57176         (test-wrapper-env): Likewise.
57177         [$(cross-compiling) = yes && $(test-wrapper) != ""]
57178         (run-built-tests): Define to yes.
57179         (run-program-prefix): Use $(test-wrapper).
57180         (built-program-cmd): Likewise.
57181         * Rules (make-test-out): Use $(test-wrapper-env) and
57182         $(host-built-program-cmd).
57183         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
57184         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
57185         tst-pathopt.sh.
57186         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
57187         $(test-wrapper-env) to tst-rtld-load-self.sh.
57188         ($(objpfx)order2.out): Use $(test-wrapper).
57189         ($(objpfx)tst-initorder.out): Likewise.
57190         ($(objpfx)tst-initorder2.out): Likewise.
57191         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
57192         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
57193         (test_wrapper_env): New variable.  Use it to run ld.so.
57194         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
57195         Use it to run ld.so.
57196         (test_wrapper_env): Likewise.
57197         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
57198         $(test-wrapper) to run-iconv-test.sh.
57199         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
57200         (ICONV): Use $test_wrapper.
57201         * posix/Makefile ($(objpfx)globtest.out): Pass
57202         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
57203         globtest.sh, not $(run-program-prefix).
57204         * posix/globtest.sh (run_via_rtld_prefix): New variable.
57205         (test_wrapper): Likewise.
57206         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
57207         set together with run_via_rtld_prefix.
57208         (run_program_prefix): Define in terms of test_wrapper and
57209         run_via_rtld_prefix.
57211 2012-10-24  Roland McGrath  <roland@hack.frob.com>
57213         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
57214         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
57215         Targets removed.
57217         [BZ #14743]
57218         * include/time.h: Remove librt_hidden_proto (clock_gettime).
57219         Declare __clock_getres, __clock_gettime, __clock_settime,
57220         __clock_nanosleep, and __clock_getcpuclockid.
57221         * rt/clock_gettime.c: Define __clock_gettime as an alias.
57222         Remove librt_hidden_def (clock_gettime).
57223         * sysdeps/unix/clock_gettime.c: Likewise.
57224         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
57225         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
57226         * rt/clock_getres.c: Define __clock_getres as an alias.
57227         * sysdeps/posix/clock_getres.c: Likewise.
57228         * rt/clock_settime.c: Define __clock_settime as an alias.
57229         * sysdeps/unix/clock_settime.c: Likewise.
57230         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
57231         * sysdeps/unix/clock_nanosleep.c: Likewise.
57232         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
57233         * rt/clock-compat.c: New file.
57234         * rt/Makefile (librt-routines): Add clock-compat and move
57235         $(clock-routines) to ...
57236         (routines): ... here, new variable.
57237         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
57238         Don't add get_clockfreq here.
57239         * rt/Versions (libc: GLIBC_2.17): New version set.
57240         Add clock_* symbols here.
57241         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
57242         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
57243         (GLIBC_2.17): Add clock_* symbols.
57244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57246         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57248         Likewise.
57249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57250         Likewise.
57251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57255         * NEWS: Mention the move.
57257         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57258         Use __open, __read, __close rather than their public counterparts.
57259         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57260         (__get_clockfreq_via_cpuinfo): Likewise.
57261         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
57262         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
57264         * config.h.in (HAVE_IFUNC): New #undef.
57265         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
57266         was successful.
57267         * configure: Regenerated.
57269 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57271         * configure.in: Move READELF check to start of file.
57272         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
57273         libc_cv_asm_gnu_indirect_function in the process.
57274         * configure: Regenerated.
57276 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57278         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
57279         send the output to /dev/null.
57280         (libc_cv_cc_with_libunwind): Likewise.
57281         (libc_cv_as_noexecstack): Likewise.
57282         * configure: Regenerate.
57284 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57286         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
57288         * posix/globtest.sh (TMPDIR): Do not set.
57289         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
57290         (testout): Likewise.
57292 2012-10-24  Andreas Jaeger  <aj@suse.de>
57294         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
57295         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
57296         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
57297         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
57298         posix_fadvise64, posix_fallocate64.
57300         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
57301         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
57302         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
57303         Likewise.
57304         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
57305         Likewise.
57306         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
57308         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
57309         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
57310         <bits/fcntl-linux.h>.
57311         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
57313         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
57314         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
57315         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
57316         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
57317         [__WORDSIZE != 64]: Likewise.
57319 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57321         * Makeconfig (run-built-tests): New variable.
57322         * Rules [$(cross-compiling) = yes]: Change condition to
57323         [$(run-built-tests) = no].
57324         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
57325         to [$(run-built-tests) = yes].
57326         * elf/Makefile [$(cross-compiling) = no]: Likewise.
57327         * grp/Makefile [$(cross-compiling) = no]: Likewise.
57328         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
57329         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
57330         * intl/Makefile [$(cross-compiling) = no]: Likewise.
57331         * io/Makefile [$(cross-compiling) = no]: Likewise.
57332         * libio/Makefile [$(cross-compiling) = no]: Likewise.
57333         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
57334         * misc/Makefile [$(cross-compiling) = no]: Likewise.
57335         * posix/Makefile [$(cross-compiling) = no]: Likewise.
57336         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
57337         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
57338         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
57339         * string/Makefile [$(cross-compiling) = no]: Likewise.
57341         * posix/Makefile ($(objpfx)globtest.out): Pass
57342         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
57343         $(rtld-installed-name).
57344         * posix/globtest.sh (elf_objpfx): Remove variable.
57345         (rtld_installed_name): Likewise.
57346         (library_path): Likewise.
57347         (run_program_prefix): New variable.  Use for running globtest
57348         binary.
57350 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
57351             Joseph Myers  <joseph@codesourcery.com>
57353         * Makeconfig (host-built-program-cmd): New variable.
57354         * elf/Makefile (tst-stackguard1-ARGS): Use
57355         $(host-built-program-cmd).
57356         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
57357         (tst-spawn-ARGS): Likewise.
57358         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
57360 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57361             Jim Blandy  <jimb@codesourcery.com>
57363         * Makeconfig (run-via-rtld-prefix): New variable.
57364         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
57365         (built-program-cmd): Likewise.
57367 2012-10-22  Andreas Jaeger  <aj@suse.de>
57369         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
57370         __O_RSYNC if it exists, otherwise to O_SYNC.
57372 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
57373             Joseph Myers  <joseph@codesourcery.com>
57375         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
57376         /dev/null.
57377         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
57378         from /dev/null
57379         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
57380         /dev/null.
57382 2012-10-22  Andreas Jaeger  <aj@suse.de>
57384         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
57385         Define always.
57386         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
57388         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57389         bits/fcntl-linux.h.
57391         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
57392         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
57394         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
57395         to __O_LARGEFILE.
57396         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
57397         to __O_LARGEFILE.
57399 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
57400             Joseph Myers  <joseph@codesourcery.com>
57402         * config.make.in (NM): New variable.
57404 2012-10-21  Andreas Jaeger  <aj@suse.de>
57406         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
57407         definitions and declarations that are provided by
57408         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57410 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57412         [BZ #14683]
57413         * elf/Makefile (tests-static): Add tst-leaks1-static.
57414         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
57415         ($(objpfx)tst-leaks1-static): New rule.
57416         ($(objpfx)tst-leaks1-static-mem): Likewise.
57417         (tst-leaks1-static-ENV): New macro.
57418         * elf/dl-open.c (dl_open_worker): Check the main application
57419         only if SHARED is defined.
57420         * elf/tst-leaks1-static.c: New file.
57422 2012-10-20  Andreas Jaeger  <aj@suse.de>
57424         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
57425         generic values for Linux.
57426         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
57427         and declarations that are provided by <bits/fcntl-linux.h> and
57428         include <bits/fcntl-linux.h>.
57429         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57430         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57432 2012-10-20  Roland McGrath  <roland@hack.frob.com>
57434         * io/fcntl.h: Move include of <bits/types.h> to the top and
57435         include it unconditionally.
57437 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57439         * wcsmbs/Makefile (tests-ifunc): New variable.
57440         (tests): Add $(tests-ifunc).
57441         * wcsmbs/test-wcschr-ifunc.c: New file.
57442         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
57443         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
57444         * wcsmbs/test-wcslen-ifunc.c: Likewise.
57445         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
57446         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
57448         * string/Makefile (tests-ifunc): New variable.
57449         (tests): Add $(tests-ifunc).
57450         * string/test-memccpy.c (TEST_NAME): New macro.
57451         * string/test-memchr.c (TEST_NAME): Likewise.
57452         * string/test-memcmp.c (TEST_NAME): Likewise.
57453         * string/test-memcpy.c (TEST_NAME): Likewise.
57454         * string/test-memmem.c (TEST_NAME): Likewise.
57455         * string/test-memmove.c (TEST_NAME): Likewise.
57456         * string/test-memset.c (TEST_NAME): Likewise.
57457         * string/test-rawmemchr.c (TEST_NAME): Likewise.
57458         * string/test-stpcpy.c (TEST_NAME): Likewise.
57459         * string/test-stpncpy.c (TEST_NAME): Likewise.
57460         * string/test-strcasecmp.c (TEST_NAME): Likewise.
57461         * string/test-strcasestr.c (TEST_NAME): Likewise.
57462         * string/test-strcat.c (TEST_NAME): Likewise.
57463         * string/test-strchr.c (TEST_NAME): Likewise.
57464         * string/test-strcmp.c(TEST_NAME): Likewise.
57465         * string/test-strcpy.c (TEST_NAME): Likewise.
57466         * string/test-strcspn.c (TEST_NAME): Likewise.
57467         * string/test-strlen.c (TEST_NAME): Likewise.
57468         * string/test-strncasecmp.c (TEST_NAME): Likewise.
57469         * string/test-strncmp.c (TEST_NAME): Likewise.
57470         * string/test-strncpy.c (TEST_NAME): Likewise.
57471         * string/test-strnlen.c (TEST_NAME): Likewise.
57472         * string/test-strpbrk.c (TEST_NAME): Likewise.
57473         * string/test-strrchr.c (TEST_NAME): Likewise.
57474         * string/test-strspn.c (TEST_NAME): Likewise.
57475         * string/test-strstr.c (TEST_NAME): Likewise.
57476         * string/test-bcopy-ifunc.c: New file.
57477         * string/test-bzero-ifunc.c: Likewise.
57478         * string/test-memccpy-ifunc.c: Likewise.
57479         * string/test-memchr-ifunc.c: Likewise.
57480         * string/test-memcmp-ifunc.c: Likewise.
57481         * string/test-memcpy-ifunc.c: Likewise.
57482         * string/test-memmem-ifunc.c: Likewise.
57483         * string/test-memmove-ifunc.c: Likewise.
57484         * string/test-mempcpy-ifunc.c: Likewise.
57485         * string/test-memset-ifunc.c: Likewise.
57486         * string/test-rawmemchr-ifunc.c: Likewise.
57487         * string/test-stpcpy-ifunc.c: Likewise.
57488         * string/test-stpncpy-ifunc.c: Likewise.
57489         * string/test-strcasecmp-ifunc.c: Likewise.
57490         * string/test-strcasestr-ifunc.c: Likewise.
57491         * string/test-strcat-ifunc.c: Likewise.
57492         * string/test-strchr-ifunc.c: Likewise.
57493         * string/test-strchrnul-ifunc.c: Likewise.
57494         * string/test-strcmp-ifunc.c: Likewise.
57495         * string/test-strcpy-ifunc.c: Likewise.
57496         * string/test-strcspn-ifunc.c: Likewise.
57497         * string/test-strlen-ifunc.c: Likewise.
57498         * string/test-strncasecmp-ifunc.c: Likewise.
57499         * string/test-strncat-ifunc.c: Likewise.
57500         * string/test-strncmp-ifunc.c: Likewise.
57501         * string/test-strncpy-ifunc.c: Likewise.
57502         * string/test-strnlen-ifunc.c: Likewise.
57503         * string/test-strpbrk-ifunc.c: Likewise.
57504         * string/test-strrchr-ifunc.c: Likewise.
57505         * string/test-strspn-ifunc.c: Likewise.
57506         * string/test-strstr-ifunc.c: Likewise.
57508         * debug/Makefile (tests-ifunc): New variable.
57509         (tests): Add $(tests-ifunc).
57510         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
57511         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
57512         * debug/test-stpcpy_chk-ifunc.c: New file.
57513         * debug/test-strcpy_chk-ifunc.c: Likewise.
57515 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57517         [BZ #13601]
57518         * elf/dl-load.c (open_verify): Retry read if the entire ELF
57519         header is not read in.
57521 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
57523         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
57524         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
57525         directly.  Pass built executable to script as
57526         $(built-program-cmd).
57527         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
57528         $testprogram without using LD_LIBRARY_PATH and $ldso.
57530         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
57531         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
57532         $(rtld-installed-name).
57533         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
57534         (rtld_installed_name): Likewise.
57535         (library_path): Likewise.
57536         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
57537         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
57538         $(run-program-prefix) to tst-tables.sh.
57539         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
57540         it to run tst-table-from and tst-table-to.
57541         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
57542         Pass it to tst-table.sh.
57543         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
57544         $(run-program-prefix) to tst-gettext.sh.
57545         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
57546         tst-translit.sh.
57547         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
57548         tst-gettext2.sh.
57549         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
57550         to run tst-gettext.
57551         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
57552         to run tst-gettext2.
57553         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
57554         to run tst-translit.
57555         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
57556         $(run-program-prefix) to tst-mtrace.sh.
57557         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
57558         to run tst-mtrace.
57559         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
57560         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
57561         $(rtld-installed-name).
57562         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
57563         (rtld_installed_name): Likewise.
57564         (run_program_prefix): New variable.  Use it to run wordexp-test.
57566         * Makeconfig (ARCH): Remove all definitions.
57567         (machine): Likewise.
57568         [ARCH]: Remove conditional code.
57569         [!objdir]: Give error.
57570         [!objdir] (objpfx): Remove.
57571         [!objdir] (common-objpfx): Likewise.
57572         [!objdir] (common-objdir): Likewise.
57573         * configure.in (config_makefile): Remove.  Hardcode Makefile in
57574         AC_CONFIG_FILES call.
57575         * configure: Regenerated.
57577         [BZ #13888]
57578         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
57579         or TMPDIR.
57580         (testout): Likewise.
57582         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
57583         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
57584         $(rtld-installed-name).
57585         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57586         (rtld_installed_name): Likwise.
57587         (runit): Remove function.
57588         (run_getconf): New variable,  Use it for running getconf binary.
57590 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
57592         [BZ #14716]
57593         * string/test-memmem.c (check_result): New function.
57594         (do_one_test): Use it.
57595         (check1): New function.
57596         (test_main): Use it.
57598 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
57600         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57602 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
57604         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57605         (_G_LSEEK64): Likewise.
57606         (_G_MMAP64): Likewise.
57607         (_G_FSTAT64): Likewise.
57608         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57609         (_G_LSEEK64): Likewise.
57610         (_G_MMAP64): Likewise.
57611         (_G_FSTAT64): Likewise.
57612         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57613         unconditional.  Call __mmap64 directly.
57614         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57615         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
57616         __lseek64 directly.
57617         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57618         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
57619         __mmap64 directly.
57620         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57621         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57622         __lseek64 directly.
57623         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57624         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57625         __lseek64 directly.
57626         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57627         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
57628         __lseek64 directly.
57629         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57630         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
57631         __fxstat64 directly.
57632         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57633         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57634         unconditional.
57635         (freopen64) [!_G_OPEN64]: Remove conditional code.
57636         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57637         unconditional.
57638         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57639         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57640         unconditional.
57641         (ftello64) [!_G_LSEEK64]: Remove conditional code.
57642         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57643         unconditional.
57644         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57645         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57646         unconditional.
57647         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57648         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57649         unconditional.
57650         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57651         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57652         unconditional.
57653         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57654         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57655         unconditional.
57656         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57658 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57660         [BZ #12140]
57661         * manual/memory.texi (Malloc Tunable Parameters): Add note
57662         about free list pointers overwriting some perturb bytes.
57663         Wording suggested by Roland McGrath.
57665 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
57667         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57668         (lgamma_test): Likewise.
57669         (tgamma_test): Likewise.
57671 2012-10-16  Florian Weimer  <fweimer@redhat.com>
57673         [BZ #14700]
57674         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57675         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57677 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
57679         * NEWS: Mention BZ #14716.
57680         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57681         when removing AVAILABLE1_USES_J macro.
57683 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
57685         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57686         (__bswap_64): __uint64_t for unsigned 64-bit int.
57688 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
57690         * include/string.h (memmem): Declare libc hidden alias.
57691         * string/memmem.c (memmem): Define libc hidden alias.
57692         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57693         __read, __close instead of open, read, close.
57695 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
57697         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57698         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57699         global and hidden.
57700         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57701         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57702         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57703         Likewise.
57704         (__rawmemchr_sse2): Likewise.
57705         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57706         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57707         (__strchr_sse2): Likewise.
57708         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57709         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57710         (__strcasecmp_sse2): Likewise.
57711         (__strncasecmp_sse2): Likewise.
57712         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57713         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57714         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57715         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57716         (__strrchr_sse2): Likewise.
57717         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57718         ifunc-impl-list.c.
57719         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57720         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57721         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57722         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57723         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57724         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57725         * sysdeps/x86_64/multiarch/memset.S: Likewise.
57726         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57727         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57728         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57729         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57730         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57731         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57732         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57733         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57734         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57735         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57736         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57737         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57738         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57739         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57740         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57741         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57742         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57743         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57744         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57745         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57746         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57747         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57748         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57750         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57751         global and hidden.
57752         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57753         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57754         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57755         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57756         Likewise.
57757         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57758         Likewise.
57759         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57760         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57761         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57762         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57763         ifunc-impl-list.c.
57764         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57765         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57766         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57767         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57768         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57769         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57770         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57771         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57772         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57773         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57774         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57775         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57776         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57777         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57778         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57779         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57780         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57781         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57782         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57783         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57784         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57785         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57786         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57787         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57788         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57789         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57790         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57791         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57792         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57793         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57794         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57795         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57796         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57797         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57798         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57799         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57800         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57801         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57802         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57803         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57804         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57806         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57807         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57808         * include/ifunc-impl-list.h: New file.
57809         * misc/ifunc-impl-list.c: Likewise.
57810         * misc/Makefile (routines): Add ifunc-impl-list.
57811         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57812         * string/test-string.h: Include <ifunc-impl-list.h>.
57813         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57814         TEST_NAME]: New variables.
57815         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57816         are defined.
57817         (test_init): Call __libc_ifunc_impl_list to initialize
57818         func_list if TEST_IFUNC and TEST_NAME are defined.
57820         * string/Makefile (strop-tests): Add bcopy and bzero.
57821         * string/test-bcopy.c: New file.
57822         * string/test-bzero.c: Likewise.
57823         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57824         defined.
57825         * string/test-memset.c: Support bzero test if TEST_BZERO is
57826         defined.
57827         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57828         __libc_memmove.
57829         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57830         __libc_memset.
57831         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57832         of memset.
57834 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
57836         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57837         * configure: Regenerated.
57839         * Makeconfig (+link-static-before-libc): Don't include
57840         $(link-static-libc).
57842         * libio/libio.h (_IO_pos_t): Remove.
57844 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57846         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
57847         McGrath.
57849 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57851         * crypt/crypt-entry.c: Include fips-private.h.
57852         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57853         * crypt/md5c-test.c (main): Tolerate disabled MD5.
57854         * sysdeps/unix/sysv/linux/fips-private.h: New file.
57855         * sysdeps/generic/fips-private.h: New file, dummy fallback.
57857 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57859         * crypt/crypt-private.h: Include stdbool.h.
57860         (_ufc_setup_salt_r): Return bool.
57861         * crypt/crypt-entry.c: Include errno.h.
57862         (__crypt_r): Return NULL with EINVAL for bad salt.
57863         * crypt/crypt_util.c (bad_for_salt): New.
57864         (_ufc_setup_salt_r): Check that salt is long enough and within
57865         the specified alphabet.
57866         * crypt/badsalttest.c: New file.
57867         * crypt/Makefile (tests): Add it.
57868         ($(objpfx)badsalttest): New.
57870 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
57872         * NEWS: Add entry for BZ #14602.
57874 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57876         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57877         type-generic.
57878         * math/libm-test.inc: Update comment listing what functions and
57879         macros are tested.
57880         (isgreater_test): New function.
57881         (isgreaterequal_test): Likewise.
57882         (isless_test): Likewise.
57883         (islessequal_test): Likewise.
57884         (islessgreater_test): Likewise.
57885         (isunordered_test): Likewise.
57886         (main): Call the new functions.
57888 2012-10-09  Roland McGrath  <roland@hack.frob.com>
57890         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57891         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57892         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57893         * sysdeps/i386/configure: Regenerated.
57894         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57895         * sysdeps/mach/configure: Regenerated.
57896         * sysdeps/mach/hurd/configure: Regenerated.
57897         * sysdeps/powerpc/configure: Regenerated.
57898         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57899         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57900         * sysdeps/s390/s390-32/configure: Regenerated.
57901         * sysdeps/s390/s390-64/configure: Regenerated.
57902         * sysdeps/sh/configure: Regenerated.
57903         * sysdeps/sparc/configure: Regenerated.
57904         * sysdeps/unix/sysv/linux/configure: Regenerated.
57905         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57906         * sysdeps/x86_64/configure: Regenerated.
57908         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57909         defined.  Don't check if MAP is NULL.
57911 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57913         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57914         (_G_stat64): Likewise.
57915         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57916         (_G_stat64): Likewise.
57917         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57918         instead of struct _G_stat64.
57919         * libio/fileops.c (mmap_remap_check): Likewise.
57920         (decide_maybe_mmap): Likewise.
57921         (_IO_new_file_seekoff): Likewise.
57922         (_IO_file_stat): Likewise.
57923         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57924         _G_off64_t.
57925         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57926         instead of struct _G_stat64.
57927         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57929 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
57931         [BZ #14602]
57932         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57933         Replace with ...
57934         (CHECK_EOL): New macro.
57935         (two_way_short_needle): Check beginning of haystack for EOL.  Use
57936         CHECK_EOL.
57937         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57938         Replace with CHECK_EOL.
57939         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57940         Replace with CHECK_EOL.
57942 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
57944         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57945         type-generic.
57946         * math/libm-test.inc: Update comment listing what functions and
57947         macros are tested.
57948         (finite_test): New function.
57949         (isinf_test): Likewise.
57950         (isnan_test): Likewise.
57951         (fpclassify_test): Test subnormal input.
57952         (isfinite_test): Likewise.
57953         (isnormal_test): Likewise.
57954         (main): Call the new functions.
57956 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
57958         [BZ #14660]
57959         * Makerules (%.dynsym): Force C locale when running
57960         $(OBJDUMP) --dynamic-syms.
57962 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
57964         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57965         <stdint.h>.
57967 2012-10-06  David S. Miller  <davem@davemloft.net>
57969         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57970         upper 32-bits of the length value in %o2 since we use branch-on-register
57971         tests which consider the entire 64-bit register.
57973 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
57975         * string/test-strstr.c (check2): Add a test for page boundary.
57977 2012-10-05  David S. Miller  <davem@davemloft.net>
57979         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57980         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57981         file.
57982         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57983         sysdep_routines.
57984         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57985         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57986         and bzero when HWCAP_SPARC_CRYPTO is present.
57988 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
57990         [BZ #14602]
57991         * string/test-strstr.c (check2): New function.
57992         (test_main): Call check2.
57994         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57995         and bug-strchr1.
57996         * string/bug-strcasestr1.c (do_test): Moved to ...
57997         * string/test-strcasestr.c (check1): Here.  New function.
57998         (do_one_test): Break out result checking code into ...
57999         (check_result): This.  New function.
58000         (do_one_test): Call check_result.
58001         (test_main): Call check1.
58002         * string/bug-strchr1.c (do_test): Moved to ...
58003         * string/test-strchr.c (check1): Here.  New function.
58004         (do_one_test): Break out result checking code into ...
58005         (check_result): This.  New function.
58006         (do_one_test): Call check_result.
58007         (test_main): Call check1.
58008         * string/bug-strstr1.c (main): Moved to ...
58009         * string/test-strstr.c (check1): Here.  New function.
58010         (do_one_test): Break out result checking code into ...
58011         (check_result): This.  New function.
58012         (do_one_test): Call check_result.
58013         (test_main): Call check1.
58014         * string/bug-strcasestr1.c: Removed.
58015         * string/bug-strchr1.c: Likewise.
58016         * string/bug-strstr1.c: Likewise.
58018         * elf/Makefile (dl-routines): Add hwcaps.
58019         * elf/dl-support.c (_dl_important_hwcaps): Removed.
58020         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
58021         (_dl_important_hwcaps): Moved to ...
58022         * elf/dl-hwcaps.c: Here.  New file.
58023         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
58025         [BZ #14557]
58026         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
58027         if IS_IN_rtld isn't defined.
58029         * elf/dl-support.c (_dl_sysinfo_map): New.
58030         Include "get-dynamic-info.h" and "setup-vdso.h".
58031         (_dl_non_dynamic_init): Call setup_vdso.
58032         * elf/dynamic-link.h: Don't include <assert.h>.
58033         (elf_get_dynamic_info): Moved to ...
58034         * elf/get-dynamic-info.h: Here.  New file.
58035         * elf/dynamic-link.h: Include "get-dynamic-info.h".
58036         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
58037         * elf/setup-vdso.h: Here.  New file.
58038         * elf/rtld.c: Include "setup-vdso.h".
58039         (dl_main): Call setup_vdso.
58041 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
58043         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
58044         creal in comment listing functions tested.  List finite, isinf,
58045         isnan, isless, islessequal, isgreater, isgreaterequal,
58046         islessgreater, isunordered, lgamma_r and pow10 as functions and
58047         macros not tested.  Mention which functions not tested are aliases
58048         for other functions.  Fix typo.  Note that signs of NaNs are not
58049         tested.
58051         * scripts/config.guess: Update from config.git.
58052         * scripts/config.sub: Likewise.
58054 2012-10-04  Roland McGrath  <roland@hack.frob.com>
58056         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
58057         * misc/madvise.c (madvise): Renamed to __madvise.
58058         Make madvise a weak alias.
58059         * include/sys/mman.h: Declare __madvise.
58060         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
58061         * sysdeps/unix/syscalls.list
58062         (madvise): Make __madvise the strong name, and madvise a weak alias.
58063         * sysdeps/unix/sysv/linux/syscalls.list
58064         (madvise, mmap): Remove redundant entries.
58065         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
58066         * malloc/malloc.c (mtrim): Likewise.
58067         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
58069 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58071         * sysdeps/mach/hurd/dl-cache.c: File removed.
58072         * config.h.in (USE_LDCONFIG): New #undef.
58073         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
58074         * configure: Regenerated.
58075         * elf/Makefile (dl-routines): Add dl-cache only under
58076         [$(use-ldconfig) = yes].
58077         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
58078         cache on [USE_LDCONFIG].
58079         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
58080         [USE_LDCONFIG].
58081         * elf/rtld.c (dl_main): Likewise.
58083 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
58085         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
58086         _SC_LEVEL4_CACHE_LINESIZE.
58088 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58090         * sysdeps/unix/bsd/confstr.h: File removed.
58092 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
58094         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
58095         sys/sdt-config.h.
58097 2012-10-02  Roland McGrath  <roland@hack.frob.com>
58099         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
58100         Make 'mapoff' field ElfW(Off) rather than off_t.
58102 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
58104         * nscd/Makefile: Remove nscd-cflags and all its users.
58105         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
58106         (CFLAGS-nonlib): Add compiler flags for nscd modules.
58108         [BZ #10631]
58109         * malloc.c (malloc_printerr): Clarify error message.
58111 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
58113         [BZ #14648]
58114         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58115         Set bit_FMA_Usable if FMA is supported.
58116         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
58117         macro.
58118         (bit_FMA4_Usable): Updated.
58119         (index_FMA_Usable): New macro.
58120         (CPUID_FMA): Likewise.
58121         (HAS_FMA): Defined with bit_FMA_Usable.
58123 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58125         * bits/types.h (__swblk_t): Type removed.
58126         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
58127         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
58128         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58129         (__SWBLK_T_TYPE): Likewise.
58130         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58131         (__SWBLK_T_TYPE): Likewise.
58132         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58133         (__SWBLK_T_TYPE): Likewise.
58134         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58135         (__SWBLK_T_TYPE): Likewise.
58137 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
58138             Honza Horak <hhorak@redhat.com>
58140         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
58141         (xdr_mapname): Use YPMAXMAP as maxsize.
58142         (xdr_peername): Use YPMAXPEER as maxsize.
58143         (xdr_keydat): Use YPAXRECORD as maxsize.
58144         (xdr_valdat): Use YPMAXRECORD as maxsize.
58146 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58148         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
58150         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
58151         * csu/init-first.c: ... here.
58152         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
58153         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
58154         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
58155         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
58156         * sysdeps/i386/init-first.c: File removed.
58157         * sysdeps/sh/init-first.c: File removed.
58159 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
58161         [BZ #14645]
58162         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
58163         if x * y might underflow to zero and z is zero.
58164         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58165         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58166         * math/libm-test.inc (min_subnorm_value): New variable.
58167         (fma_test): Add more tests.
58168         (fma_test_towardzero): Likewise.
58169         (fma_test_downward): Likewise.
58170         (fma_test_upward): Likewise.
58171         (initialize): Set min_subnorm_value.
58173 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
58175         [BZ #14638]
58176         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
58177         0 + 0.
58178         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
58179         mode for addition resulting in exact zero.
58180         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
58181         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
58182         exact 0 + 0.
58183         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58184         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58185         * math/libm-test.inc (fma_test): Add more tests.
58186         (fma_test_towardzero): New function.
58187         (fma_test_downward): Likewise.
58188         (fma_test_upward): Likewise.
58189         (main): Call the new functions.
58191 2012-09-28  David S. Miller  <davem@davemloft.net>
58193         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
58195 2012-09-28  Roland McGrath  <roland@hack.frob.com>
58197         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
58198         instead of SIGALRM.
58200         * sysdeps/gnu/_G_config.h: Moved to ...
58201         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
58202         * sysdeps/mach/hurd/_G_config.h: Moved to ...
58203         * sysdeps/generic/_G_config.h: ... here.
58205         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
58207         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
58209         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
58210         Conditionalize target on [libnss_test1.so-version].
58212         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
58214         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
58215         (elfobjdir): Move out of conditionals.
58217         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
58218         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
58219         (__nss_lookup_function): Conditionalize label remove_from_tree on
58220         [!DO_STATIC_NSS || SHARED], matching its only use.
58222 2012-09-28  David S. Miller  <davem@davemloft.net>
58224         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
58225         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
58226         file.
58227         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58228         sysdep_routines.
58229         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58230         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
58231         when HWCAP_SPARC_CRYPTO is present.
58233 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58235         * io/tst-mknodat.c: Create a FIFO instead of a socket.
58237 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
58239         [BZ #6530]
58240         * stdio-common/vfprintf.c (process_string_arg): Revert
58241         2000-07-22 change.
58243 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
58245         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
58246         for testcase.
58247         * stdio-common/tst-sprintf.c: Include <locale.h>
58248         (main): Test sprintf's handling of incomplete multibyte
58249         characters.
58251 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
58253         * elf/dl-runtime.c (VERSYMIDX): Removed.
58254         * elf/dl-version.c (VERSYMIDX): Likewise.
58255         * elf/do-rel.h (VERSYMIDX): Likewise.
58256         (VALIDX): Likewise.
58257         * elf/dynamic-link.h (VERSYMIDX): Likewise.
58258         * elf/rtld.c (VALIDX): Likewise.
58259         (ADDRIDX): Likewise.
58260         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
58261         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
58262         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
58263         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
58264         (VALIDX): Likewise.
58265         (ADDRIDX): Likewise.
58267 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58269         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
58271 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
58273         [BZ #11438]
58274         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
58275         to global scope.
58276         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
58277         addresses are in the same scope as 192.0.2/24.
58278         * posix/gai.conf: Document new scope table defaults.
58280 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58282         [BZ #5298]
58283         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
58284         for ftell.  Compute offsets from write pointers instead.
58285         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58287 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58289         [BZ #14543]
58290         * libio/Makefile (tests): New test case tst-fseek.
58291         * libio/tst-fseek.c: New test case to verify that fseek/ftell
58292         combination works in wide mode.
58293         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
58294         state when the external buffer state changes.
58296 2012-09-27  David S. Miller  <davem@davemloft.net>
58298         [BZ #14376]
58299         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
58300         pass reloc->r_addend in as the 'high' argument to
58301         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
58303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58305 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58307         * rt/tst-aio2.c: Include <pthread.h>.
58308         * rt/tst-aio3.c: Likewise.
58310 2012-09-27  Steve Ellcey  <sellcey@mips.com>
58312         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
58314 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
58316         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
58317         contents on [SHARED].
58319 2012-09-26  Marek Polacek  <polacek@redhat.com>
58321         [BZ #14530]
58322         [BZ #13741]
58323         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
58324         for C++ and GCC <4.3 as well as for non GCC compilers.
58326 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
58328         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58330 2012-09-25  Roland McGrath  <roland@hack.frob.com>
58332         * Makefile.in (all, install): Declare with .PHONY.
58333         Reported by Michael Hope <michael.hope@linaro.org>.
58335 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58337         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
58338         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
58339         system header.
58340         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
58341         Likewise.
58342         (sydep_routines): Add the new and the internal functions.
58343         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
58344         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
58345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
58346         (GLIBC_2.17): Add the new function.
58347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58348         (GLIBC_2.17): Likewise.
58349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
58350         (GLIBC_2.17): Likewise.
58351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
58352         (GLIBC_2.17): Likewise.
58353         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
58355 2012-09-25  Alan Modra  <amodra@gmail.com>
58357         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
58358         Add release barrier before setting once_control to say
58359         initialisation is done.  Add hints on lwarx.  Use macro in
58360         place of isync.
58361         (clear_once_control): Add release barrier.
58363 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58365         [BZ #13629]
58366         * math/s_clog.c (__clog): Handle more values close to |z| = 1
58367         specially.
58368         * math/s_clog10.c (__clog10): Likewise.
58369         * math/s_clog10f.c (__clog10f): Likewise.
58370         * math/s_clog10l.c (__clog10l): Likewise.
58371         * math/s_clogf.c (__clogf): Likewise.
58372         * math/s_clogl.c (__clogl): Likewise.
58373         * math/Makefile (libm-calls): Add x2y2m1.
58374         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
58375         (__x2y2m1): Likewise.
58376         (__x2y2m1l): Likewise.
58377         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
58378         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
58379         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
58380         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58381         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
58382         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
58383         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
58384         * sysdeps/i386/fpu/libm-test-ulps: Update.
58385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58387         [BZ #14621]
58388         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
58389         int as type of variable DEPTH.
58390         (glob): Use size_t instead of int as type of variables NEWCOUNT
58391         and OLD_PATHC.
58393 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58395         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58396         Add s_sincosf-sse2.
58397         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
58398         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
58399         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
58400         macros for using routine as __sincosf_ia32.
58401         Use macro for function declaration and weak_alias.
58402         * sysdeps/i386/fpu/libm-test-ulps: Update.
58404         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
58405         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58407         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
58408         subnormal argument.
58409         * math/s_cexpf.c (__cexpf): Likewise.
58410         * math/s_csinf.c (__csinf): Likewise.
58411         * math/s_csinhf.c (__csinhf): Likewise.
58412         * math/s_ctanf.c (__ctanf): Likewise.
58413         * math/s_ctanhf.c (__ctanhf): Likewise.
58414         * math/s_ccosh.c (__ccoshf): Likewise.
58415         * math/s_cexp.c (__cexpl): Likewise.
58416         * math/s_csin.c (__csin): Likewise.
58417         * math/s_csinh.c (__csinh): Likewise.
58418         * math/s_ctan.c (__ctan): Likewise.
58419         * math/s_ctanh.c (ctanh): Likewise.
58420         * math/s_ccoshl.c (__ccoshl): Likewise.
58421         * math/s_cexpl.c (__cexpl): Likewise.
58422         * math/s_csinl.c (__csinl): Likewise.
58423         * math/s_csinhl.c (__csinhl): Likewise.
58424         * math/s_ctanl.c (__ctanl): Likewise.
58425         * math/s_ctanhl.c (__ctanhl): Likewise.
58427 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58429         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
58430         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
58431         (_IO_off_t): Define to __off_t, not _G_off_t.
58432         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
58433         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
58434         (_IO_wint_t): Define to wint_t, not _G_wint_t.
58435         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
58436         type of __dummy and __dummy2 fields.
58437         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
58438         (_G_ssize_t): Likewise.
58439         (_G_off_t): Likewise.
58440         (_G_pid_t): Likewise.
58441         (_G_uid_t): Likewise.
58442         (_G_wchar_t): Likewise.
58443         (_G_wint_t): Likewise.
58444         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
58445         (_G_ssize_t): Likewise.
58446         (_G_off_t): Likewise.
58447         (_G_pid_t): Likewise.
58448         (_G_uid_t): Likewise.
58449         (_G_wchar_t): Likewise.
58450         (_G_wint_t): Likewise.
58451         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
58452         (_G_ssize_t): Likewise.
58453         (_G_off_t): Likewise.
58454         (_G_pid_t): Likewise.
58455         (_G_uid_t): Likewise.
58456         (_G_wchar_t): Likewise.
58457         (_G_wint_t): Likewise.
58459 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58461         * malloc/arena.c: Include malloc-sysdep.h.
58462         (shrink_heap): Use check_may_shrink_heap to decide if madvise
58463         is sufficient to shrink the heap or an unmap is needed.
58464         * sysdeps/generic/malloc-sysdep.h: New file.  Define
58465         new function check_may_shrink_heap.
58466         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
58467         new function check_may_shrink_heap.
58469 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58471         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
58472         comments.
58474 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
58476         * catgets/test-gencat.sh: Add "set -e".
58477         * elf/tst-pathopt.sh: Likewise.
58478         * grp/tst_fgetgrent.sh: Likewise.
58479         * iconvdata/run-iconv-test.sh: Likewise.
58480         * intl/tst-gettext.sh: Likewise.
58481         * intl/tst-gettext2.sh: Likewise.
58482         * intl/tst-gettext4.sh: Likewise.
58483         * intl/tst-gettext6.sh: Likewise.
58484         * intl/tst-translit.sh: Likewise.
58485         * io/ftwtest-sh: Likewise.
58486         * libio/test-freopen.sh: Likewise.
58487         * malloc/tst-mtrace.sh: Likewise.
58488         * posix/globtest.sh: Likewise.
58489         * posix/tst-getconf.sh: Likewise.
58490         * posix/wordexp-tst.sh: Likewise.
58491         * stdio-common/tst-printf.sh: Likewise.
58492         * stdio-common/tst-unbputc.sh: Likewise.
58493         * stdlib/tst-fmtmsg.sh: Likewise.
58494         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58495         * catgets/Makefile: Do not specify -e option when running
58496         testsuite shell scripts.
58497         * elf/Makefile: Likewise.
58498         * grp/Makefile: Likewise.
58499         * iconvdata/Makefile: Likewise.
58500         * intl/Makefile: Likewise.
58501         * io/Makefile: Likewise.
58502         * libio/Makefile: Likewise.
58503         * malloc/Makefile: Likewise.
58504         * posix/Makefile: Likewise.
58505         * stdio-common/Makefile: Likewise.
58506         * stdlib/Makefile: Likewise.
58507         * sysdeps/x86_64/Makefile: Likewise.
58509         * io/ftwtest-sh: Add copyright header.
58510         * posix/globtest.sh: Likewise.
58511         * posix/tst-getconf.sh: Likewise.
58512         * posix/wordexp-tst.sh: Likewise.
58513         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58515 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
58517         [BZ #13679]
58518         * Makeconfig (+link): Defined as $(+link-static) if
58519         $(build-shared) isn't yes.
58520         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
58521         isn't yes.
58522         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
58524         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
58526         [BZ #14562]
58527         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
58528         new chunk size with MALLOC_ALIGN_MASK.
58530 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
58532         [BZ #5044]
58533         * stdio-common/printf_fphex.c: Include <stdbool.h> and
58534         <rounding-mode.h>.
58535         (__printf_fphex): Determine rounding using get_rounding_mode and
58536         round_away.
58537         * stdio-common/tst-printf-round.c (struct hex_test): New
58538         structure.
58539         (hex_tests): New variable.
58540         (test_hex_in_one_mode): New function.
58541         (do_test): Also run tests for hex float output.
58543 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
58545         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58546         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58547         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
58548         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58549         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58550         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
58551         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58552         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58554 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
58556         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
58557         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
58558         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
58559         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
58561 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
58563         [BZ #14579]
58564         * elf/rtld.c (dl_main): Limit the check for self loading to normal
58565         mode only.
58566         * elf/tst-rtld-load-self.sh: New test.
58567         * elf/Makefile: Run it.
58569 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
58571         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58572         (tst-writev-ENV): Remove.
58573         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
58575 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
58577         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
58579 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
58581         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
58582         unconditional.
58583         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
58584         Likewise.
58585         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58586         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58587         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58588         Likewise.
58590 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
58592         [BZ #14587]
58593         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58594         * config.make.in (have-cpp-asm-debuginfo): Removed.
58595         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58596         * configure: Regenerated.
58598 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
58600         [BZ #5044]
58601         * stdio-common/printf_fp.c: Include <stdbool.h> and
58602         <rounding-mode.h>.
58603         (___printf_fp): Determine rounding using get_rounding_mode and
58604         round_away.
58605         * stdio-common/tst-printf-round.c: New file.
58606         * stdio-common/Makefile (tests): Add tst-printf-round.
58607         (link-libm): New variable.
58608         ($(objpfx)tst-printf-round): Depend in $(link-libm).
58610 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
58612         [BZ #14576]
58613         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58614         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58615         Likewise.
58616         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58617         Likewise.
58619 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
58621         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58622         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58623         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58624         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58626 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
58628         [BZ #14518]
58629         * include/rounding-mode.h: New file.
58630         * sysdeps/generic/get-rounding-mode.h: Likewise.
58631         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58632         * stdlib/strtod_l.c: Include <rounding-mode.h>.
58633         (MAX_VALUE): New macro.
58634         (MIN_VALUE): Likewise.
58635         (overflow_value): New function.
58636         (underflow_value): Likewise.
58637         (round_and_return): Use overflow_value and underflow_value to
58638         determine return values in overflow and underflow cases.  Use
58639         round_away to determine rounding depending on rounding mode.
58640         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58641         determine return values in overflow and underflow cases.
58642         * stdlib/tst-strtod-round.c: Include <fenv.h>.
58643         (struct test_results): New structure.
58644         (struct test): Use struct test_results to store expected results
58645         for all rounding modes.
58646         (TEST): Include expected results for all rounding modes.
58647         (test_in_one_mode): New function.
58648         (do_test): Use test_in_one_mode to compute and check results.
58649         Check results for all rounding modes.
58650         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58651         $(link-libm).
58653 2012-12-09  Allan McRae  <allan@archlinux.org>
58655         * sysdeps/i386/fpu/libm-test-ulps: Update
58657 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
58659         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58660         (_G_int32_t): Likewise.
58661         (_G_uint16_t): Likewise.
58662         (_G_uint32_t): Likewise.
58663         (_G_HAVE_BOOL): Likewise.
58664         (_G_HAVE_ATEXIT): Likewise.
58665         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58666         (_G_HAVE_IO_FILE_OPEN): Likewise.
58667         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58668         (_G_int32_t): Likewise.
58669         (_G_uint16_t): Likewise.
58670         (_G_uint32_t): Likewise.
58671         (_G_HAVE_BOOL): Likewise.
58672         (_G_HAVE_ATEXIT): Likewise.
58673         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58674         (_G_HAVE_IO_FILE_OPEN): Likewise.
58675         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58676         (_G_int32_t): Likewise.
58677         (_G_uint16_t): Likewise.
58678         (_G_uint32_t): Likewise.
58679         (_G_HAVE_BOOL): Likewise.
58680         (_G_HAVE_ATEXIT): Likewise.
58681         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58682         (_G_HAVE_IO_FILE_OPEN): Likewise.
58684 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
58686         * csu/libc-tls.c: Update copyright years.
58688 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
58690         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58691         [!_G_USING_THUNKS]: Remove conditional code.
58692         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58693         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58695         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58696         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58697         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58698         (_G_VTABLE_LABEL_PREFIX): Likewise.
58699         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58700         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58701         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58702         (_G_VTABLE_LABEL_PREFIX): Likewise.
58703         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58704         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58705         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58706         (_G_VTABLE_LABEL_PREFIX): Likewise.
58707         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58709 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
58711         * libio/Makefile: Include ../Makeconfig before tests.
58712         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58713         only if $(build-shared) is yes.
58715         * iconv/gconv_db.c: Update copyright years.
58717 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58719         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58720         unwind info if defined PIC. Fix special cases description.
58721         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58723         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58724         DP_HI_MASK entry.
58725         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58727 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
58729         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58731         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58732         is NULL.
58734         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58735         (LDLIBS-tst-chk4): This.
58736         (LDFLAGS-tst-chk5): Renamed to ...
58737         (LDLIBS-tst-chk5): This.
58738         (LDFLAGS-tst-chk6): Renamed to ...
58739         (LDLIBS-tst-chk6): This.
58740         (LDFLAGS-tst-lfschk4): Renamed to ...
58741         (LDLIBS-tst-lfschk4): This.
58742         (LDFLAGS-tst-lfschk5): Renamed to ...
58743         (LDLIBS-tst-lfschk5): This.
58744         (LDFLAGS-tst-lfschk6): Renamed to ...
58745         (LDLIBS-tst-lfschk6): This.
58747         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58748         on $(common-objpfx)soversions.mk.
58750 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
58752         [BZ #10014]
58753         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58754         example host name.
58756 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58758         * malloc/arena.c (arena_get_retry): New function that gets
58759         another arena for the caller to try its request on.
58760         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58761         current arena cannot fulfill the request.
58762         (__libc_memalign): Likewise.
58763         (__libc_memalign): Likewise.
58764         (__libc_pvalloc): Likewise.
58765         (__libc_calloc): Likewise.
58767 2012-09-05  John Tobey  <john.tobey@gmail.com>
58769         [BZ #13542]
58770         * manual/arith.texi (Operations on Complex): Fix description
58771         of carg branch cut.
58773 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58775         [BZ #10014]
58776         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58777         host name.
58779         [BZ #10038]
58780         * manual/memory.texi (Memory): Make order of menu items match
58781         order of sections.
58783 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58785         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58786         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
58787         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58789 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58791         * csu/libc-tls.c (static_dtv): Renamed to ...
58792         (_dl_static_dtv): This.  Make it global.
58793         (_dl_initial_dtv): Removed.
58794         (__libc_setup_tls): Updated.
58795         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58796         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58797         DL_INITIAL_DTV.
58799 2012-09-06  Petr Machata  <pmachata@redhat.com>
58801         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58802         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58803         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58804         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58806 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58808         [BZ #14545]
58809         * csu/libc-tls.c (_dl_initial_dtv): New variable.
58810         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58811         freeing dtv[-1].
58813 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58815         [BZ #14544]
58816         * Makeconfig (link-static-before-libc): Replace $(+prector)
58817         with $(+prectorT).
58818         (link-static-after-libc): Replace $(+postctor) with
58819         $(+postctorT).
58820         (link-bounded): Replace $(+prector)/$(+postctor) with
58821         $(+prectorT)/$(+postctorT).
58822         (+prectorT): New macro.
58823         (+postctorT): Likewise.
58825 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58827         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58828         (round_str): Handle values above the maximum for IBM long double
58829         as inexact.
58830         * stdlib/tst-strtod-round.c (tests): Regenerated.
58832 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58834         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58835         assembler flag.
58836         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58837         zarch_nohighgprs around the zarch optimized routines.
58838         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58839         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58840         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58841         for zarch.
58843 2012-09-05  David S. Miller  <davem@davemloft.net>
58845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58847         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58848         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58849         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58850         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58851         entries.
58853 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58855         * malloc/arena.c: Fold copyright years.
58856         * malloc/mcheck.c, malloc/memusage.c: Likewise.
58858 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58860         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58862 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58864         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
58866 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58868         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58869         change internal state upon failure.
58871 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58873         * malloc/mcheck.c (mcheck_check_all): Fix typo.
58874         * malloc/memusage.c (mmap): Likewise.
58875         (mmap64, mremap): Likewise.  Adjust name in comment.
58877 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58879         * libio/fileops.c: Fix typos in comments.
58880         * libio/oldfileops.c: Likewise.
58881         * libio/wfileops.c: Likewise.
58883 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58885         [BZ #1349]
58886         * malloc/Makefile (tests): Add tst-malloc-usable test case.
58887         (tst-malloc-usable-ENV): Set environment for test case.
58888         * malloc/hooks.c (malloc_check_get_size): New function to get
58889         requested size.
58890         * malloc/malloc.c (musable): Use malloc_check_get_size.
58891         * malloc/tst-malloc-usable.c: New test case.
58893 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58895         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58897 2012-09-05  Allan McRae  <allan@archlinux.org>
58899         [BZ #13966]
58900         * configure.in (CXX_SYSINCLUDES): Use compiler output to
58901         determine header location.
58902         * configure: Regenerated.
58904 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58906         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58907         float format.
58908         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58909         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58910         format.
58911         (test): Regenerate.
58913 2012-09-04  David S. Miller  <davem@davemloft.net>
58915         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58916         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58917         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58919 2012-09-04  Florian Weimer  <fweimer@redhat.com>
58921         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58922         failures.
58924         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58926 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
58928         [BZ #9914]
58929         * libio/iogetdelim.c: Include <limits.h>.
58930         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58931         + len + 1 would overflow.
58933 2012-09-03  Andreas Jaeger  <aj@suse.de>
58935         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58936         * sysdeps/i386/fpu/libm-test-ulps: Update.
58938 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58940         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58941         Add s_sinf-sse2, s_conf-sse2.
58943         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58944         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58945         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58946         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58948         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58949         for using routine as __sinf_ia32.
58950         Use macro for function declaration and weak_alias.
58951         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58952         for using routine as __cosf_ia32.
58953         Use macro for function declaration and weak_alias.
58955         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58956         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58958         * sysdeps/x86_64/fpu/s_sinf.S: New file.
58959         * sysdeps/x86_64/fpu/s_cosf.S: New file.
58960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58962         * math/libm-test.inc (cos_test): Add more test cases.
58963         (sin_test): Likewise.
58964         (sincos_test): Likewise.
58966 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58968         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58969         (IFUNC_RESOLVE): Make pointers to the specialized implementations
58970         hidden.
58971         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58973 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
58975         [BZ #14538]
58976         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58977         first element of the GOT.
58978         (elf_machine_load_address): Return the difference between
58979         the runtime address of _DYNAMIC and elf_machine_dynamic ().
58981 2012-09-01  Allan McRae  <allan@archlinux.org>
58983         [BZ #13412]
58984         * configure.in (AWK): Require gawk version 3.0 or later.
58985         * configure: Regenerated.
58987 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
58989         * sysdeps/unix/sysv/linux/kernel-features.h
58990         (__ASSUME_POSIX_CPU_TIMERS): Remove.
58991         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58992         [__NR_clock_getres]: Make code unconditional.
58993         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58994         (clock_getcpuclockid): Remove code left unreachable by removal of
58995         conditionals.
58996         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58997         code unconditional.
58998         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58999         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59000         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
59001         Make code unconditional.
59002         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59003         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59004         * sysdeps/unix/sysv/linux/clock_settime.c
59005         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
59006         conditional code.
59007         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
59008         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59010 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
59012         [BZ #14476]
59013         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
59014         scripts/test-installation.pl.
59016         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
59017         and $ld_so_version if it is set.
59019 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59021         [BZ #14516]
59022         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
59023         failure if reading from procfs failed.
59024         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
59026 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59028         * sysdeps/unix/sysv/linux/kernel-features.h
59029         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
59030         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59031         Remove conditional code.
59032         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59033         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
59034         Remove conditional code.
59035         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59036         * sysdeps/unix/sysv/linux/i386/fxstat.c
59037         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59038         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59039         * sysdeps/unix/sysv/linux/i386/fxstatat.c
59040         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59041         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59042         * sysdeps/unix/sysv/linux/i386/lxstat.c
59043         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59044         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59045         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
59046         Remove conditional code.
59047         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59048         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59049         Remove conditional code.
59050         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59051         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
59052         <kernel-features.h>.
59053         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
59054         Remove.
59055         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
59056         Remove conditional code.
59057         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59058         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
59059         Remove conditional.
59061 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
59063         [BZ #5400]
59064         * NEWS: Add fixed bug number.
59066 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59068         [BZ #14519]
59069         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
59070         underflowing exponent in case of negative sign.
59071         * stdlib/tst-strtod-round-data: Add more tests.
59072         * stdlib/tst-strtod-round.c (tests): Regenerated.
59074         [BZ #3479]
59075         * stdlib/strtod_l.c (NDIG): Remove.
59076         (HEXNDIG): Likewise.
59077         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
59078         smallest representable value.
59079         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
59080         lie within an exact representation of 1/2 ulp of the result.
59081         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
59082         unconditionally.
59083         (TENS_P9_IDX): Define unconditionally.
59084         (TENS_P9_SIZE): Likewise.
59085         (TENS_P10_IDX): Likewise.
59086         (TENS_P10_SIZE): Likewise.
59087         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
59088         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
59089         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
59090         entries for 10^2^13 and 10^2^14.
59091         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
59092         (TENS_P13_IDX): Define.
59093         (TENS_P13_SIZE): Likewise.
59094         (TENS_P14_IDX): Likewise.
59095         (TENS_P14_SIZE): Likewise.
59096         (_fpioconst_pow10): Change array size to
59097         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
59098         unconditional.
59099         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
59100         1024]: Add entries for 10^2^13 and 10^2^14.
59101         [LAST_POW10 > _LAST_POW10]: Remove #error.
59102         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
59103         (_fpioconst_pow10): Change array size to
59104         FPIOCONST_POW10_ARRAY_SIZE.
59105         * stdlib/gen-fpioconst.c: New file.
59106         * stdlib/gen-tst-strtod-round.c: Likewise.
59107         * stdlib/tst-strtod-round-data: Likewise.
59108         * stdlib/tst-strtod-round.c: Likewise.
59109         * stdlib/Makefile (tests): Add tst-strtod-round.
59111         [BZ #14459]
59112         * stdlib/strtod_l.c: Include <stdint.h>.
59113         (NDEBUG): Do not define.
59114         (round_and_return): Change EXPONENT parameter to type intmax_t.
59115         Rearrange calculations to avoid internal overflow possibilities.
59116         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
59117         Rearrange calculations to avoid internal overflow possibilities.
59118         Assert that number fits inside MPNSIZE limbs.
59119         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
59120         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
59121         calculations and add assertions to avoid internal overflow
59122         possibilities.  Add casts to avoid signed/unsigned operations.
59123         * stdlib/tst-strtod-overflow.c: New file.
59124         * stdlib/Makefile (tests): Add tst-strtod-overflow.
59126 2012-08-25  Marek Polacek  <polacek@redhat.com>
59128         * time/time.h: Fix some typos in comments.
59130 2012-08-23  Roland McGrath  <roland@hack.frob.com>
59132         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
59133         * posix/tst-rfc3484-2.c: Likewise.
59134         * posix/tst-rfc3484-3.c: Likewise.
59136 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
59138         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
59139         (EF_ARM_ABI_FLOAT_HARD): Likewise.
59141 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
59143         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
59144         #include of fxstatat64.c.
59146 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59148         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
59149         * shadow/getspent_r.c: Likewise.
59150         * shadow/getspnam.c: Likewise.
59151         * shadow/getspnam_r.c: Likewise.
59152         * gshadow/getsgent.c: Likewise.
59153         * gshadow/getsgent_r.c: Likewise.
59154         * gshadow/getsgnam.c: Likewise.
59155         * gshadow/getsgnam_r.c: Likewise.
59156         * inet/getnetbyad.c: Likewise.
59157         * inet/getnetbyad_r.c: Likewise.
59158         * inet/getnetbynm.c: Likewise.
59159         * inet/getnetbynm_r.c: Likewise.
59160         * inet/getnetent.c: Likewise.
59161         * inet/getnetent_r.c: Likewise.
59162         * inet/getproto.c: Likewise.
59163         * inet/getproto_r.c: Likewise.
59164         * inet/getprtent.c: Likewise.
59165         * inet/getprtent_r.c: Likewise.
59166         * inet/getprtname.c: Likewise.
59167         * inet/getprtname_r.c: Likewise.
59168         * inet/getrpcbyname.c: Likewise.
59169         * inet/getrpcbyname_r.c: Likewise.
59170         * inet/getrpcbynumber.c: Likewise.
59171         * inet/getrpcbynumber_r.c: Likewise.
59172         * inet/getrpcent.c: Likewise.
59173         * inet/getrpcent_r.c: Likewise.
59174         * inet/getaliasent.c: Likewise.
59175         * inet/getaliasent_r.c: Likewise.
59176         * inet/getaliasname.c: Likewise.
59177         * inet/getaliasname_r.c: Likewise.
59178         * nscd/getgrgid_r.c: Likewise.
59179         * nscd/getgrnam_r.c: Likewise.
59180         * nscd/gethstbyad_r.c: Likewise.
59181         * nscd/gethstbynm3_r.c: Likewise.
59182         * nscd/getpwnam_r.c: Likewise.
59183         * nscd/getpwuid_r.c: Likewise.
59184         * nscd/getsrvbynm_r.c: Likewise.
59185         * nscd/getsrvbypt_r.c: Likewise.
59186         * nscd/gai.c: Likewise.
59188         * configure.in (build_nscd): New substituted variable, set
59189         by --disable-build-nscd and defaults to $use_nscd.
59190         * configure: Regenerated.
59191         * config.make.in (build-nscd): New substituted variable.
59192         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
59193         Change conditional to require [$(build-nscd) = yes] as well.
59194         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
59196         [BZ# 13696]
59197         * configure.in (use_nscd): New substituted variable, set by
59198         --disable-nscd.  If enabled, define USE_NSCD.
59199         * configure: Regenerated.
59200         * config.h.in: Add USE_NSCD.
59201         * config.make.in (use-nscd): New substituted variable.
59202         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
59203         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
59204         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
59205         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
59206         (CFLAGS-getgrnam_r.c): Likewise.
59207         (CFLAGS-initgroups.c): Likewise.
59208         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
59209         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
59210         Variables removed.
59211         * inet/getnetgrent_r.c
59212         (nscd_setnetgrent): New function, broken out of ...
59213         (setnetgrent): ... here.  Call it.
59214         (innetgr): Conditionalize nscd bits on [USE_NSCD].
59215         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
59216         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
59217         * nscd/Makefile (routines, aux): Move definitions after include of
59218         Makeconfig.  Conditionalize on [$(use-nscd) != no].
59219         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
59220         Conditionalize on [USE_NSCD].
59221         (is_nscd, nscd_init_cb): Likewise.
59222         (nss_load_library): Conditionalize init callback on [USE_NSCD].
59223         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
59224         * nss/nss_db/db-init.c: Likewise.
59225         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
59226         [USE_NSCD].
59227         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
59228         (make_request): Use it.
59229         (cache_valid_p): New function.
59230         (__check_pf): Use it.
59231         * NEWS: Add item for --disable-nscd.
59233 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
59235         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
59236         to support sed >= 4.2.1-20-ga9bf076.
59237         * configure: Regenerated.
59239 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59241         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
59242         Conditionalize whole body on [IREL].
59244 2012-08-22  Jeff Law <law@redhat.com>
59246         [BZ #14505]
59247         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
59248         if the family is PF_UNSPEC.
59250 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
59252         * Makerules (lib-version): Rename from V.
59253         (install-lib-nosubdir): Change V to lib-version.
59255 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
59257         [BZ #14252]
59258         * powerpc32/power6/wcschr.c: New file.
59259         * powerpc32/power6/wcscpy.c: New file.
59260         * powerpc32/power6/wcsrchr.c: New file.
59261         * powerpc64/power6/wcschr.c: New file.
59262         * powerpc64/power6/wcscpy.c: New file.
59263         * powerpc64/power6/wcsrchr.c: New file.
59265 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59267         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
59268         (two_way_short_needle): Use it.
59269         * string/strstr.c (AVAILABLE1_USES_J): Define.
59270         * string/strcasestr.c: Likewise.
59272         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
59273         array references.
59274         * string/strcasestr.c (TOLOWER): Make side-effect safe.
59276         [BZ #11607]
59277         * NEWS: Add an entry.
59278         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
59279         define their defaults.
59280         (two_way_short_needle): Detect end-of-string on-the-fly.
59281         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
59282         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
59283         * string/bug-strcasestr1.c: New test.
59284         * string/Makefile: Run it.
59286 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59288         [BZ #11607]
59289         * string/str-two-way.h (two_way_short_needle): Optimize matching of
59290         the first character.
59292 2012-08-21  Roland McGrath  <roland@hack.frob.com>
59294         * csu/elf-init.c (__libc_csu_irel): Function removed.
59295         * csu/libc-start.c (apply_irel): New function.
59296         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
59298 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
59300         * sysdeps/unix/sysv/linux/kernel-features.h
59301         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
59302         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59303         <kernel-features.h>.
59304         [__NR_fadvise64_64]: Make code unconditional.
59305         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
59306         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59307         !__NR_fadvise64_64)]: Likewise.
59308         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59309         !__NR_fadvise64_64))]: Likewise.
59310         [__NR_fadvise64]: Make code unconditional.
59311         [!__NR_fadvise64]: Remove conditional code.
59312         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
59313         <kernel-features.h>.
59314         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59315         unconditional.
59316         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59317         conditional code.
59318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
59319         not include <kernel-features.h>.
59320         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59321         unconditional.
59322         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59323         conditional code.
59324         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
59325         include <kernel-features.h>.
59326         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59327         unconditional.
59328         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59329         conditional code.
59331 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
59333         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
59334         slight instruction rearrangements per scrollpipe analysis.
59335         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59337 2012-08-20  Roland McGrath  <roland@hack.frob.com>
59339         * manual/syslog.texi (syslog; vsyslog, closelog):
59340         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
59341         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
59343         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
59344         DSOCAPS to match condition on defining it.
59346 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
59348         * sysdeps/unix/sysv/linux/kernel-features.h
59349         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
59350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
59351         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59352         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
59354         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59355         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
59357         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59358         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59360         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
59361         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
59363         * sysdeps/unix/sysv/linux/kernel-features.h
59364         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
59365         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
59366         unconditional.
59367         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59368         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
59369         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59370         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59371         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
59372         Make code unconditional.
59373         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59374         (__mmap64) [!__NR_mmap2]: Likewise.
59375         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
59376         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59377         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59378         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
59379         [__NR_mmap2]: Make code unconditional.
59380         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59381         (__mmap64) [!__NR_mmap2]: Likewise.
59383 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59385         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
59387 2012-08-18  Andreas Jaeger  <aj@suse.de>
59389         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
59391 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59393         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
59394         * include/unistd.h (__have_sock_cloexec): Likewise.
59395         (__have_pipe2): Likewise.
59396         (__have_dup3): Likewise.
59398 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59400         [BZ #9685]
59401         * include/unistd.h (__have_pipe2): Change define into an extern int.
59402         (__have_dup3): Likewise.
59403         * socket/have_sock_cloexec.c: Include fcntl.h.
59404         (__have_pipe2): New variable.
59405         (__have_dup3): Likewise.
59407 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
59409         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
59411 2012-08-17  Marek Polacek  <polacek@redhat.com>
59413         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
59414         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
59416 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59418         * configure.in: Add AC_SUBST for sysheaders.
59419         * configure: Regenerated.
59420         * config.make.in (sysheaders): New substituted variable.
59422         * sysdeps/unix/mkfifo.c: Moved ...
59423         * sysdeps/posix/mkfifo.c: ... here.
59424         * sysdeps/unix/mkfifoat.c: Moved ...
59425         * sysdeps/posix/mkfifoat.c: ... here.
59427         * sysdeps/unix/utime.c: Moved ...
59428         * sysdeps/posix/utime.c: ... here.
59430         * sysdeps/unix/time.c: Moved ...
59431         * sysdeps/posix/time.c: ... here.
59432         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
59433         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
59435         * sysdeps/unix/nice.c: Moved ...
59436         * sysdeps/posix/nice.c: ... here.
59438         * sysdeps/unix/alarm.c: Moved ...
59439         * sysdeps/posix/alarm.c: ... here.
59441         * intl/Makefile ($(codeset_mo)): Depend on the input file.
59443 2012-08-17  Jeff Law <law@redhat.com>
59445         * intl/Makefile (codeset_mo): New variable.
59446         ($(codeset_mo)): New target.
59447         (tst-codeset.out): Depend on that.  Remove explicit rule.
59448         (tst-gettext3.out, tst-gettext5.out): Likewise.
59449         (LOCPATH-ENV, tst-codeset-ENV): New variables.
59450         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
59451         * intl/tst-codeset.sh: Remove.
59452         * intl/tst-gettext3.sh: Likewise.
59453         * intl/tst-gettext5.sh: Likewise.
59455 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59457         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
59458         * sysdeps/unix/syscalls.list: ... here.
59460         * sysdeps/posix/getaddrinfo.c
59461         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
59462         (gaiconf_init, gaiconf_reload): Use them.
59463         [!_STATBUF_ST_NSEC]
59464         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59465         Define using time_t rather than struct timespec.
59467         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
59468         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
59469         Macros removed.
59470         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
59471         [!NO_THREADS].
59472         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
59473         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
59474         Likewise.
59476         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
59477         __libc_cleanup_push argument.
59479         * bits/param.h: New file.
59480         * misc/sys/param.h: New file.
59481         * include/sys/param.h: New file.
59482         * misc/Makefile (headers): Add bits/param.h.
59483         * sysdeps/generic/sys/param.h: File removed.
59484         * sysdeps/unix/sysv/linux/bits/param.h: New file.
59485         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
59486         * sysdeps/mach/hurd/bits/param.h: New file.
59487         * sysdeps/mach/hurd/sys/param.h: File removed.
59489         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
59490         last change.
59492         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
59493         [_IO_MTSAFE_IO].
59494         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
59495         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
59496         New macros.
59498         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
59499         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
59500         rather than -D_IO_MTSAFE_IO conditionally.
59501         * stdio-common/Makefile (CPPFLAGS): Likewise.
59502         * wcsmbs/Makefile (CPPFLAGS): Likewise.
59503         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
59504         Use $(libio-mtsafe).
59505         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
59506         of -D_IO_MTSAFE_IO.
59507         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
59508         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
59509         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
59510         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
59511         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
59512         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
59513         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
59514         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
59515         (CFLAGS-fread_u_chk.c): Likewise.
59516         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
59517         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
59518         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
59519         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
59520         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
59521         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
59522         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
59523         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
59524         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
59526         * libio/Makefile: Test [$(libc-reentrant) = yes]
59527         instead of [$(filter %REENTRANT, $(defines)) nonempty].
59529         * Makeconfig
59530         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
59531         * sysdeps/pthread/configure: File removed.
59532         * sysdeps/pthread/Makeconfig: New file.
59533         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
59534         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
59536 2012-08-16  Gary Benson  <gbenson@redhat.com>
59538         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
59539         unmapping the first object in a namespace.
59541 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59543         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
59544         (__internal_setnetgrent): ... this.  Add internal_function to
59545         definition.  Add libc_hidden_def.
59546         (setnetgrent): Update caller.
59547         (internal_endnetgrent): Renamed to ...
59548         (__internal_endnetgrent): ... this.  Add internal_function to
59549         definition.  Add libc_hidden_def.
59550         (endnetgrent): Update caller.
59551         (internal_getnetgrent_r): Renamed to ...
59552         (__internal_getnetgrent_r): ... this.  Add internal_function to
59553         definition.  Add libc_hidden_def.
59554         (__getnetgrent_r): Update caller.
59555         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
59557 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59559         * stdlib/longlong.h: Update from GCC.
59561 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59563         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
59564         on _QL, which is set by umul_ppmm but never used.
59565         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
59566         variables, which are set by GMP macros but never used.
59567         * stdio-common/_itowa.c (_itowa): Likewise.
59568         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
59569         * stdlib/mod_1.c (mpn_mod_1): Likewise.
59571 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
59573         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
59574         struct La_sh_regs is not constant.
59575         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
59576         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
59577         and struct La_sparc64_regs are not constant.
59579 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59581         * sysdeps/unix/sysv/linux/kernel-features.h
59582         (__ASSUME_POSIX_TIMERS): Remove.
59583         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59584         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59585         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59586         Make code unconditional.
59587         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59588         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59589         Make code unconditional.
59590         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59591         * sysdeps/unix/sysv/linux/clock_nanosleep.c
59592         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59593         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59594         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59595         Make code unconditional.
59596         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59597         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59598         (__libc_missing_posix_timers): Remove.
59600 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59602         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59603         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59605         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59607         * elf/dl-sym.c: Include <stdlib.h>.
59609         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59610         constants, which avoids warnings in 32-bit builds.
59612         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59613         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59615         * misc/lseek.c: File moved to ...
59616         * io/lseek.c: ... here.
59618         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59620         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59621         shifting LEN more than 31 bits at once.
59623 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59625         [BZ #14195]
59626         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59627         segmentation fault for a case of two empty input strings.
59628         * string/test-strncasecmp.c (check1): Renamed to...
59629         (bz12205): ...this.
59630         (bz14195): Add new testcase for two empty input strings and N > 0.
59631         (test_main): Call new testcase, adapt for renamed function.
59633 2012-08-15  Andreas Jaeger  <aj@suse.de>
59635         [BZ #14090]
59636         * crypt/md5test2.c: New test, based on test supplied by Serge
59637         Belyshev <belyshev@depni.sinp.msu.ru>.
59638         * crypt/Makefile (xtests): Add md5test-giant..
59639         * crypt/Makefile ($(objpfx)md5test-giant): Add.
59641 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
59643         [BZ #14090]
59644         * crypt/md5.c (md5_process_block): Don't assume the buffer
59645         length is less than 2**32.
59646         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59647         length is less than 2**64.
59649 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59651         * string/str-two-way.h: Include <sys/param.h>.
59652         (MAX): Macro removed.
59654         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59655         Move #define and #undef of memmove to just before and after
59656         including <string.h>.
59658         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59659         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59660         and after including <string.h>.  Move declarations of
59661         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59662         to before #include "string/memmove.c".
59664         * include/dirent.h: Declare __getdirentries.
59666         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59667         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59669 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
59671         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59672         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59673         * sysdeps/i386/configure: Regenerated.
59674         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59675         STABS_CURRENT_FILE, and STABS_FUN.
59676         (END): Remove call to STABS_FUN_END.
59677         (STABS_CURRENT_FILE1): Delete.
59678         (STABS_CURRENT_FILE): Likewise.
59679         (STABS_FUN): Likewise.
59680         (STABS_FUN_END): Likewise.
59681         (STABS_FUN2): Likewise.
59682         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59683         * sysdeps/x86_64/configure: Regenerated.
59685 2012-08-14  Roland McGrath  <roland@hack.frob.com>
59687         * elf/dl-open.c: Include <atomic.h>.
59688         * elf/dl-lookup.c: Likewise.
59690 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
59692         * sysdeps/unix/sysv/linux/kernel-features.h
59693         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59694         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59695         unconditionally.
59696         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59697         unconditionally.
59698         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59699         condition on __ASSUME_CLONE_THREAD_FLAGS.
59701 2012-08-14  Andreas Jaeger  <aj@suse.de>
59703         * sysdeps/i386/fpu/libm-test-ulps: Update.
59705 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
59707         * include/atomic.h (atomic_exchange_and_add): Split into ...
59708         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59709         New atomic macros.
59711 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
59713         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59715 2012-08-13  Jeff Law <law@redhat.com>
59717         * manual/stdio.texi (snprintf): Clarify handling of the trailing
59718         null byte in the output string.
59720 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
59722         * sysdeps/unix/sysv/linux/kernel-features.h
59723         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59724         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59725         (__ASSUME_ARG_MAX_STACK_BASED): Define.
59726         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59727         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59728         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
59729         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59731 2012-08-09  Jeff Law <law@redhat.com>
59733         [BZ #13939]
59734         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59735         When avoid_arena is set, don't retry in the that arena.  Pick the
59736         next one, whatever it might be.
59737         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59738         (arena_lock): Pass in new parameter to arena_get2.
59739         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59740         arena_get2.
59741         (__libc_malloc): Unify retrying after main arena failure with
59742         __libc_memalign version.
59743         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59745 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
59747         [BZ #14166]
59748         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59749         to __redirect_strstr.
59750         (__strstr_sse42): Use typeof __redirect_strstr.
59751         (__strstr_ia32): Likewise.
59752         (__libc_strstr): New prototype.
59753         (strstr): Renamed to ...
59754         (__libc_strstr): This.
59755         (strstr): New strong alias of __libc_strstr.
59756         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59757         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59758         __redirect_time.
59759         Include <time.h>.
59760         (__libc_time): New prototype.
59761         (time_ifunc): Replace time with __libc_time.
59762         (time): New strong alias and hidden definition of __libc_time.
59763         (__GI_time): Remove strong alias.
59764         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59765         Include <stddef.h>.
59766         (memmove): Redefined to __redirect_memmove.
59767         (__memmove_sse2): Use typeof __redirect_memmove.
59768         (__memmove_ssse3): Likewise.
59769         (__memmove_ssse3_back): Likewise.
59770         (__libc_memmove): New prototype.
59771         (memmove): Renamed to ...
59772         (__libc_memmove): This.
59773         (memmove): New strong alias of __libc_memmove.
59775 2012-08-08  Mark Salter  <msalter@redhat.com>
59777         * elf/elf.h
59778         (R_MN10300_TLS_GD): Define.
59779         (R_MN10300_TLS_LD): Likewise.
59780         (R_MN10300_TLS_LDO): Likewise.
59781         (R_MN10300_TLS_GOTIE): Likewise.
59782         (R_MN10300_TLS_IE): Likewise.
59783         (R_MN10300_TLS_LE): Likewise.
59784         (R_MN10300_TLS_DTPMOD): Likewise.
59785         (R_MN10300_TLS_DTPOFF): Likewise.
59786         (R_MN10300_TLS_TPOFF): Likewise.
59787         (R_MN10300_SYM_DIFF): Likewise.
59788         (R_MN10300_ALIGN): Likewise.
59789         (R_MN10300_NUM): Update.
59791 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
59793         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59794         Remove.
59796 2012-08-08  Roland McGrath  <roland@hack.frob.com>
59798         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59800         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59801         sysdeps/unix -> sysdeps/posix move.
59802         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59804 2012-08-07      Allan McRae     <allan@archlinux.org>
59806         [BZ #14303]
59807         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59808         (SUNOS_CPP): Likewise.
59809         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59810         not found.
59811         (open_input): Call CPP using execvp.
59813 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59815         * sysdeps/unix/sysv/linux/kernel-features.h
59816         (__ASSUME_PROT_GROWSUPDOWN): Remove.
59817         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59818         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59819         (__ASSUME_WAITID_SYSCALL): Likewise.
59820         * sysdeps/unix/sysv/linux/dl-execstack.c
59821         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59822         code unconditional.
59823         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59824         conditional code.
59825         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59826         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59827         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59828         code.
59829         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59830         unconditional.
59831         [__ASSUME_WAITID_SYSCALL]: Likewise.
59832         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59834 2012-08-07  Roland McGrath  <roland@hack.frob.com>
59836         * sysdeps/unix/closedir.c: Renamed to ...
59837         * sysdeps/posix/closedir.c: ... here.
59838         * sysdeps/unix/dirfd.c: Renamed to ...
59839         * sysdeps/posix/dirfd.c: ... here.
59840         * sysdeps/unix/dirstream.h: Renamed to ...
59841         * sysdeps/posix/dirstream.h: ... here.
59842         * sysdeps/unix/fdopendir.c: Renamed to ...
59843         * sysdeps/posix/fdopendir.c: ... here.
59844         * sysdeps/unix/opendir.c: Renamed to ...
59845         * sysdeps/posix/opendir.c: ... here.
59846         * sysdeps/unix/readdir.c: Renamed to ...
59847         * sysdeps/posix/readdir.c: ... here.
59848         * sysdeps/unix/readdir_r.c: Renamed to ...
59849         * sysdeps/posix/readdir_r.c: ... here.
59850         * sysdeps/unix/rewinddir.c: Renamed to ...
59851         * sysdeps/posix/rewinddir.c: ... here.
59852         * sysdeps/unix/seekdir.c: Renamed to ...
59853         * sysdeps/posix/seekdir.c: ... here.
59854         * sysdeps/unix/telldir.c: Renamed to ...
59855         * sysdeps/posix/telldir.c: ... here.
59856         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59857         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59858         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59859         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59861         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59862         * bits/fcntl.h: ... here.
59864         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59865         not 0.
59866         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59867         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59868         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59869         (struct flock): Move l_start, l_len to the beginning.
59870         Use __pid_t for l_pid.
59871         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59872         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59873         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59874         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59875         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59876         [__USE_LARGEFILE64] (struct flock64): New type.
59877         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59879         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59880         * bits/dirent.h: ... here.
59882         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59883         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59885 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59887         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59888         Change from 2.6.0 to 2.6.16.
59889         * sysdeps/unix/sysv/linux/configure: Regenerated.
59890         * sysdeps/unix/sysv/linux/kernel-features.h
59891         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59892         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59893         version.
59894         (__ASSUME_UTIMES): Likewise.
59895         (__ASSUME_CLONE_STOPPED): Remove.
59896         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59897         architectures, not kernel version.
59898         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59899         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59900         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59901         (__ASSUME_WAITID_SYSCALL): Likewise.
59902         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59903         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59904         * README: State 2.6.16 as minimum Linux kernel version.  Do not
59905         refer to older versions.
59907 2012-08-06  Roland McGrath  <roland@hack.frob.com>
59909         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59910         Define alphasort64 as an alias.
59911         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59912         Define versionsort64 as an alias.
59913         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59914         Define scandir64 as an alias.
59915         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59916         Define scandirat64 as an alias.
59917         * dirent/alphasort64.c (alphasort64):
59918         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59919         * dirent/versionsort64.c: Likewise.
59920         * dirent/scandir64.c: Likewise.
59921         * dirent/scandirat64.c: Likewise.
59922         * sysdeps/wordsize-64/alphasort.c: File removed.
59923         * sysdeps/wordsize-64/alphasort64.c: File removed.
59924         * sysdeps/wordsize-64/scandir.c: File removed.
59925         * sysdeps/wordsize-64/scandir64.c: File removed.
59926         * sysdeps/wordsize-64/scandirat.c: File removed.
59927         * sysdeps/wordsize-64/scandirat64.c: File removed.
59928         * sysdeps/wordsize-64/versionsort.c: File removed.
59929         * sysdeps/wordsize-64/versionsort64.c: File removed.
59930         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59931         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59932         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59933         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59934         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59935         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59936         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59937         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59939         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59940         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59941         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59942         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59943         [defined __arch64__ || defined __sparcv9]
59944         (__INO_T_MATCHES_INO64_T): New macro.
59945         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59946         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59947         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59948         * sysdeps/unix/sysv/linux/bits/dirent.h
59949         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59950         (_DIRENT_MATCHES_DIRENT64): New macro.
59952         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59953         Define lockf64 as an alias.
59954         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59955         Define fseeko64 as an alias.
59956         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59957         Define ftello64 as an alias.
59958         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59959         Define _IO_fgetpos64 and fgetpos64 as aliases.
59960         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59961         Define _IO_fsetpos64 and fsetpos64 as aliases.
59962         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59963         Conditionalize body on this.
59964         * libio/fseeko64.c: Likewise.
59965         * libio/ftello64.c: Likewise.
59966         * libio/iofgetpos64.c: Likewise.
59967         * libio/iofsetpos64.c: Likewise.
59968         * sysdeps/wordsize-64/lockf.c: File removed.
59969         * sysdeps/wordsize-64/lockf64.c: File removed.
59970         * sysdeps/wordsize-64/fseeko.c: File removed.
59971         * sysdeps/wordsize-64/fseeko64.c: File removed.
59972         * sysdeps/wordsize-64/ftello.c: File removed.
59973         * sysdeps/wordsize-64/ftello64.c: File removed.
59974         * sysdeps/wordsize-64/iofgetpos.c: File removed.
59975         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59976         * sysdeps/wordsize-64/iofsetpos.c: File removed.
59977         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59978         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59979         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59980         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59981         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59982         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59983         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59984         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59985         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59986         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59987         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59989         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59990         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59991         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59992         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59993         [defined __arch64__ || defined __sparcv9]
59994         (__OFF_T_MATCHES_OFF64_T): New macro.
59995         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59996         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59997         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59998         (__OFF_T_MATCHES_OFF64_T): New macro.
60000 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60002         * stdlib/secure-getenv.c (__secure_getenv): Replace
60003         GLIBC_2_16 with GLIBC_2_17.
60005 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60007         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
60008         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60010 2012-08-03  David S. Miller  <davem@davemloft.net>
60012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60014 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60016         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
60017         Remove.
60018         (__ASSUME_CORRECT_SI_PID): Likewise.
60019         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
60020         (__ASSUME_TMPFS_NAME): Likewise.
60021         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
60022         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
60023         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
60024         (HAVE_AUX_SECURE): Make definition unconditional.
60025         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
60026         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
60028 2012-08-03  Roland McGrath  <roland@hack.frob.com>
60030         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
60031         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
60032         * sysdeps/mach/hurd/eloop-threshold.h: New file.
60033         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60034         __eloop_threshold instead of SYMLOOP_MAX.
60036         * sysdeps/generic/eloop-threshold.h: New file.
60037         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
60038         of MAXSYMLINKS.
60039         * elf/chroot_canon.c (chroot_canon): Likewise.
60041 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60043         [BZ #13717]
60044         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60045         Change to 2.6.0 everywhere.
60046         * sysdeps/unix/sysv/linux/configure: Regenerated.
60047         * sysdeps/unix/sysv/linux/kernel-features.h
60048         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
60049         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
60050         kernel versions.
60051         (__ASSUME_POSIX_TIMERS): Define unconditionally.
60052         (__ASSUME_FUTEX_REQUEUE): Remove.
60053         (__ASSUME_STATFS64): Define unconditionally.
60054         (__ASSUME_AT_SECURE): Likewise.
60055         (__ASSUME_CORRECT_SI_PID): Likewise.
60056         (__ASSUME_TGKILL): Define without depending on kernel version for
60057         i386.
60058         (__ASSUME_UTIMES): Likewise.
60059         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
60060         kernel version.
60061         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
60062         (__ASSUME_TMPFS_NAME): Likewise.
60063         * README: Update reference to Linux kernel versions.
60065 2012-08-02  Marek Polacek  <polacek@redhat.com>
60067         [BZ# 14150]
60068         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
60069         libc_cv_asm_type_prefix with %.
60070         * configure: Regenerated.
60071         * include/libc-symbols.h: Remove comment about
60072         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60073         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
60074         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
60075         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
60076         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
60077         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60078         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
60079         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
60080         * elf/tst-unique2mod1.c: Likewise.
60081         * elf/tst-unique1mod2.c: Likewise.
60082         * elf/tst-unique1mod1.c: Likewise.
60083         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
60084         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
60085         Replace ASM_TYPE_DIRECTIVE with .type.
60086         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60087         * sysdeps/i386/sysdep.h: Likewise.
60088         * sysdeps/x86_64/sysdep.h: Likewise.
60089         * sysdeps/sh/sysdep.h: Likewise.
60090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60091         Do not define ASM_TYPE_DIRECTIVE.
60092         * sysdeps/powerpc/sysdep.h: Likewise.
60093         * sysdeps/powerpc/powerpc32/sysdep.h:
60094         Replace ASM_TYPE_DIRECTIVE with .type.
60095         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60096         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60097         * sysdeps/i386/fpu/e_powf.S: Likewise.
60098         * sysdeps/i386/fpu/e_expl.S: Likewise.
60099         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60100         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60101         * sysdeps/i386/fpu/e_pow.S: Likewise.
60102         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60103         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60104         * sysdeps/i386/fpu/s_expm1.S: Likewise.
60105         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60106         * sysdeps/i386/fpu/e_log2.S: Likewise.
60107         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60108         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60109         * sysdeps/i386/fpu/e_powl.S: Likewise.
60110         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60111         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60112         * sysdeps/i386/fpu/e_logl.S: Likewise.
60113         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60114         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60115         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60116         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60117         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60118         * sysdeps/i386/fpu/e_log.S: Likewise.
60119         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60120         * sysdeps/i386/fpu/e_logf.S: Likewise.
60121         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60122         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60123         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60124         * sysdeps/i386/fpu/e_log10.S: Likewise.
60125         * sysdeps/i386/fpu/s_frexp.S: Likewise.
60126         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60127         * sysdeps/i386/fpu/s_asinh.S: Likewise.
60128         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60129         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60130         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
60131         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60132         * sysdeps/i386/i686/strtok.S: Likewise.
60133         * sysdeps/i386/i386-mcount.S: Likewise.
60134         * sysdeps/i386/strtok.S: Likewise.
60135         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
60136         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60137         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60138         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60139         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60140         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60141         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60142         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60143         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60144         * sysdeps/x86_64/_mcount.S: Likewise.
60145         * sysdeps/x86_64/strtok.S: Likewise.
60146         * sysdeps/sh/_mcount.S: Likewise.
60148 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60150         * libio/iofopen.c: Include <fcntl.h>.
60151         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
60152         (_IO_fopen64, fopen64): Define as aliases.
60153         * libio/iofopen64.c: Include <fcntl.h>.
60154         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
60155         Conditionalize body on this.
60156         * sysdeps/wordsize-64/iofopen.c: File removed.
60157         * sysdeps/wordsize-64/iofopen64.c: File removed.
60159 2012-08-01  Marek Polacek  <polacek@redhat.com>
60161         * libc/Makeconfig: Use elf in place of binfmt-subdir.
60162         Use dlfcn directly instead of a variable.
60163         (binfmt-subdir): Do not define.
60164         (dlfcn): Likewise.
60166 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
60168         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
60169         Remove all definitions.
60170         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
60171         <kernel-features.h>.
60172         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60173         (miss_F_GETOWN_EX): Remove all definitions.
60174         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
60175         macro definition.
60176         [!__ASSUME_FCNTL64]: Remove conditional code.
60177         [__ASSUME_FCNTL64]: Make code unconditional.
60178         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
60179         <kernel-features.h>.
60180         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60181         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
60182         (lockf64) [__NR_fcntl64]: Make code unconditional.
60183         (lockf64) [__ASSUME_FCNTL64]: Likewise.
60185         * sysdeps/unix/sysv/linux/kernel-features.h
60186         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
60187         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
60188         Make code unconditional.
60189         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60190         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
60192         [__NR_vfork]: Make code unconditional.
60193         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60194         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
60196         [__NR_vfork]: Make code unconditional.
60197         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60198         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60200 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60202         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
60203         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
60205         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60206         Define mkstemp64 as an alias.
60207         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60208         Define mkstemps64 as an alias.
60209         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60210         Define mkostemp64 as an alias.
60211         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60212         Define mkostemps64 as an alias.
60213         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
60214         Conditionalize body on this.
60215         * misc/mkostemp64.c: Likewise.
60216         * misc/mkostemps64.c: Likewise.
60217         * misc/mkstemps64.c: Likewise.
60218         * sysdeps/wordsize-64/mkstemp64.c: File removed.
60219         * sysdeps/wordsize-64/mkostemp64.c: File removed.
60220         * sysdeps/wordsize-64/mkostemp.c: File removed.
60221         * sysdeps/wordsize-64/mkstemp.c: File removed.
60222         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
60223         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
60224         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
60225         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
60227         [BZ #14138]
60228         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
60229         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
60230         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
60231         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
60233         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
60234         compat_symbol macros from <shlib-compat.h> rather than the underlying
60235         default_symbol_version and symbol_version macros, so that DEFAULT
60236         lines in shlib-versions are respected.
60237         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
60239 2012-08-01  Florian Weimer  <fweimer@redhat.com>
60241         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
60242         Declare with warn_unused_result.
60243         (setgid, setregid, setegid, setresgid): Likewise.
60244         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
60245         Likewise.
60246         * WUR-REPORT: Remove set*id functions.
60248 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
60250         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
60252 2012-07-31  Roland McGrath  <roland@hack.frob.com>
60254         [BZ #10191]
60255         * include/sys/socket.h (__libc_accept, __libc_accept4):
60256         Add attribute_hidden.
60257         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
60259         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
60260         use of PTR_MANGLE.
60261         * inet/getnetgrent_r.c (setup): Likewise.
60263         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
60265 2012-07-31  David S. Miller  <davem@davemloft.net>
60267         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60269 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
60271         [BZ #13629]
60272         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
60273         value between 1.0 and 2.0 and smaller part has absolute value less
60274         than 1.0.
60275         * math/s_clog10.c (__clog10): Likewise.
60276         * math/s_clog10f.c (__clog10f): Likewise.
60277         * math/s_clog10l.c (__clog10l): Likewise.
60278         * math/s_clogf.c (__clogf): Likewise.
60279         * math/s_clogl.c (__clogl): Likewise.
60280         * math/libm-test.inc (clog_test): Add more tests.
60281         (clog10_test): Likewise.
60282         * sysdeps/i386/fpu/libm-test-ulps: Update.
60283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60285 2012-07-31  Florian Weimer  <fweimer@redhat.com>
60287         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
60288         Exit with zero in case no suitable GID is found, and write a
60289         message to standard error.
60291 2012-07-30  Roland McGrath  <roland@hack.frob.com>
60293         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
60294         rather than to 1.
60295         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
60296         (MAXPATHLEN): Removed.
60297         (NOGROUP, NODEV): New macros.
60298         (setbit, clrbit, isset, isclr): New macros.
60299         (howmany, roundup, powerof2): New macros.
60300         (DEV_BSIZE): New macro.
60302         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
60303         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
60305         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
60306         definition on [!__NO_LONG_DOUBLE_MATH].
60308         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
60309         PTR_MANGLE and PTR_DEMANGLE.
60311         * socket/accept4.c (accept4): Rename to __libc_accept4.
60312         Define accept4 as a weak alias.
60314         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
60315         on [_DIRENT_HAVE_D_TYPE].
60316         * io/ftw.c (ftw_dir): Likewise.
60318         * io/xmknod.c (__xmknod): Don't check PATH for being null.
60320         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
60322         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
60323         Use the BSD numbers rather than the arbitrary ones we had.
60324         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
60325         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
60326         (SIGXCPU, SIGXFSZ): New macros.
60327         (_NSIG): Now 32.
60329         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
60330         initializer on [_LIBC_REENTRANT].
60332         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
60333         definitions inside [_POSIX_MAPPED_FILES].
60335         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
60337         * dirent/opendir.c: Include <fcntl.h>.
60339         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
60340         (__libc_getspecific): Likewise.
60341         (__libc_key_create): Likewise.
60343         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
60344         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
60345         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
60346         (tmpfile64): Define as alias.
60347         * sysdeps/wordsize-64/tmpfile.c: File removed.
60348         * sysdeps/wordsize-64/tmpfile64.c: File removed.
60349         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
60350         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
60352         * stdio-common/vfscanf.c: Include <stdbool.h>.
60353         * nss/makedb.c: Likewise.
60354         * stdio-common/_i18n_number.h: Likewise.
60355         * argp/argp-help.c: Likewise.
60356         * posix/wordexp.c: Likewise.
60357         * sysdeps/posix/spawni.c: Likewise.
60358         * nss/nss_files/files-initgroups.c: Likewise.
60359         * stdio-common/reg-modifier.c: Include <stdlib.h>.
60360         * nss/nss_files/files-initgroups.c: Likewise.
60361         * nss/nss_db/db-netgrp.c: Likewise.
60362         * nss/nss_db/db-initgroups.c: Likewise.
60363         * io/fchmodat.c: Include <sys/stat.h>.
60365         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
60366         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
60368         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
60369         [HAVE_MMAP].
60371         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
60372         Add multiple inclusion protection.
60374 2012-07-27  David S. Miller  <davem@davemloft.net>
60376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60378 2012-07-27  Gary Benson  <gbenson@redhat.com>
60380         [BZ #14298]
60381         * elf/rtld.c: Include <stap-probe.h>.
60382         (dl_main): Added static probes "init_start" and "init_complete".
60383         * elf/dl-load.c: Include <stap-probe.h>.
60384         (lose): Take new parameter "nsid".
60385         Added static probe "map_failed".
60386         (_dl_map_object_from_fd): Pass namespace id to lose.
60387         Added static probe "map_start".
60388         (open_verify): Pass namespace id to lose.
60389         * elf/dl-open.c: Include <stap-probe.h>.
60390         (dl_open_worker) Added static probes "map_complete", "reloc_start"
60391         and "reloc_complete".
60392         * elf/dl-close.c: Include <stap-probe.h>.
60393         (_dl_close_worker): Added static probes "unmap_start" and
60394         "unmap_complete".
60395         * elf/rtld-debugger-interface.txt: New file documenting the above.
60397 2012-07-26  Roland McGrath  <roland@hack.frob.com>
60399         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
60400         rather than a string variable.
60401         * sunrpc/rpc_main.c (h_output): Likewise.
60402         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
60404 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
60406         * inet/check_native.c: New file.
60408 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
60410         [BZ #13629]
60411         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
60412         if larger part has absolute value 1.0.
60413         * math/s_clog10.c (__clog10): Likewise.
60414         * math/s_clog10f.c (__clog10f): Likewise.
60415         * math/s_clog10l.c (__clog10l): Likewise.
60416         * math/s_clogf.c (__clogf): Likewise.
60417         * math/s_clogl.c (__clogl): Likewise.
60418         * math/libm-test.inc (clog_test): Add more tests.
60419         (clog10_test): Likewise.
60420         * sysdeps/i386/fpu/libm-test-ulps: Update.
60421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60423         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
60424         (pltexit): Likewise.
60425         (La_regs): Likewise.
60426         (La_retval): Likewise.
60427         (int_retval): Likewise.
60428         Update #error for removed macros to refer only to definitions in
60429         tst-audit.h.
60430         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
60431         macro.
60432         (pltexit): Likewise.
60433         (La_regs): Likewise.
60434         (La_retval): Likewise.
60435         (int_retval): Likewise.
60436         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
60437         macro.
60438         (pltexit): Likewise.
60439         (La_regs): Likewise.
60440         (La_retval): Likewise.
60441         (int_retval): Likewise.
60442         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
60443         macro.
60444         (pltexit): Likewise.
60445         (La_regs): Likewise.
60446         (La_retval): Likewise.
60447         (int_retval): Likewise.
60448         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
60449         macro.
60450         (pltexit): Likewise.
60451         (La_regs): Likewise.
60452         (La_retval): Likewise.
60453         (int_retval): Likewise.
60454         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
60455         macro.
60456         (pltexit): Likewise.
60457         (La_regs): Likewise.
60458         (La_retval): Likewise.
60459         (int_retval): Likewise.
60460         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
60461         macro.
60462         (pltexit): Likewise.
60463         (La_regs): Likewise.
60464         (La_retval): Likewise.
60465         (int_retval): Likewise.
60466         * sysdeps/generic/tst-audit.h: Update comment to refer only to
60467         macro definitions in tst-audit.h.
60468         * sysdeps/i386/tst-audit.h: New file.
60469         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
60470         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
60471         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
60472         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
60473         * sysdeps/sh/tst-audit.h: Likewise.
60474         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
60475         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
60476         * sysdeps/x86_64/tst-audit.h: Likewise.
60478 2012-07-26  Andreas Jaeger  <aj@suse.de>
60480         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
60481         ptrace.
60483         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
60484         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
60485         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
60486         PTRACE_O_MASK.
60487         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
60488         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
60489         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
60491         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
60492         value.
60494         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
60495         _sigsys.
60496         (si_call_addr, si_syscall, si_arch): Define new macro.
60497         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
60498         _sigsys.
60499         (si_call_addr, si_syscall, si_arch): Define new marcro.
60500         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
60501         _sigsys.
60502         (si_call_addr, si_syscall, si_arch): Define new macro.
60503         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
60504         _sigsys.
60505         (si_call_addr, si_syscall, si_arch): Define new macro.
60507 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60509         [BZ #13717]
60510         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60511         Change to 2.4.21 where previously 2.4.1.
60512         * sysdeps/unix/sysv/linux/configure: Regenerated.
60513         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
60514         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
60515         Linux kernel version.
60516         (__ASSUME_STD_AUXV): Remove.
60517         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
60518         kernel version.
60519         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
60520         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
60521         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
60522         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
60523         (__ASSUME_NETLINK_SUPPORT): Likewise.
60524         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
60525         (__no_netlink_support): Remove conditional definition.
60526         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
60527         Remove.
60528         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60529         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
60530         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
60531         (if_nameindex_ioctl): Remove.
60532         (if_nameindex_netlink): Do not handle __no_netlink_support.
60533         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60534         code.
60535         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
60536         Remove conditional code.
60537         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60538         code.
60539         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
60540         unconditional.
60541         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60542         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
60543         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
60544         Remove.
60545         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
60546         [!__ASSUME_STD_AUXV]: Remove conditional code.
60547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
60548         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
60549         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
60550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
60551         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
60552         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60553         code.
60554         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60556         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
60557         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60558         conditional code.
60559         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60561         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60562         code.
60563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60564         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60565         conditional code.
60566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
60567         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60568         code unconditional.
60569         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60570         conditional code.
60571         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60572         unconditional.
60573         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60574         conditional code.
60575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60576         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60577         unconditional.
60578         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60579         conditional code.
60580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60581         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60582         code unconditional.
60583         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60584         conditional code.
60585         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60586         unconditional.
60587         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60588         conditional code.
60589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60590         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60591         code unconditional.
60592         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60593         conditional code.
60594         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60595         unconditional.
60596         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60597         conditional code.
60599 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
60601         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60602         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60603         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60604         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60605         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60606         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60607         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60608         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60609         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60610         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60611         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60612         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60613         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60614         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60615         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60616         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60617         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60618         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60619         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60620         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60621         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60622         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60623         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60625 2012-07-25  Florian Weimer  <fweimer@redhat.com>
60627         * Versions.def: Add GLIBC_2.17.
60628         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60629         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60630         Introduce __libc_secure_getenv.
60631         * stdlib/Versions (2.17): Add secure_getenv
60632         (GLIBC_PRIVATE): Add __libc_secure_getenv.
60633         * stdlib/secure-getenv.c: Rename __secure_getenv to
60634         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
60635         symbol __secure_getenv for GLIBC_2.0.
60636         * stdlib/tst-secure-getenv.c: New.
60637         * stdlib/Makefile (tests): Add testcase.
60638         * manual/startup.texi (Environment Access): Document
60639         secure_getenv.
60640         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60641         __libc_secure_getenv.
60642         * inet/ruserpass.c (ruserpass): Likewise.
60643         * malloc/mtrace.c (mtrace): Likewise.
60644         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60645         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60646         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60647         * sysdeps/posix/tempname.c: Likewise.  Evaluate
60648         HAVE_SECURE_GETENV.
60649         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60650         __secure_getenv to __libc_secure_getenv.
60651         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60653         Likewise.
60654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60655         Likewise.
60656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60658         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60661         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60664 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60666         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60667         (struct La_i86_retval): Likewise.
60668         (struct La_x86_64_regs): Likewise.
60669         (struct La_x86_64_retval): Likewise.
60670         (struct La_x32_regs): Likewise.
60671         (struct La_x32_retval): Likewise.
60672         (struct La_ppc32_regs): Likewise.
60673         (struct La_ppc32_retval): Likewise.
60674         (struct La_ppc64_regs): Likewise.
60675         (struct La_ppc64_retval): Likewise.
60676         (struct La_sh_regs): Likewise.
60677         (struct La_sh_retval): Likewise.
60678         (struct La_s390_32_regs): Likewise.
60679         (struct La_s390_32_retval): Likewise.
60680         (struct La_s390_64_regs): Likewise.
60681         (struct La_s390_64_retval): Likewise.
60682         (struct La_sparc32_regs): Likewise.
60683         (struct La_sparc32_retval): Likewise.
60684         (struct La_sparc64_regs): Likewise.
60685         (struct La_sparc64_retval): Likewise.
60686         (struct audit_ifaces): Remove architecture-specific pltenter and
60687         pltexit members.
60688         * sysdeps/i386/ldsodefs.h: New file.
60689         * sysdeps/powerpc/ldsodefs.h: Likewise.
60690         * sysdeps/s390/ldsodefs.h: Likewise.
60691         * sysdeps/sh/ldsodefs.h: Likewise.
60692         * sysdeps/sparc/ldsodefs.h: Likewise.
60693         * sysdeps/x86_64/ldsodefs.h: Likewise.
60695 2012-07-25  Marek Polacek  <polacek@redhat.com>
60697         [BZ #6808]
60698         * math/libm-test.inc (yn_test): Add another test.
60699         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60700         to ERANGE when the result is +-Inf.
60701         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60702         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60703         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60704         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60706 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
60708         * conform/data/time.h-data (NULL): Use macro-constant.  Require
60709         equal to 0.
60710         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
60711         clock_t.
60712         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
60714 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
60716         * configure.in <sysdeps resolving>: Correct printing
60717         Implies_before.
60718         * configure: Regenerate.
60720 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
60722         * math/w_ilogb.c: Include <limits.h>.
60723         * math/w_ilogbl.c: Likewise.
60725 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60727         * manual/lang.texi (__va_copy): Document primarily as ISO C99
60728         va_copy.  Document allowing for unavailable va_copy only as
60729         pre-C99 compatibility.
60730         * manual/string.texi (Copying and Concatenation): Use va_copy
60731         instead of __va_copy in concat example.
60733 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
60735         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60736         (__sendto): Use create_address_port.  Initialize APORT and deallocate
60737         it if not null.
60739         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60740         with O_NOLINK passed to __file_name_lookup.
60742         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60743         with O_NOLINK passed to __file_name_lookup.
60745         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60746         negative N or less than NGIDS.
60748         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60749         type to string_t.  Set ERANGE as errno and return it if NAME is not big
60750         enough.  Use memcpy instead of strncpy.
60752 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60754         * elf/Makefile (check-data): Remove.
60755         (localplt.data): New vpath directive.
60756         ($(objpfx)check-localplt.out): Use localplt.data from vpath
60757         instead of $(check-data).
60758         * scripts/data/localplt-generic.data: Move to ...
60759         * sysdeps/generic/localplt.data: ... here.
60760         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60761         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60762         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60764         ... here.
60765         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60767         ... here.
60768         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60770         ... here.
60771         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60773         ... here.
60774         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60776         ... here.
60777         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60779         ... here.
60781 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60783         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60784         PPC32 and PPC64 files.
60785         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60786         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60788 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60790         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60791         __makecontext_ret to ...
60792         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60793         ... here and call exit if uc_link is NULL.  New file.
60794         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60795         __makecontext_ret.S.
60796         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60797         __makecontext_ret to ...
60798         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60799         ... here and call exit if uc_link is NULL.  New file.
60800         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60801         __makecontext_ret.S.
60803 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60805         * elf/elf.h (R_390_IRELATIVE): New definition.
60806         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60807         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
60808         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60809         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60810         (elf_machine_lazy_rel): Likewise.
60811         * sysdeps/s390/dl-irel.h: New file.
60812         * sysdeps/s390/s390-64/memcpy.S: New asm code.
60813         * sysdeps/s390/s390-64/memset.S: New asm code.
60814         * sysdeps/s390/s390-64/memcmp.S: New asm code.
60815         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60816         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60817         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60818         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60819         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60820         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60821         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60822         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60823         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60824         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60825         * sysdeps/s390/s390-32/memcpy.S: New asm code.
60826         * sysdeps/s390/s390-32/memset.S: New asm code.
60827         * sysdeps/s390/s390-32/memcmp.S: New asm code.
60829 2012-07-17  Marek Polacek  <polacek@redhat.com>
60831         [BZ #14349]
60832         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60833         * sysdeps/s390/s390-64/configure.in: Likewise.
60834         * sysdeps/sparc/configure.in: Likewise.
60835         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60836         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60837         * sysdeps/i386/configure.in: Likewise.
60838         * sysdeps/x86_64/configure.in: Likewise.
60839         * sysdeps/sh/configure.in: Likewise.
60840         * sysdeps/s390/s390-32/configure: Regenerated.
60841         * sysdeps/s390/s390-64/configure: Likewise.
60842         * sysdeps/x86_64/configure: Likewise.
60843         * sysdeps/sh/configure: Likewise.
60844         * sysdeps/powerpc/powerpc64/configure: Likewise.
60845         * sysdeps/powerpc/powerpc32/configure: Likewise.
60846         * sysdeps/sparc/configure: Likwise.
60847         * sysdeps/i386/configure: Likewise.
60849         * elf/dl-open.c: Comment fixes.
60851 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
60853         * Makefile [CXX] (check-data): Remove.
60854         [CXX] (c++-types.data): New vpath directive.
60855         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60856         vpath.  Do not allow for C++ type data being missing.
60857         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60858         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60859         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60860         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60861         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60862         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60863         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60865         ... here.
60866         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60868         ... here.
60869         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60871         ... here.
60872         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60874         ... here.
60875         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60877         ... here.
60878         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60879         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60880         ... here.
60881         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60883         ... here.
60884         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60885         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60887         * elf/tls-macros.h (TLS_LE): Move architecture-specific
60888         definitions to architecture-specific files.
60889         (TLS_IE): Likewise.
60890         (TLS_LD): Likewise.
60891         (TLS_GD): Likewise.
60892         * sysdeps/i386/tls-macros.h: New file.
60893         * sysdeps/powerpc/tls-macros.h: Likewise.
60894         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60895         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60896         * sysdeps/sh/tls-macros.h: Likewise.
60897         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60898         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60899         * sysdeps/x86_64/tls-macros.h: Likewise.
60901 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60903         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60904         zero value for regular exit case.
60906         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60907         (__start_context): Preserve zero value for regular exit case.
60909 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60910             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60912         * manual/setjmp.texi (setcontext): Clarify normal process
60913         termination when uc_link is the null pointer.
60914         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60915         exit call.
60917 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
60919         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60920         preprocessor.  Test for each exception mask separately.
60922 2012-07-16  Andreas Jaeger  <aj@suse.de>
60924         * po/ru.po: Update from translation team.
60926 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
60928         * conform/data/string.h-data (NULL): Use macro-constant.  Require
60929         equal to 0.
60930         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60931         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60932         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60933         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60934         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60936 2012-07-13  Andreas Jaeger  <aj@suse.de>
60938         * po/fr.po: Update from translation team.
60940 2012-07-12  Marek Polacek  <polacek@redhat.com>
60942         [BZ #14173]
60943         * math/libm-test.inc (yn_test): Add test for BZ #14173.
60944         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60945         loop condition.
60947 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
60949         [BZ #13717]
60950         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60951         Change to 2.4.1 where previously 2.4.0.
60952         * sysdeps/unix/sysv/linux/configure: Regenerated.
60953         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60954         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60955         version.
60956         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60957         (__ASSUME_AT_CLKTCK): Remove.
60958         (__ASSUME_AT_PAGESIZE): Likewise.
60959         (__ASSUME_AT_XID): Likewise.
60960         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60961         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60962         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60963         unconditionally.
60964         (HAVE_AUX_PAGESIZE): Likewise.
60965         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60966         [__ASSUME_AT_CLKTCK]: Make code unconditional.
60967         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60969 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
60971         [BZ #14307]
60972         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60973         the temporary buffer used to invoke __gethostbyname2_r,
60974         __gethostbyaddr_r and gethostbyname4_r to make room for struct
60975         host_data / struct gaih_addrtuple.
60976         * resolv/nss_dns/dns-host.c (global scope): Move definition of
60977         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60978         header file nss/nsswitch.h.
60979         * nss/nsswitch.h (global scope): Add definition of implementation
60980         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60981         resolv/nss_dns/dns-host.c).
60983 2012-07-11  Andreas Jaeger  <aj@suse.de>
60985         * po/fr.po: Update from translation team.
60987         * po/sv.po: Update from translation team
60988         * po/fr.po: Another update from translation team.
60990 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60992         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60993         for subnormals or multiply small sinh result by itself.
60994         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60997 2012-07-11  David S. Miller  <davem@davemloft.net>
60999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61001 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
61003         [BZ #14347]
61004         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
61005         (INTERNAL_MARK): Shift it here.
61007 2012-07-10  Marek Polacek  <polacek@redhat.com>
61009         [BZ #14151]
61010         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
61011         libc_cv_asm_global_directive with .globl.
61012         * configure: Regenerated.
61013         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
61014         with .globl.
61015         * sysdeps/i386/configure: Regenerated.
61016         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
61017         with .globl.
61018         * sysdeps/x86_64/configure: Regenerated.
61019         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
61020         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
61021         * elf/tst-unique2mod2.c: Likewise.
61022         * elf/tst-unique2mod1.c: Likewise.
61023         * elf/tst-unique1mod2.c: Likewise.
61024         * elf/tst-unique1mod1.c: Likewise.
61025         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61026         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61027         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61028         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61029         * sysdeps/mach/sysdep.h: Likewise.
61030         * sysdeps/i386/sysdep.h: Likewise.
61031         * sysdeps/i386/i386-mcount.S: Likewise.
61032         * sysdeps/x86_64/_mcount.S: Likewise.
61033         * sysdeps/x86_64/sysdep.h: Likewise.
61034         * sysdeps/sh/_mcount.S: Likewise.
61035         * sysdeps/sh/sysdep.h: Likewise.
61036         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
61037         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
61038         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
61039         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61040         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
61041         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
61042         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
61043         * locale/localeinfo.h: Likewise.
61044         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
61045         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
61047 2012-07-09  Roland McGrath  <roland@hack.frob.com>
61049         [BZ #14336]
61050         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
61051         system".
61052         * manual/message.texi (The Uniforum approach): Likewise.
61053         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
61054         (glibc iconv Implementation): Likewise.
61056 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
61058         [BZ #14337]
61059         * math/s_clog.c (__clog): Avoid scaling a value down where that
61060         could result in underflow.
61061         * math/s_clog10.c (__clog10): Likewise.
61062         * math/s_clog10f.c (__clog10f): Likewise.
61063         * math/s_clog10l.c (__clog10l): Likewise.
61064         * math/s_clogf.c (__clogf): Likewise.
61065         * math/s_clogl.c (__clogl): Likewise.
61066         * math/libm-test.inc (clog_test): Add more tests.
61067         (clog10_test): Likewise.
61068         * sysdeps/i386/fpu/libm-test-ulps: Update.
61069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61071 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
61073         [BZ #14283]
61074         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
61075         by 7 not 8 to examine high bit of fractional part.
61077         [BZ #14042]
61078         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
61079         for call to __mcount_internal.
61080         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
61081         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
61082         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
61084 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
61086         [BZ #14154]
61087         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
61088         approximation for values within 0x1p-13f of an odd multiple of
61089         pi/4.
61090         * math/libm-test.inc (tan_test): Do not allow spurious underflow
61091         exception.  Add more tests.
61092         * sysdeps/i386/fpu/libm-test-ulps: Update.
61094         [BZ #6778]
61095         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
61096         inputs and return -1 for them.  Do not check for +Inf in case not
61097         reachable for +Inf.
61098         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
61099         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
61100         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61101         and return -1 for them.  Do not check for +Inf in case not
61102         reachable for +Inf.
61103         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
61104         define.
61105         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61106         and return -1 for them.  Do not check for +Inf in case not
61107         reachable for +Inf.
61108         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
61109         spurious underflow.
61110         * sysdeps/i386/fpu/libm-test-ulps: Update.
61111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61113 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
61115         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
61117 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
61119         [BZ #14157]
61120         [BZ #14331]
61121         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
61122         could result in spurious underflow.  Scale down values above
61123         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
61124         * math/s_csqrtf.c (__csqrtf): Likewise.
61125         * math/s_csqrtl.c (__csqrtl): Likewise.
61126         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
61127         spurious underflow.
61128         * sysdeps/i386/fpu/libm-test-ulps: Update.
61129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61131 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
61133         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
61134         xopen-msg.sed.
61135         * catgets/xopen-msg.awk: New file.
61136         * catgets/xopen-msg.sed: Removed.
61138         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
61139         po2text.sed.
61140         * intl/po2test.awk: New file.
61141         * intl/po2test.sed: Removed.
61143 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
61145         [BZ #14328]
61146         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
61147         or multiply small sinh result by itself.
61148         * math/s_ctanf.c (__ctanf): Likewise.
61149         * math/s_ctanh.c (__ctanh): Likewise.
61150         * math/s_ctanhf.c (__ctanhf): Likewise.
61151         * math/s_ctanhl.c (__ctanhl): Likewise.
61152         * math/s_ctanl.c (__ctanl): Likewise.
61153         * math/libm-test.inc (ctan_test_tonearest): New function.
61154         (ctan_test_towardzero): Likewise.
61155         (ctan_test_downward): Likewise.
61156         (ctan_test_upward): Likewise.
61157         (ctanh_test_tonearest): Likewise.
61158         (ctanh_test_towardzero): Likewise.
61159         (ctanh_test_downward): Likewise.
61160         (ctanh_test_upward): Likewise.
61161         (main): Call these new functions.
61162         * sysdeps/i386/fpu/libm-test-ulps: Update.
61163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61165 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
61167         * .gitignore: Delete /ports entry.
61169 2012-07-03  Andreas Jaeger  <aj@suse.de>
61171         * po/bg.po: Update from translation team.
61172         * po/cs.po: Likewise.
61173         * po/de.po: Likewise.
61174         * po/hr.po: Likewise.
61175         * po/nl.pl: Likewise.
61176         * po/pl.po: Likewise.
61177         * po/vi.po: Likewise.
61179 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
61181         * Makeconfig [!+link] (+link-before-libc): New variable.
61182         [!+link] (+link-after-libc): Likewise.
61183         [!+link] (+link-tests): Likewise.
61184         [!+link] (+link): Define in terms of $(+link-before-libc) and
61185         $(+link-after-libc).
61186         [!+link-static] (+link-static-before-libc): New variable.
61187         [!+link-static] (+link-static-after-libc): Likewise.
61188         [!+link-static] (+link-static-tests): Likewise.
61189         [!+link-static] (+link-static): Define in terms of
61190         $(+link-static-before-libc) and $(+link-static-after-libc).
61191         [build-shared] (link-libc-before-gnulib): New variable.
61192         [build-shared] (link-libc-tests): Likewise.
61193         [build-shared] (link-libc): Define in terms of
61194         $(link-libc-before-gnulib).
61195         [!build-shared] (link-libc-tests): New variable.
61196         (link-libc-static-tests): New variable.
61197         [!gnulib] (gnulib-arch): New variable.
61198         [!gnulib] (gnulib-tests): Likewise.
61199         [!gnulib] (static-gnulib-arch): Likewise.
61200         [!gnulib] (static-gnulib-tests): Likewise.
61201         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
61202         Define with "=" instead of ":=".
61203         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
61204         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
61205         * Rules (binaries-all-notests): New variable.
61206         (binaries-all-tests): Likewise.
61207         (binaries-static-notests): Likewise.
61208         (binaries-static-tests): Likewise.
61209         (binaries-all): Define using $(binaries-all-notests) and
61210         $(binaries-all-tests).
61211         (binaries-static): Define using $(binaries-static-notests) and
61212         $(binaries-static-tests).
61213         (binaries-shared-tests): New variable.
61214         (binaries-shared-notests): Likewise.
61215         (binaries-shared): Remove variable.
61216         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
61217         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
61218         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
61219         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
61220         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
61221         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
61222         * elf/Makefile (sln-modules): New variable.
61223         (extra-objs): Add $(sln-modules:=.o).
61224         (ldconfig-modules): Add static-stubs.
61225         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
61226         * elf/static-stubs.c: New file.
61228         [BZ #14283]
61229         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
61230         by 7 not 8 to examine high bit of fractional part.  Use volatile
61231         variables when splitting into final array of floats if
61232         __FLT_EVAL_METHOD__ != 0.
61233         * math/libm-test.inc (cos_test): Add another test.
61234         (sin_test): Likewise.
61235         * sysdeps/i386/fpu/libm-test-ulps: Update.
61237         [BZ #14273]
61238         * math/libm-test.inc (cosh_test): Add more tests.
61240         * version.h (RELEASE): Set to "development".
61241         (VERSION): Set to "2.16.90".
61243 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
61245         * NEWS: Update copyright. Remove last-updated date.
61246         Mention math library bug fixes and timezone data changes.
61247         * README: Mention GNU/Hurd, x32, and HPPA support status.
61249 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
61251         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
61253 2012-06-27  Andreas Jaeger  <aj@suse.de>
61255         * manual/contrib.texi (Contributors): Add Samuel Thibault.
61257 2012-06-25  Andreas Jaeger  <aj@suse.de>
61259         * sysdeps/s390/fpu/libm-test-ulps: Update.
61261 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
61262             Thomas Schwinge  <thomas@codesourcery.com>
61264         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
61265         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
61266         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
61267         fanotify_mark.
61269 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
61271         * sysdeps/mach/start.c: Remove file.
61272         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
61273         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
61274         * sysdeps/sh/init-first.c: Likewise.
61276         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
61277         registers for frame unwinding purposes, add CFI directives.
61278         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61279         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
61280         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
61281         Likewise.
61283         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
61284         __fortify_fail returning.
61285         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61287         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
61288         sysdeps/sh/____longjmp_chk.S.
61289         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
61290         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
61291         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
61292         (gen-as-const-headers): Append sigaltstack-offsets.sym.
61294         * sysdeps/sh/abort-instr.h: New file.
61295         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
61296         process in case exit returns.
61298         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
61299         initialize the GOT register before use.
61301         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
61302         calculation of ARGC > 4.
61304         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
61305         meaningful names to some local labels.
61307 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61308             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61310         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
61311         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
61312         (__arch_compare_and_exchange_val_16_acq): Likewise.
61313         (__arch_compare_and_exchange_val_32_acq): Likewise.
61314         (atomic_exchange_and_add): Fix gUSA sequence.
61315         (atomic_add): Likewise.
61316         (atomic_add_negative): Likewise.
61317         (atomic_add_zero): Likewise.
61318         (atomic_bit_test_set): Likewise.
61320 2012-06-22  Andreas Schwab  <schwab@redhat.com>
61322         [BZ #13579]
61323         * include/link.h (struct link_map): Add l_free_initfini.
61324         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
61325         l_initfini.
61326         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
61327         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
61328         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
61329         set.
61331 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
61333         * configure.in: Use AC_LANG_SOURCE.
61334         * configure: Regenerate.
61336 2012-06-22  Roland McGrath  <roland@hack.frob.com>
61338         * configure.in (libc_cv_localstatedir): New substituted variable.
61339         * configure: Regenerated.
61340         * config.make.in (localstatedir): New variable, substituted from
61341         libc_cv_localstatedir.
61342         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
61343         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
61344         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
61345         * sysdeps/gnu/configure: Regenerated.
61347 2012-06-21  Jeff Law  <law@redhat.com>
61349         [BZ #14277]
61350         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
61351         free.  Simplify list management for _LIBC case.
61353 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
61355         [BZ #14273]
61356         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
61357         Clear sign bit of 64-bit integer value before comparing against
61358         overflow value.
61360         * sysdeps/mach/configure: Regenerated.
61362 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
61364         [BZ #14278]
61365         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
61367 2012-06-21  Jeff Law  <law@redhat.com>
61369         [BZ #13882]
61370         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
61371         uint16_t for elements in the "seen" array to avoid char overflows.
61372         * elf/dl-fini.c (_dl_sort_fini): Likewise.
61373         * elf/dl-open.c (dl_open_worker): Likewise.
61375 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
61377         * scripts/list-sources.sh: Scan PORTS for translations.
61378         * po/libc.pot: Regenerated.
61380 2012-06-21  Andreas Jaeger  <aj@suse.de>
61382         [BZ #12194]
61383         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
61384         warning.
61385         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
61386         * bits/byteswap-16.h (__bswap_16): Likewise.
61387         * bits/byteswap.h (__bswap_constant_16): Likewise.
61389 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
61391         [BZ #14117]
61392         * sysdeps/i386/fpu_control.h: Removed.
61393         * sysdeps/x86_64/fpu_control.h: Moved to ...
61394         * sysdeps/x86/fpu_control.h: Here.
61396         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
61397         (_FPU_SETCW): Likewise.
61399 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
61401         [BZ #14117]
61402         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
61403         * sysdeps/x86/fpu/bits/mathinline.h: This.
61404         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
61406         [BZ #14050]
61407         [BZ #14117]
61408         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
61409         functions if __x86_64__ is defined.
61411 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
61413         * string/endian.h: Add !__ASSEMBLER__ condition for including
61414         conversion interfaces.
61416 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
61418         [BZ #14241]
61419         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
61420         of ABS(x) in calculating zero to negative powers other than odd
61421         integers.
61422         * math/libm-test.inc (pow_test): Add more tests.
61424 2012-06-15  Andreas Jaeger  <aj@suse.de>
61426         * manual/contrib.texi (Contributors): Update entry of Liubov
61427         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
61428         Machado Filho.
61430 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
61432         * string/string.h: Add __wur to GNU version of strerror_r.
61434 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
61436         [BZ #14229]
61437         * string/Makefile (tests): Add tst-strtok_r.
61438         * string/tst-strtok_r.c: New file.
61439         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
61440         RAX_LP/RDX_LP on SAVE_PTR.
61442 2012-06-14  Roland McGrath  <roland@hack.frob.com>
61444         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
61446 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
61448         * libm_test.inc (csqrt_test): Allow more spurious underflow
61449         exceptions.
61450         (j0_test): Likewise.
61451         (j1_test): Likewise.
61452         (y0_test): Likewise.
61453         (y1_test): Likewise.
61455 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
61457         * po/Makefile (libc.pot): Use UTF-8 charset.
61459 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
61461         [BZ #14210]
61462         Suppress sign-conversion warning from FD_SET.
61463         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
61464         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
61465         not unsigned long int.
61466         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
61468 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
61470         [BZ #14050]
61471         [BZ #14117]
61472         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
61473         __extern_always_inline instead of __extern_inline.
61474         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
61475         (__signbit): Likewise.
61476         (__signbitl): Support C++ namespace.
61477         (lrintf): New inline function.
61478         (lrint): Likewise.
61479         (llrintf): Likewise.
61480         (llrint): Likewise.
61481         (fmaxf): Likewise.
61482         (fmax): Likewise.
61483         (fminf): Likewise.
61484         (fmin): Likewise.
61485         (rint): Likewise.
61486         (rintf): Likewise.
61487         (ceil): Likewise.
61488         (ceilf): Likewise.
61489         (floor): Likewise.
61490         (floorf): Likewise.
61491         (nearbyint): Likewise.
61492         (nearbyintf): Likewise.
61494 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
61496         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
61497         non-default versions.
61499 2012-06-11  Roland McGrath  <roland@hack.frob.com>
61501         [BZ #14218]
61502         * manual/argp.texi (Argp): Reword argp_parse description slightly.
61504 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
61506         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
61507         (FE_UPWARD, FE_DOWNWARD): Don't define.
61508         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
61509         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61511         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
61512         reading it.
61513         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61514         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61516 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61518         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61519         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
61520         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
61521         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
61523 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
61525         [BZ #14117]
61526         * sysdeps/i386/fpu/bits/fenv.h: Removed.
61527         * sysdeps/i386/fpu/Implies: New file.
61528         * sysdeps/x86_64/fpu/Implies: Likewise.
61529         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
61530         * sysdeps/x86/fpu/bits/fenv.h: This.
61532         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
61533         __SSE_MATH__.
61535 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
61537         [BZ #14134]
61538         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
61539         character 0xffff that matches the last element of the
61540         conversion table.
61542 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61544         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
61545         fmodl commit.
61547 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61549         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
61550         values higher than 25.6283.
61552 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61554         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
61555         subnormal exponent extraction and add some __builtin_expect.
61556         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
61557         Fix for subnormal mantissa calculation.
61559 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
61561         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
61562         cpu2 is -1 and errno is not ENOSYS.
61564 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
61566         [BZ #14117]
61567         * sysdeps/i386/i486/bits/string.h: Renamed to ...
61568         * sysdeps/x86/bits/string.h: This.
61569         * sysdeps/x86_64/bits/string.h: Removed.
61571         * sysdeps/i386/i486/bits/string.h: Define inline functions only
61572         if not compiling for x86-64, but compiling for >= i486.
61574         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
61575         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
61577         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
61578         New macro from Linux kernel 3.4.0.
61579         (FP_XSTATE_MAGIC2): Likewise.
61580         (FP_XSTATE_MAGIC2_SIZE): Likewise.
61581         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
61582         (struct _fpx_sw_bytes): New struct.
61583         (struct _xsave_hdr): Likewise.
61584         (struct _ymmh_state): Likewise.
61585         (struct _xstate): Likewise.
61587         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61588         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61589         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61590         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61591         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61592         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61594         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61595         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61596         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61597         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61598         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61599         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61601 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61603         [BZ #13743]
61604         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61605         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61606         (sysdep_headers): Include sys/platform/ppc.h.
61607         * sysdeps/powerpc/test-gettimebase.c: Test for
61608         __ppc_get_timebase() to catch future ISA opcode/insn changes.
61609         * manual/Makefile (appendices): Include platform.texi.
61610         * manual/contrib.texi (Contributors): Update @node pointers.
61611         * manual/maint.texi (Maintenance): Likewise.
61612         (Platform): New node.
61613         * manual/platform.texi: New file.  Document the new features.
61615 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61616             Jakub Jelinek  <jakub@redhat.com>
61618         [BZ #14188]
61619         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61620         where __builtin_expect is unavailable.
61622 2012-06-03  David S. Miller  <davem@davemloft.net>
61624         * stdlib/longlong.h: Updated from GCC.
61626 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
61628         [BZ #14042]
61629         * sysdeps/powerpc/powerpc32/mcount.c: New file.
61630         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61631         __mcount_internal.
61632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61633         (GLIBC_2.16): Likewise.
61635 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61637         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61639 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61642         (default-abi): New variable.
61643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61644         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61645         variable.
61646         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61647         Likewise.
61648         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61649         Likewise.
61650         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61651         Likewise.
61653         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61654         definition.  Document in comment.
61656 2012-06-01  David S. Miller  <davem@davemloft.net>
61658         * stdlib/longlong.h: Updated from GCC.
61660 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61662         [BZ #14117]
61663         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61664         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61665         sys/debugreg.h sys/io.h here.
61666         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61667         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61668         sys/io.h.
61669         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61670         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61671         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61672         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61673         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61674         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61676         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61677         Define only if __x86_64__ is defined.
61679 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61681         [BZ #14048]
61682         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61683         Use int64_t for variable i.
61684         * math/libm-test.inc (fmod_test): Add more tests.
61686         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61687         z computation is not scheduled after fetestexcept.
61688         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61689         Use math_force_eval instead of asm to ensure calculation scheduled
61690         before exception test.
61691         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61692         Ensure a1 + u.d computation is not scheduled after fetestexcept.
61694 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
61696         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61697         computation is not scheduled after fetestexcept.
61699 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61701         [BZ #14117]
61702         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61703         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61705 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61707         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61708         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61710 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61712         [BZ #14117]
61713         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61714         <bits/wordsize.h>.
61715         (__WCHAR_MIN): Support __WORDSIZE == 64.
61716         (__WCHAR_MAX): Likewise.
61718         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61719         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61721         [BZ #14183]
61722         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61723         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61725         [BZ #14117]
61726         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61727         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61729         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61730         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61732         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61733         Defined to 1 if __x86_64__ isn't defined.
61734         (_STAT_VER_LINUX_OLD): New.
61735         (st_atime): Remove duplicate.
61736         (st_mtime): Likewise.
61737         (st_ctime): Likewise.
61739 2012-05-31  David S. Miller  <davem@davemloft.net>
61741         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61742         entries.
61744 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
61746         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61747         gen-libm-test.pl.
61749         [BZ #14132]
61750         * elf/dl-reloc.c: Include <_itoa.h>.
61751         (_dl_reloc_bad_type): Remove use of INTUSE.
61752         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61753         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61754         * stdio-common/psiginfo.c (psiginfo): Likewise.
61755         * stdio-common/psignal.c (psignal): Likewise.
61756         * string/strsignal.c (strsignal): Likewise.
61757         * include/signal.h (_sys_siglist): Declare hidden proto.
61758         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
61759         INTVARDEF with libc_hidden_data_def.
61760         * stdio-common/itoa-udigits.c: Likewise.
61761         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61762         (_itoa_lower_digits_internal): Remove declaration.
61763         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61764         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61765         (_sys_sigabbrev_internal): Remove aliases.
61766         (_sys_siglist): Define hidden alias.
61768 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
61770         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61771         bits/sysctl.h.
61773 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61775         [BZ #14117]
61776         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61777         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61779         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61780         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61781         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61782         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61783         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61784         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61786         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61787         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61788         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61790         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61791         with __addr.
61792         (insw): Likewise.
61793         (insl): Likewise.
61794         (outsb): Likewise.
61795         (outsw): Likewise.
61796         (outsl): Likewise.
61798         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61799         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61800         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61802         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61803         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61804         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61805         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61806         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61807         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61809         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61810         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61812         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61813         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61815         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61816         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61817         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61819         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61820         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61821         to ...
61822         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61824         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61825         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61826         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61828         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61829         for x86-64.
61830         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61832 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
61834         * math/math.h (M_El): Use two more decimal places.
61835         (M_LOG2El): Likewise.
61836         (M_LOG10El): Likewise.
61837         (M_LN2l): Likewise.
61838         (M_LN10l): Likewise.
61839         (M_PIl): Likewise.
61840         (M_PI_2l): Likewise.
61841         (M_PI_4l): Likewise.
61842         (M_1_PIl): Likewise.
61843         (M_2_PIl): Likewise.
61844         (M_2_SQRTPIl): Likewise.
61845         (M_SQRT2l): Likewise.
61846         (M_SQRT1_2l): Likewise.
61848 2012-05-31  David S. Miller  <davem@davemloft.net>
61850         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61851         values between float registers.
61852         * sysdeps/sparc/sparc64/memset.S: Likewise.
61853         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61855 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
61857         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61858         -D_FORTIFY_SOURCE=1.
61859         (CPPFLAGS-tst-longjmp_chk.c): Define.
61860         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61861         (CPPFLAGS-tst-longjmp_chk2.c): Define.
61862         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61863         CFLAGS-tst-wchar-h.c.
61865 2012-05-31  Marek Polacek  <polacek@redhat.com>
61867         [BZ #14132]
61868         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61869         __endmntent_internal): Remove declaration.
61870         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61871         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61872         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61874 2012-05-30  David S. Miller  <davem@davemloft.net>
61876         * sysdeps/sparc/sparc32/soft-fp/q_util.c
61877         (___Q_simulate_exceptions): Use real FP ops rather than writing
61878         into the %fsr.
61879         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61880         Likewise.
61882 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61884         [BZ #14117]
61885         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61886         * sysdeps/x86/bits/xtitypes.h: This.
61888         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61889         * sysdeps/x86/bits/wordsize.h: This.
61891         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61892         * sysdeps/x86/bits/huge_vall.h: This.
61894         * sysdeps/i386/bits/select.h: Removed.
61895         * sysdeps/x86_64/bits/select.h: Renamed to ...
61896         * sysdeps/x86/bits/select.h: This.
61898         * sysdeps/i386/bits/setjmp.h: Removed.
61899         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61900         * sysdeps/x86/bits/setjmp.h: This.
61902         * sysdeps/i386/bits/mathdef.h: Removed.
61903         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61904         * sysdeps/x86/bits/mathdef.h: This.
61906 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
61908         [BZ #14132]
61909         * include/sys/socket.h (__connect_internal)
61910         (__libc_sa_len_internal): Remove declaration.
61911         (__connect, __libc_sa_len): Declare hidden_proto.
61912         (SA_LEN): Remove use of INTUSE.
61913         * socket/connect.c: Add libc_hidden_def.
61914         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61915         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61916         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61917         alias.
61918         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61919         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61920         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61921         of adding _internal alias.
61923 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61925         [BZ #14117]
61926         * sysdeps/i386/bits/link.h: Removed.
61927         * sysdeps/i386/bits/linkmap.h: Likewise.
61928         * sysdeps/x86_64/bits/link.h: Renamed to ...
61929         * sysdeps/x86/bits/link.h: This.
61930         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61931         * sysdeps/x86/bits/linkmap.h: This.
61933         * sysdeps/i386/bits/endian.h: Removed.
61934         * sysdeps/x86_64/bits/endian.h: Renamed to ...
61935         * sysdeps/x86/bits/endian.h: This.
61937         * sysdeps/i386/bits/byteswap.h: Removed.
61938         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61939         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61940         * sysdeps/x86/bits/byteswap.h: This.
61941         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61942         * sysdeps/x86/bits/byteswap-16.h: This.
61943         * sysdeps/i386/Implies: Add x86.
61944         * sysdeps/x86_64/Implies: Likewise.
61946 2012-05-30  David S. Miller  <davem@davemloft.net>
61948         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61949         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61950         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61951         (FP_TRAPPING_EXCEPTIONS): Define.
61952         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61953         (FP_TRAPPING_EXCEPTIONS): Define.
61954         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61955         subnormals only when inexact has been signalled or underflow
61956         exceptions are enabled.
61957         (_FP_PACK_CANONICAL): Likewise.
61959 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61961         [BZ #14183]
61962         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61963         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61965 2012-05-30  Richard Henderson  <rth@twiddle.net>
61967         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61968         with #ifndef NOT_IN_libc.
61970         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
61971         marked to avoid plt entry.
61973 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61975         [BZ #14112]
61976         * Makeconfig (default-abi): New macro.
61977         (abi-includes): Likewise.
61978         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
61979         $(abi-$(default-abi)-lib-soname) for soname if defined.
61980         ($(common-objpfx)gnu/lib-names.stmp): Generate from
61981         abi-variants.
61982         * Makefile (installed-stubs): Likewise.
61983         * include/stubs-biarch.h: Removed.
61984         * scripts/lib-names.awk: Only handle one library at a time.
61985         * scripts/soversions.awk: Remove WORDSIZE support.
61986         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61987         entries.
61988         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61989         Removed.
61990         (syscall-list-default-condition): Likewise.
61991         (syscall-list-default-condition): Likewise.
61992         (syscall-list-includes): Likewise.
61993         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61994         syscall-list-* with abi-*.  Handle undefined abi-variants.
61995         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61996         * sysdeps/unix/sysv/linux/i386/Implies: New file.
61997         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61998         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61999         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
62000         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
62001         Removed.
62002         (syscall-list-32-options): Likewise.
62003         (syscall-list-32-condition): Likewise.
62004         (syscall-list-64-options): Likewise.
62005         (syscall-list-64-condition): Likewise.
62006         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
62007         macro.
62008         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
62009         Renamed to ...
62010         (abi-*): This.
62011         (abi-64-ld-soname): New macro.
62012         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
62013         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
62014         Renamed to ...
62015         (abi-*): This.
62016         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
62017         * sysdeps/x86_64/x32/shlib-versions: Likewise.
62019 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
62021         * sysdeps/unix/sysv/linux/kernel-features.h
62022         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
62023         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
62024         include <kernel-features.h>.
62025         [!__NR_ftruncate64]: Remove conditional code.
62026         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62027         [__NR_ftruncate64]: Make code unconditional.
62028         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62029         * sysdeps/unix/sysv/linux/truncate64.c: Do not
62030         include <kernel-features.h>.
62031         [!__NR_ftruncate64]: Remove conditional code.
62032         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62033         [__NR_ftruncate64]: Make code unconditional.
62034         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
62036         include <kernel-features.h>.
62037         [!__NR_ftruncate64]: Remove conditional code.
62038         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62039         [__NR_ftruncate64]: Make code unconditional.
62040         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62042         include <kernel-features.h>.
62043         [!__NR_ftruncate64]: Remove conditional code.
62044         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62045         [__NR_ftruncate64]: Make code unconditional.
62046         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62048         * configure.in (libc_cv_fpie): Weaken to a compile test using
62049         LIBC_TRY_CC_OPTION.
62050         * configure: Regenerated.
62052 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
62055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
62056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
62057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62058         Refreshed.
62059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
62060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
62061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
62062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
62063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
62064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62065         Refreshed.
62067 2012-05-27  David S. Miller  <davem@davemloft.net>
62069         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
62070         (___Q_zero): New.
62071         (__Q_simulate_exceptions): Return void.  Change to simulate
62072         exceptions by writing into the %fsr.
62073         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
62074         (__Qp_handle_exceptions): Likewise.
62075         (numbers): Delete.
62076         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
62077         __Qp_handle_exceptions.
62078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
62079         __Qp_handle_exceptions.
62080         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62081         as unused and give dummy FP_RND_NEAREST initializer.
62082         (FP_INHIBIT_RESULTS): Define.
62083         (___Q_simulate_exceptions): Update declaration.
62084         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
62085         formatting.
62086         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62087         as unused and give dummy FP_RND_NEAREST initializer.
62088         (__Qp_handle_exceptions): Update declaration.
62089         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
62090         formatting.
62092 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
62094         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
62095         the temporary FPU control word.
62096         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
62097         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
62098         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
62099         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62100         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
62101         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
62102         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
62103         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62104         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
62105         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
62106         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62108 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62110         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
62111         fields.
62113 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
62115         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
62116         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
62117         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
62118         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
62119         Likewise.
62120         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
62121         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
62122         Likewise.
62124 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
62126         * po/h.po: Update from translation team.
62128 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
62130         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
62132         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
62133         handling of denormals.
62134         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62135         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
62136         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62137         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62138         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62139         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
62140         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
62141         Likewise.
62143 2012-05-26  Marek Polacek  <polacek@redhat.com>
62145         [BZ #14152]
62146         * math/libm-test.inc (fma_test): Don't always expect underflow
62147         exception.
62149 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62151         [BZ #12416]
62152         * elf/tst-execstack.c: Include stackinfo.h.
62153         (do_test): Adjust test case to ensure that pthread_getattr_np
62154         behaviour remains the same after marking stack executable.
62156 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62158         * sysdeps/unix/sysv/linux/kernel-features.h
62159         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
62160         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
62161         kernel-features.h.
62162         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62163         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62164         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
62165         kernel-features.h.
62166         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62167         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62169 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
62171         * configure.in: Define the default includes to being none.
62172         * configure: Regenerated.
62174 2012-05-25  Roland McGrath  <roland@hack.frob.com>
62176         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
62177         * sysdeps/x86_64/setjmp.S: Likewise.
62178         * sysdeps/i386/bsd-setjmp.S: Likewise.
62179         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62180         * sysdeps/i386/setjmp.S: Likewise.
62181         * sysdeps/i386/__longjmp.S: Likewise.
62182         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62183         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
62185         * include/stap-probe.h: New file.
62186         * configure.in: Handle --enable-systemtap.
62187         * configure: Regenerated.
62188         * config.h.in (USE_STAP_PROBE): New #undef.
62189         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
62190         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
62191         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
62193 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62195         [BZ #13717]
62196         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62197         to 2.4.0 where earlier.
62198         * sysdeps/unix/sysv/linux/configure: Regenerated.
62199         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62200         <kernel-features.h>.
62201         [__ASSUME_32BITUIDS]: Make code unconditional.
62202         [!__ASSUME_32BITUIDS]: Remove conditional code.
62203         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
62204         <kernel-features.h>.
62205         [__ASSUME_32BITUIDS]: Make code unconditional.
62206         [!__ASSUME_32BITUIDS]: Remove conditional code.
62207         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
62208         [__ASSUME_32BITUIDS]: Make code unconditional.
62209         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
62210         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
62211         <kernel-features.h>.
62212         [__ASSUME_32BITUIDS]: Make code unconditional.
62213         [!__ASSUME_32BITUIDS]: Remove conditional code.
62214         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
62215         <kernel-features.h>.
62216         [__ASSUME_32BITUIDS]: Make code unconditional.
62217         [!__ASSUME_32BITUIDS]: Remove conditional code.
62218         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
62219         <kernel-features.h>.
62220         [__ASSUME_32BITUIDS]: Make code unconditional.
62221         [!__ASSUME_32BITUIDS]: Remove conditional code.
62222         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
62223         <kernel-features.h>.
62224         [__ASSUME_32BITUIDS]: Make code unconditional.
62225         [!__ASSUME_32BITUIDS]: Remove conditional code.
62226         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62227         <kernel-features.h>.
62228         [__ASSUME_32BITUIDS]: Make code unconditional.
62229         [!__ASSUME_32BITUIDS]: Remove conditional code.
62230         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62231         <kernel-features.h>.
62232         [__ASSUME_32BITUIDS]: Make code unconditional.
62233         [!__ASSUME_32BITUIDS]: Remove conditional code.
62234         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
62235         <kernel-features.h>.
62236         [__ASSUME_32BITUIDS]: Make code unconditional.
62237         [!__ASSUME_32BITUIDS]: Remove conditional code.
62238         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62239         <kernel-features.h>.
62240         [__ASSUME_32BITUIDS]: Make code unconditional.
62241         [!__ASSUME_32BITUIDS]: Remove conditional code.
62242         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62243         <kernel-features.h>.
62244         [__ASSUME_32BITUIDS]: Make code unconditional.
62245         [!__ASSUME_32BITUIDS]: Remove conditional code.
62246         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
62247         <kernel-features.h>.
62248         [__ASSUME_32BITUIDS]: Make code unconditional.
62249         [!__ASSUME_32BITUIDS]: Remove conditional code.
62250         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
62251         <kernel-features.h>.
62252         [__NR_setresgid] (__setresgid): Do not declare.
62253         [__ASSUME_32BITUIDS]: Make code unconditional.
62254         [!__ASSUME_32BITUIDS]: Remove conditional code.
62255         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
62256         <kernel-features.h>.
62257         [__NR_setresuid] (__setresuid): Do not declare.
62258         [__ASSUME_32BITUIDS]: Make code unconditional.
62259         [!__ASSUME_32BITUIDS]: Remove conditional code.
62260         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
62261         <kernel-features.h>.
62262         [__ASSUME_32BITUIDS]: Make code unconditional.
62263         [!__ASSUME_32BITUIDS]: Remove conditional code.
62264         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
62265         <kernel-features.h>.
62266         [__ASSUME_32BITUIDS]: Make code unconditional.
62267         [!__ASSUME_32BITUIDS]: Remove conditional code.
62268         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
62269         <kernel-features.h>.
62270         [__ASSUME_32BITUIDS]: Make code unconditional.
62271         [!__ASSUME_32BITUIDS]: Remove conditional code.
62272         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
62273         <kernel-features.h>.
62274         [__ASSUME_32BITUIDS]: Make code unconditional.
62275         [!__ASSUME_32BITUIDS]: Remove conditional code.
62276         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
62277         <kernel-features.h>.
62278         [__ASSUME_32BITUIDS]: Make code unconditional.
62279         [!__ASSUME_32BITUIDS]: Remove conditional code.
62280         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
62281         <kernel-features.h>.
62282         [__ASSUME_32BITUIDS]: Make code unconditional.
62283         [!__ASSUME_32BITUIDS]: Remove conditional code.
62284         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
62285         <kernel-features.h>.
62286         [__ASSUME_32BITUIDS]: Make code unconditional.
62287         [!__ASSUME_32BITUIDS]: Remove conditional code.
62288         * sysdeps/unix/sysv/linux/i386/setreuid.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/setuid.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/shmctl.c: Do not include
62297         <kernel-features.h>.
62298         [__ASSUME_32BITUIDS]: Make code unconditional.
62299         [!__ASSUME_32BITUIDS]: Remove conditional code.
62300         * sysdeps/unix/sysv/linux/kernel-features.h
62301         (__ASSUME_SETRESUID_SYSCALL): Remove.
62302         (__ASSUME_SETRESGID_SYSCALL): Likewise.
62303         (__ASSUME_32BITUIDS): Likewise.
62304         (__ASSUME_LDT_WORKS): Likewise.
62305         (__ASSUME_O_DIRECTORY): Likewise.
62306         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
62307         architecture but not kernel version.
62308         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
62309         (__ASSUME_MMAP2_SYSCALL): Likewise.
62310         (__ASSUME_STAT64_SYSCALL): Likewise.
62311         (__ASSUME_IPC64): Likewise.
62312         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
62313         <kernel-features.h>.
62314         [__ASSUME_32BITUIDS]: Make code unconditional.
62315         [!__ASSUME_32BITUIDS]: Remove conditional code.
62316         * sysdeps/unix/sysv/linux/opendir.c: Do not include
62317         <kernel-features.h>.
62318         [__ASSUME_O_DIRECTORY]: Make code unconditional.
62319         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
62320         132096]: Remove conditional code.
62321         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
62322         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62323         <kernel-features.h>.
62324         [__ASSUME_32BITUIDS]: Make code unconditional.
62325         [!__ASSUME_32BITUIDS]: Remove conditional code.
62326         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62327         <kernel-features.h>.
62328         [__ASSUME_32BITUIDS]: Make code unconditional.
62329         [!__ASSUME_32BITUIDS]: Remove conditional code.
62330         * sysdeps/unix/sysv/linux/setegid.c: Do not include
62331         <kernel-features.h>.
62332         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
62333         unconditional.
62334         (__setresgid): Do not declare.
62335         [__ASSUME_32BITUIDS]: Make code unconditional.
62336         [!__ASSUME_32BITUIDS]: Remove conditional code.
62337         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
62338         <kernel-features.h>.
62339         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
62340         unconditional.
62341         (__setresuid): Do not declare.
62342         [__ASSUME_32BITUIDS]: Make code unconditional.
62343         [!__ASSUME_32BITUIDS]: Remove conditional code.
62344         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62345         <kernel-features.h>.
62346         [__ASSUME_32BITUIDS]: Make code unconditional.
62347         [!__ASSUME_32BITUIDS]: Remove conditional code.
62348         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
62349         <kernel-features.h>.
62350         [__ASSUME_32BITUIDS]: Make code unconditional.
62351         [!__ASSUME_32BITUIDS]: Remove conditional code.
62353 2012-05-25  Richard Henderson  <rth@twiddle.net>
62355         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
62356         dl_hwcap to ifunc resolver.
62357         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
62358         elf_ifunc_invoke.
62359         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
62360         dl_hwcap to ifunc resolver.
62361         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
62363 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62365         [BZ #14153]
62366         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
62367         for |x| <= 2**-26, not 2**-57.
62368         * math/libm-test.inc (acos_test): Do not allow spurious underflow
62369         exception.
62371 2012-05-24  Jeff Law  <law@redhat.com>
62373         * stdio-common/Makefile (tests): Add bug25.
62374         * stdio-common/bug25.c: New test.
62376 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62378         [BZ #13576]
62379         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
62380         multiple of MALLOC_ALIGNMENT in size.
62381         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
62383 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62385         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
62386         Require >= 256.
62387         (FILENAME_MAX): Use macro-int-constant.
62388         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
62389         (_IOFBF): Use macro-int-constant.
62390         (_IOLBF): Likewise.
62391         (_IONBF): Likewise.
62392         (SEEK_CUR): Likewise.
62393         (SEEK_END): Likewise.
62394         (SEEK_SET): Likewise.
62395         (TMP_MAX): Likewise.
62396         (EOF): Use macro-int-constant.  Require < 0.
62397         (NULL): Use macro-constant.  Require == 0.
62398         (stdin): Require type to be FILE *.
62399         (stdout): Likewise.
62400         (stderr): Likewise.
62401         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
62402         macro-int-constant.
62403         (EXIT_SUCCESS): Likewise.
62404         (NULL): Use macro-constant.  Require == 0.
62405         (RAND_MAX): Use macro-int-constant.
62406         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
62407         [C99-based standards] (strtof): Require function.
62408         [C99-based standards] (strtold): Likewise.
62409         [C99-based standards] (strtoll): Likewise.
62410         [C99-based standards] (strtoull): Likewise.
62411         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62412         [ISO || ISO99 || ISO11] (limits.h): Likewise.
62413         [ISO || ISO99 || ISO11] (math.h): Likewise.
62414         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
62415         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62416         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62418 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
62420         [BZ #14132]
62421         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
62422         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
62423         * intl/dgettext.c (DCGETTEXT): Likewise.
62424         * intl/gettext.c (DCGETTEXT): Likewise.
62425         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
62426         * posix/regex_internal.h (gettext): Likewise.
62427         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
62428         Remove declaration.
62429         * include/argz.h (__argz_count_internal)
62430         (__argz_stringify_internal): Remove declaration.
62431         (__argz_count, __argz_stringify): Declare hidden proto.
62432         * intl/dcgettext.c: Remove use of INTDEF.
62433         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
62434         * string/argz-stringify.c: Likewise.
62435         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62436         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62437         Declare hidden proto.
62438         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62439         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62440         Declare hidden proto.
62441         * include/stdio.h (__asprintf_internal): Don't declare.
62442         (__asprintf): Don't define as macro.  Declare hidden proto.
62443         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
62444         (__fsetlocking): Declare hidden proto.
62445         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
62446         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
62447         hidden proto.
62448         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
62449         (_IO_setlinebuf): Remove use of INTUSE.
62450         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
62451         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
62452         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
62453         Remove declaration.
62454         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
62455         (_IO_do_flush): Remove use of INTUSE.
62456         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
62457         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
62458         (_IO_adjust_column, _IO_least_wmarker)
62459         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
62460         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
62461         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
62462         (_IO_default_doallocate, _IO_wdefault_doallocate)
62463         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
62464         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
62465         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
62466         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
62467         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
62468         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
62469         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
62470         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
62471         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
62472         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
62473         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
62474         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
62475         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
62476         proto.
62477         (_IO_flush_all_internal, _IO_adjust_column_internal)
62478         (_IO_default_uflow_internal, _IO_default_finish_internal)
62479         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
62480         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
62481         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
62482         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
62483         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
62484         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
62485         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
62486         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
62487         (_IO_file_close_internal, _IO_file_close_it_internal)
62488         (_IO_file_underflow_internal, _IO_file_overflow_internal)
62489         (_IO_file_init_internal, _IO_file_attach_internal)
62490         (_IO_file_fopen_internal, _IO_file_read_internal)
62491         (_IO_file_sync_internal, _IO_file_seek_internal)
62492         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
62493         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
62494         (_IO_str_underflow_internal, _IO_str_overflow_internal)
62495         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
62496         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
62497         (_IO_list_all_internal, _IO_link_in_internal)
62498         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
62499         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
62500         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
62501         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
62502         (_IO_do_write_internal, _IO_padn_internal)
62503         (_IO_getline_info_internal, _IO_getline_internal)
62504         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
62505         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
62506         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
62507         (_IO_vfscanf_internal, _IO_vfprintf_internal)
62508         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
62509         (_IO_init_internal, _IO_un_link_internal): Don't declare.
62510         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
62511         with libc_hidden_ver, remove use of INTUSE.
62512         * libio/genops.c: Likewise.
62513         * libio/freopen.c: Likewise.
62514         * libio/freopen64.c: Likewise.
62515         * libio/iofclose.c: Likewise.
62516         * libio/iofdopen.c: Likewise.
62517         * libio/iofflush.c: Likewise.
62518         * libio/iofflush_u.c: Likewise.
62519         * libio/iofgets.c: Likewise.
62520         * libio/iofgets_u.c: Likewise.
62521         * libio/iofopen.c: Likewise.
62522         * libio/iofopncook.c: Likewise.
62523         * libio/iofread.c: Likewise.
62524         * libio/iofread_u.c: Likewise.
62525         * libio/ioftell.c: Likewise.
62526         * libio/iofwrite.c: Likewise.
62527         * libio/iogetline.c: Likewise.
62528         * libio/iogets.c: Likewise.
62529         * libio/iogetwline.c: Likewise.
62530         * libio/iopadn.c: Likewise.
62531         * libio/iopopen.c: Likewise.
62532         * libio/ioseekoff.c: Likewise.
62533         * libio/ioseekpos.c: Likewise.
62534         * libio/iosetbuffer.c: Likewise.
62535         * libio/iosetvbuf.c: Likewise.
62536         * libio/ioungetc.c: Likewise.
62537         * libio/ioungetwc.c: Likewise.
62538         * libio/iovdprintf.c: Likewise.
62539         * libio/iovsprintf.c: Likewise.
62540         * libio/iovsscanf.c: Likewise.
62541         * libio/memstream.c: Likewise.
62542         * libio/obprintf.c: Likewise.
62543         * libio/oldfileops.c: Likewise.
62544         * libio/oldiofclose.c: Likewise.
62545         * libio/oldiofdopen.c: Likewise.
62546         * libio/oldiofopen.c: Likewise.
62547         * libio/oldiopopen.c: Likewise.
62548         * libio/oldstdfiles.c: Likewise.
62549         * libio/putc.c: Likewise.
62550         * libio/setbuf.c: Likewise.
62551         * libio/setlinebuf.c: Likewise.
62552         * libio/stdfiles.c: Likewise.
62553         * libio/strops.c: Likewise.
62554         * libio/vasprintf.c: Likewise.
62555         * libio/vscanf.c: Likewise.
62556         * libio/vsnprintf.c: Likewise.
62557         * libio/vswprintf.c: Likewise.
62558         * libio/wfiledoalloc.c: Likewise.
62559         * libio/wfileops.c: Likewise.
62560         * libio/wgenops.c: Likewise.
62561         * libio/wmemstream.c: Likewise.
62562         * libio/wstrops.c: Likewise.
62563         * libio/__fpurge.c: Likewise.
62564         * libio/__fsetlocking.c: Likewise.
62565         * assert/assert.c: Likewise.
62566         * debug/fgets_chk.c: Likewise.
62567         * debug/fgets_u_chk.c: Likewise.
62568         * debug/fread_chk.c: Likewise.
62569         * debug/fread_u_chk.c: Likewise.
62570         * debug/gets_chk.c: Likewise.
62571         * debug/obprintf_chk.c: Likewise.
62572         * debug/vasprintf_chk.c: Likewise.
62573         * debug/vdprintf_chk.c: Likewise.
62574         * debug/vsnprintf_chk.c: Likewise.
62575         * debug/vsprintf_chk.c: Likewise.
62576         * malloc/mtrace.c: Likewise.
62577         * misc/error.c: Likewise.
62578         * misc/syslog.c: Likewise.
62579         * stdio-common/asprintf.c: Likewise.
62580         * stdio-common/fxprintf.c: Likewise.
62581         * stdio-common/getw.c: Likewise.
62582         * stdio-common/isoc99_fscanf.c: Likewise.
62583         * stdio-common/isoc99_scanf.c: Likewise.
62584         * stdio-common/isoc99_vfscanf.c: Likewise.
62585         * stdio-common/isoc99_vscanf.c: Likewise.
62586         * stdio-common/isoc99_vsscanf.c: Likewise.
62587         * stdio-common/printf-prs.c: Likewise.
62588         * stdio-common/printf_fp.c: Likewise.
62589         * stdio-common/printf_fphex.c: Likewise.
62590         * stdio-common/printf_size.c: Likewise.
62591         * stdio-common/putw.c: Likewise.
62592         * stdio-common/scanf.c: Likewise.
62593         * stdio-common/sprintf.c: Likewise.
62594         * stdio-common/tmpfile.c: Likewise.
62595         * stdio-common/vfprintf.c: Likewise.
62596         * stdio-common/vfscanf.c: Likewise.
62597         * stdlib/strfmon_l.c: Likewise.
62598         * sunrpc/openchild.c: Likewise.
62599         * sunrpc/xdr_stdio.c: Likewise.
62600         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62601         * sysdeps/mach/hurd/tmpfile.c: Likewise.
62603 2012-05-24  Roland McGrath  <roland@hack.frob.com>
62605         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62607         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62608         in the third column, to generate for the shared library an IFUNC
62609         that uses _dl_vdso_vsym.
62610         * Makerules (COMPILE.c, compile-stdin.c): New variables.
62611         * Makeconfig (object-suffixes-noshared): New variable.
62613         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62614         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62615         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62616         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62618         [BZ #14132]
62619         * include/sys/time.h (__gettimeofday): Remove macro.
62620         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62621         * time/gettimeofday.c (__gettimeofday): Remove #undef.
62622         Remove INTDEF.
62623         (__gettimeofday): Add libc_hidden_def.
62624         (gettimeofday): Add libc_hidden_weak.
62625         * sysdeps/mach/gettimeofday.c: Likewise.
62626         * sysdeps/posix/gettimeofday.c: Likewise.
62627         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62628         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62629         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62630         (__gettimeofday_internal): Remove strong_alias.
62631         (__gettimeofday): Add libc_hidden_def.
62632         (gettimeofday): Add libc_hidden_weak.
62633         * sysdeps/unix/syscalls.list (gettimeofday):
62634         Remove __gettimeofday_internal alias.
62636 2012-05-24  Daniel Jacobowitz  <drow@false.org>
62637             H.J. Lu  <hongjiu.lu@intel.com>
62639         [BZ #12495]
62640         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62641         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62642         (largebin_index_32_big): New.
62643         (largebin_index): Use it for 16-byte alignment.
62644         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
62645         correction with front_misalign.
62647 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62649         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62651         Likewise.
62652         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62653         Likewise.
62654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62655         Likewise.
62656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62657         Likewise.
62658         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62659         Likewise.
62660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62661         Likewise.
62662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62663         Likewise.
62664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62665         Likewise.
62666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62667         Likewise.
62668         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62669         Likewise.
62670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62671         Likewise.
62672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62673         Likewise.
62675         * scripts/data/c++-types-x32-linux-gnu.data: New file.
62676         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62678 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62680         [BZ #10846]
62681         [BZ #14036]
62682         * math/libm-test.inc (exp_test): Add test from bug 14036.
62683         (pow_test): Add test from bug 10846.
62685         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62686         and other flags.
62687         (special_function): Do not include flags in test name.
62688         (parse_args): Likewise.
62689         * sysdeps/i386/fpu/libm-test-ulps: Update.
62690         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62691         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62692         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62695         * math/gen-libm-test.pl (%beautify): Add entries for underflow
62696         exceptions.
62697         * math/libm-test.inc ("Philosophy"): Update comment about
62698         exception testing.
62699         (UNDERFLOW_EXCEPTION): New macro.
62700         (UNDERFLOW_EXCEPTION_OK): Likewise.
62701         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62702         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62703         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62704         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62705         (INVALID_EXCEPTION_OK): Update value.
62706         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62707         (OVERFLOW_EXCEPTION_OK): Likewise.
62708         (IGNORE_ZERO_INF_SIGN): Likewise.
62709         (test_exceptions): Handle underflow exceptions.
62710         (acos_test): Update for underflow exception expectations.
62711         (cexp_test): Likewise.
62712         (clog_test): Likewise.
62713         (clog10_test): Likewise.
62714         (csqrt_test): Likewise.
62715         (ctan_test): Likewise.
62716         (ctanh_test): Likewise.
62717         (exp_test): Likewise.
62718         (exp10_test): Likewise.
62719         (exp2_test): Likewise.
62720         (expm1_test): Likewise.
62721         (fma_test): Likewise.
62722         (j0_test): Likewise.
62723         (jn_test): Likewise.
62724         (nexttoward_test): Likewise.
62725         (pow_test): Likewise.
62726         (scalbn_test): Likewise.
62727         (scalbln_test): Likewise.
62728         (tan_test): Likewise.
62729         (y1_test): Likewise.
62730         * sysdeps/i386/fpu/libm-test-ulps: Update.
62731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62733 2012-05-23  David S. Miller  <davem@davemloft.net>
62735         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62736         (__libc_sigaction): Remove unused local variables.
62738 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62740         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62742 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
62744         mktime: avoid signed integer overflow
62745         * time/mktime.c (__mktime_internal): Do not mishandle the case
62746         where diff == INT_MIN.
62748         mktime: simplify computation of average
62749         * time/mktime.c (ranged_convert): Use new time_t_avg function
62750         instead of rolling our own (probably-slower) code.
62752         mktime: do not assume signed right shift propagates sign bit
62753         * time/mktime.c (isdst_differ): New static function.
62754         (__mktime_internal): No need to normalize tm_isdst now.
62755         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62756         tm_isdst values.
62758         mktime: merge another wrapv change from gnulib
62759         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62760         from some compilers.
62762         mktime: remove incorrect attempt at unusual arithmetics
62763         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62764         The code didn't really work on such machines anyway.
62765         (TYPE_MINIMUM): Assume two's complement.
62766         (twos_complement_arithmetic): Verify that long_int and time_t
62767         are two's complement (or unsigned, in the latter case).
62769         mktime: check signed shifts on long_int and time_t, too
62770         * time/mktime.c (SHR): Check that shifts work as desired
62771         on the types long_int and time_t too, as SHR is used on
62772         such types.
62774         mktime: do not assume 'long' is wide enough
62775         * time/mktime.c (verify): Move decl up.
62776         (long_int): New type.
62777         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62778         to remove assumption in the code that 'long' is wide enough to
62779         store year values.  This assumption is not true on x32 and on
62780         some non-glibc platforms.
62782         mktime: merge wrapv change from gnulib
62783         * time/mktime.c (WRAPV): New macro.
62784         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62785         (guess_time_tm, __mktime_internal): Do not assume that signed
62786         integer overflow wraps around; modern compilers generate code
62787         where this assumption is no longer valid.
62789 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62791         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62792         Replace "jmp L(pseudo_end)" with "ret".
62793         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62794         Likewise.
62796 2012-05-23  Andreas Jaeger  <aj@suse.de>
62798         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62799         * sysdeps/unix/sysv/linux/poll.c: Remove file.
62801 2012-05-23  Andreas Jaeger  <aj@suse.de>
62802             Maximilian Attems  <max@stro.at>
62804         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62805         New macros.
62807 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62809         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62810         code so that pseudo_end is just ret and the stack pointer is
62811         correct also for static library in error case.
62813 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
62815         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62816         move to syscalls.list.
62817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62822         * manual/install.texi (Running make install): Do not mention Linux
62823         kernel version for which pt_chown is not needed.
62824         (Linux): Do not mention problems with nscd with 2.0 kernels.
62825         * INSTALL: Regenerated.
62827 2012-05-23  Andreas Jaeger  <aj@suse.de>
62829         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62830         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62831         macro.
62832         * sysdeps/unix/sysv/linux/s390/bits/mman.h
62833         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62834         * sysdeps/unix/sysv/linux/sh/bits/mman.h
62835         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62836         * sysdeps/unix/sysv/linux/i386/bits/mman.h
62837         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62838         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62839         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62840         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62841         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62842         * sysdeps/unix/sysv/linux/bits/in.h
62843         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62845 2012-05-22  Roland McGrath  <roland@hack.frob.com>
62847         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62848         (PREPARE_VERSION): Just use assert instead, it will be elided
62849         under [NDEBUG] anyway.
62851 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62853         * sysdeps/unix/sysv/linux/Makefile: Include
62854         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62855         (sysdep_routines): Remove sysctl.
62856         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62857         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62858         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62859         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62860         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62862 2012-05-22  Andreas Jaeger  <aj@suse.de>
62864         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62865         that pseudo_end is just ret and the stack pointer is correct also
62866         for static library in error case.
62868 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
62870         [BZ #14122]
62871         * nss/nsswitch.c (defconfig_entries): New variable.
62872         (__nss_database_lookup): Don't leak defconfig entries.
62873         (nss_parse_service_list): Don't leak on error paths.
62874         (free_database_entries): New function.
62875         (free_defconfig): New function.
62876         (free_mem): Move common code to free_database_entries.
62878 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62880         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62881         Add arch_prctl.
62882         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62884         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62885         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62886         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62887         New macro.
62888         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62889         (INTERNAL_SYSCALL_TYPES): Likewise.
62890         (LOAD_ARGS_TYPES_[1-6]): Likewise.
62891         (LOAD_REGS_TYPES_[1-6]): Likewise.
62892         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62893         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62895 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62897         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62898         copysignl for GLIBC_2_0.
62899         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62900         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62901         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62902         logbl for GLIBC_2_0.
62903         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62904         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62906 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62908         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62909         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62911         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62912         Use "neg %eax".
62914         * time/mktime.c: Update copyright years.
62916 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
62918         mktime: merge comment-quoting-style change from gnulib
62919         * time/mktime.c: Quote 'like this' in comments.
62920         The GNU coding standards suggest that we no longer quote `like this',
62921         as "`" and "'" are typically rendered asymmetrically nowadays.
62922         The typical gnulib style is to quote 'like this' when quoting
62923         code, and "like this" when quoting English.
62925         * time/mktime.c (compile-command): Add "-I.".
62927         mktime: merge mktime-internal.h change from gnulib
62928         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62930         mktime: merge time_r change from gnulib
62931         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62933         mktime: merge DEBUG change from gnulib
62934         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62935         case system <time.h> has a #define.
62937         mktime: merge <sys/types.h> change from gnulib
62938         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62939         since <time.t> is now guaranteed to define time_t.
62941         mktime: merge HAVE_CONFIG_H change from gnulib
62942         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62944 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62946         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62947         Use "neg %eax".
62949         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62950         __rlim_t cast.
62951         (struct rusage): Use anonymous union to pad each field to
62952         __syscall_slong_t.
62954 2012-05-21  David S. Miller  <davem@davemloft.net>
62956         * Makefules (o-iterator): Remove .s cases.
62957         (compile-command.s): Delete.
62958         (COMPILE.s): Delete.
62959         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62961 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
62963         * configure.in (libc_cv_predef_stack_protector): Only consider
62964         "foobar" and "__stack_chk_fail" lines in libc_undefs.
62965         * configure: Regenerated.
62967 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62969         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62970         New macro.  Use R*LP on int and pointer.
62971         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62972         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62973         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62974         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62976         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62977         [__WORDSIZE_TIME64_COMPAT32] instead of
62978         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62979         (struct utmp): Likewise.
62980         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62981         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62982         Renamed to ...
62983         (__WORDSIZE_TIME64_COMPAT32): This.
62984         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62985         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62986         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62987         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62988         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62989         (__WORDSIZE_TIME64_COMPAT32): New macro.
62991 2012-05-21  Andreas Jaeger  <aj@suse.de>
62993         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62994         only if [SHARED]. Add prototype for __wcschr_ia32.
62996 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62998         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62999         of %rbp unmolested in the jmp_buf while mangling the low bits.
63000         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
63001         unmolested high bits of %rbp while demangling the low bits.
63002         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63004 2012-05-21  Andreas Jaeger  <aj@suse.de>
63006         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
63007         * sunrpc/svc_simple.c: Use it for registerrpc.
63008         * sunrpc/xcrypt.c: Use it for passwd2des.
63010         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
63012 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63014         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
63015         Don't define if [__SYSCALL_WORDSIZE != 32].
63016         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
63017         New macro.
63019 2012-05-21  Bruno Haible  <bruno@clisp.org>
63020             Andreas Jaeger  <aj@suse.de>
63022         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
63023         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
63024         inptr and inend for must_buffer_ch.
63025         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
63026         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
63027         * stdio-common/Makefile (tests): Remove bug15.
63028         (bug15-ENV): Remove macro.
63029         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
63030         anymore.
63032 2012-05-19  Andreas Jaeger  <aj@suse.de>
63033             Roland McGrath  <roland@hack.frob.com>
63035         * manual/contrib.texi: Completely rewritten. It contains now an
63036         alphabetical list of contributors and their contributions.
63038 2012-05-21  Richard Henderson  <rth@twiddle.net>
63040         * misc/getauxval.c (__getauxval): Use unsigned long int.
63041         * misc/sys/auxv.h: Include <sys/cdefs.h>.
63042         (getauxval): Use unsigned long int.
63044 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63046         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63048 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63050         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
63051         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
63052         __alignof__ (long double).
63054 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63058 2012-05-20  Richard Henderson  <rth@twiddle.net>
63060         * misc/getauxval.c: New file.
63061         * misc/sys/auxv.h: New file.
63062         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
63063         (routines): Add getauxval.
63064         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
63065         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
63066         * elf/dl-sysdep.c (_dl_auxv): Remove.
63067         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
63068         * elf/dl-support.c (_dl_auxv): New variable.
63069         (_dl_aux_init): Initialize it.
63070         * manual/startup.texi (Auxiliary Vector): New node.
63071         * sysdeps/generic/bits/hwcap.h: New file.
63072         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
63073         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
63074         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
63075         * sysdeps/sparc/sysdep.h: ... here.  Include it.
63076         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
63077         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
63078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63079         Update.
63080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
63081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
63082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
63083         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
63084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63085         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
63087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
63089 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63093 2012-05-19  David S. Miller  <davem@davemloft.net>
63095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63097 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63099         [BZ #14123]
63100         * math/s_ccosh.c: Include <float.h>
63101         (__ccosh): Avoid internal overflow calculating sinh and cosh
63102         values before multiplying by sin and cos values.
63103         * math/s_ccoshf.c: Likewise.
63104         * math/s_ccoshl.c: Likewise.
63105         * math/s_csin.c: Likewise.
63106         * math/s_csinf.c: Likewise.
63107         * math/s_csinl.c: Likewise.
63108         * math/s_csinh.c: Likewise.
63109         * math/s_csinhf.c: Likewise.
63110         * math/s_csinhl.c: Likewise.
63111         * math/libm-test.inc (ccos_test): Add more tests.
63112         (ccosh_test): Likewise.
63113         (csin_test): Likewise.
63114         (csinh_test): Likewise.
63115         * sysdeps/i386/fpu/libm-test-ulps: Update.
63116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63118 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
63120         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
63121         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
63123         * sysdeps/x86_64/x32/_itoa.h: Add comment.
63125 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63127         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
63128         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
63129         * sysdeps/powerpc/soft-fp/Versions: Likewise.
63130         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
63131         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
63132         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
63133         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
63134         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
63135         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
63136         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
63137         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
63138         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
63139         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
63140         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
63141         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
63142         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
63143         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
63144         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
63145         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
63146         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
63147         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
63148         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
63149         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
63150         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
63151         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
63152         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
63153         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
63154         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
63155         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
63156         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
63157         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
63159 2012-05-18  Andreas Jaeger  <aj@suse.de>
63161         * csu/.gitignore: Delete.
63163 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63165         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
63166         (timex): Use __syscall_slong_t.
63168 2012-05-18  Andreas Jaeger  <aj@suse.de>
63169             Carlos O'Donell  <carlos_odonell@mentor.com>
63171         * manual/install.texi (Configuring and compiling): Update
63172         description about files modified in the source directory.
63173         * INSTALL: Regenerated.
63175 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63177         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
63178         value.  Use "or" to set return value to -1.
63179         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
63180         negate return value.
63182 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63184         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
63185         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
63186         failure if the compiler has Graphite support disabled.
63187         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
63188         Likewise.
63189         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
63190         (CFLAGS-memmove.c): Likewise.
63191         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
63192         Likewise.
63194 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63196         * sysdeps/x86_64/x32/_itoa.h: New file.
63198         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
63199         getdents system call only if kernel and user dirents have the
63200         same d_ino and d_off.
63202         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63203         LLONG_MAX != LONG_MAX.
63204         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63205         (_fitoa_word): Likewise.
63207         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
63208         years.
63209         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
63210         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
63211         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
63213         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
63214         include <bits/wordsize.h>.  Check __x86_64__ instead of
63215         __WORDSIZE.
63216         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
63217         if __x86_64__ is defined.  Use anonymous union on fpstate.
63219         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
63220         anonymous union.
63222 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
63224         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
63225         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
63226         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
63227         Refer to _rtld_local_ro instead of _rtld_global_ro.
63228         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
63229         Likewise.
63230         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
63231         Likewise.
63232         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
63233         Likewise.
63234         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
63235         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
63236         of _rtld_global, and rtld_progname instead of _dl_argv[0].
63238         [BZ #10882]
63239         * sysdeps/powerpc/powerpc32/dl-machine.c
63240         (__elf_machine_runtime_setup) [PROF]: Don't reference
63241         _dl_prof_resolve.
63243 2012-05-18  Andreas Jaeger  <aj@suse.de>
63245         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
63246         function only available for GCCs before 3.4 since GCC 3.4
63247         introduced a builtin.
63248         (lrint): Likewise.
63249         (llrintf): Likewise.
63250         (llrint): Likewise.
63251         (fmaxf): Likewise.
63252         (fmax): Likewise.
63253         (fminf): Likewise.
63254         (fmin): Likewise.
63255         (rint): Likewise.
63256         (rintf): Likewise.
63257         (nearbyint): Likewise.
63258         (nearbyintf): Likewise.
63259         (ceil): Likewise.
63260         (ceilf): Likewise.
63261         (floor): Likewise.
63262         (floorf): Likewise.
63264 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63266         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
63267         on both fields and cast pointer to __syscall_ulong_t.
63269         * bits/types.h (__fsword_t): New type.
63270         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
63271         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
63272         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63273         (__FSWORD_T_TYPE): Likewise.
63274         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63275         (__FSWORD_T_TYPE): Likewise.
63276         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63277         (__FSWORD_T_TYPE): Likewise.
63278         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
63279         (__FSWORD_T_TYPE): Likewise.
63280         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
63281         __SWORD_TYPE with __fsword_t.
63282         (statfs64): Likewise.
63284 2012-05-17  David S. Miller  <davem@davemloft.net>
63286         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
63288 2012-05-17  Andreas Jaeger  <aj@suse.de>
63290         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
63291         warning.
63293 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63295         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
63297 2012-05-17  Andreas Jaeger  <aj@suse.de>
63299         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
63300         when it is used.
63302 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63304         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
63306 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63308         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
63309         * sysdeps/x86_64/tst-mallocalign1.c: New file.
63311 2012-05-17  Andreas Jaeger  <aj@suse.de>
63312             Carlos O'Donell  <carlos_odonell@mentor.com>
63314         [BZ #14059]
63315         * sysdeps/x86_64/multiarch/init-arch.h
63316         (bit_YMM_Usable): Rename to...
63317         (bit_AVX_Usable): ... this.
63318         (bit_FMA4_Usable): New macro.
63319         (bit_XMM_state): New macro.
63320         (bit_YMM_state): New macro.
63321         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
63322         [__ASSEMBLER__] (index_AVX_Usable): ... this.
63323         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
63324         (CPUID_OSXSAVE): New macro.
63325         (CPUID_AVX): New macro.
63326         (CPUID_FMA4): New macro.
63327         (index_YMM_Usable): Rename to...
63328         (index_AVX_Usable): ... this.
63329         (HAS_AVX): Use HAS_ARCH_FEATURE.
63330         (HAS_FMA4): Likewise.
63331         (HAS_YMM_USABLE): Remove.
63332         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63333         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
63334         are present.
63335         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
63336         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
63337         * sysdeps/x86_64/multiarch/Makefile: Likewise.
63338         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
63339         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
63341 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63343         * math/libm-test.c: Support platforms without multiple rounding modes.
63344         * math/bug-nextafter.c: Support platforms without FP exceptions.
63345         * math/bug-nexttoward.c: Likewise.
63346         * math/test-fenv.c: Likewise.
63347         * math/test-misc.c: Likewise.
63348         * stdlib/bug-getcontext.c: Likewise.
63350 2012-05-17  Andreas Jaeger  <aj@suse.de>
63352         * manual/examples/search.c (critter_cmp): Change signature to
63353         avoid warnings.
63354         * manual/string.texi (Collation Functions): Likewise.
63356 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63358         * bits/types.h: Fold copyright years.
63359         * bits/typesizes.h: Likewise.
63360         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
63361         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
63362         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
63363         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
63364         * time/time.h: Likewise.
63366 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
63368         [BZ #208]
63369         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
63370         in instead of returning them.  Return void.
63371         (__libc_mallinfo): Accumulate over all arenas.
63372         (__malloc_stats): Adjust for change in int_mallinfo interface.
63374 2012-05-16  Roland McGrath  <roland@hack.frob.com>
63376         [BZ #10375]
63377         * configure.in (NM): Add AC_CHECK_TOOL for it.
63378         (libc_extra_cflags): New substituted variable.
63379         Check for -fstack-protector being used implicitly.
63380         * configure: Regenerated.
63381         * config.make.in (config-extra-cflags): New variable,
63382         gets @libc_extra_cflags@.
63383         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
63385         [BZ #10375]
63386         * configure.in: Check for _FORTIFY_SOURCE being predefined.
63387         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
63388         * configure: Regenerated.
63389         * config.make.in (CPPUNDEFS): New substituted variable.
63390         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
63391         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
63392         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
63394 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63396         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
63397         (mq_attr): Use __syscall_slong_t.
63399 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63401         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
63402         Check __x86_64__ instead of __WORDSIZE.
63403         (_STAT_VER_LINUX): Likewise.
63404         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
63405         __syscall_ulong_t and __syscall_slong_t.
63406         (stat64): Likewise.
63408 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63410         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
63412 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63414         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
63416 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63418         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
63419         __syscall_ulong_t.
63421         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
63422         include <bits/wordsize.h>.  Check __x86_64__ instead of
63423         __WORDSIZE.
63424         (greg_t): Use "__extension__ long long int" if __x86_64__ is
63425         defined.
63426         (mcontext_t): Replace "unsigned long" with "unsigned long long".
63428         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
63429         include <bits/wordsize.h>.  Check __x86_64__ instead of
63430         __WORDSIZE.
63431         (user_regs_struct): Use "__extension__ unsigned long long"
63432         instead of "unsigned long" if __x86_64__ is defined.
63433         (user): Likewise.  Pad after pointer field if __ILP32__ is
63434         defined.
63436 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
63438         * configure.in (makeinfo): Require version 4.5 or later.  Allow
63439         versions 5 to 9.
63440         * configure: Regenerated.
63441         * manual/install.texi (texinfo): Increase version requirement to
63442         4.5 or later.
63443         * INSTALL: Regenerated.
63445         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
63447 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63449         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
63451         * sysdeps/x86_64/x32/ffs.c: New file.
63453         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
63454         __syscall_ulong_t.
63455         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
63456         defined.  Use __syscall_ulong_t.
63457         (shminfo): Use __syscall_ulong_t.
63458         (shm_info): Likewise.
63460         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
63461         __syscall_ulong_t.
63463         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
63464         <bits/wordsize.h>.
63465         (msgqnum_t): Use __syscall_ulong_t.
63466         (msglen_t): Likewise.
63467         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
63468         __syscall_ulong_t.
63470         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
63471         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63473         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
63475         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
63476         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
63478         * sysvipc/sys/msg.h (msgbuf): Replace long int with
63479         __syscall_slong_t.
63481         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
63482         include <bits/wordsize.h>.  Check __x86_64__ instead of
63483         __WORDSIZE.
63485         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
63486         "unsigned long long int" if __x86_64__ is defined.
63487         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
63489         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
63490         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63491         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
63493         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
63494         <stdint.h>.
63495         (GET_PC): Cast to uintptr_t first.
63496         (GET_FRAME): Likewise.
63497         (GET_STACK): Likewise.
63499         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
63500         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
63501         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
63502         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
63503         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
63504         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
63505         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
63506         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
63507         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
63508         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
63509         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
63510         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
63511         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63512         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
63513         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
63514         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
63515         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
63516         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
63517         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
63518         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
63519         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
63520         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
63521         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
63522         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
63523         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
63524         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
63525         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
63526         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
63527         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
63529 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
63531         * Makerules (+depfiles): Also collect depfiles from .oS in
63532         $(extra-objs).
63533         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
63534         .oS, $(libnldbl-routines)).
63536         * Makerules (native-compile-mkdep-flags): Define.
63537         * sunrpc/Makefile (extra-objs): Add $(addprefix
63538         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
63539         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
63540         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
63541         calling $(make-target-directory).
63543 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63545         * bits/types.h (__snseconds_t): Removed.
63546         * time/time.h (struct timespec): Replace __snseconds_t with
63547         __syscall_slong_t.
63548         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
63549         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
63550         Likewise.
63551         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63552         (__SNSECONDS_T_TYPE): Likewise.
63553         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63554         (__SNSECONDS_T_TYPE): Likewise.
63555         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63556         (__SNSECONDS_T_TYPE): Likewise.
63558 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63560         * sysdeps/mach/hurd/bits/typesizes.h
63561         (__SYSCALL_SLONG_TYPE): New macro.
63562         (__SYSCALL_ULONG_TYPE): Likewise.
63564 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63566         * bits/types.h (__syscall_slong_t): New type.
63567         (__syscall_ulong_t): Likewise.
63569         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
63570         (__SYSCALL_ULONG_TYPE): Likewise.
63571         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63572         (__SYSCALL_SLONG_TYPE): Likewise.
63573         (__SYSCALL_ULONG_TYPE): Likewise.
63574         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63575         (__SYSCALL_SLONG_TYPE): Likewise.
63576         (__SYSCALL_ULONG_TYPE): Likewise.
63577         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63578         (__SYSCALL_SLONG_TYPE): Likewise.
63579         (__SYSCALL_ULONG_TYPE): Likewise.
63581 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63583         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
63584         Add sigaltstack-offsets.sym.
63585         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63586         <sigaltstack-offsets.h>.
63587         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
63588         longjmp_msg pointer.
63589         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
63590         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63591         signal stack.
63592         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63594 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63596         * elf/stackguard-macros.h: Remove file.
63597         * sysdeps/generic/stackguard-macros.h: New file.
63598         * sysdeps/i386/stackguard-macros.h: Likewise.
63599         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63600         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63601         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63602         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63603         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63604         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63605         * sysdeps/x86_64/stackguard-macros.h: Likewise.
63606         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63607         <elf/stackguard-macros.h>.
63609         [BZ #14109]
63610         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63611         __aligned__ in attribute.
63612         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63613         (gregset_t): Likewise.
63615 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63617         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63618         * sysdeps/x86_64/64/Implies-after: Here.  New file.
63619         * sysdeps/x86_64/x32/Implies-after: New file.
63621 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63623         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63624         and access return value for _dl_profile_fixup.  Use R10_LP to
63625         load frame size.
63627 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63629         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63631 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63633         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63634         * sysdeps/x86_64/x32/sysdep.h: New file.
63636 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63638         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63639         * sysdeps/x86_64/setjmp.S: Likewise.
63641 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63643         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63644         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63645         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63646         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63647         remove unused global constant.
63649 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
63651         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63652         include of <not-cancel.h>.
63654 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63656         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63658 2012-05-15  Jeff Law  <law@redhat.com>
63659             Andreas Jaeger  <aj@suse.de>
63661         [BZ #13594]
63662         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63663         out from...
63664         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63665         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63666         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63667         code changing __hst_map_handle.map.
63669 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63671         * configure.in (sysnames): Look for Implies-before and Implies-after
63672         files.
63673         * configure: Regenerated.
63675 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63677         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63678         8-byte data alignment with LP_SIZE alignment.
63680 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63682         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63683         into R10_LP.
63685 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63687         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63689 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63691         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63692         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63693         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63694         Likewise.
63695         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63697 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63699         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63700         (stackinfo_sub_sp): Likewise.
63702 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63704         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63705         RAX_LP.
63707 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63709         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63710         into R*_LP.
63712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63714         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63715         sizes into R*_LP.
63717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63719         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63723         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63724         into R11_LP and load __x86_64_shared_cache_size_half into
63725         R8_LP.
63727 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63729         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63730         R8_LP.
63732 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63734         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63735         logb for POWER7.
63736         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63737         logbf for POWER7.
63738         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63739         logbl for POWER7.
63740         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63741         powerpc32/power7/fpu/s_logb.c via #include.
63742         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63743         powerpc32/power7/fpu/s_logbf.c via #include.
63744         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63745         powerpc32/power7/fpu/s_logbl.c via #include.
63747 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63749         * README.libm: Remove file.
63751 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63753         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63754         count for x32.  Use R*_LP and omit operand-size suffix.
63756 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63758         * shlib-versions: Move x86_64-.*-linux.* entries to ...
63759         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
63760         * sysdeps/x86_64/x32/shlib-versions: New file.
63762 2012-05-14  Roland McGrath  <roland@hack.frob.com>
63764         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63765         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63766         Use _dl_fatal_printf instead.
63768 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63770         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63771         set if not set by the user.  Do not allow for being unset.
63772         * sysdeps/unix/sysv/linux/configure: Regenerated.
63774 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63776         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63777         the `q' suffix from lea and replace .quad with ASM_ADDR.
63779 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63781         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63782         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
63783         instead of $17.
63784         (PTR_DEMANGLE): Likewise.
63786 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63788         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63789         (LP_OP): Likewise.
63790         (ASM_ADDR): Likewise.
63791         (RAX_LP): Likewise.
63792         (RBP_LP): Likewise.
63793         (RBX_LP): Likewise.
63794         (RCX_LP): Likewise.
63795         (RDI_LP): Likewise.
63796         (RSI_LP): Likewise.
63797         (RSP_LP): Likewise.
63798         (R8_LP): Likewise.
63799         (R9_LP): Likewise.
63800         (R10_LP): Likewise.
63801         (R10_LP): Likewise.
63802         (R11_LP): Likewise.
63803         (R12_LP): Likewise.
63804         (R13_LP): Likewise.
63805         (R14_LP): Likewise.
63806         (R15_LP): Likewise.
63808 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63810         * sysdeps/x86_64/x32/dl-machine.h: New file.
63812 2012-05-14  Andreas Jaeger  <aj@suse.de>
63814         * manual/Makefile (subdir): Remove export of subdir.
63815         (all): Remove target.
63816         (.PHONY): Remove all from list.
63817         (mkinstalldirs): Remove.
63818         (.PHONY): Remove installdirs from list.
63819         ($(inst_infodir)/libc.info): Use make-target-directory.
63820         (installdirs): Remove.
63821         (subdir_%): Remove.
63822         (glibc-targets): Remove.
63823         (lib): Remove.
63824         (stubs): Remove.
63825         ($(objpfx)stubs ../po/manual.pot): Remove.
63826         ($(objpfx)stamp%): Remove.
63827         (make-target-directory): Remove.
63828         (subdir_install): Remove.
63829         (routines): Remove.
63830         (aux): Remove.
63831         (sources): Remove.
63832         (objects): Remove.
63833         (headers): Remove.
63835         [BZ #13750]
63836         * manual/.gitignore: Remove, it's not needed anymore.
63837         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63838         all files in it.
63839         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63840         directory.
63841         (texis): Renamed to $(objpfx)texis.
63842         (texis-path): New, contains path to generated files.
63843         (chapters.%): Use texis-path for complete path, add extra argument
63844         libc-texinfo.sh.
63845         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63846         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63847         (summary,texi, stamp-summary): Use complete path of
63848         files. Generate files in build dir.
63849         (dir-add.texi): Build in build dir.
63850         (libm-err.texi,stamp-libm-err): Likewise.
63851         (version.texi, stamp-version): Likewise.
63852         (.%c.texi): Likewise.
63853         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63854         (mostlyclean): Remove target.
63855         (realclean): Remove target.
63856         (generated): Add new variable with contents from mostlyclean and
63857         realclean, remove entries duplicated in common-mostlyclean, add
63858         stamp-libm-err and stamp-version.
63859         (generated-dirs): Add libc directory.
63860         ($(inst_infodir)/libc.info): Install files from build dir.
63862         * manual/install.texi (Configuring and compiling): Adjust since
63863         the info files are not part of the tar ball anymore.
63865 2012-05-14  Andreas Jaeger  <aj@suse.de>
63867         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63868         variable.
63870 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63872         [BZ #13717]
63873         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63874         to 2.2.0 where earlier.
63875         * sysdeps/unix/sysv/linux/configure: Regenerated.
63876         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63877         Remove conditional code.
63878         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63879         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63880         Remove conditional code.
63881         [!__NR_lchown]: Likewise.
63882         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63883         [__NR_lchown]: Likewise.
63884         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63885         comment referencing __ASSUME_LCHOWN_SYSCALL.
63886         * sysdeps/unix/sysv/linux/i386/sigaction.c
63887         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63888         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63889         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63890         Remove conditional code.
63891         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63892         (__protocol_available): Remove #if 0 code.
63893         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63894         conditional code.
63895         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63896         * sysdeps/unix/sysv/linux/kernel-features.h
63897         (__ASSUME_GETCWD_SYSCALL): Don't define.
63898         (__ASSUME_REALTIME_SIGNALS): Likewise.
63899         (__ASSUME_PREAD_SYSCALL): Likewise.
63900         (__ASSUME_PWRITE_SYSCALL): Likewise.
63901         (__ASSUME_POLL_SYSCALL): Likewise.
63902         (__ASSUME_LCHOWN_SYSCALL): Likewise.
63903         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63904         non-SPARC.
63905         (__ASSUME_SIOCGIFNAME): Don't define.
63906         (__ASSUME_MSG_NOSIGNAL): Likewise.
63907         (__ASSUME_SENDFILE): Define unconditionally.
63908         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63909         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63910         conditional code.
63911         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63912         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63913         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63914         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63915         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63916         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63917         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63919         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63920         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63922         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63923         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63925         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63926         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63928         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63929         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63931         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63932         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63934         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63935         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63937         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63938         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63940         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63941         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63942         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63943         Remove conditional code.
63944         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63945         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63946         Remove conditional code.
63947         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63948         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63949         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63950         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63951         Remove conditional code.
63952         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63953         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63954         Remove conditional code.
63955         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63956         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63957         Remove conditional code.
63958         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63959         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63960         Remove conditional code.
63961         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63962         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63963         Remove conditional code.
63964         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63965         * sysdeps/unix/sysv/linux/sh/pwrite64.c
63966         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63967         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63968         * sysdeps/unix/sysv/linux/sigaction.c
63969         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63970         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63971         * sysdeps/unix/sysv/linux/sigpending.c
63972         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63973         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63974         * sysdeps/unix/sysv/linux/sigprocmask.c
63975         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63976         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63977         * sysdeps/unix/sysv/linux/sigsuspend.c
63978         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63979         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63980         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63981         (__libc_missing_rt_sigs): Remove.
63982         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63983         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63984         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63985         Remove conditional code.
63986         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63987         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63988         return 1.
63989         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63990         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63991         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63992         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63994 2012-05-14  Andreas Jaeger  <aj@suse.de>
63996         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63997         it's not used in glibc.
63998         (__coshm1): Likewise.
63999         (__acosh1p): Likewise.
64000         (__sgn): Likewise.
64002         * manual/string.texi (Copying and Concatenation): Add missing
64003         variable in concat example.
64004         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
64006 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64008         [BZ #14103]
64009         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
64010         __builtin_clzl with __builtin_clzll.
64012 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64014         [BZ #14104]
64015         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
64016         libc_freeres_ptr.
64018 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64020         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
64021         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
64022         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
64023         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
64025 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
64027         * NEWS: Update ia64 info.
64029 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
64031         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
64032         used as bcopy.
64034 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
64036         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
64037         * sysdeps/unix/syscalls.list (dup3): Likewise.
64038         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
64039         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
64041 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64043         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
64044         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
64046 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64048         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
64049         thread pointer.
64050         (TLS_IE): Use mov/add instead of movq/addq to load thread
64051         pointer.
64052         (TLS_GD_PREFIX): New.
64053         (TLS_GD): Use it.
64055 2012-05-11  David S. Miller  <davem@davemloft.net>
64057         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
64058         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
64059         (_FPU_SETCW): Likewise.
64061 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64063         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
64064         is 32-byte aligned.
64066 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
64068         [BZ #11837]
64069         * iconvdata/gb18030.c: Update tables.
64070         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
64071         characters specially.
64072         (BODY for TO_LOOP): Add encoding of missing ranges.
64074 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
64076         [BZ #13673]
64077         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
64078         * sysdeps/mach/hurd/dup3.c: Likewise.
64079         * sysdeps/mach/hurd/readlinkat.c: Likewise.
64080         * sysdeps/powerpc/memmove.c:: Likewise.
64082 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64084         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
64085         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
64087 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64089         * elf/elf.h (R_X86_64_RELATIVE64): New.
64090         (R_X86_64_NUM): Updated.
64091         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64092         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
64093         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
64094         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
64095         tst-quad1pie tst-quad2pie
64096         (modules-names): Add tst-quadmod1 tst-quadmod2.
64097         ($(objpfx)tst-quad1): New dependency.
64098         ($(objpfx)tst-quad2): Likewise.
64099         ($(objpfx)tst-quad1pie): Likewise.
64100         ($(objpfx)tst-quad2pie): Likewise.
64101         * sysdeps/x86_64/tst-quad1.c: New file.
64102         * sysdeps/x86_64/tst-quad1pie.c: New file.
64103         * sysdeps/x86_64/tst-quad2.c: Likewise.
64104         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
64105         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
64106         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
64107         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
64108         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
64110 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64112         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
64113         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
64114         * streams/stropts.h (t_scalar_t): Define type.
64116         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
64117         (_PATH_PRESERVE): Set to "/var/lib".
64118         (_PATH_RWHODIR): Set to "/var/spool/rwho".
64120         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
64121         instead of int.
64123         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
64124         if __dir_mkfile succeeded.
64126         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
64127         checking for _hurd_dtablesize.  Unlock it right after having
64128         finished _hurd_dtable allocation.
64130 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64132         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
64133         * sysdeps/mach/hurd/configure: Regenerated.
64134         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
64135         special-casing to...
64136         * sysdeps/gnu/configure.in: ... this new file.
64137         * sysdeps/unix/sysv/linux/configure: Regenerated.
64138         * sysdeps/gnu/configure: New generated file.
64140         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
64141         for Linux: use nsec instead of usec, as well as:
64142         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
64143         members of type struct timespec.
64144         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
64145         New macros.
64146         (struct stat64): Likewise.
64147         (_STATBUF_ST_NSEC): New macro.
64148         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
64150         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64151         __strtoul_internal rather than strtoul.
64153 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64155         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
64156         and reject them.
64158 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64160         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
64161         which preserves existing values.
64162         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
64164 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64166         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
64167         TIMEOUT values.  Return EINVAL for NFDS values either negative or
64168         greater than FD_SETSIZE.
64170 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64172         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
64173         allocated, call __vm_protect to finish enabling the existing space, and
64174         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
64175         allocate the remainder.
64177 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64179         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
64180         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
64182 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64184         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
64185         sysdeps/mach/hurd/readlink.c.
64187         * posix/tst-sysconf.c (posix_options): Only use
64188         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
64189         _POSIX_SYNCHRONIZED_IO when they are defined
64190         * sysdeps/mach/hurd/bits/posix_opt.h:
64191         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
64192         (_XOPEN_REALTIME): Undefine macro.
64193         (_XOPEN_REALTIME_THREADS): Undefine macro.
64194         (_XOPEN_SHM): Undefine macro.
64195         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
64196         macro to -1.
64197         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
64198         macro to -1.
64199         (_POSIX_ASYNC_IO): Undefine macro.
64200         (_POSIX_PRIORITIZED_IO): Undefine macro.
64201         (_POSIX_SPIN_LOCKS): Define macro to -1.
64203         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
64204         SA_NODEFER, SA_RESETHAND.
64205         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
64206         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
64207         F_DUPFD_CLOEXEC.
64209 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64211         * elf/Makefile (pldd-modules): Define unconditionally.
64213 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64215         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
64217 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64219         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
64220         Return ENOENT when name is empty.
64221         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
64223 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64225         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
64227         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
64229 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64231         Fix mlock in all cases except non-readable pages.
64232         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
64233         instead of VM_PROT_ALL as parameter to __vm_wire function.
64235         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
64236         (__mkdir): When path is `/', just fail with EEXIST.
64237         * sysdeps/mach/hurd/mkdirat.c: Likewise.
64239 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64241         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
64242         <sys/uio.h> (for writev).
64243         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
64244         and <sys/param.h> (for MIN).
64246 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64248         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
64249         REQUESTED_TIME.  Properly set the remaining time and return EINTR
64250         if interrupted.
64252 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64254         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
64255         Depend on against $(link-rpcuserlibs).
64257 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64259         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
64260         (__libc_stack_end): Do not use attribute_relro.
64261         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
64262         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
64263         to libthread-provided value.
64264         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
64265         attribute_relro.
64267 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64269         [BZ #3748]
64270         * bits/libc-lock.h (__libc_once_get): New macro.
64271         * sysdeps/mach/bits/libc-lock.h: Likewise.
64272         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
64273         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
64274         instead of using implementation details.
64276         * libio/fileops.c: Unconditionally include <kernel-features.h>.
64277         * libio/freopen.c: Likewise.
64278         * libio/freopen64.c: Likewise.
64279         * misc/syslog.c: Likewise.
64280         * nscd/connections.c: Likewise.
64281         * nscd/netgroupcache.c: Likewise.
64282         * sysdeps/posix/getcwd.c: Likewise.
64284 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64286         * math/w_ilogbf.c: Add #include <limits.h>.
64288 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64290         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
64291         path instead of returning without unlocking.
64293         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
64294         immediate-write ioctls.
64295         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
64297 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64299         * sysdeps/mach/hurd/i386/init-first.c (init): Use
64300         __builtin_frame_address instead of making assumptions about the
64301         location of the return address relative to DATA.  Force early load of
64302         the return address.
64303         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
64304         __builtin_frame_address.
64306         dup3 for GNU Hurd.
64307         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
64308         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
64309         implement dup3 and do some further code clean-ups.
64310         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
64311         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
64313 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64315         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
64317         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
64318         HURD_CRITICAL_END around holding _hurd_dtable_lock.
64319         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
64320         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
64321         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
64322         d->port.lock.
64324         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
64325         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
64326         when handler == SIG_ERR, not when handler != SIG_ERR.
64328 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64330         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
64331         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
64332         definitions.
64334         accept4 for GNU Hurd.
64335         * include/sys/socket.h (__libc_accept4): New prototype.
64336         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
64337         to implement __libc_accept4.
64338         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
64339         __libc_accept4.
64340         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
64342         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
64343         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
64344         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
64345         signal-defines.sym.
64347 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64349         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
64351 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64353         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
64354         assertion on O_CLOEXEC flag.
64355         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
64356         * hurd/intern-fd.c: Likewise.
64357         * hurd/port2fd.c: Likewise.
64359 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64361         [BZ #3906]
64362         * bits/in.h (IPV6_PKTINFO): Define new macro.
64363         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
64365 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64367         [BZ #13954]
64368         [BZ #13955]
64369         [BZ #13956]
64370         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
64371         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64372         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
64373         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64374         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64375         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64376         * math/libm-test.inc (logb_test) : Additional logb tests.
64378 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
64379             Andreas Jaeger  <aj@suse.de>
64381         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
64382         * configure: Regenerated.
64383         * config.h.in (LINK_OBSOLETE_RPC): New macro.
64384         * config.make.in (link-obsolete-rpc): New substituted variable.
64385         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
64386         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
64387         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64388         (shared-only-routines): Don't set it under [link-obsolete-rpc],
64389         so that libc.a contains the symbols.
64390         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64391         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
64392         * sunrpc/auth_none.c: Likewise.
64393         * sunrpc/auth_unix.c: Likewise.
64394         * sunrpc/authdes_prot.c: Likewise.
64395         * sunrpc/authuxprot.c: Likewise.
64396         * sunrpc/clnt_gen.c: Likewise.
64397         * sunrpc/clnt_perr.c: Likewise.
64398         * sunrpc/clnt_raw.c: Likewise.
64399         * sunrpc/clnt_simp.c: Likewise.
64400         * sunrpc/clnt_tcp.c: Likewise.
64401         * sunrpc/clnt_udp.c: Likewise.
64402         * sunrpc/clnt_unix.c: Likewise.
64403         * sunrpc/des_crypt.c: Likewise.
64404         * sunrpc/des_soft.c: Likewise.
64405         * sunrpc/get_myaddr.c: Likewise.
64406         * sunrpc/key_call.c: Likewise.
64407         * sunrpc/key_prot.c: Likewise.
64408         * sunrpc/netname.c: Likewise.
64409         * sunrpc/pm_getmaps.c: Likewise.
64410         * sunrpc/pm_getport.c: Likewise.
64411         * sunrpc/pmap_clnt.c: Likewise.
64412         * sunrpc/pmap_prot.c: Likewise.
64413         * sunrpc/pmap_prot2.c: Likewise.
64414         * sunrpc/pmap_rmt.c: Likewise.
64415         * sunrpc/publickey.c: Likewise.
64416         * sunrpc/rpc_cmsg.c: Likewise.
64417         * sunrpc/rpc_common.c: Likewise.
64418         * sunrpc/rpc_dtable.c: Likewise.
64419         * sunrpc/rpc_prot.c: Likewise.
64420         * sunrpc/rpc_thread.c: Likewise.
64421         * sunrpc/rtime.c: Likewise.
64422         * sunrpc/svc.c: Likewise.
64423         * sunrpc/svc_auth.c: Likewise.
64424         * sunrpc/svc_raw.c: Likewise.
64425         * sunrpc/svc_run.c: Likewise.
64426         * sunrpc/svc_tcp.c: Likewise.
64427         * sunrpc/svc_udp.c: Likewise.
64428         * sunrpc/svc_unix.c: Likewise.
64429         * sunrpc/svcauth_des.c: Likewise.
64430         * sunrpc/xcrypt.c: Likewise.
64431         * sunrpc/xdr.c: Likewise.
64432         * sunrpc/xdr_array.c: Likewise.
64433         * sunrpc/xdr_float.c: Likewise.
64434         * sunrpc/xdr_intXX_t.c: Likewise.
64435         * sunrpc/xdr_mem.c: Likewise.
64436         * sunrpc/xdr_rec.c: Likewise.
64437         * sunrpc/xdr_ref.c: Likewise.
64438         * sunrpc/xdr_sizeof.c: Likewise.
64439         * sunrpc/xdr_stdio.c: Likewise.
64441 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64443         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
64444         change.  Update copyright years.
64446 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64448         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
64450 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
64451             Joseph Myers  <joseph@codesourcery.com>
64452             Paul Pluzhnikov  <ppluzhnikov@google.com>
64454         [BZ #14012]
64455         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
64456         requiring rpcgen.
64457         [cross-compiling] (extra-libs): Likewise.
64458         [cross-compiling] (extra-libs-others): Likewise.
64459         [cross-compiling] (librpcsvc-routines): Likewise.
64460         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
64461         [cross-compiling] (omit-deps): Likewise.
64462         (sunrpc-CPPFLAGS): New variable.
64463         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
64464         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
64465         (cross-rpcgen-objs): New variable.
64466         (extra-objs): Append $(cross-rpcgen-objs).
64467         ($(cross-rpcgen-objs)): New rule.
64468         ($(objpfx)cross-rpcgen): Likewise.
64469         (rpcgen-cmd): Define to use $(built-program-file).  Expand
64470         comment.
64471         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
64472         ($(objpfx)x%.stmp): Likewise.
64473         * sunrpc/proto.h [IS_IN_build] (_): Define.
64474         [IS_IN_build] (_libc_intl_domainname): Likewise.
64476 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64478         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
64479         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
64480         and R_X86_64_TPOFF64.
64482 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64484         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
64485         sysdeps/unix/sysv/syscalls.list.
64486         (stime): Likewise.
64487         (utime): Likewise.
64488         * sysdeps/unix/sysv/syscalls.list: Remove file.
64490 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
64492         [BZ #3440]
64493         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
64494         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
64495         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
64496         (__LC_IDENTIFICATION): Make these macros useful in #if
64497         expressions, as required by C99.
64499 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
64501         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
64502         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
64503         after this.
64505 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
64507         * stdlib/longlong.h: Updated from GCC.
64509 2012-05-09  Andreas Jaeger  <aj@suse.de>
64511         * nscd/nscd.c (run_modes): Make named enum, reorder so that
64512         default is first entry.
64513         (run_mode): Set type.
64514         (main): Remove informal message about syslog.
64515         (options): Fix typo.
64517         [BZ #14053]
64518         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
64519         to asm.
64520         (lrint): Likewise.
64521         (llrintf): Likewise.
64522         (llrint): Likewise.
64523         (rint): Likewise.
64524         (rintf): Likewise.
64525         (nearbyint): Likewise.
64526         (nearbyintf): Likewise.
64528 2012-05-09  Andreas Jaeger  <aj@suse.de>
64529             Pedro Alves  <palves@redhat.com>
64531         * nscd/nscd.c (run_mode): Use enum.
64532         (main): Cleanup coding style issue.
64534 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
64535             Andreas Jaeger  <aj@suse.de>
64537         * nscd/nscd.c (go_background): Replaced with...
64538         (run_mode): ... this.
64539         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
64540         (options): Add -F --foreground.
64541         (main): Implement it.
64542         (parse_opt): Parse it.
64544 2012-05-09  Andreas Jaeger  <aj@suse.de>
64546         [BZ #14083]
64547         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
64548         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
64549         -Wconversion warning.
64550         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
64551         Likewise.
64553 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
64555         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
64556         == 0.
64557         (LC_ALL): Use macro-int-constant.
64558         (LC_COLLATE): Likewise.
64559         (LC_CTYPE): Likewise.
64560         (LC_MESSAGES): Likewise.
64561         (LC_MONETARY): Likewise.
64562         (LC_NUMERIC): Likewise.
64563         (LC_TIME): Likewise.
64564         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
64565         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64566         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64567         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
64568         Specify type.
64569         [C99-based standards] (float_t): Expect type.
64570         [C99-based standards] (double_t): Expect type.
64571         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
64572         type.
64573         [C99-based standards] (HUGE_VALL): Likewise.
64574         [C99-based standards] (INFINITY): Likewise.
64575         [C99-based standards] (NAN): Likewise.
64576         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
64577         [C99-based standards] (FP_NAN): Likewise.
64578         [C99-based standards] (FP_NORMAL): Likewise.
64579         [C99-based standards] (FP_SUBNORMAL): Likewise.
64580         [C99-based standards] (FP_ZERO): Likewise.
64581         [C99-based standards] (FP_FAST_FMA): Use
64582         optional-macro-int-constant.  Specify type.  Require == 1.
64583         [C99-based standards] (FP_FAST_FMAF): Likewise.
64584         [C99-based standards] (FP_FAST_FMAL): Likewise.
64585         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64586         [C99-based standards] (FP_ILOGBNAN): Likewise.
64587         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64588         Specify type.
64589         [C99-based standards] (MATH_ERREXCEPT): Likewise.
64590         [C99-based standards] (math_errhandling): Specify type.
64591         [ISO99 || ISO11] (signgam): Do not allow.
64592         [non-C99-based standards] (copysignf): Do not allow.
64593         [non-C99-based standards] (exp2f): Likewise.
64594         [non-C99-based standards] (log2f): Likewise.
64595         [non-C99-based standards] (modff): Allow.
64596         [non-C99-based standards] (erff): Do not allow.
64597         [non-C99-based standards] (erfcf): Likewise.
64598         [non-C99-based standards] (gammaf): Likewise.
64599         [non-C99-based standards] (hypotf): Likewise.
64600         [non-C99-based standards] (j0f): Likewise.
64601         [non-C99-based standards] (j1f): Likewise.
64602         [non-C99-based standards] (jnf): Likewise.
64603         [non-C99-based standards] (lgammaf): Likewise.
64604         [non-C99-based standards] (tgammaf): Likewise.
64605         [non-C99-based standards] (y0f): Likewise.
64606         [non-C99-based standards] (y1f): Likewise.
64607         [non-C99-based standards] (ynf): Likewise.
64608         [non-C99-based standards] (isnanf): Likewise.
64609         [non-C99-based standards] (acoshf): Likewise.
64610         [non-C99-based standards] (asinhf): Likewise.
64611         [non-C99-based standards] (atanhf): Likewise.
64612         [non-C99-based standards] (cbrtf): Likewise.
64613         [non-C99-based standards] (expm1f): Likewise.
64614         [non-C99-based standards] (ilogbf): Likewise.
64615         [non-C99-based standards] (log1pf): Likewise.
64616         [non-C99-based standards] (logbf): Likewise.
64617         [non-C99-based standards] (nextafterf): Likewise.
64618         [non-C99-based standards] (remainderf): Likewise.
64619         [non-C99-based standards] (rintf): Likewise.
64620         [non-C99-based standards] (scalbf): Likewise.
64621         [non-C99-based standards] (copysignl): Likewise.
64622         [non-C99-based standards] (exp2l): Likewise.
64623         [non-C99-based standards] (log2l): Likewise.
64624         [non-C99-based standards] (modfl): Allow.
64625         [non-C99-based standards] (erfl): Do not allow.
64626         [non-C99-based standards] (erfcl): Likewise.
64627         [non-C99-based standards] (gammal): Likewise.
64628         [non-C99-based standards] (hypotl): Likewise.
64629         [non-C99-based standards] (j0l): Likewise.
64630         [non-C99-based standards] (j1l): Likewise.
64631         [non-C99-based standards] (jnl): Likewise.
64632         [non-C99-based standards] (lgammal): Likewise.
64633         [non-C99-based standards] (tgammal): Likewise.
64634         [non-C99-based standards] (y0l): Likewise.
64635         [non-C99-based standards] (y1l): Likewise.
64636         [non-C99-based standards] (ynl): Likewise.
64637         [non-C99-based standards] (isnanl): Likewise.
64638         [non-C99-based standards] (acoshl): Likewise.
64639         [non-C99-based standards] (asinhl): Likewise.
64640         [non-C99-based standards] (atanhl): Likewise.
64641         [non-C99-based standards] (cbrtl): Likewise.
64642         [non-C99-based standards] (expm1l): Likewise.
64643         [non-C99-based standards] (ilogbl): Likewise.
64644         [non-C99-based standards] (log1pl): Likewise.
64645         [non-C99-based standards] (logbl): Likewise.
64646         [non-C99-based standards] (nextafterl): Likewise.
64647         [non-C99-based standards] (remainderl): Likewise.
64648         [non-C99-based standards] (rintl): Likewise.
64649         [non-C99-based standards] (scalbl): Likewise.
64650         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64651         [non-C99-based standards] (FP_*): Do not allow.
64652         [C99-based standards] (FP_*): Change to
64653         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64654         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64655         allow.
64656         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64657         (SIG_ERR): Likewise.
64658         [X/Open-based standards] (SIG_HOLD): Likewise.
64659         (SIG_IGN): Likewise.
64660         (SIGABRT): Use macro-int-constant.  Specify type.  Require
64661         positive value.
64662         (SIGFPE): Likewise.
64663         (SIGILL): Likewise.
64664         (SIGINT): Likewise.
64665         (SIGSEGV): Likewise.
64666         (SIGTER): Likewise.
64667         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64668         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64669         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64670         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64671         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64672         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64673         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64674         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64675         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64676         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64677         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64678         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64679         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64680         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64681         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64682         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64683         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64684         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64685         [X/Open-based standards] (SIGTRAP): Likewise.
64686         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64687         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64688         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64689         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64690         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64691         allow.
64693 2012-05-08  Ian Wienand  <ianw@vmware.com>
64695         [BZ #14080]
64696         * time/tzset.c (__tzset_parse_tz): Update default rules for
64697         daylight time changes in the Energy Policy Act of 2005.
64699 2012-05-09  Andreas Jaeger  <aj@suse.de>
64701         [BZ #13983]
64702         * elf/ldconfig.c (parse_conf): Change string to make clear that
64703         ldconfig only issued a warning if ld.so.conf does not exist.
64705 2012-05-08  David S. Miller  <davem@davemloft.net>
64707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64708         movxtod instead of popping the value on the stack.
64710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64712 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
64714         * config.h.in: Add HAVE_ARM_PCS_VFP.
64716 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
64718         [BZ #13979]
64719         * include/features.h: Warn if user requests __FORTIFY_SOURCE
64720         checking but the checks are disabled for any reason.
64722 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
64724         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64725         and ELF64_R_TYPE with ELFW(R_TYPE).
64727 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
64729         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64730         (ulimit): Likewise.
64732         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64733         (settimeofday): Likewise.
64735 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
64737         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
64738         a struct th_u2 inside the union, and move tu_block/tu_code into
64739         a new th_u3 union of tu_block/tu_code inside of that.  Move
64740         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
64741         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
64742         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64743         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64744         (th_stuff): Change to th_u1.tu_stuff.
64745         (th_data): Define.
64746         (th_msg): Change to th_u1.th_u2.tu_data.
64748 2012-05-07  David S. Miller  <davem@davemloft.net>
64750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64752         [BZ #14074]
64753         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64754         (SETUP_PIC_REG): Use it.
64755         (SETUP_PIC_REG_LEAF): Use it.
64757 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
64759         [BZ #13885]
64760         [BZ #13923]
64761         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64762         USE_AS_EXPM1L.
64763         (EXPL_FINITE): Likewise.
64764         (FLDLOG): Likewise.
64765         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64766         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64767         e_expl.S.
64768         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64769         USE_AS_EXPM1L.
64770         (EXPL_FINITE): Likewise.
64771         (FLDLOG): Likewise.
64772         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64773         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64774         e_expl.S.
64775         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
64776         test of -max_value argument for long double.
64777         * sysdeps/i386/fpu/libm-test-ulps: Update.
64778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64780 2012-05-06  David S. Miller  <davem@davemloft.net>
64782         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64783         quad soft-float symbols whose references which are compiler
64784         generated.
64785         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64787 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
64789         [BZ #13884]
64790         [BZ #13914]
64791         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64792         USE_AS_EXP10L.
64793         (EXPL_FINITE): Likewise.
64794         (FLDLOG): Likewise.
64795         (c0): Likewise.
64796         (c1): Likewise.
64797         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64798         Adjust comments for base varying.
64799         (__expl_finite): Change alias to EXPL_FINITE.
64800         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64801         e_expl.S.
64802         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64803         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64804         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64805         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64806         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64807         USE_AS_EXP10L.
64808         (EXPL_FINITE): Likewise.
64809         (FLDLOG): Likewise.
64810         (c0): Likewise.
64811         (c1): Likewise.
64812         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64813         Adjust comments for base varying.
64814         (__expl_finite): Change alias to EXPL_FINITE.
64815         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
64816         tests for bugs.
64817         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64819         [BZ #14064]
64820         * math/libm-test.inc (check_float_internal): Correct ulp
64821         calculation for subnormal expected results.
64823 2012-05-06  Andreas Jaeger  <aj@suse.de>
64825         * Makeconfig (+math-flags): New, set to -frounding-math.
64826         (+cflags): Add +math-flags so that all of glibc gets compiled with
64827         it.
64829         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64831 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
64833         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64834         Disable one test.
64836         [BZ #13787]
64837         [BZ #13922]
64838         [BZ #14036]
64839         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64840         (__ieee754_expl): Allow for and saturate large arguments.
64841         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64842         (u_threshold): Likewise.
64843         (__exp): Call __ieee754_exp before checking for overflow and
64844         underflow.
64845         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64846         (u_threshold): Likewise.
64847         (__expf): Call __ieee754_expf before checking for overflow and
64848         underflow.
64849         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64850         (u_threshold): Likewise.
64851         (__expl): Call __ieee754_expl before checking for overflow and
64852         underflow.
64853         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64854         (__ieee754_expl): Allow for and saturate large arguments.
64855         * math/libm-test.inc (exp_test): Add another test.  Do not allow
64856         missing overflow exception on overflow.
64857         (expm1_test): Do not allow missing overflow exception on overflow.
64859         * sysdeps/i386/fpu/e_expl.c: Move to ...
64860         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
64861         rather than using inline asm.
64862         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64863         * sysdeps/x86_64/fpu/e_expl.S: Copy from
64864         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64866         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64867         (nice): Likewise.
64868         (poll): Likewise.
64869         (signal): Likewise.
64870         (time): Likewise.
64871         (times): Likewise.
64873 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64875         * sysdeps/unix/syscalls.list (adjtime): Add entry from
64876         sysdeps/unix/common/syscalls.list.
64877         (fchmod): Likewise.
64878         (fchown): Likewise.
64879         (ftruncate): Likewise.
64880         (getrusage): Likewise.
64881         (gettimeofday): Likewise.
64882         (setpgid): Likewise.
64883         (setregid): Likewise.
64884         (setreuid): Likewise.
64885         (sigaction): Likewise.
64886         (truncate): Likewise.
64887         (vhangup): Likewise.
64888         * sysdeps/unix/common/syscalls.list: Remove file.
64889         * sysdeps/unix/bsd/Implies: Don't include unix/common.
64890         * sysdeps/unix/sysv/linux/Implies: Likewise.
64892 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
64894         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64896         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64897         Moved to ...
64898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64899         Here.
64900         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64901         to ...
64902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64903         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64904         to ...
64905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64906         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64907         to ...
64908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64909         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64910         to ...
64911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64912         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64913         to ...
64914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64915         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64916         to ...
64917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64918         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64919         to ...
64920         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64921         Here.
64922         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64923         to ...
64924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64925         Here.
64926         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64927         to ...
64928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64929         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64930         Moved to ...
64931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64932         Here.
64933         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64934         to ...
64935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64937 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64939         * sysdeps/unix/common/bits/dirent.h: Remove file.
64940         * sysdeps/unix/common/bits/fcntl.h: Likewise.
64942         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64943         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64944         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64945         * sysdeps/unix/bsd/isatty.c: Likewise.
64946         * sysdeps/unix/bsd/tcdrain.c: Likewise.
64947         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64948         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64950 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64952         [BZ #13563]
64953         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64954         long double comparison inaccuracies.
64955         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64958 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
64960         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64961         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64963 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64965         [BZ #14049]
64966         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64967         nonzero digits before rounding a hex value.
64968         * stdlib/tst-strtod.c (tests): Add another test.
64970 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64972         * sysdeps/s390/fpu/libm-test-ulps: Update.
64974 2012-05-03  Andreas Jaeger  <aj@suse.de>
64976         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64977         does not get optimized out.
64978         (malloc_opt_barrier): New.
64980 2012-05-03  Andreas Jaeger  <aj@suse.de>
64981             Roland McGrath  <roland@hack.frob.com>
64983         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64984         intermediate file deletion.
64985         (generated): Add .symlist files.
64987 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
64989         [BZ #13775]
64990         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64991         Redirect under this condition.
64992         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64993         [__USE_GNU] (__dprintf_chk): Not under this condition.
64994         [__USE_GNU] (__vdprintf_chk): Likewise.
64995         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64996         under this condition.
64997         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64998         [__USE_XOPEN2K8] (dprintf): Define under this condition.
64999         [__USE_XOPEN2K8] (vdprintf): Likewise.
65000         [__USE_GNU] (__dprintf_chk): Not under this condition.
65001         [__USE_GNU] (__vdprintf_chk): Likewise.
65002         [__USE_GNU] (dprintf): Likewise.
65003         [__USE_GNU] (vdprintf): Likewise.
65005 2012-05-03  Roland McGrath  <roland@hack.frob.com>
65007         * elf/Makefile (common-generated): Set this instead of generated for
65008         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
65009         $(all-built-dso)-derived lists.
65011 2012-05-03  Andreas Jaeger  <aj@suse.de>
65013         * sysdeps/i386/fpu/libm-test-ulps: Update.
65015         * FAQ: Removed.
65016         * FAQ.in: Likewise.
65017         * scripts/gen-FAQ.pl: Likewise.
65018         * manual/install.texi (Installation): Point to online location of
65019         FAQ.
65020         * Makefile (files-for-dist): Remove FAQ.
65021         (FAQ): Remove.
65023 2012-05-02  Allan McRae  <allan@archlinux.org>
65025         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
65026         (LDFLAGS-reldepmod5.so): Likewise.
65027         (LDFLAGS-reldep6mod1.so): Likewise.
65028         (LDFLAGS-reldep6mod4.so): Likewise.
65029         (LDFLAGS-reldep8mod3.so): Likewise.
65030         (LDFLAGS-unload4mod1.so): Likewise.
65031         (LDFLAGS-unload4mod2.so): Likewise.
65032         (LDFLAGS-tst-initorder): Likewise.
65033         (LDFLAGS-tst-initordera2.so): Likewise.
65034         (LDFLAGS-tst-initordera3.so): Likewise.
65035         (LDFLAGS-tst-initordera4.so): Likewise.
65036         (LDFLAGS-tst-initorderb2.so): Likewise.
65037         (LDFLAGS-noload): Likewise.
65038         (LDFLAGS-next): Likewise.
65039         (LDFLAGS-order2mod1.so): Likewise.
65040         (LDFLAGS-order2mod2.so): Likewise.
65041         (LDFLAGS-tst-initorder2): Likewise.
65042         (LDFLAGS-tst-initorder2a.so): Likewise.
65043         (LDFLAGS-tst-initorder2b.so): Likewise.
65044         (LDFLAGS-tst-initorder2c.so): Likewise.
65045         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
65047 2012-05-02  David S. Miller  <davem@davemloft.net>
65049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65051 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
65053         [BZ #14055]
65054         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
65056 2012-05-02  Andreas Jaeger  <aj@suse.de>
65058         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
65059         since we manipulate rounding mode.
65060         (CPPFLAGS-test-idouble.c): Likewise.
65061         (CPPFLAGS-test-ifloat.c): Likewise.
65062         (CFLAGS-test-ldouble.c): Likewise.
65063         (CFLAGS-test-double.c): Likewise.
65064         (CFLAGS-test-float.c): Likewise.
65065         (CFLAGS-test-misc.c): Likewise.
65066         (CFLAGS-test-test-fenv.c): Likewise.
65068 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65070         [BZ #2550]
65071         [BZ #2570]
65072         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
65073         comparisons to determine direction to adjust input.
65075 2012-05-01  Roland McGrath  <roland@hack.frob.com>
65077         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
65078         output to the target.
65080         * scripts/localplt.awk: New file.
65081         * elf/Makefile ($(objpfx)check-localplt): Target removed.
65082         (check-localplt-CFLAGS): Variable removed.
65083         ($(all-built-dso:=.jmprel)): New static pattern rule.
65084         (generated): Add those targets.
65085         (localplt-built-dso): New variable.
65086         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
65088         * elf/check-localplt.c: File removed.
65090         * scripts/check-execstack.awk: New file.
65091         * elf/Makefile ($(objpfx)check-execstack): Target removed.
65092         (check-execstack-CFLAGS): Variable removed.
65093         ($(objpfx)check-execstack.h): Target removed.
65094         ($(objpfx)execstack-default): New target.
65095         (generated): Add that instead of check-execstack.h.
65096         ($(all-built-dso:=.phdr)): New static pattern rule.
65097         (generated): Add those targets.
65098         * elf/check-execstack.c: File removed.
65100         * scripts/check-textrel.awk: New file.
65101         * elf/Makefile ($(objpfx)check-textrel): Target removed.
65102         (check-textrel-CFLAGS): Variable removed.
65103         (all-built-dso): Use := to define.o
65104         ($(all-built-dso:=.dyn)): New static pattern rule.
65105         (generated): Add those targets.
65106         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
65107         * config.make.in (READELF): New substituted variable.
65108         * elf/check-textrel.c: File removed.
65110 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65112         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65113         allow.
65114         * conform/data/ctype.h-data [C99-based standards] (isblank):
65115         Expect function.
65116         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
65117         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
65118         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65119         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
65120         Specify type.  Require positive value.
65121         (EILSEQ): Likewise.
65122         (ERANGE): Likewise.
65123         [ISO || POSIX] (EILSEQ): Do not expect.
65124         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
65125         Specify type.  Require positive value.
65126         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
65127         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
65128         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
65129         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
65130         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
65131         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
65132         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
65133         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
65134         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
65135         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
65136         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
65137         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
65138         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
65139         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
65140         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
65141         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
65142         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
65143         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
65144         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
65145         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
65146         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
65147         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
65148         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
65149         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
65150         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
65151         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
65152         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
65153         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
65154         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
65155         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
65156         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
65157         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
65158         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
65159         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
65160         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
65161         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
65162         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
65163         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
65164         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
65165         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
65166         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
65167         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
65168         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
65169         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
65170         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
65171         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
65172         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
65173         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
65174         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
65175         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
65176         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
65177         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
65178         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
65179         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
65180         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
65181         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
65182         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
65183         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
65184         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
65185         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
65186         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
65187         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
65188         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
65189         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
65190         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
65191         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
65192         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
65193         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
65194         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
65195         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
65196         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
65197         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
65198         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
65199         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
65200         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
65201         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
65202         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
65203         Require >= 2.
65204         (FLT_ROUNDS): Expect as macro, not constant.
65205         (FLT_MANT_DIG): Use macro-int-constant.
65206         (DBL_MANT_DIG): Likewise.
65207         (LDBL_MANT_DIG): Likewise.
65208         (FLT_DIG): Likewise.
65209         (DBL_DIG): Likewise.
65210         (LDBL_DIG): Likewise.
65211         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
65212         (DBL_MIN_EXP): Likewise.
65213         (LDBL_MIN_EXP): Likewise.
65214         (FLT_MAX_EXP): Use macro-int-constant.
65215         (DBL_MAX_EXP): Likewise.
65216         (LDBL_MAX_EXP): Likewise.
65217         (FLT_MAX_10_EXP): Likewise.
65218         (DBL_MAX_10_EXP): Likewise.
65219         (LDBL_MAX_10_EXP): Likewise.
65220         (FLT_MAX): Use macro-constant.
65221         (DBL_MAX): Likewise.
65222         (LDBL_MAX): Likewise.
65223         (FLT_EPSILON): Use macro-constant.  Give upper bound.
65224         (DBL_EPSILON): Likewise.
65225         (LDBL_EPSILON): Likewise.
65226         (FLT_MIN): Likewise.
65227         (DBL_MIN): Likewise.
65228         (LDBL_MIN): Likewise.
65229         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
65230         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
65231         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
65232         [ISO11] (FLT_HAS_SUBNORM): Likewise.
65233         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
65234         [ISO11] (DBL_DECIMAL_DIG): Likewise.
65235         [ISO11] (FLT_DECIMAL_DIG): Likewise.
65236         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
65237         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
65238         [ISO11] (FLT_TRUE_MIN): Likewise.
65239         [ISO11] (LDBL_TRUE_MIN): Likewise.
65240         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65241         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
65242         (SCHAR_MIN): Use macro-int-constant.  Specify type.
65243         (SCHAR_MAX): Likewise.
65244         (UCHAR_MAX): Likewise.
65245         (CHAR_MIN): Likewise.
65246         (CHAR_MAX): Likewise.
65247         (MB_LEN_MAX): Use macro-int-constant.
65248         (SHRT_MIN): Use macro-int-constant.  Specify type.
65249         (SHRT_MAX): Likewise.
65250         (USHRT_MAX): Likewise.
65251         (INT_MAX): Likewise.
65252         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
65253         bound negative.
65254         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65255         bound with "U".
65256         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65257         bound with "L".
65258         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
65259         bound negative.  Suffix upper bound with "L".
65260         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65261         bound with "UL".
65262         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
65263         Specify type.
65264         [C99-based standards] (LLONG_MAX): Likewise.
65265         [C99-based standards] (ULLONG_MAX): Likewise.
65266         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
65267         == 0.
65268         [ISO11] (max_align_t): Require type.
65269         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65271         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
65272         from $CFLAGS, without defining away __attribute__ calls.
65273         (checknamespace): Use $CFLAGS_namespace.
65275         * conform/conformtest.pl (@keywords): Only include C99 keywords
65276         for standards based on C99 or C11.
65278         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
65279         Disable tests.
65280         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
65281         UNIX98]: Likewise.
65283         * conform/conformtest.pl: Handle "macro-int-constant" and test for
65284         usability of symbols in #if.
65286         * conform/conformtest.pl: If macro or constant types start
65287         "promoted:", expect the symbol to be of the following type
65288         promoted by the integer promotions.
65290         * conform/conformtest.pl: Parse all "constant" and "macro" lines
65291         in one place.  Also handle "macro-constant".
65293         * conform/conformtest.pl: Only accept expected macro values with
65294         "==".  Parse all "macro" lines in one place.
65295         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
65297         * conform/conformtest.pl: Handle braced types on "constant" lines
65298         instead of handling "typed-constant".
65299         * conform/data/signal.h-data: Use "constant" instead of
65300         "typed-constant".
65302         * conform/conformtest.pl: Handle "optional-" at start of lines in
65303         one place rather than duplicating several cases.  Handle each
65304         format of "macro" line with initial "optional-".
65306         * conform/conformtest.pl: Only accept expected constant or
65307         optional-constant values with "==".  Parse all "constant" lines in
65308         one place.  Parse all "optional-constant" lines in one place.
65309         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
65310         * conform/data/fmtmsg.h-data: Likewise.
65311         * conform/data/netinet/in.h-data: Likewise.
65312         * conform/data/tar.h-data: Likewise.
65313         * conform/data/limits.h-data: Use "==" form on "constant" and
65314         "optional-constant" lines.
65316         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
65317         Use -std=c99 for XOPEN2K.
65318         (@knownproblems): Remove.
65319         (newtoken): Don't check %isknown.
65321         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
65322         Do not expect macro.
65323         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
65324         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
65325         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
65326         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
65327         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
65328         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
65329         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
65330         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
65331         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
65332         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
65333         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
65334         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
65335         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
65336         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
65337         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
65338         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
65339         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
65340         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
65341         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
65342         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
65343         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
65344         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65345         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
65346         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
65347         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
65348         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
65349         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
65350         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
65351         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
65352         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
65353         [XPG3] (acosh): Likewise.
65354         [XPG3] (asinh): Likewise.
65355         [XPG3] (atanh): Likewise.
65356         [XPG3] (cbrt): Likewise.
65357         [XPG3] (expm1): Likewise.
65358         [XPG3] (ilogb): Likewise.
65359         [XPG3] (log1p): Likewise.
65360         [XPG3] (logb): Likewise.
65361         [XPG3] (nextafter): Likewise.
65362         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
65363         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
65364         [XPG3] (remainder): Likewise.
65365         [XPG3] (rint): Likewise.
65366         [XPG3 || XPG4 || UNIX98] (round): Likewise.
65367         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65368         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
65369         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
65370         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
65371         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
65372         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
65373         [UNIX98 || XOPEN2K] (scalb): Expect.
65374         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
65375         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
65376         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
65377         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
65378         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
65379         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
65380         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
65381         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
65382         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
65383         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
65384         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
65385         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
65386         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
65387         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
65388         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
65389         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
65390         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
65391         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
65392         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
65393         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
65394         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
65395         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
65396         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
65397         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
65398         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
65399         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
65400         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
65401         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
65402         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
65403         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
65404         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
65405         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
65406         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
65407         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
65408         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
65409         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
65410         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
65411         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
65412         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
65413         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
65414         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
65415         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
65416         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
65417         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
65418         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
65419         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
65420         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
65421         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
65422         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
65423         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
65424         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
65425         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
65426         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
65427         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
65428         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
65429         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
65430         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
65431         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
65432         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
65433         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
65434         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
65435         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
65436         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
65437         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
65438         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
65439         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
65440         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
65441         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
65442         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
65443         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
65444         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
65445         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
65446         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
65447         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
65448         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
65449         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
65450         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
65451         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
65452         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
65453         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
65454         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
65455         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
65456         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
65457         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
65458         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
65459         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
65460         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
65461         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
65462         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
65463         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
65464         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
65465         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
65466         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
65467         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
65468         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
65469         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
65470         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
65471         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
65472         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
65473         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
65474         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
65475         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
65476         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
65477         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
65478         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
65479         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
65480         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
65481         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
65482         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
65483         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
65484         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
65485         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
65486         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
65487         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
65488         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
65489         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
65490         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
65491         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
65492         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
65493         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
65494         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
65495         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
65496         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
65497         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
65498         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
65499         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
65500         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
65501         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
65502         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
65503         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
65504         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
65505         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
65506         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
65507         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
65508         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
65509         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
65510         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
65512         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
65513         _XOPEN_SOURCE_EXTENDED for XPG4.
65515         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
65517         * Makeconfig (localtime): Remove variable.
65518         (inst_localtime-file): Likewise.
65520 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
65523         Update.
65524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65525         Update.
65526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
65527         Update.
65528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65529         Update.
65530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
65531         Update.
65532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
65533         Update.
65534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65535         Update.
65536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
65537         Update.
65538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65539         Update.
65541 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65543         [BZ #2550]
65544         [BZ #2570]
65545         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
65546         comparisons to determine direction to adjust input.
65547         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
65548         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
65549         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
65550         Likewise.
65551         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
65552         Likewise.
65553         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
65554         Likewise.
65555         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
65556         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
65557         Likewise.
65558         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
65559         Likewise.
65560         * math/libm-test.inc (nexttoward_test): Add more tests.
65562 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65564         [BZ #14040]
65565         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
65566         in version GLIBC_2.1, not GLIBC_2.0.
65567         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
65568         Likewise.
65570 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
65572         [BZ #13942]
65573         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
65574         (1 - x) * (1 + x).
65575         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65576         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65577         * math/libm-test.inc (acos_test): Add more tests.
65578         (asin_test): Likewise.
65579         * sysdeps/i386/fpu/libm-test-ulps: Update.
65580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65582         [BZ #14034]
65583         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
65584         of square root.
65585         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65586         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65587         * math/libm-test.inc (acos_test_tonearest): New function.
65588         (acos_test_towardzero): Likewise.
65589         (acos_test_downward): Likewise.
65590         (acos_test_upward): Likewise.
65591         (asin_test_tonearest): Likewise.
65592         (asin_test_towardzero): Likewise.
65593         (asin_test_downward): Likewise.
65594         (asin_test_upward): Likewise.
65595         (main): Call the new functions.
65596         * sysdeps/i386/fpu/libm-test-ulps: Update.
65597         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65599         [BZ #13884]
65600         [BZ #13924]
65601         * math/e_exp10.c: Include <float.h>.
65602         (__ieee754_exp10): Handle underflow here rather than multiplying
65603         large negative argument by M_LN10.
65604         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65605         of __ieee754_expf.
65606         * math/e_exp10l.c: Include <float.h>.
65607         (__ieee754_exp10l): Handle underflow here rather than multiplying
65608         large negative argument by M_LN10l.
65609         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
65610         spurious overflow exception on underflow.
65612 2012-04-29  Marek Polacek  <polacek@redhat.com>
65614         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65615         (__fortify_function): New macro.
65616         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65617         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65618         __extern_always_inline.
65619         * libio/bits/stdio2.h: Likewise.
65620         * libio/bits/stdio.h: Likewise.
65621         * string/string.h: Likewise.
65622         * string/bits/string3.h: Likewise.
65623         * include/stdio.h: Likewise.
65624         * stdlib/bits/stdlib.h: Likewise.
65625         * stdlib/stdlib.h: Likewise.
65626         * rt/bits/mqueue2.h: Likewise.
65627         * rt/mqueue.h: Likewise.
65628         * posix/bits/unistd.h: Likewise.
65629         * posix/unistd.h: Likewise.
65630         * io/bits/poll2.h: Likewise.
65631         * io/bits/fcntl2.h: Likewise.
65632         * io/fcntl.h: Likewise.
65633         * io/sys/poll.h: Likewise.
65634         * misc/bits/syslog.h: Likewise.
65635         * misc/bits/syslog-ldbl.h: Likewise.
65636         * misc/sys/syslog.h: Likewise.
65637         * socket/bits/socket2.h: Likewise.
65638         * socket/sys/socket.h: Likewise.
65639         * debug/tst-chk1.c: Likewise.
65640         * wcsmbs/bits/wchar2.h: Likewise.
65641         * wcsmbs/bits/wchar-ldbl.h: Likewise.
65642         * wcsmbs/wchar.h: Likewise.
65644 2012-04-29  Andreas Jaeger  <aj@suse.de>
65646         * Makerules (tests): Remove enable-check-abi protection.
65647         (check-abi-warn): Remove.
65648         (check-abi-%): Remove check-abi-warn usage.
65650         * configure.in: Remove check-abi configure option.
65651         * configure: Regenerated.
65652         * config.make.in (enable-check-abi): Remove.
65654 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
65656         [BZ #14033]
65657         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65658         double functions to double *_finite functions.
65660         [BZ #13941]
65661         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65662         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65663         LDBL_MIN_EXP.
65664         * stdio-common/Makefile (tests): Add tst-sprintf3.
65665         * stdio-common/tst-sprintf3.c: New file.
65667         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65668         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65670 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65672         * conform/conformtest.pl: Remove duplicate typed-constant
65673         handling.
65675 2012-04-28  David S. Miller  <davem@davemloft.net>
65677         * Makerules (%.abilist): Add vpath on sysdep_dirs.
65678         (check-abi-%): Remove AWK script prerequisite and explicit
65679         abilist directory.
65680         (check-abi): Rewrite to just diff the symlist with the abilist.
65681         (config-tls, config-abi-config): Delete, no longer used.
65682         (update-abi-%): Remove AWK script and explicit abilist directory.
65683         (update-abi): Rewrite to simply compare and conditionally copy the
65684         symlist and the sysdep abilist file.  Remove update-abi-config
65685         checks.
65686         * abilist/ld.abilist: Remove.
65687         * abilist/libBrokenLocale.abilist: Remove.
65688         * abilist/libanl.abilist: Remove.
65689         * abilist/libcrypt.abilist: Remove.
65690         * abilist/libdl.abilist: Remove.
65691         * abilist/librt.abilist: Remove.
65692         * abilist/libthread_db.abilist: Remove.
65693         * abilist/libutil.abilist: Remove.
65694         * scripts/extract-abilist.awk: Remove.
65695         * scripts/merge-abilist.awk: Remove.
65696         * sysdeps/generic/libcidn.abilist: New file.
65697         * sysdeps/generic/libnss_compat.abilist: New file.
65698         * sysdeps/generic/libnss_db.abilist: New file.
65699         * sysdeps/generic/libnss_dns.abilist: New file.
65700         * sysdeps/generic/libnss_files.abilist: New file.
65701         * sysdeps/generic/libnss_hesiod.abilist: New file.
65702         * sysdeps/generic/libnss_nis.abilist: New file.
65703         * sysdeps/generic/libnss_nisplus.abilist: New file.
65704         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65705         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65706         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65707         file.
65708         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65709         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65710         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65711         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65712         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65713         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65714         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65715         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65716         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65717         file.
65718         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65719         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65720         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65721         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65722         file.
65723         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65724         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65725         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65726         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65727         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65728         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65729         file.
65730         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65731         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65732         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65733         file.
65734         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65735         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65736         New file.
65737         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65738         New file.
65739         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65740         New file.
65741         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65742         New file.
65743         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65744         New file.
65745         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65746         New file.
65747         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65748         New file.
65749         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65750         New file.
65751         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65752         New file.
65753         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65754         New file.
65755         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65756         New file.
65757         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65758         New file.
65759         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65760         New file.
65761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65762         file.
65763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65764         New file.
65765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65766         New file.
65767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65768         file.
65769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65770         New file.
65771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65772         New file.
65773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65774         file.
65775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65776         New file.
65777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65778         New file.
65779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65780         New file.
65781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65782         New file.
65783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65784         New file.
65785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65786         New file.
65787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65789         file.
65790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65791         New file.
65792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65793         file.
65794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65795         file.
65796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65797         file.
65798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65799         file.
65800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65801         file.
65802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65803         New file.
65804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65805         file.
65806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65807         file.
65808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65809         New file.
65810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65811         file.
65812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65814         file.
65815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65816         New file.
65817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65818         file.
65819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65820         file.
65821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65822         file.
65823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65824         file.
65825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65826         file.
65827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65828         New file.
65829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65830         file.
65831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65832         file.
65833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65834         New file.
65835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65836         file.
65837         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65838         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65839         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65840         file.
65841         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65842         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65843         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65844         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65845         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65846         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65847         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65848         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65849         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65850         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65853         file.
65854         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65855         New file.
65856         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65857         file.
65858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65859         file.
65860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65861         file.
65862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65863         file.
65864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65865         file.
65866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65867         New file.
65868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65869         New file.
65870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65871         file.
65872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65873         New file.
65874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65875         file.
65876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65878         file.
65879         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65880         New file.
65881         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65882         file.
65883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65884         file.
65885         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65886         file.
65887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65888         file.
65889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65890         file.
65891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65892         New file.
65893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65894         New file.
65895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65896         file.
65897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65898         New file.
65899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65900         file.
65902 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65904         * conform/conformtest.pl: Fix typo in handling typed-constant from
65905         allow-header.
65907 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65909         * README: Cut down references to pre-2.6 Linux kernels and
65910         Linuxthreads.  Update lists of configurations in libc and ports
65911         and sort alphabetically.  Say "or newer" with Linux kernel version
65912         requirements.
65914         * config.h.in [IS_IN_build]: Allow compiling without optimization.
65916 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65918         [BZ #887]
65919         * math/libm-test.inc (logb_test_downward): New test to expose
65920         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65921         rounding mode.
65923 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65925         [BZ #14027]
65926         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65927         to be done.
65928         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65929         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65931 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
65933         * sysdeps/unix/i386/brk.S: Remove file.
65934         * sysdeps/unix/i386/dl-brk.S: Likewise.
65935         * sysdeps/unix/i386/pipe.S: Likewise.
65936         * sysdeps/unix/i386/sigreturn.S: Likewise.
65937         * sysdeps/unix/i386/syscall.S: Likewise.
65938         * sysdeps/unix/i386/vfork.S: Likewise.
65939         * sysdeps/unix/i386/wait.S: Likewise.
65941         * sysdeps/unix/common/tcsendbrk.c: Move to ...
65942         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65944         * configure.in (arm*-none*): Do not allow without
65945         --enable-hacker-mode.
65946         (netbsd*): Remove case setting base_os.
65947         (386bsd*): Likewise.
65948         (freebsd*): Likewise.
65949         (bsdi*): Likewise.
65950         (osf*): Likewise.
65951         (sunos*): Likewise.
65952         (ultrix*): Likewise.
65953         (newsos*): Likewise.
65954         (dynix*): Likewise.
65955         (*bsd*): Likewise.
65956         (sysv*): Likewise.
65957         (isc*): Likewise.
65958         (esix*): Likewise.
65959         (sco*): Likewise.
65960         (minix*): Likewise.
65961         (irix4*): Likewise.
65962         (irix6*): Likewise.
65963         (solaris[2-9]*): Likewise.
65964         (none): Likewise.
65965         * configure: Regenerated.
65967 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65969         [BZ #11521]
65970         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65971         overflow or cancellation in calculating denominator.
65972         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65973         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65974         down expression to avoid unexpected rounding in newer GCCs.
65975         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65977 2012-04-26  David S. Miller  <davem@davemloft.net>
65979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65980         long-double compat symbols.
65981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65995 2012-04-25  David S. Miller  <davem@davemloft.net>
65997         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65998         HWCAP_* values only after the memory barriers have been defined.
65999         (atomic_full_barrier): Define.
66000         (atomic_read_barrier): Define.
66001         (atomic_write_barrier): Define.
66003 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66005         * shlib-versions: Add libgcc_s version information.
66006         * sysdeps/generic/libgcc_s.h: Remove.
66007         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
66008         libgcc_s.h.
66009         * sysdeps/gnu/unwind-resume.c: Likewise.
66010         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
66012 2012-04-25  David S. Miller  <davem@davemloft.net>
66014         * sysdeps/unix/sparc/brk.S: Delete.
66015         * sysdeps/unix/sparc/dl-brk.S: Delete.
66016         * sysdeps/unix/sparc/pipe.S: Delete.
66017         * sysdeps/unix/sparc/sysdep.S: Delete.
66018         * sysdeps/unix/sparc/sysdep.h: Delete.
66019         * sysdeps/unix/sparc/vfork.S: Delete.
66020         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
66021         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
66022         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
66023         (ret_ERRVAL, r0, r1, MOVE): Define.
66024         (JUMPTARGET): Remove.
66025         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
66026         sysdeps/unix/sparc/sysdep.h
66027         (ENTRY, END): Remove.
66028         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66030 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
66032         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
66033         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
66034         -DIS_IN_build.
66036         * timezone/README: Update upstream location and email address for
66037         tzcode and tzdata.
66038         * timezone/zdump.c: Update from tzcode 2012b.
66039         * timezone/zic.c: Likewise.
66041         * configure.in (libc_cv_as_needed): Remove test.
66042         * configure: Regenerated.
66043         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
66044         conditional definition.
66045         [$(have-as-needed) != yes] (no-as-needed): Likewise.
66046         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
66047         * config.make.in (have-as-needed): Remove variable.
66049 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66050             Paul Pluzhnikov  <ppluzhnikov@google.com>
66052         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
66053         strings correctly.
66055 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
66057         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
66058         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
66059         * sysdeps/sh/strlen.S: Likewise.
66061 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66063         * sysdeps/unix/fork.S: Remove file.
66064         * sysdeps/unix/i386/fork.S: Likewise.
66065         * sysdeps/unix/sparc/fork.S: Likewise.
66067         * sysdeps/unix/system.c: Remove file.
66068         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
66070         * sysdeps/unix/getegid.S: Remove file.
66071         * sysdeps/unix/geteuid.S: Likewise.
66073 2012-04-24  Roland McGrath  <roland@hack.frob.com>
66075         * scripts/check-localplt.awk: New file.
66076         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
66077         of diff.
66078         * scripts/data/localplt-generic.data: Add a comment.
66080         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
66081         NODE when __dir_mkfile failed.
66082         * sysdeps/mach/hurd/symlinkat.c: Likewise.
66083         Reported by Ludovic Courtès <ludo@gnu.org>.
66085 2012-04-24  Andreas Jaeger  <aj@suse.de>
66087         * Makerules (common-clean): Also remove gen-as-const-headers
66088         files.
66090 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66092         * Makerules (native-compile): Do not change working directory for
66093         build.  Use $(OUTPUT_OPTION) in command.
66094         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
66096 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66098         [BZ #13886]
66099         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
66100         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
66101         * math/libm-test.inc (floor_test): Add more tests.
66102         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
66104 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66106         * sysdeps/unix/getdents.c: Remove file.
66107         * sysdeps/unix/sysv/getdents.c: Likewise.
66108         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
66110         * sysdeps/unix/syscalls.list (madvise): Add syscall from
66111         sysdeps/unix/mman/syscalls.list.
66112         (mmap): Likewise.
66113         (mprotect): Likewise.
66114         (msync): Likewise.
66115         (munmap): Likewise.
66116         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
66117         * sysdeps/unix/mman/syscalls.list: Remove.
66118         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
66120         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
66121         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
66122         * configure: Regenerated.
66123         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
66124         $(libgcc_s_suffix).
66125         * config.make.in (libgcc_s_suffix): Remove variable.
66127 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
66129         * sysdeps/unix/sysv/gethostname.c: Move to ...
66130         * sysdeps/posix/gethostname.c: ... here.
66132         * sysdeps/unix/execve.S: Remove file.
66134         * sysdeps/unix/_exit.S: Remove file.
66136 2012-04-23  Andreas Jaeger  <aj@suse.de>
66138         [BZ #13739]
66139         * manual/Makefile: Remove make dist support, there's no
66140         need for a stand-alone documentation tar ball.
66141         (TEXI2DVI): Define always, it's not in Makeconfig.
66142         (dist): Removed.
66143         (tar-it): Removed.
66144         (edition): Removed.
66145         (glibc-doc-$(edition).tar): Removed
66146         (%.Z): Removed.
66147         (%.gz): Removed.
66148         (%.uu): Removed.
66149         (ETAGS): Remove, it's in Makeconfig.
66150         (move-if-change): Remove, it's in Makeconfig.
66152 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
66154         [BZ #13970]
66155         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
66156         (strtod, strtof, strtold, strtol, strtoul, strtoq)
66157         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
66158         (strtod_l, strtof_l, strtold_l): Remove __wur.
66159         It is not necessarily an error to ignore strtol's return value.
66160         One can reliably look at the stored endptr to decide whether
66161         the number had valid syntax.
66163 2012-04-21  Andreas Jaeger  <aj@suse.de>
66165         [BZ #13739]
66166         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
66168 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
66170         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
66171         * sysdeps/unix/sysv/Versions: Remove file.
66173 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
66175         [BZ #13927]
66176         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66178 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
66180         [BZ #7064]
66181         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
66182         version from __vm86.
66184 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
66186         * sysdeps/unix/common/lxstat.c: Remove file.
66187         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
66189         * sysdeps/unix/sysv/Makefile: Remove file.
66191         * sysdeps/unix/sysv/direct.h: Remove file.
66193         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
66194         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
66195         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
66196         * sysdeps/unix/sysv/bits/signum.h: Likewise.
66197         * sysdeps/unix/sysv/bits/stat.h: Likewise.
66198         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
66199         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
66201         * sysdeps/unix/sysv/setrlimit.c: Remove file.
66203         * sysdeps/unix/xmknod.c: Remove file.
66204         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
66206         * sysdeps/unix/sysv/settimeofday.c: Remove file.
66208         * sysdeps/unix/sysv/i386/time.S: Remove file.
66210         * sysdeps/unix/fxstat.c: Remove file.
66211         * sysdeps/unix/xstat.c: Likewise.
66212         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
66214         * sysdeps/unix/sysv/sigaction.c: Remove file.
66216         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
66217         (sysdep_headers): Remove variable.
66218         [termio.h not in sysdep_headers] (generated): Likewise.
66219         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
66220         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
66221         * sysdeps/unix/sysv/tcdrain.c: Likewise.
66222         * sysdeps/unix/sysv/tcflow.c: Likewise.
66223         * sysdeps/unix/sysv/tcflush.c: Likewise.
66224         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
66225         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
66226         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
66227         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
66228         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
66230         * sysdeps/unix/siglist.c: Remove file.
66232         * sysdeps/unix/getppid.S: Remove file.
66234         * sysdeps/unix/mkdir.c: Remove file.
66235         * sysdeps/unix/rmdir.c: Likewise.
66237 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
66239         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
66240         ERR_MAX value.
66241         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
66242         errlist-compat value.
66244 2012-04-18  David S. Miller  <davem@davemloft.net>
66246         * sysdeps/generic/memcopy.h (reg_char): Delete.
66247         * debug/strcat_chk.c: Use char, not reg_char.
66248         * debug/strcpy_chk.c: Likewise.
66249         * debug/strncat_chk.c: Likewise.
66250         * debug/strncpy_chk.c: Likewise.
66251         * string/memchr.c: Likewise.
66252         * string/memrchr.c: Likewise.
66253         * string/rawmemchr.c: Likewise.
66254         * string/strcat.c: Likewise.
66255         * string/strchr.c: Likewise.
66256         * string/strchrnul.c: Likewise.
66257         * string/strcmp.c: Likewise.
66258         * string/strcpy.c: Likewise.
66259         * string/strncat.c: Likewise.
66260         * string/strncmp.c: Likewise.
66261         * string/strncpy.c: Likewise.
66263 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66265         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
66266         __builtin_memcopy is called when src and dest ranges are known to not
66267         overlap.
66269 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66271         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
66272         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
66273         fwd_align_merge macro call.
66274         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
66275         bwd_align_merge macro call.
66276         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66278 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66280         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
66281         bwd_align_merge macros.
66282         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
66283         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
66284         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66286 2012-04-18  David S. Miller  <davem@davemloft.net>
66288         * sysdeps/sparc/sparc64/memcopy.h: Delete.
66290 2012-04-18  Andreas Jaeger  <aj@suse.de>
66292         [BZ# 6794]
66293         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
66294         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
66295         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66297         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
66298         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
66299         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66301         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
66302         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
66303         Adjust for changed ldbl-128 files.
66305         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
66306         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
66307         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66309 2012-04-17  David S. Miller  <davem@davemloft.net>
66311         * sysdeps/sparc/sparc32/memcopy.h: Delete.
66313 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
66315         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
66316         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
66317         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
66318         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
66319         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
66320         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
66322 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66324         [BZ #6794]
66325         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
66326         * math/libm-test.inc: Add ilogb errno and exception tests.
66327         * math/w_ilogb.c: New file: ilogb wrapper.
66328         * math/w_ilogbf.c: New file: ilogbf wrapper.
66329         * math/w_ilogbl.c: New file: ilogbl wrapper.
66330         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
66331         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
66332         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
66333         exception being thrown with 0.0 as argument.
66334         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
66335         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
66336         exception being thrown with 0.0 as argument.
66337         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
66338         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66339         exception being thrown with 0.0 as argument.
66340         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
66341         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66342         exception being thrown with 0.0 as argument.
66343         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
66344         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
66345         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
66346         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
66347         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
66348         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
66349         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
66350         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
66351         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
66353 2012-04-17  Petr Baudis  <pasky@ucw.cz>
66355         * include/sys/uio.h: Change __vector to __iovec to avoid clash
66356         with altivec.
66358 2012-04-16  Marek Polacek  <polacek@redhat.com>
66360         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
66362 2012-04-16  Marek Polacek  <polacek@redhat.com>
66364         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
66365         operands of fdivp instruction.
66367 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66369         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
66370         * elf/tst-auditmod3b.c: Likewise.
66371         * elf/tst-auditmod4b.c: Likewise.
66372         * elf/tst-auditmod5b.c: Likewise.
66373         * elf/tst-auditmod6b.c: Likewise.
66374         * elf/tst-auditmod6c.c: Likewise.
66375         * elf/tst-auditmod7b.c: Likewise.
66376         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
66377         * sysdeps/x86_64/preconfigure.in: Likewise.
66378         * sysdeps/x86_64/preconfigure: Regenerated.
66380 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66382         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
66383         __ILP32__.
66385 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
66387         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66388         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
66390 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
66392         [BZ #13973]
66393         * locale/iso-639.def: Fix gl language name. Spotted by
66394         Yaron Shahrabani.
66396 2012-04-12  Roland McGrath  <roland@hack.frob.com>
66398         [BZ #2074]
66399         * libio/libio.h (__io_write_fn): Update comment.
66401 2012-04-12  Petr Baudis  <pasky@ucw.cz>
66403         [BZ #2074]
66404         * stdio.texi (Hook Functions): The user provided writer function
66405         is not allowed to return -1.
66407 2012-04-11  David S. Miller  <davem@davemloft.net>
66409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66411 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
66413         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
66414         Add a leading slash to rtkaio.
66416 2012-04-11  Jim Meyering  <meyering@redhat.com>
66418         [BZ #11959]
66419         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
66420         It is not necessarily an error to ignore fwrite's return
66421         value.  One can reliably use ferror to test for errors after
66422         the fact.
66424 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66426         * bits/types.h (__snseconds_t): New type.
66427         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
66429         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
66430         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66431         (__SNSECONDS_T_TYPE): Likewise.
66432         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66433         (__SNSECONDS_T_TYPE): Likewise.
66434         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66435         (__SNSECONDS_T_TYPE): Likewise.
66437 2012-04-10  Andreas Jaeger  <aj@suse.de>
66439         [BZ #2636]
66440         * manual/time.texi (Processor Time): Return type of times is
66441         elapsed real time since an arbitrary point in the past.
66442         (CPU Time): Move CLK_TCK from here...
66443         (Processor Time): ...to here.  Correct description.
66444         * manual/conf.texi (Constants for Sysconf): Correct description of
66445         _SC_CLK_TCK.
66447 2012-04-10  David S. Miller  <davem@davemloft.net>
66449         [BZ #13967]
66450         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
66451         where the is a gap between DT_REL(A) and DT_JMPREL.
66453 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66455         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
66456         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66457         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66459 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66461         * elf/dl-support.c (_dl_inhibit_cache): New variable.
66462         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
66463         (dl_main): Handle --inhibit-cache.
66464         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
66465         _dl_inhibit_cache.
66466         * elf/dl-load.c (_dl_map_object): Use it.
66467         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
66469 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66471         [BZ #13872]
66472         * sysdeps/i386/fpu/e_powl.S (p78): New object.
66473         (__ieee754_powl): Saturate large exponents rather than testing for
66474         overflow of y*log2(x).
66475         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66476         * math/libm-test.inc (pow_test): Do not permit spurious overflow
66477         exceptions.
66479         [BZ #11521]
66480         * math/s_ctan.c: Include <float.h>.
66481         (__ctan): Avoid internal overflow or cancellation in calculating
66482         denominator.
66483         * math/s_ctanf.c: Likewise.
66484         * math/s_ctanl.c: Likewise.
66485         * math/s_ctanh.c: Likewise.
66486         * math/s_ctanhf.c: Likewise.
66487         * math/s_ctanhl.c: Likewise.
66488         * math/libm-test.inc (ctan_test): Add more tests.
66489         (ctanh_test): Likewise.
66490         * sysdeps/i386/fpu/libm-test-ulps: Update.
66491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66493 2012-04-09  Andreas Jaeger  <aj@suse.de>
66495         [BZ #6894]
66496         * manual/filesys.texi (Directory Entries): Mention that d_namlen
66497         is an optional BSD extension.
66499         [BZ #10254]
66500         * manual/stdio.texi (Opening Streams): Document additional fopen
66501         parameters.
66503 2012-04-09  Roland McGrath  <roland@hack.frob.com>
66505         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
66506         %eax without telling the compiler.
66508 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
66510         [BZ # 13963]
66511         * manual/install.texi: Use sourceware.org.
66513 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66515         [BZ #13873]
66516         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
66517         (__ieee754_pow): Generate overflow and underflow using huge*huge
66518         and tiny*tiny rather than just returning constant infinity or zero
66519         for large exponents.
66520         * math/libm-test.inc (pow_test): Require overflow exceptions for
66521         applicable cases of large exponents.
66523         [BZ #706]
66524         * sysdeps/i386/fpu/e_pow.S (p10): New object.
66525         (__ieee754_pow): Use iterative multiplication algorithm only for
66526         integer exponents with absolute value below 1024.  Check for odd
66527         integer exponents when using algorithm for real exponents.
66528         * math/libm-test.inc (pow_test): Add more tests.
66529         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66531 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
66533         [BZ #13705]
66534         * math/libm-test.inc (exp_test): Do not allow overflow exception
66535         on underflow test.
66537 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
66539         [BZ #13705]
66540         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
66541         instead of __kernel_standard_f.
66543 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
66545         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
66546         * sysdeps/x86_64/memset_chk.S: Likewise.
66548 2012-04-08  Andreas Jaeger  <aj@suse.de>
66550         [BZ #10153]
66551         * manual/startup.texi (Environment Access): Describe return value
66552         for putenv and setenv.
66554         [BZ #6895]
66555         * manual/filesys.texi (Directory Entries): Add description for
66556         DT_LNK.
66558         [BZ #6890]
66559         * manual/filesys.texi (Directory Entries): Clarify that it's file
66560         system not operating system in the description of DT_UNKNOWN.
66562         [BZ #6578]
66563         * manual/syslog.texi (closelog): Fix reference, it's openlog.
66565 2012-04-08  Stephen Compall  <s11@member.fsf.org>
66567         [BZ #6649]
66568         * manual/llio.texi (Opening and Closing Files): Add cross
66569         reference to explain mode argument.
66571 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
66573         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
66574         * sysdeps/x86_64/memset_chk.S: Likewise.
66576 2012-04-07  David S. Miller  <davem@davemloft.net>
66578         * elf/elf.h (R_SPARC_WDISP10): Define.
66579         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
66580         R_SPARC_SIZE32.
66581         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
66582         R_SPARC_SIZE64 and R_SPARC_H34.
66584 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
66586         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66587         conditions and remove no longer applicable assertion.
66589 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66591         * bits/byteswap.h: Include <features.h>.
66592         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66593         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66595 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66597         * bits/byteswap.h (__bswap_16): Removed.
66598         Include <bits/byteswap-16.h> to get __bswap_16.
66599         * sysdeps/i386/bits/byteswap.h: Likewise.
66600         * sysdeps/s390/bits/byteswap.h: Likewise.
66601         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66602         * bits/byteswap-16.h: New file.
66603         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66604         * sysdeps/s390/bits/byteswap-16.h: Likewise.
66605         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66606         * string/Makefile (headers): Add bits/byteswap-16.h.
66608 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66610         [BZ #13895]
66611         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66612         extra indirection.
66613         * nss/Makefile (tests-static, tests): Add tst-nss-static.
66614         * nss/tst-nss-static.c: New.
66616 2012-04-06  Robert Millan  <rmh@gnu.org>
66618         [BZ #6486]
66619         * manual/llio.texi (File Position Primitive): lseek
66620         refers to WHENCE when it really means OFFSET.
66622 2012-04-06  Andreas Jaeger  <aj@suse.de>
66624         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66625         strncmp declarations.
66627         * abilist/libc.abilist: Add __poll and __ppoll.
66629 2012-04-05  David S. Miller  <davem@davemloft.net>
66631         * scripts/check-local-headers.sh: Accept a host triplet in the
66632         path matched by the exclude regexp.
66634         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66635         definition.
66636         * sysdeps/powerpc/powerpc32/dl-machine.h
66637         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66638         * sysdeps/s390/s390-32/dl-machine.h
66639         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66640         * sysdeps/sparc/sparc32/dl-machine.h
66641         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66642         * sysdeps/sparc/sparc64/dl-machine.h
66643         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66645         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66646         lazy binding.
66647         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66648         undefined symbol errors.
66650         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66651         DT_NEEDED entries.
66653 2012-04-05  Michael Matz  <matz@suse.de>
66655         [BZ #13592]
66656         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66658 2012-04-05  Andreas Jaeger  <aj@suse.de>
66660         [BZ #13908]
66661         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66662         comment.
66664 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66666         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66667         which ROUND is no valid rounding mode.
66669 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66671         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66672         read again.
66673         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66675 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66677         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66678         an exception using FPU order intentionally.
66680 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66682         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66683         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66684         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66685         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66687 2012-04-05  Simon Josefsson  <simon@josefsson.org>
66689         [BZ #12340]
66690         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66691         EINVAL when BUFLEN is too smal.
66693 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66695         [BZ #13553]
66696         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66697         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66699 2012-04-03  Andreas Jaeger  <aj@suse.de>
66701         [BZ #13938]
66702         * manual/setjmp.texi (System V contexts): Fix sentence.
66704         [BZ #13926]
66705         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66706         New macro for this case.
66707         [!__GNUC__] (__bswap_64): New inline function for this case.
66708         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66709         * bits/byteswap.h: Likewise.
66710         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66711         ull, guard with __GLIBC_HAVE_LONG_LONG.
66713         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66714         __GLIBC_HAVE_LONG_LONG.
66716         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66717         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66719 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66721         [BZ #13691]
66722         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66723         inptr and inend, rather than using last_ch.
66725 2012-04-02  David S. Miller  <davem@davemloft.net>
66727         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66728         * stdio-common/printf-parse.h (read_int): Change return type to
66729         'int', return -1 on INT_MAX overflow.
66730         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66731         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
66732         overflows INT_MAX.  Check for overflow of in-format-string precision
66733         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
66734         SIZE_MAX not INT_MAX for integer overflow test.
66735         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66736         skip the construct in the format string but do not record anything.
66737         * stdio-common/bug22.c: Adjust to test both width/prevision
66738         INT_MAX overflow as well as total length INT_MAX overflow.  Check
66739         explicitly for proper errno values.
66741 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66743         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66744         CHAR_MAX.
66745         * string/test-strcmp.c [! WIDE]: Likewise.
66746         * time/tst-mktime2.c: Likewise for INT_MAX.
66747         * string/test-string.h: #include <sys/param.h> for MIN.
66749         * csu/init-first.c (__libc_init_first): Call __ctype_init.
66750         * sysdeps/i386/init-first.c (init): Likewise.
66751         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66752         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66753         * sysdeps/sh/init-first.c (init): Likewise.
66755 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
66757         * po/ru.po: Update from translation team.
66758         * po/vi.po: Likewise.
66760 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66762         * resolv/nss_dns/dns-host.c: Merge copyright years.
66764 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66766         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66767         Optimize memcpy with prefetch if
66768         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
66769         src, dst pointers have unequal 16 byte alignments.
66771 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66773         [BZ #13928]
66774         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66775         from a CNAME entry and return the minimum ttl for the query.
66776         (gaih_getanswer_slice): Likewise.
66778 2012-03-30  Jeff Law  <law@redhat.com>
66780         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66781         due to long keys.
66782         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66783         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66785         * resolv/nss_dns/dns-host.c: Update copyright year.
66787 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
66789         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66790         requests to save a system call.  Fix check that all bytes are sent.
66792         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66793         comments for sendmmsg.
66795 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66797         [BZ #13691]
66798         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66799         with only 1 character between 0x0041 and 0x01b0.
66800         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66801         * wcsmbs/tst-mbsnrtowcs.c: New file.
66803 2012-03-29  David S. Miller  <davem@davemloft.net>
66805         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66806         small copies by hand.
66808 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66810         [BZ #13761]
66811         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66812         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66813         group memberships.
66815 2012-03-28  David S. Miller  <davem@davemloft.net>
66817         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66818         that branches into memcpy.
66819         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66820         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66821         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66822         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66823         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66824         bits.
66825         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66826         implementation too.
66827         * sysdeps/sparc/mempcpy.S: New file.
66829         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66830         the IFUNC routine in the libc case.
66831         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66833         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66834         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66835         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66836         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66837         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66838         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66839         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66840         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66842         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66843         loop to 256 bytes instead of 64 bytes and fix test signedness.
66845         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66846         * sysdeps/sparc/sparc32/Makefile: rather than here...
66847         * sysdeps/sparc/sparc64/Makefile: and here.
66849 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
66851         * malloc/mallocbug.c: Avoid warnings about unused variables.
66853 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66855         [BZ #13760]
66856         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66857         in the right place. Discard and retry query if response is
66858         larger than input buffer size.
66860 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
66862         [BZ #369]
66863         [BZ #2678]
66864         [BZ #3866]
66865         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66866         x for large integer exponent.
66867         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66868         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
66869         sign of result as needed afterwards.
66870         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66871         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66872         result for underflowing pow the same as for overflow.
66873         (__kernel_standard_l): Handle powl overflow and underflow here
66874         rather than calling __kernel_standard.
66875         * math/libm-test.inc (pow_test): Add more tests.
66877         [BZ #3868]
66878         [BZ #13879]
66879         [BZ #13910]
66880         [BZ #13911]
66881         [BZ #13912]
66882         [BZ #13913]
66883         [BZ #13915]
66884         [BZ #13916]
66885         [BZ #13917]
66886         [BZ #13918]
66887         [BZ #13919]
66888         [BZ #13920]
66889         [BZ #13921]
66890         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66891         * sysdeps/ieee754/k_standard.c: Include <float.h>.
66892         (__kernel_standard_l): New function.
66893         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66894         __kernel_standard.
66895         * math/w_acosl.c (__acosl): Likewise.
66896         * math/w_asinl.c (__asinl): Likewise.
66897         * math/w_atan2l.c (__atan2l): Likewise.
66898         * math/w_atanhl.c (__atanhl): Likewise.
66899         * math/w_coshl.c (__coshl): Likewise.
66900         * math/w_exp10l.c (__exp10l): Likewise.
66901         * math/w_exp2l.c (__exp2l): Likewise.
66902         * math/w_fmodl.c (__fmodl): Likewise.
66903         * math/w_hypotl.c (__hypotl): Likewise.
66904         * math/w_j0l.c (__j0l, __y0l): Likewise.
66905         * math/w_j1l.c (__j1l, __y1l): Likewise.
66906         * math/w_jnl.c (__jnl, __ynl): Likewise.
66907         * math/w_lgammal.c (__lgammal): Likewise.
66908         * math/w_log10l.c (__log10l): Likewise.
66909         * math/w_log2l.c (__log2l): Likewise.
66910         * math/w_logl.c (__logl): Likewise.
66911         * math/w_powl.c (__powl): Likewise.
66912         * math/w_remainderl.c (__remainderl): Likewise.
66913         * math/w_scalbl.c (sysv_scalbl): Likewise.
66914         * math/w_sinhl.c (__sinhl): Likewise.
66915         * math/w_sqrtl.c (__sqrtl): Likewise.
66916         * math/w_tgammal.c (__tgammal): Likewise.
66917         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66918         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66919         * math/libm-test.inc (acos_test): Add more tests.
66920         (acosh_test): Likewise.
66921         (asin_test): Likewise.
66922         (atanh_test): Likewise.
66923         (exp_test): Likewise.
66924         (exp10_test): Likewise.
66925         (exp2_test): Likewise.
66926         (expm1_test): Likewise.
66927         (lgamma_test): Likewise.
66928         (log_test): Likewise.
66929         (log10_test): Likewise.
66930         (log1p_test): Likewise.
66931         (log2_test): Likewise.
66932         (pow_test): Do not allow some spurious overflow exceptions.
66933         (sqrt_test): Add more tests.
66934         (tgamma_test): Likewise.
66935         (y0_test): Likewise.
66936         (y1_test): Likewise.
66937         (yn_test): Likewise.
66939 2012-03-27  Anton Blanchard  <anton@samba.org>
66941         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66942         MAP_HUGETLB.
66943         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66944         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66945         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66947 2012-03-27  David S. Miller  <davem@davemloft.net>
66949         * conform/Makefile: Run run-conformtest.sh using $(BASH).
66951         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66952         have-as-vis3 check.
66954 2012-03-27  Andreas Jaeger  <aj@suse.de>
66956         * sysdeps/x86_64/elf/configure.in: Moved to ...
66957         * sysdeps/x86_64/configure.in: ... here.
66958         * sysdeps/x86_64/elf/start.S: Moved to ...
66959         * sysdeps/x86_64/start.S: ... here.
66960         * sysdeps/x86_64/elf/configure: Delete.
66962         * sysdeps/x86_64/configure.in: Merge contents from
66963         sysdeps/i386/configure.in (without i686 check).
66965         * sysdeps/i386/elf/Versions: Merge into ...
66966         * sysdeps/i386/Versions: ... this.
66967         * sysdeps/i386/elf/Versions: Delete file.
66968         * sysdeps/i386/elf/start.S: Moved to ...
66969         * sysdeps/i386/start.S: ...here.
66970         * sysdeps/i386/elf/configure.in: Merge into...
66971         * sysdeps/i386/configure.in: ...here.
66972         * sysdeps/i386/elf/configure.in: Delete file.
66973         * sysdeps/i386/elf/configure: Delete file.
66975         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66976         * debug/backtracesyms.c: ... here.
66977         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66978         * debug/backtracesymsfd.c: ... here.
66979         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66980         * sysdeps/generic/ifunc-sel.h: ... here.
66982         * sysdeps/unix/i386/start.c: Delete file.
66983         * sysdeps/unix/sparc/start.c: Delete file.
66984         * sysdeps/unix/start.c: Delete file.
66986         * sysdeps/sh/elf/configure.in: Moved to ...
66987         * sysdeps/sh/configure.in: ... here.
66988         * sysdeps/sh/elf/start.S: Moved to ...
66989         * sysdeps/sh/start.S: ... here.
66990         * sysdeps/sh/elf/configure: Delete file.
66992         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66993         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66994         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66995         * sysdeps/powerpc/powerpc64/entry.h: ... here.
66996         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66997         * sysdeps/powerpc/powerpc64/start.S: here.
66998         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66999         * sysdeps/powerpc/powerpc64/Makefile: ... this.
67000         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
67001         * sysdeps/powerpc/powerpc64/configure.in: ... this.
67002         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
67004         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
67005         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
67006         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
67007         * sysdeps/powerpc/powerpc32/start.S: ... here.
67008         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
67009         * sysdeps/powerpc/powerpc32/configure.in: ... this.
67010         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
67012         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
67013         * sysdeps/powerpc/ifunc-sel.h: ... here.
67014         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
67015         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
67017         * sysdeps/sparc/elf/configure.in: Moved to ...
67018         * sysdeps/sparc/configure.in: ... here.
67019         * sysdeps/sparc/elf/configure: Delete file.
67020         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
67021         * sysdeps/sparc/sparc32/start.S: ... here.
67022         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
67023         * sysdeps/sparc/sparc64/start.S: ... here.
67024         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
67025         * sysdeps/sparc/sparc32/Makefile: ... this.
67026         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
67027         * sysdeps/sparc/sparc64/Makefile: ... this.
67029         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
67030         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
67031         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
67032         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
67033         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
67034         * sysdeps/s390/s390-32/setjmp.S: ... here.
67035         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
67036         * sysdeps/s390/s390-32/configure.in: ... here.
67037         * sysdeps/s390/s390-32/elf/configure: Delete file.
67038         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
67039         * sysdeps/s390/s390-32/start.S: ... here.
67041         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
67042         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
67043         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
67044         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
67045         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
67046         * sysdeps/s390/s390-64/setjmp.S: ... here.
67047         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
67048         * sysdeps/s390/s390-64/configure.in: ... here
67049         * sysdeps/s390/s390-64/elf/configure: Delete file.
67050         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
67051         * sysdeps/s390/s390-64/start.S: ... here.
67052         * sysdeps/s390/s390-64/elf/configure: Delete.
67054         * configure.in: Remove support for elf directories in sysdeps.
67056         * configure: Regenerated.
67057         * sysdeps/i386/configure: Regenerated.
67058         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67059         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67060         * sysdeps/s390/s390-32/configure: Regenerated.
67061         * sysdeps/s390/s390-64/configure: Regenerated.
67062         * sysdeps/sh/configure: Regenerated.
67063         * sysdeps/sparc/configure: Regenerated.
67064         * sysdeps/x86_64/configure: Regenerated.
67066 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
67068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67070         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
67071         denormal result into account.
67073 2012-03-25  Roland McGrath  <roland@hack.frob.com>
67075         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
67076         Reported by Allan McRae <allan@archlinux.org>.
67078 2012-03-23  Jeff Law  <law@redhat.com>
67080         * nss/getnssent.c (__nss_getent): Fix typo.
67082 2012-03-23  David S. Miller  <davem@davemloft.net>
67084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67086 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
67088         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
67089         to pad to uint64_t for each field.
67090         (dl_tls_index): Replace unsigned long with uint64_t.
67092 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
67093         Paul Pluzhnikov  <ppluzhnikov@google.com>
67095         [BZ #6528]
67096         * grp/Makefile (otherlibs): Don't set it.
67097         * inet/Makefile (otherlibs): Likewise.
67098         * login/Makefile (otherlibs): Likewise.
67099         * nscd/Makefile (otherlibs): Likewise.
67100         * posix/Makefile (otherlibs): Likewise.
67101         * pwd/Makefile (otherlibs): Likewise.
67102         * rt/Makefile (otherlibs): Likewise.
67103         * sunrpc/Makefile (otherlibs): Likewise.
67104         * nss/Makefile (otherlibs): Likewise.
67105         Add libnss_files to routines and static-only-routines.
67106         ($(objpfx)getent): Remove rule.
67107         * resolv/Makefile: Add libnss_dns and libresolv to routines and
67108         static-only-routines.
67110 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67112         [BZ #13892]
67113         * math/s_cexp.c: Include <float.h>.
67114         (__cexp): Handle exp result overflowing not necessarily
67115         overflowing both real and imaginary parts of result.
67116         * math/s_cexpf.c: Likewise.
67117         * math/s_cexpl.c: Likewise.
67118         * math/libm-test.inc (cexp_test): Add more tests.
67119         * sysdeps/i386/fpu/libm-test-ulps: Update.
67120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67122 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67124         * include/link.h (ELFW): New macro.
67125         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
67126         Replace ELF64_R_TYPE with ELFW(R_TYPE).
67128 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67130         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
67131         with uint64_t.
67133 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67135         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
67136         declaration.
67137         (struct La_x32_retval): Likewise.
67139 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67141         * sysdeps/x86_64/preconfigure.in: New file.
67142         * sysdeps/x86_64/preconfigure: New generated file.
67144 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67146         [BZ #13824]
67147         * math/e_exp2l.c: Include <float.h>.
67148         (__ieee754_exp2l): Handle overflow and underflow cases
67149         separately.  Only pass fractional part of argument to
67150         __ieee754_expl.
67151         * math/libm-test.inc (exp2_test): Add more tests.
67153         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
67154         negating x to take absolute value.
67155         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
67156         Likewise.
67157         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
67158         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
67159         Likewise.
67160         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
67161         computing low part if x was negated.
67162         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
67164 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67166         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
67167         la_x32_gnu_pltexit.
67168         (pltexit): Cast int_retval to ptrdiff_t.
67169         * elf/tst-auditmod3b.c: Likewise.
67170         * elf/tst-auditmod4b.c: Likewise.
67171         * elf/tst-auditmod5b.c: Likewise.
67172         * elf/tst-auditmod6b.c: Likewise.
67173         * elf/tst-auditmod6c.c: Likewise.
67174         * elf/tst-auditmod7b.c: Likewise.
67176         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
67177         and x32_gnu_pltexit.
67179         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
67180         __ELF_NATIVE_CLASS.
67181         (La_x32_regs): New macro.
67182         (La_x32_retval): Likewise.
67183         (la_x32_gnu_pltenter): New function prototype.
67184         (la_x32_gnu_pltexit): Likewise.
67186 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
67188         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
67189         exponent.
67191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67193         * configure.in (libc_cv_cc_nofma): Check for option to disable
67194         generation of FMA instructions.
67195         * configure: Regenerate.
67196         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
67197         * sysdeps/ieee754/dbl-64/Makefile: New file.
67198         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
67199         Remove brandred-fma4.
67200         (CFLAGS-brandred-fma4.c): Remove.
67201         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
67202         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
67203         define.
67204         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
67205         define.
67207 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67209         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67210         LLONG_MAX != LONG_MAX.
67211         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67212         (_fitoa_word): Likewise.
67213         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
67214         LLONG_MAX != LONG_MAX.
67215         * stdio-common/_itowa.h: Include <_itoa.h>.
67216         (_itowa_word): Use _ITOA_WORD_TYPE on value.
67217         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
67218         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
67219         only if not defined.
67220         (_ITOA_WORD_TYPE): Likewise.
67221         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67222         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
67224 2012-03-21  David S. Miller  <davem@davemloft.net>
67226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67228 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67230         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
67231         of x86_64 when setting libc_cv_slibdir, libdir and
67232         libc_cv_localedir.
67233         * sysdeps/unix/sysv/linux/configure: Regenerated.
67235 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67237         * manual/lang.texi (Old Varargs): Remove section.
67238         (How Variadic): Update menu.
67239         (va_start): Do not mention varargs.h.
67241 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67242             Joseph Myers  <joseph@codesourcery.com>
67244         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
67245         link test.
67246         * configure: Regenerated.
67248 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67250         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
67251         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
67252         conformtest.pl
67254 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67256         * NOTES: Remove.
67257         * Makefile (files-for-dist): Remove NOTES.
67258         (NOTES): Remove rule.
67259         * README: Don't refer to NOTES.
67260         * manual/creature.texi: Don't include macros.texi.
67261         * manual/intro.texi (creature.texi): Remove comment referring to
67262         NOTES.
67264         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
67265         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
67266         * configure: Regenerated.
67267         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
67268         LIBC_TRY_CC_OPTION.
67269         (libc_cv_as_i686): Likewise.
67270         (libc_cv_cc_avx): Likewise.
67271         (libc_cv_cc_sse2avx): Likewise.
67272         (libc_cv_cc_fma4): Likewise.
67273         (libc_cv_cc_novzeroupper): Likewise.
67274         * sysdeps/i386/configure: Regenerated.
67276         [BZ #13883]
67277         * sysdeps/i386/fpu/s_cexp.S: Remove.
67278         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67279         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67280         * math/libm-test.inc (cexp_test): Add more tests.
67281         * sysdeps/i386/fpu/libm-test-ulps: Update.
67282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67284 2012-03-21  Allan McRae  <allan@archlinux.org>
67286         * timezone/Makefile: Do not install iso3166.tab and zone.tab
67288 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67290         [BZ #13871]
67291         * math/w_exp2.c: Do not include <float.h>.
67292         (o_threshold, u_threshold): Remove.
67293         (__exp2): Calculate result before checking finiteness and calling
67294         __kernel_standard.
67295         * math/w_exp2f.c: Likewise.
67296         * math/w_exp2l.c: Likewise.
67297         * math/libm-test.inc (exp2_test): Require overflow exception for
67298         1e6 input.
67300         [BZ #3866]
67301         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
67302         range of signed 64-bit integers before using fistpll.  Remove
67303         checks for whether integers fit in mantissa bits.
67304         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
67305         the range of signed 32-bit integers before using fistpl.  Remove
67306         checks for whether integers fit in mantissa bits.
67307         * sysdeps/i386/fpu/e_powl.S (p64): New object.
67308         (__ieee754_powl): Test for y outside the range of signed 64-bit
67309         integers before using fistpll.  Reduce 64-bit values to 63-bit
67310         ones as needed.
67311         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
67312         divide-by-zero is raised for zero to large negative powers.
67313         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
67314         (__ieee754_powl): Test for y outside the range of signed 64-bit
67315         integers before using fistpll.  Reduce 64-bit values to 63-bit
67316         ones as needed.
67317         * math/libm-test.inc (pow_test): Add more tests.
67319 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67321         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
67322         <stdio-common/_itoa.h>.
67323         * debug/segfault.c: Likewise.
67324         * elf/dl-cache.c: Likewise.
67325         * elf/dl-minimal.c: Likewise.
67326         * elf/dl-misc.c: Likewise.
67327         * elf/dl-sysdep.c: Likewise.
67328         * elf/dl-version.c: Likewise.
67329         * elf/rtld.c: Likewise.
67330         * hurd/hurdsock.c: Likewise.
67331         * hurd/lookup-retry.c: Likewise.
67332         * malloc/malloc.c: Likewise.
67333         * malloc/mtrace.c: Likewise.
67334         * nscd/nscd_getgr_r.c: Likewise.
67335         * nscd/nscd_getpw_r.c: Likewise.
67336         * nscd/nscd_getserv_r.c: Likewise.
67337         * posix/getopt_init.c: Likewise.
67338         * posix/wordexp.c: Likewise.
67339         * stdio-common/_itoa.c: Likewise.
67340         * stdio-common/printf_fphex.c: Likewise.
67341         * stdio-common/vfprintf.c: Likewise.
67342         * string/_strerror.c: Likewise.
67343         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
67344         * sysdeps/i386/i686/hp-timing.h: Likewise.
67345         * sysdeps/mach/_strerror.c: Likewise.
67346         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
67347         * sysdeps/mach/hurd/sethostid.c: Likewise.
67348         * sysdeps/mach/hurd/xmknodat.c: Likewise.
67349         * sysdeps/mach/xpg-strerror.c: Likewise.
67350         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67351         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67352         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
67353         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
67354         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67355         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
67356         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
67357         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
67358         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
67359         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
67360         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
67361         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
67362         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
67363         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
67364         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
67365         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
67366         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
67367         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
67368         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
67369         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
67370         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
67372         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
67374         * stdio-common/_itoa.h: Moved to ...
67375         * sysdeps/generic/_itoa.h: Here.
67377         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
67379         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
67380         instead of "_itoa.h" and "_itowa.h".
67381         * stdio-common/vfprintf.: Likewise.
67383 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67385         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
67386         <bits/wordsize.h>.
67387         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
67388         (__signbit): Likwise.
67389         (llrintf): Likwise.
67390         (llrint): Likwise.
67392 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67394         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
67395         __WORDSIZE != 64.
67397 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
67399         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
67400         OVERFLOW_EXCEPTION_OK.
67401         * math/libm-test.inc ("Philosophy"): Update comment about
67402         exception testing.
67403         (OVERFLOW_EXCEPTION): Define.
67404         (OVERFLOW_EXCEPTION_OK): Likewise.
67405         (INVALID_EXCEPTION_OK): Renumber.
67406         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67407         (IGNORE_ZERO_INF_SIGN): Likewise.
67408         (test_exceptions): Handle FE_OVERFLOW.
67409         (exp10_test): Expect overflow exceptions.
67410         (exp2_test): Likewise.
67411         (expm1_test): Likewise.
67412         (nextafter_test): Likewise.
67413         (pow_test): Likewise.
67414         (scalbn_test): Likewise.
67415         (scalbln_test): Likewise.
67417 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67419         * sysdeps/x86_64/bits/atomic.h
67420         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
67421         64bit integer.
67422         (atomic_exchange_acq): Likewise.
67423         (__arch_exchange_and_add_body): Likewise.
67424         (__arch_add_body): Likewise.
67425         (atomic_add_negative): Likewise.
67426         (atomic_add_zero): Likewise.
67428 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67430         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
67431         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
67433 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67435         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
67436         Check __x86_64__ instead of __WORDSIZE.
67438 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67440         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
67442 2012-03-19  David S. Miller  <davem@davemloft.net>
67444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67446         * sysdeps/sparc/fpu/fenv_private.h: New file.
67447         * sysdeps/sparc/fpu/math_private.h: Use it.
67448         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
67449         Remove.
67450         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
67451         (libc_feholdexcept_setroundl): Remove.
67452         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
67453         Remove.
67454         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
67455         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
67457 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67459         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
67460         int64_t instead of long int.
67461         (INSERT_WORDS64): Likwise.
67463 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67465         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
67466         _Unwind_GetCFA return to _Unwind_Ptr first.
67468 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
67470         [BZ #13629]
67471         * math/s_clog.c: Include <float.h>.
67472         (__clog): Scale large or subnormal inputs.
67473         * math/s_clogf.c: Likewise.
67474         * math/s_clogl.c: Likewise.
67475         * math/s_clog10.c: Include <float.h>.
67476         (M_LOG10_2): Define.
67477         (__clog10): Scale large or subnormal inputs.
67478         * math/s_clog10f.c: Likewise.
67479         * math/s_clog10l.c: Likewise.
67480         * math/libm-test.inc (clog_test): Add more tests.
67481         (clog10_test): Likewise.
67482         * sysdeps/i386/fpu/libm-test-ulps: Update.
67483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67485         [BZ #11451]
67486         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
67487         x and y.
67488         * math/libm-test.inc (atan2_test): Add another test.
67490         * Makerules (common-objdir-compile): Remove.
67491         * sysdeps/unix/Makefile (config-generated): Do not add
67492         $(unix-generated) to variable.
67493         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
67494         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
67495         Remove rule.
67496         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
67497         Likewise.
67498         [generic bits/local_lim.h] (before-compile): Do not append to
67499         variable.
67500         [generic bits/local_lim.h] (common-generated): Likewise.
67501         [generic sys/param.h] (before-compile): Do not append to variable.
67502         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
67503         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
67504         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
67505         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
67506         include.
67507         [generic sys/param.h] (sys/param.h-includes): Remove variable.
67508         [generic sys/param.h] (sys/param.h-includes): Remove rule.
67509         [generic sys/param.h] ($(addprefix
67510         $(common-objpfx),$(sys/param.h-includes))): Likewise.
67511         [generic sys/param.h] (common-generated): Do not append to
67512         variable.
67513         [generic sys/param.h] (sysdep_headers): Likewise.
67514         [generic bits/errno.h] (before-compile): Do not append to
67515         variable.
67516         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
67517         rule.
67518         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
67519         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
67520         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
67521         [generic bits/errno.h] (common-generated): Do not append to
67522         variable.
67523         [generic bits/ioctls.h] (before-compile): Do not append to
67524         variable.
67525         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
67526         rule.
67527         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
67528         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
67529         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
67530         rule.
67531         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
67532         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
67533         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
67534         [generic bits/ioctls.h] (common-generated): Do not append to
67535         variable.
67536         [generic sys/syscall.h] (syscall.h): Remove variable.
67537         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
67538         rule.
67539         [generic sys/syscall.h] (before-compile): Do not append to
67540         variable.
67541         [generic sys/syscall.h] (common-generated): Likewise.
67542         * sysdeps/unix/errnos-tmpl.c: Remove file.
67543         * sysdeps/unix/errnos.awk: Likewise.
67544         * sysdeps/unix/ioctls-tmpl.c: Likewise.
67545         * sysdeps/unix/ioctls.awk: Likewise.
67546         * sysdeps/unix/mk-local_lim.c: Likewise.
67547         * sysdeps/unix/snarf-ioctls: Likewise.
67549 2012-03-19  Richard Henderson  <rth@twiddle.net>
67551         * sysdeps/i386/fpu/fenv_private.h: New file.
67552         * sysdeps/i386/fpu/math_private.h: Use it.
67553         (math_opt_barrier, math_force_eval): Remove.
67554         (libc_feholdexcept_setround_53bit): Remove.
67555         (libc_feupdateenv_53bit): Remove.
67556         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67557         (math_opt_barrier, math_force_eval): Remove.
67558         (libc_feholdexcept): Remove.
67559         (libc_feholdexcept_setround): Remove.
67560         (libc_fetestexcept, libc_fesetenv): Remove.
67561         (libc_feupdateenv_test): Remove.
67562         (libc_feupdateenv, libc_feholdsetround): Remove.
67563         (libc_feresetround): Remove.
67565         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
67566         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
67568         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
67569         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
67570         (libc_feupdateenv_testl): New.
67571         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
67572         (libc_feupdateenv_testf): New.
67573         (libc_feupdateenv): Use libc_feupdateenv_test.
67574         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
67575         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
67577         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
67578         (libc_feholdsetroundf, libc_feholdsetroundl): New.
67579         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
67580         (libc_feresetround_noex): New.
67581         (libc_feresetround_noexf): New.
67582         (libc_feresetround_noexl): New.
67583         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
67584         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67585         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67586         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67587         SET_RESTORE_ROUND.
67588         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67589         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67590         (__cos): Likewise.
67591         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67592         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67593         SET_RESTORE_ROUND_NOEX.
67594         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67595         SET_RESTORE_ROUND_NOEXF.
67596         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67597         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67598         (libc_feholdsetroundf): New.
67599         (libc_feresetround, libc_feresetroundf): New.
67601         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67602         (libc_feholdexcept_setround_53bit): Convert from macro to function.
67603         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
67605         * sysdeps/generic/math_private.h: Include <fenv.h>.
67606         (default_libc_feholdexcept): New.
67607         (default_libc_feholdexcept_setround): New.
67608         (default_libc_fesetenv, default_libc_feupdateenv): New.
67609         (libc_feholdexcept): Only define if undefined.
67610         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67611         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67612         (libc_feholdexcept_setroundl): Likewise.
67613         (libc_feholdexcept_setround_53bit): Likewise.
67614         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67615         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67616         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67617         (libc_feupdateenv_53bit): Likewise.
67618         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67619         (libc_feholdexcept): Convert from macro to inline function.
67620         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67621         (libc_fesetenv, libc_feupdateenv): Likewise.
67623         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67624         not previously defined.
67625         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67626         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67627         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67628         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67629         * sysdeps/ieee754/flt-32/math_private.h: New file.
67630         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67631         math_private.h below SET_FLOAT_WORD.
67632         (__isnan, __isinf_ns, __finite): Remove.
67633         (__isnanf, __isinf_nsf, __finitef): Remove.
67635 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
67637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67639 2012-03-17  David S. Miller  <davem@davemloft.net>
67641         [BZ #6471]
67642         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67643         for 2.16.
67645 2012-03-16  David S. Miller  <davem@davemloft.net>
67647         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67648         warnings.
67650         [BZ #6471]
67651         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67652         properly.
67653         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67654         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67655         sysdep_routines when subdir is sysvipc.
67656         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67657         __getshmlba helper.
67659         * sysdeps/sparc/fpu/libm-test/ulps: Update.
67661 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67663         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67664         [__LP64__].
67666 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67668         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67669         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67670         (__lround): Renamed to ...
67671         (__llround): This.  Replace long int with long long int.
67672         Define lround functions as aliases of llround functions.
67673         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67675 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67677         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67678         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
67679         adresses to uintptr_t.  Replace "long int" and "unsigned long
67680         int" with "greg_t" on va_arg.
67682 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67684         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67685         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67687         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67688         Move e_machine check before EI_CLASS check.  Handle x32
67689         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67690         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67691         SKIP_EM_IA_64 and include
67692         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67694         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67695         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67696         (add_system_dir): New macro.
67698         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67699         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67701 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67703         [BZ #2551]
67704         [BZ #2552]
67705         [BZ #2553]
67706         [BZ #2554]
67707         [BZ #2562]
67708         [BZ #2563]
67709         [BZ #2565]
67710         [BZ #2566]
67711         [BZ #2576]
67712         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67713         (y0): Likewise.
67714         * math/w_j0f.c (j0f): Likewise.
67715         (y0f): Likewise.
67716         * math/w_j0l.c (__j0l): Likewise.
67717         (__y0l): Likewise.
67718         * math/w_j1.c (j1): Likewise.
67719         (y1): Likewise.
67720         * math/w_j1f.c (j1f): Likewise.
67721         (y1f): Likewise.
67722         * math/w_j1l.c (__j1l): Likewise.
67723         (__y1l): Likewise.
67724         * math/w_jn.c (jn): Likewise.
67725         (yn): Likewise.
67726         * math/w_jnf.c (jnf): Likewise.
67727         (ynf): Likewise.
67728         * math/w_jnl.c (__jnl): Likewise.
67729         (__ynl): Likewise.
67730         * math/libm-test.inc (j0_test): Add more tests.
67731         (j1_test): Likewise.
67732         (jn_test): Likewise.  Add trailing semicolon to existing test.
67733         (y0_test): Likewise.
67734         (y1_test): Likewise.
67735         * sysdeps/i386/fpu/libm-test-ulps: Update.
67736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67738         [BZ #13851]
67739         [BZ #13854]
67740         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67741         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67742         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67743         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67744         (__tanl): Set errno for infinite argument.
67745         * sysdeps/i386/fpu/mptan.c: Remove.
67746         * sysdeps/i386/fpu/s_tan.S: Likewise.
67747         * sysdeps/i386/fpu/s_tanl.S: Likewise.
67748         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67749         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67750         * math/libm-test.inc (tan_test): Add more tests and enable more
67751         tests for double and long double.
67752         * sysdeps/i386/fpu/libm-test-ulps: Update.
67753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67755 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
67757         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67758         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67760 2012-03-16  Roland McGrath  <roland@hack.frob.com>
67762         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67763         * configure.in: Use it for both main tree and add-ons.
67764         * configure: Regenerated.
67766 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67768         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67770 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67772         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67773         in comment.
67775         [BZ #13851]
67776         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67777         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67778         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67779         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67780         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67781         infinite argument.
67782         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67783         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67784         != 0 for prec == 2.
67785         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67786         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67787         * sysdeps/i386/fpu/s_cosl.S: Likewise.
67788         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67789         * sysdeps/i386/fpu/s_sinl.S: Likewise.
67790         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67791         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67792         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67793         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67794         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67795         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67796         * math/libm-test.inc (cos_test): Add more tests and enable more
67797         tests for long double.
67798         (sin_test): Likewise.
67799         (sincos_test): Likewise.
67800         * sysdeps/i386/fpu/libm-test-ulps: Update.
67801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67803 2012-03-16  David S. Miller  <davem@davemloft.net>
67805         * sysdeps/sparc/fpu/math_private.h: New file.
67807 2012-03-15  David S. Miller  <davem@davemloft.net>
67809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67810         file.
67811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67813         file.
67814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67815         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67816         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67817         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67818         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67819         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67820         sysdep routines.
67821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67823         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67824         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67826         * sysdeps/sparc/sparc-ifunc.h: New file.
67827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67828         sparc-ifunc.h
67829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67831         Likewise.
67832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67833         Likewise.
67834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67838         Likewise.
67839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67844         Likewise.
67845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67846         Likewise.
67847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67851         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67852         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67853         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67854         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67855         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67856         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67857         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67858         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67859         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67860         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67861         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67862         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67863         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67864         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67865         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67866         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67867         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67868         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67869         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67870         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67872 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67874         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67875         scaling.
67876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67878 2012-03-15  Andreas Jaeger  <aj@suse.de>
67880         [BZ #13852]
67881         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67882         ieee754/flt-32 implementation for sin, cos and sincos.
67883         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67884         * sysdeps/i386/fpu/s_cosf.S: Likewise.
67885         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67886         * sysdeps/i386/fpu/s_sinf.S: Likewise.
67887         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67888         ieee754/flt-32 implementation for tan.
67890         * math/libm-test.inc (cos_test): Enable some large input tests for
67891         float as well
67892         (sin_test): Likewise.
67893         (sincos_test): Likewise.
67894         (tan_test): Add tests for large input.
67896         * sysdeps/i386/fpu/libm-test-ulps: Update.
67898 2012-03-15  Andreas Jaeger  <aj@suse.de>
67900         [BZ #13658]
67901         * math/libm-test.inc (cos_test): Add more test cases.
67902         (sin_test): Likewise.
67903         (sincos_test): Likewise.
67905 2012-03-15  Andreas Jaeger  <aj@suse.de>
67907         [BZ #13837]
67908         * math/libm-test.inc (cos_test): Add a test case for large input
67909         value.
67910         (sin_test): Likewise.
67911         (sincos_test): Likewise.
67913 2012-03-15  Andreas Jaeger  <aj@suse.de>
67914             Joseph Myers  <joseph@codesourcery.com>
67916         [BZ #13658]
67917         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67918         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67919         * sysdeps/i386/fpu/branred.c: Likewise.
67920         * sysdeps/i386/fpu/dosincos.c: Likewise.
67921         * sysdeps/i386/fpu/mpa.c: Likewise.
67922         * sysdeps/i386/fpu/s_cos.S: Likewise.
67923         * sysdeps/i386/fpu/s_sin.S: Likewise.
67924         * sysdeps/i386/fpu/s_sincos.S: Likewise.
67925         * sysdeps/i386/fpu/sincos32.c: Likewise.
67927         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67928         Define.
67929         (libc_feupdateenv_53bit): Define.
67930         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67931         Define.
67932         (libc_feupdateenv_53bit): Define.
67934         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67935         53 bit (without extend i386 double precision).
67937         * math/libm-test.inc (sincos_test): Add tests for large input.
67938         (sin): Likewise.
67939         (cos): Likewise.
67941         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67943 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67947 2012-03-15  David S. Miller  <davem@davemloft.net>
67949         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67950         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67951         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67952         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67957         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67958         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67959         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67960         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67961         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67962         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67963         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67965         file.
67966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67968         file.
67969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67971         file.
67972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67974         file.
67975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67976         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67977         fmin/fmax sysdep routines.
67978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67980 2012-03-14  David S. Miller  <davem@davemloft.net>
67982         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67983         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67984         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67985         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67986         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67987         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67988         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67989         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67990         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67991         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67992         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67993         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67994         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67995         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67996         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67997         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67998         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67999         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
68000         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
68001         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
68002         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
68003         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
68004         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
68005         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
68006         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
68007         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
68008         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
68009         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
68010         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
68011         routines.
68012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
68013         file.
68014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
68015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
68016         file.
68017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
68018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
68019         file.
68020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
68021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
68022         file.
68023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
68024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
68025         file.
68026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
68027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
68028         file.
68029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
68030         file.
68031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
68032         file.
68033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
68034         file.
68035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
68036         New file.
68037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
68038         file.
68039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
68040         file.
68041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
68042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
68043         file.
68044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
68045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
68046         file.
68047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
68048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
68049         file.
68050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
68051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
68052         VIS3 routines.
68054         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68055         New file.
68057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68059         * sysdeps/sparc/configure.in: New file.
68060         * sysdeps/sparc/configure: Generate.
68061         * configure.in (libc_cv_sparc_as_vis3): Substitute.
68062         * configure: Regenerate.
68063         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
68064         * config.make.in (have-as-vis3): New.
68065         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
68066         available use -Av9d instead of -Av9a.
68067         * sysdeps/sparc/sparc64/Makefile: Likewise.
68068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
68069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
68070         New file.
68071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
68072         file.
68073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
68074         New file.
68075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
68076         file.
68077         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
68078         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
68079         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
68080         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
68081         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
68083         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
68084         fzeros/fnegs to load 0x80000000 into a float register instead of
68085         using the stack.
68086         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
68088 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68090         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68091         bits/syscall.h.
68092         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
68093         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
68094         ($(inst_includedir)/bits/syscall.h): Remove rule.
68095         ($(objpfx)bits/syscall.d): Include instead of
68096         $(objpfx)syscall-list.d.
68097         (generated): Change syscall-list.h and syscall-list.d to
68098         bits/syscall.h and bits/syscall.d.
68100 2012-03-14  Roland McGrath  <roland@hack.frob.com>
68102         [BZ #13846]
68103         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
68105 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68107         [BZ #13841]
68108         * math/s_csqrt.c: Include <float.h>.
68109         (__csqrt): Scale large or subnormal inputs.
68110         * math/s_csqrtf.c: Likewise.
68111         * math/s_csqrtl.c: Likewise.
68112         * math/libm-test.inc (csqrt_test): Add more tests.
68113         * sysdeps/i386/fpu/libm-test-ulps: Update.
68114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68116         [BZ #13840]
68117         * math/libm-test.inc (hypot_test): Add more tests.
68119 2012-03-13  David S. Miller  <davem@davemloft.net>
68121         [BZ #13840]
68122         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
68123         double-precision for the calculation instead of scaling.
68125 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
68127         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
68128         manipulate bits before adding and subtracting TWO52[sx].
68129         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
68130         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
68131         Likewise.
68132         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
68134 2012-03-13  David S. Miller  <davem@davemloft.net>
68136         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
68137         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
68138         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
68139         rtld-global-offsets.h
68140         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68142         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
68143         large parameters.
68145         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
68147         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
68148         'err' in the ifdef scope in which it is actually used.
68150         * nss/nss_db/db-init.c: Include string.h
68152 2012-03-12  David S. Miller  <davem@davemloft.net>
68154         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68155         masking out of the most significant byte of random value used.
68156         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68157         Fix coding style in previous change.
68159         * sysdeps/unix/sysv/linux/kernel-features.h
68160         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
68161         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
68162         expression.
68163         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
68164         later.
68166 2012-03-11  David S. Miller  <davem@davemloft.net>
68168         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68169         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
68170         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
68171         for 'resultvar' otherwise things get truncated on 64-bit.
68173         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68174         Fix masking out of the most significant byte of random value used.
68176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68178 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
68180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68182 2012-03-09  David S. Miller  <davem@davemloft.net>
68184         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
68185         variables with appropriate CPP guards.
68186         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
68187         from the frame pointer, not the stack pointer.  Correct layout
68188         comments.  Fix test on resulting framesize and the management of
68189         the outregs buffer for pltexit.  Preserve floating point return
68190         values across _dl_call_pltexit call.
68191         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
68192         framesize and the management of the outregs buffer for pltexit.
68193         Preserve floating point return values across _dl_call_pltexit
68194         call.
68195         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
68196         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
68197         (la_sparc64_gnu_pltexit): New functions.
68198         (print_exit): Fix format string for return register value.
68200 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
68202         * sunrpc/Makefile (others): Add rpcgen.
68203         ($(objpfx)rpcgen): Remove special build rule and dependency on
68204         libc.
68205         * sunrpc/rpcgen.c: New file.
68207 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
68209         [BZ #13673]
68210         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
68211         * stdio-common/bug-vfprintf-nargs.c: Likewise.
68212         * sysdeps/i386/crti.S: Likewise.
68213         * sysdeps/i386/crtn.S: Likewise.
68214         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
68215         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
68216         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
68217         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
68218         * sysdeps/sh/crti.S: Likewise.
68219         * sysdeps/sh/crtn.S: Likewise.
68220         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68222         [BZ #13673]
68223         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
68224         with URL.
68225         * locale/programs/locfile-kw.gperf: Likewise.
68226         * locale/programs/charmap-kw.h: Regenerated.
68227         * locale/programs/locfile-kw.h: Likewise.
68229         [BZ #13673]
68230         * intl/plural.y: Replace FSF snail mail address with URL.
68231         * intl/plural.c: Regenerated.
68233 2012-03-09  Richard Henderson  <rth@twiddle.net>
68235         * include/math_private.h: Remove file.
68236         * math/math_private.h: Move file ...
68237         * sysdeps/generic/math_private.h: ... here.
68239         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
68240         * sysdeps/powerpc/fpu/math_private.h: Likewise.
68241         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68243         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
68244         and <math_private.h>.
68245         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68246         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68247         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68248         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68249         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68250         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
68251         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68252         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68253         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68254         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68255         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68256         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68257         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68258         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68259         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68260         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68261         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68262         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68263         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68264         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68265         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68266         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68267         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68268         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68269         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
68270         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68271         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68272         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68273         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68274         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68275         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68276         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68277         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
68278         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68279         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68280         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68281         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68282         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68283         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68284         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68285         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
68286         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68287         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68288         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
68289         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
68290         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68291         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
68292         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
68293         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68294         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68295         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
68296         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
68297         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
68298         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68299         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
68300         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68301         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68302         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
68303         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
68304         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
68305         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68306         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
68307         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68308         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68309         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
68310         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68311         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68312         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68313         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
68314         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
68315         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
68316         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68317         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
68318         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68319         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
68320         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
68321         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
68322         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68323         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
68324         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
68325         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
68326         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
68327         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
68328         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68329         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68330         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
68331         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
68332         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
68333         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68334         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68335         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68336         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68337         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68338         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68339         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68340         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68341         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68342         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68343         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68344         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68345         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68346         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68347         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68348         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68349         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68350         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68351         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68352         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68353         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68354         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68355         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68356         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68357         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68358         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68359         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
68360         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68361         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68362         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68363         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68364         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68365         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68366         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68367         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68368         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
68369         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68370         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68371         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68372         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
68373         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68374         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
68375         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
68376         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68377         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68378         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
68379         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
68380         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68381         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68382         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68383         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
68384         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68385         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68386         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68387         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68388         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
68389         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
68390         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68391         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68392         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68393         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
68394         * sysdeps/ieee754/k_standard.c: Likewise.
68395         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68396         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68397         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68398         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68399         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68400         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68401         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68402         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68403         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68404         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68405         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68406         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68407         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68408         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68409         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68410         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68411         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
68412         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68413         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68414         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
68415         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
68416         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
68417         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68418         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68419         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
68420         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
68421         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68422         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68423         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68424         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68425         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
68426         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68427         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68428         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68429         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
68430         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68431         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68432         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
68433         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
68434         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68435         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
68436         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
68437         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
68438         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68439         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
68440         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
68441         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68442         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68443         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68444         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68445         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68446         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
68447         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68448         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
68449         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68450         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68451         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
68452         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
68453         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68454         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68455         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68456         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
68457         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68458         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68459         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68460         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68461         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68462         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68463         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68464         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68465         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68466         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68467         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68468         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68469         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68470         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68471         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
68472         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68473         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68474         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
68475         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
68476         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
68477         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68478         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68479         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
68480         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68481         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68482         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
68483         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68484         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68485         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
68486         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68487         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
68488         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
68489         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68490         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68491         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
68492         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
68493         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
68494         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
68495         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68496         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68497         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68498         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68499         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
68500         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68501         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68502         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
68503         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
68504         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68505         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68506         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68507         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68508         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68509         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68510         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68511         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68512         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68513         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68514         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68515         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68516         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68517         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68518         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68519         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68520         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
68521         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68522         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68523         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68524         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68525         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68526         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68527         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68528         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
68529         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68530         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68531         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
68532         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
68533         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68534         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
68535         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
68536         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68537         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
68538         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
68539         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68540         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68541         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68542         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68543         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68544         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
68545         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68546         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68547         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68548         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68549         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
68550         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
68551         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68552         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68553         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68554         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
68555         * sysdeps/ieee754/s_lib_version.c: Likewise.
68556         * sysdeps/ieee754/s_matherr.c: Likewise.
68557         * sysdeps/ieee754/s_signgam.c: Likewise.
68558         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68559         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68560         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
68561         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
68562         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
68563         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68564         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
68565         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
68566         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
68567         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
68568         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
68569         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
68570         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68571         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68572         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
68573         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68574         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68575         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68576         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68577         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68578         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68580 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68582         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
68583         * sunrpc/rpc_main.c: Likewise.
68584         * sunrpc/rpc_svcout.c: Likewise.
68586 2012-03-09  David S. Miller  <davem@davemloft.net>
68588         * include/math_private.h: New file.
68590 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68592         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68593         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68594         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68595         from <bits/socket_type.h>.
68596         (enum __socket_type): Don't define here.
68597         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68598         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68599         bits/socket_type.h.
68601         [BZ #13566]
68602         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68603         checking __USE_GNU.
68605         * Makerules ($(inst_includedir)/%.h): New rule.
68606         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68607         (install-others): Remove variable setting.
68608         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68610 2012-03-08  Richard Henderson  <rth@twiddle.net>
68612         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68613         from macro to inline function; merge with the
68614         !__LIBC_INTERNAL_MATH_INLINES version.
68615         (__ieee754_sqrtf): Likewise.
68617         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68618         to inline function.
68619         (__rintf, __floor, __floorf): Likewise.
68621         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68622         macro to inline function.
68623         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68625         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68626         not <math/math_private.h>.
68628 2012-03-08  David S. Miller  <davem@davemloft.net>
68630         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68631         copyright year.
68632         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68634 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
68636         * resolv/gai_misc.c (handle_requests): Fix struct timespec
68637         normalization.
68638         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68639         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68641 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
68643         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
68644         be defined individually, they must be defined as a block.  Define
68645         S for printing a string instead of hidint the different by using a
68646         macro for adding the 'l'.
68647         * stdio-common/tst-fphex-wide.c: Adjust.
68649 2012-03-07  Marek Polacek  <polacek@redhat.com>
68651         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68653 2012-03-08  Marek Polacek  <polacek@redhat.com>
68655         [BZ #13806]
68656         * stdio-common/Makefile (tests): Add tst-fphex-wide.
68657         * stdio-common/tst-fphex.c: Define a few macros to make the
68658         test reusable.  Use them.
68659         * stdio-common/tst-fphex-wide.c: New file.
68661 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
68663         [BZ #6911]
68664         * manual/macros.texi (gnusystems): New macro.
68665         (nongnusystems): Likewise.
68666         (gnulinuxhurdsystems): Likewise.
68667         (gnuhurdsystems): Likewise..
68668         (gnulinuxsystems): Likewise.
68669         * manual/charset.texi: Use new macros or @theglibc{} to refer to
68670         variants of the GNU system, not "GNU system".
68671         * manual/conf.texi: Likewise.
68672         * manual/errno.texi: Likewise.  Update example of errno macro
68673         expansion.
68674         * manual/filesys.texi: Likewise.
68675         (getumask): Document as specific to GNU/Hurd.
68676         * manual/install.texi: Likewise.  Reword some references to
68677         GNU/Linux.
68678         * manual/intro.texi: Likewise.
68679         * manual/io.texi: Likewise.
68680         (File Name Portability): Detail which constraints are inapplicable
68681         to all GNU systems and which are only inapplicable to GNU/Hurd.
68682         * manual/job.texi: Likewise.
68683         * manual/llio.texi: Likewise.
68684         (O_NOCTTY): Document as present on GNU/Linux.
68685         * manual/maint.texi: Likewise.
68686         * manual/memory.texi: Likewise.
68687         * manual/pattern.texi: Likewise.
68688         * manual/pipe.texi: Likewise.
68689         * manual/process.texi: Likewise.
68690         * manual/resource.texi: Likewise.
68691         (RUSAGE_CHILDREN): Remove statement about specifying a particular
68692         child on GNU/Hurd.
68693         * manual/setjmp.texi: Likewise.
68694         * manual/signal.texi: Likewise.
68695         * manual/startup.texi: Likewise.
68696         * manual/stdio.texi: Likewise.
68697         * manual/terminal.texi: Likewise.
68698         (ONLCR): Document as POSIX.
68699         (OXTABS): Document availability on GNU/Linux as XTABS.
68700         (ONOEOT): Document availability separately from other bits.
68701         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68702         * manual/time.texi: Likewise.
68703         * manual/users.texi: Likewise.
68704         * INSTALL: Regenerated.
68705         * sysdeps/gnu/errlist.c: Regenerated.
68707         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68708         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68709         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
68710         puts.
68711         * configure: Regenerated.
68713 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
68715         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68716         default includes instead of AC_HEADER_CHECK.
68717         * sysdeps/i386/configure: Regenerated.
68719         [BZ #10716]
68720         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68721         * math/s_cacoshf.c (__cacoshf): Likewise.
68722         * math/s_cacoshl.c (__cacoshl): Likewise.
68723         * math/s_casinh.c (__casinh): Set signs of result from argument.
68724         * math/s_casinhf.c (__casinhf): Likewise.
68725         * math/s_casinhl.c (__casinhl): Likewise.
68726         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68727         (casinh_test): Add more tests.
68728         * sysdeps/i386/fpu/libm-test-ulps: Update.
68729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68731 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
68733         * po/zh_TW.po: Update from translation team.
68735         * login/Makefile (distribute): Remove variable.
68736         * catgets/Makefile: Likewise.
68737         * mach/Makefile: Likewise.
68738         * malloc/Makefile: Likewise.
68739         * misc/Makefile: Likewise.
68740         * iconv/Makefile: Likewise.
68741         * nscd/Makefile: Likewise.
68742         * hurd/Makefile: Likewise.
68743         * manual/Makefile: Likewise.
68744         * locale/Makefile: Likewise.
68745         * intl/Makefile: Likewise.
68746         * conform/Makefile: Likewise.
68747         * nss/Makefile: Likewise.
68748         * time/Makefile: Likewise.
68749         * soft-fp/Makefile: Likewise.
68750         * dirent/Makefile: Likewise.
68751         * gmon/Makefile: Likewise.
68752         * po/Makefile: Likewise.
68753         * rt/Makefile: Likewise.
68754         * socket/Makefile: Likewise.
68755         * math/Makefile: Likewise.
68756         * signal/Makefile: Likewise.
68757         * debug/Makefile: Likewise.
68758         * elf/Makefile: Likewise.
68759         * timezone/Makefile: Likewise.
68760         * stdlib/Makefile: Likewise.
68761         * iconvdata/Makefile: Likewise.
68762         * sunrpc/Makefile: Likewise.
68763         * io/Makefile: Likewise.
68764         * argp/Makefile: Likewise.
68765         * inet/Makefile: Likewise.
68766         * hesiod/Makefile: Likewise.
68767         * grp/Makefile: Likewise.
68768         * csu/Makefile: Likewise.
68769         * wctype/Makefile: Likewise.
68770         * crypt/Makefile: Likewise.
68771         * libio/Makefile: Likewise.
68772         * string/Makefile: Likewise.
68773         * nis/Makefile: Likewise.
68774         * resolv/Makefile: Likewise.
68775         * stdio-common/Makefile: Likewise.
68776         * wcsmbs/Makefile: Likewise.
68777         * dlfcn/Makefile: Likewise.
68778         * posix/Makefile: Likewise.
68780         [BZ #6959]
68781         * timezone/Makefile: Don't install timezone files, just the programs
68782         and scripts.
68784 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
68786         * nss/databases.def: Add missing gshadow entry.
68788         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
68790 2012-03-06  Marek Polacek  <polacek@redhat.com>
68792         [BZ #13726]
68793         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68794         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68795         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68796         * stdio-common/tst-long-dbl-fphex.c: New file.
68798 2012-03-06  David S. Miller  <davem@davemloft.net>
68800         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68801         (set_obp_int): New function.
68802         (get_obp_int): New function.
68803         (__get_clockfreq_via_dev_openprom): Likewise.
68804         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68805         Avoid unused variable warnings on 'val' and use builtin_expect.
68806         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68807         __builtin_expect.
68808         (INLINE_CLONE_SYSCALL): Likewise.
68810 2012-03-05  David S. Miller  <davem@davemloft.net>
68812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68814 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
68816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68818         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68819         only for |x| >= 40.
68820         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68822 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
68824         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68825         Replace gettimeofday with __vdso_gettimeofday.
68827         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68828         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68829         __vdso_clock_gettime and __vdso_getcpu.
68831         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68832         time with __vdso_time.
68834 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68836         * manual/lang.texi (size_t): Note types to which size_t may be
68837         equivalent with the GNU C Library, but do not describe when
68838         differences between them are significant.
68840 2012-03-05  Andreas Jaeger  <aj@suse.de>
68842         * sysdeps/i386/fpu/libm-test-ulps: Update.
68844 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68846         [BZ #3976]
68847         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68848         (__ieee754_pow): Save and restore rounding mode and use
68849         round-to-nearest for main computations.
68850         * math/libm-test.inc (pow_test_tonearest): New function.
68851         (pow_test_towardzero): Likewise.
68852         (pow_test_downward): Likewise.
68853         (pow_test_upward): Likewise.
68854         (main): Call the new functions.
68855         * sysdeps/i386/fpu/libm-test-ulps: Update.
68856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68858         [BZ #3976]
68859         * math/libm-test.inc (cosh_test_tonearest): New function.
68860         (cosh_test_towardzero): Likewise.
68861         (cosh_test_downward): Likewise.
68862         (cosh_test_upward): Likewise.
68863         (sinh_test_tonearest): Likewise.
68864         (sinh_test_towardzero): Likewise.
68865         (sinh_test_downward): Likewise.
68866         (sinh_test_upward): Likewise.
68867         (main): Call the new functions.
68868         * sysdeps/i386/fpu/libm-test-ulps: Update.
68869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68871 2012-03-05  Tom de Vries  <tom@codesourcery.com>
68873         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68874         default stack guard is set in last bytes.
68875         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68877 2012-03-05  Kees Cook  <keescook@chromium.org>
68879         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68881         [BZ #13656]
68882         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68883         possibly allocate from heap instead of stack.
68884         * stdio-common/bug-vfprintf-nargs.c: New file.
68885         * stdio-common/Makefile (tests): Add nargs overflow test.
68887 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
68889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68891 2012-03-03  Marek Polacek  <polacek@redhat.com>
68893         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68894         * math/math_private.h: Likewise.
68895         * stdlib/tst-strtod.c: Likewise.
68896         * sysdeps/i386/i486/bits/atomic.h: Likewise.
68897         * sysdeps/x86_64/bits/atomic.h: Likewise.
68899 2012-03-02  David S. Miller  <davem@davemloft.net>
68901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68905         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68906         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68907         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68908         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68910 2012-03-02  Roland McGrath  <roland@hack.frob.com>
68912         [BZ #13792]
68913         * manual/examples/README: New file, says the example source files
68914         can be used under GPL>=2.
68915         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68916         line containing just "*/".
68917         * manual/examples/add.c: Add copyright header (GPL>=2).
68918         * manual/examples/argp-ex1.c: Likewise.
68919         * manual/examples/argp-ex2.c: Likewise.
68920         * manual/examples/argp-ex3.c: Likewise.
68921         * manual/examples/argp-ex4.c: Likewise.
68922         * manual/examples/atexit.c: Likewise.
68923         * manual/examples/db.c: Likewise.
68924         * manual/examples/dir.c: Likewise.
68925         * manual/examples/dir2.c: Likewise.
68926         * manual/examples/execinfo.c: Likewise.
68927         * manual/examples/filecli.c: Likewise.
68928         * manual/examples/filesrv.c: Likewise.
68929         * manual/examples/fmtmsgexpl.c: Likewise.
68930         * manual/examples/genpass.c: Likewise.
68931         * manual/examples/inetcli.c: Likewise.
68932         * manual/examples/inetsrv.c: Likewise.
68933         * manual/examples/isockad.c: Likewise.
68934         * manual/examples/longopt.c: Likewise.
68935         * manual/examples/memopen.c: Likewise.
68936         * manual/examples/memstrm.c: Likewise.
68937         * manual/examples/mkfsock.c: Likewise.
68938         * manual/examples/mkisock.c: Likewise.
68939         * manual/examples/mygetpass.c: Likewise.
68940         * manual/examples/pipe.c: Likewise.
68941         * manual/examples/popen.c: Likewise.
68942         * manual/examples/rprintf.c: Likewise.
68943         * manual/examples/search.c: Likewise.
68944         * manual/examples/select.c: Likewise.
68945         * manual/examples/setjmp.c: Likewise.
68946         * manual/examples/sigh1.c: Likewise.
68947         * manual/examples/sigusr.c: Likewise.
68948         * manual/examples/stpcpy.c: Likewise.
68949         * manual/examples/strdupa.c: Likewise.
68950         * manual/examples/strftim.c: Likewise.
68951         * manual/examples/strncat.c: Likewise.
68952         * manual/examples/subopt.c: Likewise.
68953         * manual/examples/swapcontext.c: Likewise.
68954         * manual/examples/termios.c: Likewise.
68955         * manual/examples/testopt.c: Likewise.
68956         * manual/examples/testpass.c: Likewise.
68957         * manual/examples/timeval_subtract.c: Likewise.
68959         [BZ #13792]
68960         * manual/time.texi (Elapsed Time): Move timeval_subtract example
68961         function to ...
68962         * manual/timeval_subtract.c.texi: ... here, new file.
68964 2012-03-02  David S. Miller  <davem@davemloft.net>
68966         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68968 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
68970         [BZ #3976]
68971         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68972         (__sin): Save and restore rounding mode and use round-to-nearest
68973         for all computations.
68974         (__cos): Save and restore rounding mode and use round-to-nearest
68975         for all computations.
68976         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68977         <fenv.h>.
68978         (tan): Save and restore rounding mode and use round-to-nearest for
68979         all computations.
68980         * math/libm-test.inc (cos_test_tonearest): New function.
68981         (cos_test_towardzero): Likewise.
68982         (cos_test_downward): Likewise.
68983         (cos_test_upward): Likewise.
68984         (sin_test_tonearest): Likewise.
68985         (sin_test_towardzero): Likewise.
68986         (sin_test_downward): Likewise.
68987         (sin_test_upward): Likewise.
68988         (tan_test_tonearest): Likewise.
68989         (tan_test_towardzero): Likewise.
68990         (tan_test_downward): Likewise.
68991         (tan_test_upward): Likewise.
68992         (main): Call the new functions.
68993         * sysdeps/i386/fpu/libm-test-ulps: Update.
68994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68996         [BZ #10135]
68997         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68998         small n, then large n, before computing and testing k+n.
68999         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
69000         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
69001         Likewise.
69002         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
69003         Likewise.
69004         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
69005         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
69006         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
69007         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
69008         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
69009         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
69010         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
69011         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
69012         * math/libm-test.inc (scalbn_test): Add more tests.
69013         (scalbln_test): Likewise.
69015         * manual/filesys.texi (mode_t): Describe constraints on size and
69016         signedness, not exact equivalence to a particular type.
69017         (ino_t): Likewise.
69018         (ino64_t): Likewise.
69019         (dev_t): Likewise.
69020         (nlink_t): Likewise.
69021         (blkcnt_t): Likewise.
69022         (blkcnt64_t): Likewise.
69023         * manual/llio.texi (off_t): Likewise.
69025         [BZ #3976]
69026         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
69027         (__ieee754_exp): Save and restore rounding mode and use
69028         round-to-nearest for all computations.
69029         * math/libm-test.inc (exp_test_tonearest): New function.
69030         (exp_test_towardzero): Likewise.
69031         (exp_test_downward): Likewise.
69032         (exp_test_upward): Likewise.
69033         (main): Call the new functions.
69034         * sysdeps/i386/fpu/libm-test-ulps: Update.
69035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69037 2012-03-01  Chris Demetriou  <cgd@google.com>
69039         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
69040         have predictable order.
69042 2012-03-01  David S. Miller  <davem@davemloft.net>
69044         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
69046         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
69047         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
69048         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
69049         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
69051         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
69052         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
69053         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
69054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
69055         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
69056         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
69057         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
69058         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
69059         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
69061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69063         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
69064         * sysdeps/sparc/fpu/libm-test-ulps: to here.
69065         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
69067         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
69068         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69069         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69070         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
69071         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
69072         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
69073         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
69074         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69075         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69076         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
69077         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
69078         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69079         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69080         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69081         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69082         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69083         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
69084         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
69085         * sysdeps/sparc/elf/configure: Regenerated.
69087 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
69089         * configure.in (AS, LD): Require binutils 2.20 or later.
69090         * configure: Regenerated.
69091         * manual/install.texi (Tools for Compilation): Give binutils 2.20
69092         as required minimum version.
69093         * INSTALL: Regenerated.
69095         [BZ #2541]
69096         [BZ #4108]
69097         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
69098         before squaring exponent.
69099         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
69100         bottom long double and 27 bits of top long double before squaring
69101         exponent.
69102         * math/libm-test.inc (erfc_test): Add more tests.
69103         * sysdeps/i386/fpu/libm-test-ulps: Update.
69104         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69107 2012-03-01  Kai Tietz  <ktietz@redhat.com>
69109         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
69110         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
69111         containing bit-fields.
69112         * soft-fp/extended.h (_FP_UNION_E): Likewise.
69113         * soft-fp/single.h (_FP_UNION_S): Likewise.
69114         * soft-fp/double.h (_FP_UNION_D): Likewise.
69116 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69118         [BZ #13786]
69119         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
69120         not include ../strcmp.S.
69121         [USE_AS_STRNCASECMP_L]: Likewise.
69122         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
69123         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
69124         * sysdeps/i386/i686/multiarch/strncase_l-c.c
69125         (__strncasecmp_l_ia32): Define as alias to
69126         __strncasecmp_l_nonascii.
69128         [BZ #5794]
69129         * math/libm-test.inc (expm1_test): Add test for bug 5794.
69130         * sysdeps/i386/fpu/libm-test-ulps: Update.
69131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69133         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
69134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69136 2012-02-29  Jeff Law  <law@redhat.com>
69138         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
69139         out of bounds read.
69141 2012-02-29  Marek Polacek  <polacek@redhat.com>
69143         [BZ #13706]
69144         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
69145         * elf/Makefile: Add rules to run tst-unused-dep.out.
69147 2012-02-28  David S. Miller  <davem@davemloft.net>
69149         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
69150         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
69151         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
69152         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
69153         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
69154         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
69156 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69158         * math/libm-test.inc (llround_test): Move one test from
69159         lround_test.  Use TEST_f_L in moved test.
69160         (lround_test): Move misplaced test to llround_test.  Add testcase
69161         from bug 2561.
69163 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
69165         * sysdeps/x86_64/fpu/e_expf.S: New file.
69166         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
69168 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
69170         [BZ #13637]
69171         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
69172         of remain_len that may cause incomplete multi-byte character and
69173         false match.
69174         * posix/bug-regex33.c: New file.
69175         * posix/Makefile (tests): Add bug-regex33.
69177 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
69179         * manual/macros.texi: New file.
69180         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
69181         * manual/libc.texinfo: Include macros.texi.
69182         * manual/creatute.texi: Likewise.
69183         * manual/install.texi: Likewise.
69184         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
69185         @glibcadj{} in references to the GNU C Library.
69186         * manual/charset.texi: Likewise.
69187         * manual/conf.texi: Likewise.
69188         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
69189         when not using those macros.
69190         * manual/creature.texi: Likewise.
69191         * manual/crypt.texi: Likewise.
69192         * manual/errno.texi: Likewise.
69193         * manual/filesys.texi: Likewise.
69194         * manual/header.texi: Likewise.
69195         * manual/install.texi: Likewise.
69196         * manual/intro.texi: Likewise.
69197         * manual/io.texi: Likewise.
69198         * manual/job.texi: Likewise.
69199         * manual/lang.texi: Likewise.
69200         * manual/libc.texiinfo: Likewise.
69201         * manual/llio.texi: Likewise.
69202         * manual/locale.texi: Likewise.
69203         * manual/maint.texi: Likewise.
69204         * manual/math.texi: Likewise.
69205         * manual/memory.texi: Likewise.
69206         * manual/message.texi: Likewise.
69207         * manual/nss.texi: Likewise.
69208         * manual/pattern.texi: Likewise.
69209         * manual/process.texi: Likewise.
69210         * manual/resource.texi: Likewise.
69211         * manual/search.texi: Likewise.
69212         * manual/setjmp.texi: Likewise.
69213         * manual/signal.texi: Likewise.
69214         * manual/socket.texi: Likewise.
69215         * manual/startup.texi: Likewise.
69216         * manual/stdio.texi: Likewise.
69217         * manual/string.texi: Likewise.
69218         * manual/sysinfo.texi: Likewise.
69219         * manual/syslog.texi: Likewise.
69220         * manual/terminal.texi: Likewise.
69221         * manual/time.texi: Likewise.
69222         * manual/users.texi: Likewise.
69223         * INSTALL: Regenerated.
69224         * NOTES: Regenerated.
69225         * sysdeps/gnu/errlist.c: Regenerated.
69227 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
69229         * include/dirent.h: Include <dirstream.h> before
69230         <dirent/dirent.h>.
69232 2012-02-28  David S. Miller  <davem@davemloft.net>
69234         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
69235         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
69236         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
69237         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
69239 2012-02-27  David S. Miller  <davem@davemloft.net>
69241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
69242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
69243         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
69244         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
69246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
69247         frame pointer instead of stack pointer relative arg slot.
69248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69249         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69250         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69252 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
69254         [BZ #3992]
69255         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
69257 2012-02-27  David S. Miller  <davem@davemloft.net>
69259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
69260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
69263         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69264         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69265         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
69266         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
69268 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69270         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
69271         later.  Allow versions 5-9.
69272         * configure: Regenerated.
69273         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
69274         required minimum version and 4.6 as recommended version.  Do not
69275         mention bugs in GCC 2.7 and 2.8.
69276         * INSTALL: Regenerated.
69278 2012-02-27  David S. Miller  <davem@davemloft.net>
69280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
69281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
69282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
69283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
69284         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
69285         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
69286         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
69287         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
69289         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
69290         manipulate bits before adding and subtracting TWO112[sx].
69291         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69293 2012-02-27  Roland McGrath  <roland@hack.frob.com>
69295         [BZ #13775]
69296         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
69297         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
69298         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
69299         being in POSIX, because they are in 1003.1-2008.
69301         * rt/tst-aio.c: Include <fcntl.h>.
69302         * rt/tst-aio7.c: Likewise.
69303         * rt/tst-aio64.c: Likewise.
69305         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
69307 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69309         * manual/install.texi (--with-headers): Describe headers as
69310         interface headers, not private headers.
69311         (Specific advice for GNU/Linux systems): Describe use of headers
69312         from "make headers_install", not private headers from older
69313         kernels.
69314         * INSTALL: Regenerated.
69315         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
69316         Change to 2.6.19.
69317         * sysdeps/unix/sysv/linux/configure: Regenerated.
69319         * manual/llio.texi (fclean): Remove documentation.
69321         * manual/Makefile (libc-texi-generated): New variable.  Include
69322         version.texi.
69323         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
69324         $(libc-texi-generated), not duplicated list of files.
69325         (version.texi, stamp-version): New rules.
69326         (realclean): Remove $(libc-texi-generated), not individual files
69327         from that list.  Do not remove dir-add.texinfo.
69328         * manual/libc.texinfo: Comment out uses of edition numbers and
69329         references to printed manual.  Remove last-updated dates.
69330         (EDITION): Comment out.
69331         (ISBN): Likewise.
69332         (VERSION, UPDATED): Remove.
69333         (version.texi): Include.
69335 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
69337         * sysdeps/posix/spawni.c: Include <signal.h>.
69338         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
69339         * sysdeps/pthread/aio_fsync.c: Likewise.
69341 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
69343         * conform/Makefile (tests): Run only when not cross-compiling and
69344         when fast-check is not defined.
69346         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
69347         * conform/data/limits.h-data: Fixes for POSIX2008.
69348         * conform/run-conformtest.sh: Run all tests.
69349         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
69350         headers.
69351         * include/bits/dlfcn.h: Likewise.
69352         * include/langinfo.h: Likewise.
69353         * include/monetary.h: Likewise.
69354         * include/sys/poll.h: Likewise.
69356         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
69357         for __USE_GNU.
69358         * posix/spawn.h: Define __need_sigset_t.
69359         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
69360         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
69361         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
69362         to get sigevent_t only.
69363         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
69364         only for __USE_GNU.
69365         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69366         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69367         process_vm_writev only for __USE_GNU.
69368         * termios/termios.h: Declare tcgetsid also for POSIX2008.
69370         * conform/Makefile: For now ignore errors from run-conformtest.
69371         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
69372         POSIX to avoid namespace pollution.  Don't prepend headers.
69373         * conform/data/aio.h-data: Fixes for POSIX testing.
69374         * conform/data/fcntl.h-data: Likewise.
69375         * conform/data/glob.h-data: Likewise.
69376         * conform/data/grp.h-data: Likewise.
69377         * conform/data/pthread.h-data: Likewise.
69378         * conform/data/pwd.h-data: Likewise.
69379         * conform/data/signal.h-data: Likewise.
69380         * conform/data/spawn.h-data: Likewise.
69381         * conform/data/stdio.h-data: Likewise.
69382         * conform/data/stdlib.h-data: Likewise.
69383         * conform/data/stropts.h-data: Likewise.
69384         * conform/data/sys/mman.h-data: Likewise.
69385         * conform/data/sys/stat.h-data: Likewise.
69386         * conform/data/sys/types.h-data: Likewise.
69387         * conform/data/sys/wait.h-data: Likewise.
69388         * conform/data/time.h-data: Likewise.
69389         * conform/data/unistd.h-data: Likewise.
69390         * conform/data/utime.h-data: Likewise.
69392         * io/sys/stat.h: fchmod was always in POSIX.
69393         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
69394         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
69395         * rt/aio.h: Define __need_timespec before including <time.h>.
69396         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
69397         struct.  Add forward declaration of pthread_attr_t and use it in
69398         sigevent.
69399         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69400         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69401         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
69402         always remove CLK_TCK definition.
69404 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
69406         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
69408 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
69410         * conform/run-conformtest.sh: New file.
69411         * conform/Makefile: Run run-conformtest for tests.
69412         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
69413         support.
69415         * conform/data/uchar.h-data: New file.
69416         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
69417         * conform/data/arpa/inet.h-data: Likewise.
69418         * conform/data/assert.h-data: Likewise.
69419         * conform/data/complex.h-data: Likewise.
69420         * conform/data/cpio.h-data: Likewise.
69421         * conform/data/ctype.h-data: Likewise.
69422         * conform/data/dirent.h-data: Likewise.
69423         * conform/data/dlfcn.h-data: Likewise.
69424         * conform/data/errno.h-data: Likewise.
69425         * conform/data/fcntl.h-data: Likewise.
69426         * conform/data/float.h-data: Likewise.
69427         * conform/data/fmtmsg.h-data: Likewise.
69428         * conform/data/fnmatch.h-data: Likewise.
69429         * conform/data/ftw.h-data: Likewise.
69430         * conform/data/glob.h-data: Likewise.
69431         * conform/data/grp.h-data: Likewise.
69432         * conform/data/iconv.h-data: Likewise.
69433         * conform/data/inttypes.h-data: Likewise.
69434         * conform/data/langinfo.h-data: Likewise.
69435         * conform/data/libgen.h-data: Likewise.
69436         * conform/data/limits.h-data: Likewise.
69437         * conform/data/locale.h-data: Likewise.
69438         * conform/data/math.h-data: Likewise.
69439         * conform/data/monetary.h-data: Likewise.
69440         * conform/data/mqueue.h-data: Likewise.
69441         * conform/data/ndbm.h-data: Likewise.
69442         * conform/data/net/if.h-data: Likewise.
69443         * conform/data/netdb.h-data: Likewise.
69444         * conform/data/netinet/in.h-data: Likewise.
69445         * conform/data/nl_types.h-data: Likewise.
69446         * conform/data/poll.h-data: Likewise.
69447         * conform/data/pthread.h-data: Likewise.
69448         * conform/data/pwd.h-data: Likewise.
69449         * conform/data/regex.h-data: Likewise.
69450         * conform/data/sched.h-data: Likewise.
69451         * conform/data/search.h-data: Likewise.
69452         * conform/data/semaphore.h-data: Likewise.
69453         * conform/data/setjmp.h-data: Likewise.
69454         * conform/data/signal.h-data: Likewise.
69455         * conform/data/spawn.h-data: Likewise.
69456         * conform/data/stdarg.h-data: Likewise.
69457         * conform/data/stdio.h-data: Likewise.
69458         * conform/data/stdlib.h-data: Likewise.
69459         * conform/data/string.h-data: Likewise.
69460         * conform/data/strings.h-data: Likewise.
69461         * conform/data/stropts.h-data: Likewise.
69462         * conform/data/sys/ipc.h-data: Likewise.
69463         * conform/data/sys/mman.h-data: Likewise.
69464         * conform/data/sys/msg.h-data: Likewise.
69465         * conform/data/sys/resource.h-data: Likewise.
69466         * conform/data/sys/select.h-data: Likewise.
69467         * conform/data/sys/sem.h-data: Likewise.
69468         * conform/data/sys/shm.h-data: Likewise.
69469         * conform/data/sys/socket.h-data: Likewise.
69470         * conform/data/sys/stat.h-data: Likewise.
69471         * conform/data/sys/statvfs.h-data: Likewise.
69472         * conform/data/sys/time.h-data: Likewise.
69473         * conform/data/sys/timeb.h-data: Likewise.
69474         * conform/data/sys/times.h-data: Likewise.
69475         * conform/data/sys/types.h-data: Likewise.
69476         * conform/data/sys/uio.h-data: Likewise.
69477         * conform/data/sys/un.h-data: Likewise.
69478         * conform/data/sys/utsname.h-data: Likewise.
69479         * conform/data/sys/wait.h-data: Likewise.
69480         * conform/data/syslog.h-data: Likewise.
69481         * conform/data/tar.h-data: Likewise.
69482         * conform/data/termios.h-data: Likewise.
69483         * conform/data/utime.h-data: Likewise.
69484         * conform/data/utmpx.h-data: Likewise.
69485         * conform/data/varargs.h-data: Likewise.
69486         * conform/data/wchar.h-data: Likewise.
69487         * conform/data/wctype.h-data: Likewise.
69488         * conform/data/wordexp.h-data: Likewise.
69490         * include/stropts.h: New file.
69491         * include/uchar.h: New file.
69492         * include/aio.h: Changes to allow conformtest.pl to use the headers.
69493         * include/assert.h: Likewise.
69494         * include/ctype.h: Likewise.
69495         * include/dirent.h: Likewise.
69496         * include/dlfcn.h: Likewise.
69497         * include/fcntl.h: Likewise.
69498         * include/fnmatch.h: Likewise.
69499         * include/glob.h: Likewise.
69500         * include/grp.h: Likewise.
69501         * include/libio.h: Likewise.
69502         * include/locale.h: Likewise.
69503         * include/math.h: Likewise.
69504         * include/net/if.h: Likewise.
69505         * include/netdb.h: Likewise.
69506         * include/netinet/in.h: Likewise.
69507         * include/pthread.h: Likewise.
69508         * include/pwd.h: Likewise.
69509         * include/regex.h: Likewise.
69510         * include/sched.h: Likewise.
69511         * include/search.h: Likewise.
69512         * include/setjmp.h: Likewise.
69513         * include/signal.h: Likewise.
69514         * include/stdio.h: Likewise.
69515         * include/stdlib.h: Likewise.
69516         * include/string.h: Likewise.
69517         * include/sys/cdefs.h: Likewise.
69518         * include/sys/mman.h: Likewise.
69519         * include/sys/msg.h: Likewise.
69520         * include/sys/resource.h: Likewise.
69521         * include/sys/select.h: Likewise.
69522         * include/sys/socket.h: Likewise.
69523         * include/sys/stat.h: Likewise.
69524         * include/sys/statvfs.h: Likewise.
69525         * include/sys/time.h: Likewise.
69526         * include/sys/times.h: Likewise.
69527         * include/sys/uio.h: Likewise.
69528         * include/sys/utsname.h: Likewise.
69529         * include/sys/wait.h: Likewise.
69530         * include/termios.h: Likewise.
69531         * include/time.h: Likewise.
69532         * include/ulimit.h: Likewise.
69533         * include/unistd.h: Likewise.
69534         * include/utime.h: Likewise.
69535         * include/wchar.h: Likewise.
69536         * include/wctype.h: Likewise.
69537         * include/wordexp.h: Likewise.
69539         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
69541         * time/time.h: TIME_UTC must be a macro.
69542         Make timespec_get available for ISO C11 only as well.
69544 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
69546         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
69547         Reported by Peng Haitao <penght@cn.fujitsu.com>.
69549 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69551         * configure.in: Use -o not -a in test for unsupported multi-arch.
69553 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69555         * manual/texinfo.tex: Update to version 2012-01-19.16.
69557 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69559         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
69561 2012-02-24  Roland McGrath  <roland@hack.frob.com>
69563         [BZ #13738]
69564         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
69565         * manual/fdl-1.3.texi: New file.
69566         * manual/fdl-1.1.texi: File removed.
69568         [BZ #13738]
69569         * manual/libc.texinfo (FDL_VERSION): New @set.
69570         Use it for mention of FDL in cover text.
69571         (Documentation License): Use it in @include file name.
69573 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69574             Roland McGrath  <roland@hack.frob.com>
69576         [BZ #5461]
69577         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
69578         (not LONG_LONG_MAX and LONG_LONG_MIN.
69579         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
69580         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
69581         name.
69582         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
69584 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69586         [BZ #2547]
69587         [BZ #11365]
69588         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69589         manipulate bits before adding and subtracting TWO23[sx].
69590         * math/libm-test.inc (nearbyint_test): Add more tests.
69592 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69594         [BZ #2548]
69595         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69596         bits before adding and subtracting TWO23[sx].
69597         * math/libm-test.inc (rint_test): Add more tests.
69598         (rint_test_tonearest): Likewise.
69599         (rint_test_towardzero): Likewise.
69600         (rint_test_downward): Likewise.
69601         (rint_test_upward: Likewise.
69603 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69605         [BZ #10110]
69606         * include/stdc-predef.h: New file.  Extracted from features.h.
69607         * include/features.h: Include stdc-predef.h.
69608         * Makefile (headers): Add stdc-predef.h.
69609         * CONFORMANCE (Compiler limitations): Update.
69611 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69613         * manual/libc.texinfo (VERSION, UPDATED): Revert.
69615 2012-02-21  David S. Miller  <davem@davemloft.net>
69617         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69618         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69620 2012-02-20  David S. Miller  <davem@davemloft.net>
69622         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69623         using a normal save/restore sequence, rather than allocating a
69624         dummy stack frame just to store a frame pointer and restore.
69625         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69627 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69629         * manual/install.texi: Fix stray word in line-wrapped comment.
69631 2012-02-20  David S. Miller  <davem@davemloft.net>
69633         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69634         both binutils and gcc support GOTDATA.
69636         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69637         "rd %pc" in the PIC register setup sequences.
69639         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69640         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69641         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69642         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69643         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69644         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69645         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69646         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69647         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69648         (SYSCALL_ERROR_HANDLER): Likewise.
69649         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69650         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69651         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69652         (SYSCALL_ERROR_HANDLER): Likewise.
69654         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69655         (HAVE_GCC_GOTDATA): New.
69656         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69657         relocation support in both binutils and gcc.
69658         * sysdeps/sparc/elf/configure: Regenerate.
69660         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69661         * sysdeps/sparc/sparc32/elf/configure: Delete.
69662         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69663         * sysdeps/sparc/sparc64/elf/configure: Delete.
69664         * sysdeps/sparc/elf/configure.in: New file.
69665         * sysdeps/sparc/elf/configure: Generate.
69667         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69668         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69669         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69670         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69671         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69673 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69675         * manual/install.texi: Do not mention specific glibc version
69676         numbers.
69677         * manual/libc.texinfo (VERSION, UPDATED): Update.
69678         (@copying): Use @copyright{} and range of years.
69680 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69682         [BZ #13695]
69683         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69684         [crti.S not in sysdirs] (generated): Do not append.
69685         [crti.S not in sysdirs] (omit-deps): Likewise.
69686         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69687         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69688         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69689         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69690         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69691         Likewise.
69692         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69693         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69694         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69695         * csu/defs.awk: Remove file.
69696         * sysdeps/generic/initfini.c: Likewise.
69697         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69698         variable.
69699         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69700         Likewise.
69702 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69704         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69705         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69706         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69707         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69708         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69709         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69710         <bits/epoll.h>.
69711         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69712         (__EPOLL_PACKED): Define to empty if not defined by
69713         <bits/epoll.h>.
69714         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69715         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69716         bits/epoll.h.
69718 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69720         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69721         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69722         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69723         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69724         <bits/timerfd.h>.
69725         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69726         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69727         bits/timerfd.h.
69729 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69731         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69732         in C locale.
69733         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69734         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69735         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69738 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
69740         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69741         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69743 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
69745         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69746         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69747         defined.
69748         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69749         Likewise.
69750         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69751         entry for 2.16.
69753 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
69755         * math/w_acos.c: Use non-signaling floating-point comparisons.
69756         * math/w_acosf.c: Likewise.
69757         * math/w_acosh.c: Likewise.
69758         * math/w_acoshf.c: Likewise.
69759         * math/w_acoshl.c: Likewise.
69760         * math/w_acosl.c: Likewise.
69761         * math/w_asin.c: Likewise.
69762         * math/w_asinf.c: Likewise.
69763         * math/w_asinl.c: Likewise.
69764         * math/w_atanh.c: Likewise.
69765         * math/w_atanhf.c: Likewise.
69766         * math/w_atanhl.c: Likewise.
69767         * math/w_exp2.c: Likewise.
69768         * math/w_exp2f.c: Likewise.
69769         * math/w_exp2l.c: Likewise.
69770         * math/w_j0.c: Likewise.
69771         * math/w_j0f.c: Likewise.
69772         * math/w_j0l.c: Likewise.
69773         * math/w_j1.c: Likewise.
69774         * math/w_j1f.c: Likewise.
69775         * math/w_j1l.c: Likewise.
69776         * math/w_jn.c: Likewise.
69777         * math/w_jnf.c: Likewise.
69778         * math/w_log.c: Likewise.
69779         * math/w_log10.c: Likewise.
69780         * math/w_log10f.c: Likewise.
69781         * math/w_log10l.c: Likewise.
69782         * math/w_log2.c: Likewise.
69783         * math/w_log2f.c: Likewise.
69784         * math/w_log2l.c: Likewise.
69785         * math/w_logf.c: Likewise.
69786         * math/w_logl.c: Likewise.
69787         * math/w_sqrt.c: Likewise.
69788         * math/w_sqrtf.c: Likewise.
69789         * math/w_sqrtl.c: Likewise.
69790         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69791         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69792         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69793         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69794         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69796 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69798         [BZ #9739]
69799         * manual/string.texi (strnlen): Use correct parameter name in
69800         equivalent expression.
69802 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69804         [BZ #11174]
69805         * manual/users.texi (seteuid): Consistently use neweuid for
69806         argument name.
69808 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69810         [BZ #13704]
69811         * manual/nss.texi (Services in the NSS configuration): Correct
69812         list of services in example configuration file.
69814 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
69816         [BZ #11322]
69817         * manual/arith.texi: Remove statements about negative zero
69818         behaving identically to zero.
69820 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69822         [BZ #5993]
69823         * manual/install.texi: Do not document upgrading from libc5.
69825 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69827         [BZ #4596]
69828         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69830 2012-02-18  David S. Miller  <davem@davemloft.net>
69832         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69833         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69834         %o7 across the call.
69835         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69836         instead.
69837         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69838         SETUP_PIC_REG_LEAF.
69839         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69840         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69841         * sysdeps/sparc/crtn.S: Likewise.
69843 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
69845         * aout/Makefile: Remove.
69847 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
69849         [BZ #13058]
69850         * manual/examples/argp-ex1.c (main): Format definition in GNU
69851         style.
69852         * manual/examples/argp-ex2.c (main): Likewise.
69853         * manual/examples/argp-ex3.c (main): Likewise.
69854         * manual/examples/argp-ex4.c (main): Likewise.
69855         * manual/examples/longopt.c (main): Use new-style prototype
69856         definition.
69857         * manual/examples/strncat.c (main): Specify return type and use
69858         (void) for arguments.
69859         * manual/examples/subopt.c (main): Use char **argv argument.
69861 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69863         [BZ #5077]
69864         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69865         rounding modes.
69867 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
69869         [BZ #6907]
69870         * manual/string.texi (strchr): Change when strchrnul is
69871         recommended.
69873 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
69875         [BZ #174]
69876         * manual/locale.texi (setlocale): Document LOCPATH.
69878 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69880         [BZ #10210]
69881         * manual/process.texi (execle): Move @dots{} before last argument.
69883 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
69885         [BZ #12047]
69886         * manual/charset.texi (Generic Charset Conversion): Fix typo
69887         (LC_TYPE -> LC_CTYPE).
69889 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
69891         [BZ #5805]
69892         * manual/arith.texi (scalbn): Use @var{} on parameter names.
69893         (scalbnf): Likewise.
69894         (scalbnl): Likewise.
69895         (scalbln): Likewise.
69896         (scalblnf): Likewise.
69897         (scalblnl): Likewise.
69898         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69899         (vwarnx): Likewise.
69900         (verr): Likewise.
69901         (verrx): Likewise.
69902         * manual/filesys.texi (telldir): Use braces around return type.
69903         * manual/llio.texi (mmap): Add space after comma.
69904         (mmap64): Likewise.
69905         * manual/math.texi (jn): Use @var{} on parameter names.
69906         (jnf): Likewise.
69907         (jnl): Likewise.
69908         (yn): Likewise.
69909         (ynf): Likewise.
69910         (ynl): Likewise.
69911         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69912         line.
69913         * manual/resource.texi (ulimit): Use @dots{} instead of literal
69914         "...".
69915         (sched_get_priority_min): Remove semicolon on @deftypefun line.
69916         (sched_get_priority_max): Likewise.
69917         * manual/signal.texi (sigvec): Add space after comma.
69918         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69919         names.
69920         (if_indextoname): Likewise.
69921         (if_freenameindex): Likewise.
69922         (sendto): Use ',' instead of '.' in prototype.
69923         * manual/startup.texi (syscall): Use @dots{} instead of literal
69924         "...".
69925         * manual/stdio.texi (__fpending): Separate initial words of
69926         paragraph from @deftypefun line.
69927         * manual/syslog.texi (syslog): Use @dots{} instead of literal
69928         "...".
69929         (vsyslog): Use @var{} on parameter names.
69930         * manual/terminal.texi (stty): Use @var{} on parameter names.
69931         * manual/users.texi (getutmp): Use @var{} on parameter names.
69932         (getutmpx): Likewise.
69934 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69936         [BZ #6884]
69937         * manual/stdio.texi (fopen): Fix typos in description of
69938         ",ccs=STRING".
69940 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
69942         [BZ #4026]
69943         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69944         get clock_id definition.
69946 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
69948         [BZ #4822]
69949         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69950         (madvise): Cast every argument to void on its own.
69952 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69954         [BZ #9902]
69955         * manual/startup.texi (Exit Status): Fix typo.
69957 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69959         [BZ #10140]
69960         * manual/examples/argp-ex1.c: Include <stdlib.h>.
69961         * manual/examples/argp-ex2.c: Likewise.
69962         * manual/examples/argp-ex3.c: Likewise.
69964 2012-02-16  Richard Henderson  <rth@redhat.com>
69966         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69967         * sysdeps/s390/s390-32/initfini.c: Remove.
69968         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69969         * sysdeps/s390/s390-64/initfini.c: Remove.
69971 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69973         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69974         compiler output for sysdeps/generic/initfini.c.
69975         * sysdeps/sh/elf/initfini.c: Remove file.
69977 2012-02-16  David S. Miller  <davem@davemloft.net>
69979         [BZ #11494]
69980         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69982         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69983         * sysdeps/sparc/crti.S: New file.
69984         * sysdeps/sparc/crtn.S: New file.
69985         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69986         * sysdeps/sparc/sparc64/Makefile: Likewise.
69988 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
69990         [BZ #3335]
69991         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69993 2012-02-15  Roland McGrath  <roland@hack.frob.com>
69995         [BZ #4822]
69996         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69998         * mach/devstream.c (cookie_io_functions_t): Macro removed.
69999         (write, read, close): Likewise.
70000         Patch by Aurelien Jarno <aurelien@aurel32.net>.
70002 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
70004         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
70005         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
70006         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
70007         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
70008         <bits/signalfd.h>.
70009         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
70010         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70011         bits/signalfd.h.
70013 2012-02-14  Marek Polacek  <polacek@redhat.com>
70015         * sysdeps/x86_64/crti.S: New file.
70016         * sysdeps/x86_64/crtn.S: New file.
70017         * sysdeps/x86_64/elf/initfini.c: Remove file.
70019 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70021         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
70022         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
70023         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
70024         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
70025         <bits/inotify.h>.
70026         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
70027         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70028         bits/inotify.h.
70030 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70032         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
70033         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
70034         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
70035         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
70036         <bits/eventfd.h>.
70037         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
70038         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70039         bits/eventfd.h.
70041 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
70043         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
70044         __feraiseexcept instead of feraiseexcept.
70046         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
70047         nanosleep invocations.
70048         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
70049         strings, and add error checking for a nanosleep invocations.
70051 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
70053         Replace FSF snail mail address with URLs, as per GNU coding standards.
70054         Most of the snail mail addresses were wrong anyway, and omitting
70055         them makes the source code easier to maintain.  Almost all of the
70056         changes are to license notices and to locale LC_IDENTIFICATION
70057         addresses, except for this one:
70058         * manual/libc.texinfo: In "Published by", give the FSF's URL,
70059         not its snail mail address.
70061 2012-02-09  Richard Henderson  <rth@twiddle.net>
70063         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
70064         of kernel-features.h.
70066         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
70068 2012-02-08  Marek Polacek  <polacek@redhat.com>
70070         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
70071         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
70072         * sysdeps/gnu/_G_config.h: Likewise.
70073         * sysdeps/generic/_G_config.h: Likewise.
70075 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
70077         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
70078         tests.
70079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70081         * sysdeps/powerpc/powerpc32/crti.S: New file.
70082         * sysdeps/powerpc/powerpc32/crtn.S: New file.
70083         * sysdeps/powerpc/powerpc64/crti.S: New file.
70084         * sysdeps/powerpc/powerpc64/crtn.S: New file.
70086         * Makeconfig (have-initfini): Don't set.
70087         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
70088         * configure.in (nopic_initfini): Don't substitute.
70089         * config.h.in (HAVE_INITFINI): Don't #undef.
70090         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
70091         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
70093 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
70095         Support crti.S and crtn.S provided directly by architectures.
70096         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
70097         [crti.S in sysdirs] (omit-deps): Likewise.
70098         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
70099         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
70100         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
70101         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
70102         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
70103         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
70104         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
70105         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
70106         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
70107         compiler output for sysdeps/generic/initfini.c.
70108         * sysdeps/i386/elf/Makefile: Remove file.
70109         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
70111 2012-02-07  Marek Polacek  <polacek@redhat.com>
70113         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
70114         * sysdeps/gnu/_G_config.h: Likewise.
70115         * sysdeps/mach/hurd/_G_config.h: Likewise.
70117 2012-02-07  Marek Polacek  <polacek@redhat.com>
70119         * math/Makefile (tests): Add tst-CMPLX2.
70120         * math/tst-CMPLX2.c: New file.
70122 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
70124         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70126         * math/libm-test.inc (jn_test): Add missing L suffix.
70128 2012-02-06  Marek Polacek  <polacek@redhat.com>
70130         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
70131         * sysdeps/i386/fpu/e_powf.S: Likewise.
70132         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70133         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70134         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70135         * sysdeps/i386/fpu/e_pow.S: Likewise.
70136         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70137         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70138         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70139         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70140         * sysdeps/i386/fpu/e_log2.S: Likewise.
70141         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70142         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70143         * sysdeps/i386/fpu/e_powl.S: Likewise.
70144         * sysdeps/i386/fpu/s_log1p.S: Likewise.
70145         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70146         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70147         * sysdeps/i386/fpu/e_logl.S: Likewise.
70148         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70149         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
70150         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70151         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70152         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70153         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70154         * sysdeps/i386/fpu/e_log.S: Likewise.
70155         * sysdeps/i386/fpu/s_cexp.S: Likewise.
70156         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70157         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
70158         * sysdeps/i386/fpu/e_logf.S: Likewise.
70159         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70160         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70161         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
70162         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70163         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70164         * sysdeps/i386/fpu/e_log10.S: Likewise.
70165         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70166         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70167         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70168         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70169         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70170         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70171         * sysdeps/i386/asm-syntax.h: Likewise.
70172         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70173         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70174         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70175         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
70176         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
70177         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70178         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70179         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70180         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70181         * sysdeps/powerpc/sysdep.h: Likewise.
70182         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
70183         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70185 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70187         [BZ #411]
70188         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
70190 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70192         * sysdeps/i386/sysdep.h: Include <features.h>.
70193         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
70194         version.
70196 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
70198         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
70199         Define.
70200         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
70201         LOAD_PIC_REG_STR.
70203 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70205         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
70206         (SETUP_PIC_REG): Use GET_PC_THUNK.
70207         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
70208         macro.
70210 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70212         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
70213         for non-PIC compilation.
70214         (SETUP_PIC_REG): Add .p2align directive.
70215         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
70216         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
70217         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70218         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70219         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
70220         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70221         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
70222         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70223         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70224         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70225         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70226         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70227         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70228         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70229         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70230         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
70231         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
70232         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70233         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70234         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70235         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70236         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
70237         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70238         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70239         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
70240         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
70241         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70242         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
70243         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70244         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70245         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70246         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70247         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70248         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70249         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70250         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70251         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70252         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70253         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70254         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70255         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70257 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70259         * math/tst-CMPLX.c: Include <stdio.h>.
70261 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
70263         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
70264         float.
70265         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70266         * sysdeps/sparc/bits/mathdef.h: Likewise.
70268 2012-01-31  Marek Polacek  <polacek@redhat.com>
70270         * libio/libio.h: Don't define _PARAMS.
70271         * locale/programs/config.h: Don't define PARAMS.
70272         * stdlib/strtol_l.c: Likewise.
70273         (__strtol_l): Remove PARAMS from the prototype.
70275 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
70277         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
70278         names.  Just use the correct names.  Remove unnecessary wrapper
70279         functions.
70280         * malloc/arena.c: Likewise.
70281         * malloc/hooks.c: Likewise.
70283         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
70284         ARENA_TEST says not to.  Simplify test for creation of a new arena.
70285         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
70287 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
70289         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
70290         into tail calls.
70291         (update_get_addr): New function.
70292         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
70293         GET_ADDR_MODULE parameter.
70295 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70297         * crypt/cert.c: Remove __STDC__ conditionals.
70298         * crypt/crypt-entry.c: Likewise.
70299         * crypt/crypt_util.c: Likewise.
70300         * libio/filedoalloc.c: Likewise.
70301         * libio/fileops.c: Likewise.
70302         * libio/genops.c: Likewise.
70303         * libio/iofclose.c: Likewise.
70304         * libio/iofdopen.c: Likewise.
70305         * libio/iofopen.c: Likewise.
70306         * libio/iofopen64.c: Likewise.
70307         * libio/iogetdelim.c: Likewise.
70308         * libio/iopopen.c: Likewise.
70309         * libio/obprintf.c: Likewise.
70310         * libio/oldfileops.c: Likewise.
70311         * libio/oldiofclose.c: Likewise.
70312         * libio/oldiofdopen.c: Likewise.
70313         * libio/oldiofopen.c: Likewise.
70314         * libio/oldiopopen.c: Likewise.
70315         * libio/wfiledoalloc.c: Likewise.
70316         * libio/wgenops.c: Likewise.
70317         * locale/programs/xmalloc.c: Likewise.
70318         * misc/syslog.c: Likewise.
70319         * stdio-common/xbug.c: Likewise.
70320         * string/memchr.c: Likewise.
70321         * string/memcmp.c: Likewise.
70322         * string/memrchr.c: Likewise.
70323         * string/rawmemchr.c: Likewise.
70324         * sysdeps/posix/getcwd.c: Likewise.
70325         * time/strftime_l.c: Likewise.
70327 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70329         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
70330         * config.make.in (config-cflags-sse2avx): Define.
70331         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
70332         Fix typo.
70334 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
70336         * scripts/config.guess: Update from upstream config git repository.
70337         * scripts/config.sub: Likewise.
70339 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
70341         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
70342         (EM_NUM): Update.
70343         (R_TILEPRO_*, R_TILEGX_*): New macros.
70345         * scripts/firstversions.awk: Fix bug in version range handling.
70347         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
70349         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
70351         * include/sys/epoll.h: New file.
70352         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
70353         libc_hidden_def.
70355 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
70357         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
70358         Avoid unnecessary __WORDSIZE == 64 test.
70359         (fmaxf): Use VEX format if possible.
70360         (fmax): Likewise.
70361         (fminf): Likewise.
70362         (fmin): Likewise.
70364         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
70365         * math/math_private.h: Remove libc_fegetround* and
70366         libc_fesetround*.
70367         * sysdeps/i386/configure.in: Check for -msse2avx.
70368         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
70369         also if SSE2AVX is defined.
70370         Remove libc_fegetround* and libc_fesetround*.
70371         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
70372         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
70373         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
70374         of HAS_YMM_USABLE.
70375         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70376         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70377         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70378         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70379         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70381         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
70383 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70385         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
70386         size is not set.
70387         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70389 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
70391         [BZ #13618]
70392         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
70393         relocation.
70394         * Makeconfig (libm): Define.
70395         * elf/Makefile: Add rules to build and run tst-relsort1.
70396         * elf/tst-relsort1.c: New file.
70397         * elf/tst-relsort1mod1.c: New file.
70398         * elf/tst-relsort1mod2.c: New file.
70400 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
70402         * math/s_ldexp.c: Remove __STDC__ conditionals.
70403         * math/s_ldexpf.c: Likewise.
70404         * math/s_ldexpl.c: Likewise.
70405         * math/s_nextafter.c: Likewise.
70406         * math/s_nexttowardf.c: Likewise.
70407         * math/s_significand.c: Likewise.
70408         * math/s_significandf.c: Likewise.
70409         * math/s_significandl.c: Likewise.
70410         * math/w_jnl.c: Likewise.
70411         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70412         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70413         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70414         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70415         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70416         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70417         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
70418         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70419         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70420         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70421         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70422         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70423         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70424         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70425         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70426         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70427         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70428         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70429         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70430         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70431         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70432         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70433         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70434         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70435         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70436         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70437         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70438         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70439         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70440         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70441         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70442         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70443         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70444         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70445         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70446         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70447         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70448         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70449         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70450         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70451         * sysdeps/ieee754/k_standard.c: Likewise.
70452         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70453         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70454         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70455         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70456         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70457         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70458         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70459         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70460         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70461         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70462         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70463         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70464         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70465         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70466         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70467         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70468         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70469         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70470         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70471         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70472         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70473         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70474         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70475         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70476         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70477         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70478         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70479         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70480         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70481         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70482         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70483         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
70484         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70485         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70486         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70487         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70488         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
70489         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70490         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70491         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
70492         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
70493         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70494         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
70495         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
70496         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70497         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
70498         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
70499         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70500         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70501         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
70502         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
70503         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70504         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70505         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70506         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70507         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70508         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
70509         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70510         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70511         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70512         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70513         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70514         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70515         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70516         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70517         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70518         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70519         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70520         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70521         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70522         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70523         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70524         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70525         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70526         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70527         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70528         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70529         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70530         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70531         * sysdeps/ieee754/s_matherr.c: Likewise.
70532         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70533         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70534         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70535         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70537 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70539         * crypt/md5.h: Remove __STDC__ conditionals.
70540         * libio/libioP.h: Likewise.
70541         * locale/programs/config.h: Likewise.
70542         * sysdeps/generic/sysdep.h: Likewise.
70543         * sysdeps/i386/asm-syntax.h: Likewise.
70544         * sysdeps/s390/asm-syntax.h: Likewise.
70545         * sysdeps/unix/sysdep.h: Likewise.
70546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
70547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70549 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70551         * libio/libio.h: Remove __STDC__ conditionals.
70552         * malloc/obstack.h: Likewise.
70553         * math/complex.h: Likewise.
70554         * math/math.h: Likewise.
70555         * sysdeps/generic/_G_config.h: Likewise.
70556         * sysdeps/gnu/_G_config.h: Likewise.
70557         * sysdeps/mach/hurd/_G_config.h: Likewise.
70558         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70559         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70560         * sysdeps/sparc/bits/mathdef.h: Likewise.
70562 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
70564         [BZ #13583]
70565         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
70566         Clean up HAS_* macros.
70567         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
70568         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
70569         possible.
70570         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
70571         HAS_AVX.
70572         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70573         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70574         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70575         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70576         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70578 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
70580         * elf/tst-unique3.cc (gets): Remove declaration.
70581         * elf/tst-unique3lib.cc (gets): Likewise.
70582         * elf/tst-unique3lib2.cc (gets): Likewise.
70583         * elf/tst-unique4.cc (gets): Likewise.
70585 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
70587         * include/stdio.h: Add C++ protection.  Add gets declarations and
70588         definitions.
70589         * debug/tst-chk1.c: Don't declare gets here.
70590         * stdio-common/tst-gets.c: Likewise.
70592 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70594         * posix/glob: Remove directory.
70596 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70598         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70600 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
70602         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70603         of the non-standard EPFNOSUPPORT.
70605 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70607         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70608         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70609         ANYWHERE set to 1 only on KERN_NO_SPACE error.
70611 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
70613         * wcsmbs/uchar.h: Test __STDC_VERSION__.
70615 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
70617         * nscd/aicache.c (addhstaiX): Do not cache negative results of
70618         transient errors.
70619         * nscd/grpcache.c (cache_addgr): Likewise.
70620         * nscd/hstcache.c (cache_addhst): Likewise.
70621         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70622         * nscd/pwdcache.c (cache_addpw): Likewise.
70623         * nscd/servicescache.c (cache_addserv): Likewise.
70625 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
70627         * malloc/malloc.c: Various cleanups.
70628         * malloc/hooks.c: Likewise.
70630         * stdlib/Makefile (tests): Add bug-fmtmsg1.
70631         * stdlib/bug-fmtmsg1.c: New file.
70633         * stdlib/fmtmsg.c (init): Add missing unlock.
70634         Patch by Peng Haitao <penght@cn.fujitsu.com>.
70636 2012-01-12  Marek Polacek  <polacek@redhat.com>
70638         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70639         and _GNU_SOURCE.
70641 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70643         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70644         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70645         macro to ensure uniqueness of label name.
70646         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70647         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70649 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
70651         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70653         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70654         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70655         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70656         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70658 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
70660         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70662         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70663         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70664         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70666         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70668         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70669         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70670         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70671         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70673         * math/bits/math-finite.h: Add ldexp support.
70675 2012-01-10  Marek Polacek  <polacek@redhat.com>
70677         * locale/programs/localedef.h (show_archive_content): Add noreturn
70678         attribute.
70680 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
70682         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70684 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70686         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70688         * io/Makefile (headers): Add bits/poll2.h.
70690 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
70692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70693         typo #include statement.
70695 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70697         * include/sys/cdefs.h: Define __attribute_alloc_size.
70698         * catgets/gencat.c: Add alloc_size attribute and apply consistently
70699         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70700         * elf/pldd.c: Likewise.
70701         * iconv/iconv_charmap.c: Likewise.
70702         * iconv/iconvconfig.c: Likewise.
70703         * iconv/strtab.c: Likewise.
70704         * locale/programs/locale.c: Likewise.
70705         * locale/programs/localedef.h: Likewise.
70706         * locale/programs/simple-hash.c: Likewise.
70707         * nscd/nscd.h: Likewise.
70708         * nss/makedb.c: Likewise.
70709         * sysdeps/generic/ldconfig.h: Likewise.
70710         * locale/programs/localedef.c: Remove xmalloc prototype.
70711         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70713 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70715         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70716         appropriate.
70718 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70720         * math/Makefile (tests): Add tst-CMPLX.
70721         * math/tst-CMPLX.c: New file.
70723         * math/complex.h (CMPLXL): Fix typo.
70725         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70726         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70727         GLIBC_2.16.
70728         * debug/tst-chk1.c: Add poll and ppoll tests.
70729         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70730         * include/sys/poll.h: Add hidden proto for ppoll.
70731         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70732         * sysdeps/mach/hurd/ppoll.c: Likewise.
70733         * io/ppoll.c: Likewise.
70734         * debug/poll_chk.c: New file.
70735         * debug/ppoll_chk.c: New file.
70736         * include/bits/poll2.h: New file.
70737         * io/bits/poll2.h: New file.
70739         [BZ #1350]
70740         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70742         * configure.in: static is always set to yes.  Remove.
70743         * config.make.in: Don't set build-static.
70744         * Makeconfig: Remove use of build-static.
70745         * dlfcn/Makefile: Likewise.
70746         * elf/Makefile: Likewise.
70747         * math/Makefile: Likewise.
70748         * misc/Makefile: Likewise.
70749         * nptl/Makefile: Likewise.
70750         * sysdeps/mach/hurd/Makefile: Likewise.
70752         * configure.in: PWD_P is not used anymore.
70753         * config.make.in: Remove PWD_P entry.
70755         * configure.in: Remove last remnants of RANLIB.
70756         No need to check for signed size_t anymore.
70757         Don't set libc_commonpagesize and libc_relro_required here for Alpha
70758         and IA-64.
70759         Remove __builtin_expect test because we require at least gcc 3.4.
70760         * aclocal.m4: Likewise.
70762         * wcsmbs/mbrtoc16.c: Implement using towc function.
70763         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70764         * wcsmbs/wcsmbsload.c: Likewise.
70765         * iconv/gconv_simple.c: Likewise.
70766         * iconv/gconv_int.h: Likewise.
70767         * iconv/gconv_builtin.h: Likewise.
70768         * iconv/iconv_prog.c: Remove CHAR16 handling.
70770         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70772         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70774         * configure.in: Remove --with-elf and --enable-bounded options.
70775         Dont set base_machine for ia64.  More non-ELF conditions removed.
70776         Remove testing and setting of leading underscore information.
70777         * config.make.in (build-bounded): Set to no.
70778         * config.h.in: Remove NO_UNDERSCORES entry.
70779         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
70780         them.
70781         * csu/start.c: Remove !NO_UNDERSCORE code.
70782         * locale/localeinfo.h: Likewise.
70783         * sysdeps/generic/machine-gmon.h: Likewise.
70784         * sysdeps/generic/sysdep.h: Likewise.
70785         * sysdeps/i386/sysdep.h: Likewise.
70786         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70787         * sysdeps/mach/sysdep.h: Likewise.
70788         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70789         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70790         * sysdeps/sh/sysdep.h: Likewise.
70791         * sysdeps/sparc/sparc32/alloca.S: Likewise.
70792         * sysdeps/unix/i386/sysdep.S: Likewise.
70793         * sysdeps/unix/sparc/start.c: Likewise.
70794         * sysdeps/unix/sparc/sysdep.S: Likewise.
70795         * sysdeps/unix/sparc/sysdep.h: Likewise.
70796         * sysdeps/unix/start.c: Likewise.
70797         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70798         * sysdeps/x86_64/sysdep.h: Likewise.
70800 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
70802         [BZ #13553]
70803         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70804         for non-gcc.
70805         * argp/argp-fmtstream.h: Use const instead __const.
70806         * argp/argp.h: Likewise.
70807         * assert/assert.h: Likewise.
70808         * bits/fenv.h: Likewise.
70809         * bits/sched.h: Likewise.
70810         * bits/sigset.h: Likewise.
70811         * bits/sigthread.h: Likewise.
70812         * catgets/nl_types.h: Likewise.
70813         * conform/data/pthread.h-data: Likewise.
70814         * crypt/crypt-private.h: Likewise.
70815         * crypt/crypt.h: Likewise.
70816         * crypt/crypt_util.c: Likewise.
70817         * ctype/ctype.h: Likewise.
70818         * debug/execinfo.h: Likewise.
70819         * debug/mbsnrtowcs_chk.c: Likewise.
70820         * debug/mbsrtowcs_chk.c: Likewise.
70821         * debug/wcsnrtombs_chk.c: Likewise.
70822         * debug/wcsrtombs_chk.c: Likewise.
70823         * debug/wcstombs_chk.c: Likewise.
70824         * dirent/dirent.h: Likewise.
70825         * dlfcn/dlfcn.h: Likewise.
70826         * elf/neededtest4.c: Likewise.
70827         * grp/grp.h: Likewise.
70828         * gshadow/gshadow.h: Likewise.
70829         * iconv/gconv.h: Likewise.
70830         * iconv/gconv_int.h: Likewise.
70831         * iconv/gconv_simple.c: Likewise.
70832         * iconv/iconv.h: Likewise.
70833         * iconv/loop.c: Likewise.
70834         * iconv/skeleton.c: Likewise.
70835         * include/aio.h: Likewise.
70836         * include/aliases.h: Likewise.
70837         * include/argz.h: Likewise.
70838         * include/arpa/inet.h: Likewise.
70839         * include/assert.h: Likewise.
70840         * include/dirent.h: Likewise.
70841         * include/dlfcn.h: Likewise.
70842         * include/execinfo.h: Likewise.
70843         * include/fcntl.h: Likewise.
70844         * include/fenv.h: Likewise.
70845         * include/glob.h: Likewise.
70846         * include/grp.h: Likewise.
70847         * include/libintl.h: Likewise.
70848         * include/mntent.h: Likewise.
70849         * include/netdb.h: Likewise.
70850         * include/pwd.h: Likewise.
70851         * include/rpc/netdb.h: Likewise.
70852         * include/sched.h: Likewise.
70853         * include/search.h: Likewise.
70854         * include/shadow.h: Likewise.
70855         * include/signal.h: Likewise.
70856         * include/stdio.h: Likewise.
70857         * include/stdlib.h: Likewise.
70858         * include/string.h: Likewise.
70859         * include/sys/socket.h: Likewise.
70860         * include/sys/stat.h: Likewise.
70861         * include/sys/statfs.h: Likewise.
70862         * include/sys/statvfs.h: Likewise.
70863         * include/sys/syslog.h: Likewise.
70864         * include/sys/time.h: Likewise.
70865         * include/sys/uio.h: Likewise.
70866         * include/time.h: Likewise.
70867         * include/unistd.h: Likewise.
70868         * include/utmp.h: Likewise.
70869         * include/wchar.h: Likewise.
70870         * include/wctype.h: Likewise.
70871         * inet/aliases.h: Likewise.
70872         * inet/arpa/inet.h: Likewise.
70873         * inet/netinet/ether.h: Likewise.
70874         * inet/netinet/in.h: Likewise.
70875         * intl/libintl.h: Likewise.
70876         * io/bits/fcntl2.h: Likewise.
70877         * io/fcntl.h: Likewise.
70878         * io/ftw.h: Likewise.
70879         * io/sys/poll.h: Likewise.
70880         * io/sys/stat.h: Likewise.
70881         * io/sys/statfs.h: Likewise.
70882         * io/sys/statvfs.h: Likewise.
70883         * io/utime.h: Likewise.
70884         * libio/bits/stdio.h: Likewise.
70885         * libio/bits/stdio2.h: Likewise.
70886         * libio/libio.h: Likewise.
70887         * libio/libioP.h: Likewise.
70888         * libio/stdio.h: Likewise.
70889         * locale/lc-ctype.c: Likewise.
70890         * locale/locale.h: Likewise.
70891         * login/utmp.h: Likewise.
70892         * malloc/arena.c: Likewise.
70893         * malloc/malloc.c: Likewise.
70894         * malloc/malloc.h: Likewise.
70895         * malloc/mcheck.c: Likewise.
70896         * malloc/mtrace.c: Likewise.
70897         * math/bits/mathcalls.h: Likewise.
70898         * math/fenv.h: Likewise.
70899         * math/math_private.h: Likewise.
70900         * misc/bits/error.h: Likewise.
70901         * misc/bits/syslog.h: Likewise.
70902         * misc/err.h: Likewise.
70903         * misc/error.h: Likewise.
70904         * misc/fstab.h: Likewise.
70905         * misc/mntent.h: Likewise.
70906         * misc/regexp.h: Likewise.
70907         * misc/search.h: Likewise.
70908         * misc/sgtty.h: Likewise.
70909         * misc/sys/mman.h: Likewise.
70910         * misc/sys/syslog.h: Likewise.
70911         * misc/sys/uio.h: Likewise.
70912         * misc/sys/xattr.h: Likewise.
70913         * misc/ttyent.h: Likewise.
70914         * nis/rpcsvc/ypclnt.h: Likewise.
70915         * nss/nss.h: Likewise.
70916         * posix/bits/unistd.h: Likewise.
70917         * posix/fnmatch.h: Likewise.
70918         * posix/glob.h: Likewise.
70919         * posix/sched.h: Likewise.
70920         * posix/spawn.h: Likewise.
70921         * posix/sys/wait.h: Likewise.
70922         * posix/unistd.h: Likewise.
70923         * posix/wordexp.h: Likewise.
70924         * pwd/pwd.h: Likewise.
70925         * resolv/netdb.h: Likewise.
70926         * resource/sys/resource.h: Likewise.
70927         * rt/aio.h: Likewise.
70928         * rt/bits/mqueue2.h: Likewise.
70929         * rt/mqueue.h: Likewise.
70930         * shadow/shadow.h: Likewise.
70931         * signal/signal.h: Likewise.
70932         * socket/send.c: Likewise.
70933         * socket/sendto.c: Likewise.
70934         * socket/sys/socket.h: Likewise.
70935         * stdio-common/printf.h: Likewise.
70936         * stdlib/bits/stdlib.h: Likewise.
70937         * stdlib/fmtmsg.h: Likewise.
70938         * stdlib/monetary.h: Likewise.
70939         * stdlib/stdlib.h: Likewise.
70940         * stdlib/ucontext.h: Likewise.
70941         * streams/stropts.h: Likewise.
70942         * string/argz.h: Likewise.
70943         * string/bits/string2.h: Likewise.
70944         * string/string.h: Likewise.
70945         * string/strings.h: Likewise.
70946         * sunrpc/rpc/auth.h: Likewise.
70947         * sunrpc/rpc/auth_des.h: Likewise.
70948         * sunrpc/rpc/clnt.h: Likewise.
70949         * sunrpc/rpc/netdb.h: Likewise.
70950         * sunrpc/rpc/pmap_clnt.h: Likewise.
70951         * sunrpc/rpc/xdr.h: Likewise.
70952         * sysdeps/generic/inttypes.h: Likewise.
70953         * sysdeps/generic/net/if.h: Likewise.
70954         * sysdeps/generic/sys/swap.h: Likewise.
70955         * sysdeps/gnu/net/if.h: Likewise.
70956         * sysdeps/gnu/utmpx.h: Likewise.
70957         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70958         * sysdeps/i386/i486/bits/string.h: Likewise.
70959         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70960         * sysdeps/s390/bits/string.h: Likewise.
70961         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70962         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70963         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70964         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70965         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70966         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70967         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70968         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70969         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70970         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70971         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70972         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70973         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70974         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70975         * sysdeps/unix/sysv/linux/readv.c: Likewise.
70976         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70977         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70978         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70979         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70980         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70981         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70982         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70983         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70984         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70985         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70986         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70987         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70988         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70989         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70990         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70991         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70992         * sysvipc/sys/ipc.h: Likewise.
70993         * sysvipc/sys/msg.h: Likewise.
70994         * sysvipc/sys/sem.h: Likewise.
70995         * sysvipc/sys/shm.h: Likewise.
70996         * termios/termios.h: Likewise.
70997         * time/sys/time.h: Likewise.
70998         * time/time.h: Likewise.
70999         * wcsmbs/bits/wchar2.h: Likewise.
71000         * wcsmbs/uchar.h: Likewise.
71001         * wcsmbs/wchar.h: Likewise.
71002         * wctype/wctype.h: Likewise.
71004         [BZ #13551]
71005         * Makeconfig: Remove all but ELF support including AIX support.
71006         * Makerules: Likewise.
71007         * config.h.in: Likewise.
71008         * config.make.in: Likewise.
71009         * configure: Likewise.
71010         * configure.in: Likewise.
71011         * csu/Makefile: Likewise.
71012         * csu/version.c: Likewise.
71013         * debug/Makefile: Likewise.
71014         * dlfcn/Makefile: Likewise.
71015         * elf/Makefile: Likewise.
71016         * extra-lib.mk: Likewise.
71017         * iconv/Makefile: Likewise.
71018         * include/libc-symbols.h: Likewise.
71019         * include/shlib-compat.h: Likewise.
71020         * resolv/Makefile: Likewise.
71021         * resolv/res_libc.c: Likewise.
71022         * rt/Makefile: Likewise.
71023         * sysdeps/i386/asm-syntax.h: Likewise.
71024         * sysdeps/i386/sysdep.h: Likewise.
71025         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71026         * sysdeps/mach/sysdep.h: Likewise.
71027         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
71028         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
71029         * sysdeps/s390/asm-syntax.h: Likewise.
71030         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71031         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71032         * sysdeps/sh/sysdep.h: Likewise.
71033         * sysdeps/unix/sparc/sysdep.h: Likewise.
71034         * sysdeps/wordsize-32/divdi3.c: Likewise.
71035         * sysdeps/x86_64/sysdep.h: Likewise.
71037         * argp/Versions: Remove _argp_unlock_xxx.
71039         [BZ #13559]
71040         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
71041         * abilist/libBrokenLocale.abilist: Likewise.
71042         * abilist/libanl.abilist: Likewise.
71043         * abilist/libc.abilist: Likewise.
71044         * abilist/libcrypt.abilist: Likewise.
71045         * abilist/libdl.abilist: Likewise.
71046         * abilist/libm.abilist: Likewise.
71047         * abilist/libnsl.abilist: Likewise.
71048         * abilist/libpthread.abilist: Likewise.
71049         * abilist/libresolv.abilist: Likewise.
71050         * abilist/librt.abilist: Likewise.
71051         * abilist/libthread_db.abilist: Likewise.
71052         * abilist/libutil.abilist: Likewise.
71053         * abilist/libnss_db.abilist: New file.
71055         * scripts/abilist.awk: Add support for indirect functions.
71057         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
71059         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
71061         * shlib-versions: Remove entries for ports architectures.
71063         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
71064         files in ports.
71065         * elf/stackguard-macros.h: Remove support for IA-64.
71066         * elf/tst-auditmod1.c: Likewise.
71067         * sysdeps/generic/ldsodefs.h: Likewise.
71069         * sysdeps/unix/sysv/linux/configure.in: Ports should define
71070         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
71071         configure files.
71073         [BZ #13552]
71074         * configure.in: Remove --enable-omitfp support.
71075         * FAQ.in: Adjust.
71076         * config.make.in: Likewise.
71077         * Makeconfig: Likewise.
71078         * manual/install.texi: Likewise.
71080         In case anyone cares, the IA-64 architecture could move to ports.
71081         * sysdeps/ia64/*: Removed.
71082         * sysdeps/unix/sysv/linux/ia64/*: Removed.
71083         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
71085         [BZ #13555]
71086         * configure.in: Remove entries for unsupported architectures.
71088         [BZ #13533]
71089         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
71090         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
71091         routines.
71092         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
71093         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
71094         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
71095         fall back to using wcrtomb.
71096         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
71097         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
71098         renaming.
71099         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
71100         * wcsmbs/tst-c16c32-1.c: New file.
71102         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
71103         local variable.
71105         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
71107         * elf/tst-unique3.cc: Add explicit declaration of gets.
71108         * elf/tst-unique3lib.cc: Likewise.
71109         * elf/tst-unique3lib2.cc: Likewise.
71110         * elf/tst-unique4.cc: Likewise.
71112         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
71114 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
71116         [BZ #13566]
71117         * assert/assert.h (static_assert): Don't define for C++.
71118         * libio/stdio.h (gets): Do declare for C++ <= C++11.
71119         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
71121 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
71123         * iconv/loop.c (single loop): Fix assertion in storing of
71124         remaining bytes.
71126         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
71128 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
71130         * posix/getconf.c: Update copyright year.
71131         * nss/getent.c: Likewise.
71132         * nss/makedb.c: Likewise.
71133         * iconv/iconvconfig.c: Likewise.
71134         * iconv/iconv_prog.c: Likewise.
71135         * elf/ldconfig.c: Likewise.
71136         * elf/pldd.c: Likewise.
71137         * elf/sotruss.ksh: Likewise.
71138         * catgets/gencat.c: Likewise.
71139         * csu/version.c: Likewise.
71140         * elf/ldd.bash.in: Likewise.
71141         * elf/sprof.c (print_version): Likewise.
71142         * locale/programs/locale.c: Likewise.
71143         * locale/programs/localedef.c: Likewise.
71144         * login/programs/pt_chown.c: Likewise.
71145         * nscd/nscd.c (print_version): Likewise.
71146         * debug/xtrace.sh: Likewise.
71147         * malloc/memusage.sh: Likewise.
71148         * malloc/mtrace.pl: Likewise.
71149         * debug/catchsegv.sh: Likewise.
71151 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
71153         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
71154         pure attribute.
71156 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
71158         [BZ #13533]
71159         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
71160         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
71161         transformations.
71162         * iconv/gconv_int.h: Likewise.
71163         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
71164         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
71165         from libc for GLIBC_2.16.
71166         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
71167         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
71168         * wcsmbs/uchar.h: Really define mbstate_t.
71169         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
71170         * wcsmbs/c16rtomb.c: New file.
71171         * wcsmbs/mbrtoc16.c: New file.
71172         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
71173         for C/POSIX locale.
71174         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
71175         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
71177         * wcsmbs/wchar.h: Add missing __restrict.
71179 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71181         [BZ #13532]
71182         * time/Makefile (routines): Add timespec_get.
71183         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
71184         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
71185         timespec for ISO C11.
71186         * time/timespec_get.c: New file.
71187         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
71188         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
71190         [BZ #13531]
71191         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
71192         * stdlib/stdlib.h: Declare aligned_alloc.
71193         * Versions.def: Add GLIBC_2.16 for libc.
71194         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
71196         [BZ 13527]
71197         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
71198         ISO C11.
71200         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
71201         code.
71203         [BZ #13528]
71204         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
71206         [BZ #13529]
71207         * assert/assert.h (static_assert): Define.
71209         * version.h: Update for 2.16 development version.
71211         [BZ #13526]
71212         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
71213         _ISOC11_SOURCE.
71215         * version.h (RELEASE): Bump for 2.15 release.
71216         * include/features.h (__GLIBC_MINOR__): Bump to 15.
71218         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
71219         Patch by Marek Polacek <mpolacek@redhat.com>.
71221         * bits/byteswap.h: Protect long long constants with __extension__.
71222         * sysdeps/i386/bits/byteswap.h: Likewise.
71223         * sysdeps/ia64/bits/byteswap.h: Likewise.
71224         * sysdeps/s390/bits/byteswap.h: Likewise.
71225         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71227 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71229         [BZ #13540]
71230         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
71231         destination buffer.
71232         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
71234 2011-12-23  Marek Polacek  <polacek@redhat.com>
71236         * elf/dl-addr.c (determine_info): Add inline keyword.
71237         * elf/tst-auditmod4b.c (check_avx): Likewise.
71238         * elf/tst-auditmod6b.c (check_avx): Likewise.
71239         * elf/tst-auditmod6c.c (check_avx): Likewise.
71240         * elf/tst-auditmod7b.c (check_avx): Likewise.
71242 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71244         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
71245         !__SSE_MATH__.
71247 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71249         [BZ #13540]
71250         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
71251         processing for last bytes.
71253 2011-08-06  Bruno Haible  <bruno@clisp.org>
71255         [BZ #13061]
71256         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
71257         U+0385, not to U+1FEE.
71259         [BZ #13062]
71260         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
71261         entry for U+00A5 U+0301.
71263 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71265         [BZ #13166]
71266         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
71267         buffer for the output is too small.
71269         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
71270         optimization.
71272         [BZ #13185]
71273         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
71274         SSE flags if possible.
71276 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71278         [BZ #13540]
71279         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
71280         processing for last bytes.
71282 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
71284         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
71285         (syscall-list-default-options, syscall-list-default-condition)
71286         (syscall-list-includes): Define.
71287         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
71288         list of ABIs and options and #if conditions for each ABI.  Do not
71289         handle common syscalls between ABIs specially.
71290         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
71291         Remove.
71292         (syscall-list-variants, syscall-list-32bit-options)
71293         (syscall-list-32bit-condition, syscall-list-64bit-options)
71294         (syscall-list-64bit-condition): Define.
71295         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
71296         (syscall-list-variants, syscall-list-32bit-options)
71297         (syscall-list-32bit-condition, syscall-list-64bit-options)
71298         (syscall-list-64bit-condition): Define.
71299         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
71300         Remove.
71301         (syscall-list-variants, syscall-list-32bit-options)
71302         (syscall-list-32bit-condition, syscall-list-64bit-options)
71303         (syscall-list-64bit-condition): Define.
71304         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
71305         Remove.
71306         (syscall-list-variants, syscall-list-32bit-options)
71307         (syscall-list-32bit-condition, syscall-list-64bit-options)
71308         (syscall-list-64bit-condition): Define.
71310 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71312         * locale/iso-639.def: Add brx entry.
71314         [BZ #13328]
71315         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
71316         Proposed by Mariusz_Cukr <marcukr@op.pl>.
71318         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
71319         __feraiseexcept_renamed.
71321 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71323         [BZ #13538]
71324         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
71325         EPOLLET with unsigned values.
71326         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71327         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71329         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
71330         to large cancellation.
71331         * math/s_cacoshf.c: Likewise.
71332         * math/s_cacoshl.c: Likewise.
71334 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
71336         [BZ #13305]
71337         [BZ #12786]
71338         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
71339         * math/s_cacoshf.c: Likewise.
71340         * math/s_cacoshl.c: Likewise.
71342 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71344         [BZ #13439]
71345         * iconv/gconv.h: Define __GCONV_SWAP.
71346         * iconvdata/unicode.c: The swap bit must be stored in __flags.
71347         * iconvdata/utf-16.c: Likewise.
71348         * iconvdata/utf-32.c: Likewise.
71350 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
71352         [BZ #13524]
71353         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
71354         numerator after shifting it by one limb.
71356 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
71358         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
71359         under [__USE_EXTERN_INLINES].
71361 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71363         [BZ #13446]
71364         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
71366 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71368         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
71369         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
71370         optimized code.
71371         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
71372         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
71373         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
71374         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
71375         for strncasecmp/strncasecmp_l compilation.
71376         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
71377         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
71379 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
71381         [BZ #13484]
71382         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
71383         of __asm__.
71385 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71387         [BZ #13506]
71388         * time/tzfile.c (__tzfile_read): Check values from file header.
71390 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71392         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
71393         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
71394         * powerpc/powerpc32/dl-start.S: Likewise.
71395         * powerpc/powerpc32/elf/start.S: Likewise.
71396         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
71397         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
71398         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
71399         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
71400         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
71401         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
71402         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
71403         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
71404         * powerpc/powerpc32/fpu/s_round.S: Likewise.
71405         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
71406         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
71407         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
71408         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
71409         * powerpc/powerpc32/memset.S: Likewise.
71410         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
71411         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71412         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71413         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71414         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71415         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
71416         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
71417         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
71418         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
71419         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
71420         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
71421         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71422         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71424 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71426         * math/libm-test.inc: Added more nearbyint tests.
71427         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
71428         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
71429         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
71430         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
71432 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
71434         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
71435         FD_CLOEXEC.
71437 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71439         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
71440         Add wcscpy-ssse3 wcscpy-c.
71441         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
71442         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
71443         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
71444         * sysdeps/x86_64/wcschr.S: New file.
71445         * sysdeps/x86_64/wcsrchr.S: New file.
71446         * string/test-strcmp.c: Remove checking of wcscmp function for
71447         wrong alignments.
71448         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
71449         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
71450         wcsrchr-sse2 wcsrchr-c.
71451         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
71452         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
71453         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
71454         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
71455         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
71456         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
71457         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
71458         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
71459         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
71460         * wcsmbc/wcschr.c (WCSCHR): New macro.
71462 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71464         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
71465         * wcsmbs/test-wcsrchr.c: New file.
71466         * string/test-strrchr.c: Add wcsrchr support.
71467         (WIDE): New macro.
71468         * wcsmbs/test-wcscpy.c: New file.
71469         * string/test-strcpy.c: Add wcscpy support.
71470         (WIDE): New macro.
71472 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
71474         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
71475         the inner loop.
71477 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
71479         [BZ #13472]
71480         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
71482 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
71484         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
71485         Minor optimizations.
71487         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
71488         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
71489         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
71491 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
71493         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
71494         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
71495         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
71496         for gcc to avoid warnings.
71497         * inet/Makefile (tests): Add tst-checks.
71498         * inet/tst-checks.c: New file.
71500         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
71501         warning.
71503         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
71504         __wmemcmp_sse2.
71506         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
71507         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
71509         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
71511 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
71513         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
71514         problem.
71516         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
71518 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
71520         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
71521         conditional on GCC version.
71522         (__arch_compare_and_exchange_val_8_acq)
71523         (__arch_compare_and_exchange_val_16_acq)
71524         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
71525         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
71526         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
71528 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
71530         * sysdeps/sh/backtrace.c: New file.
71532 2011-12-02  Andreas Schwab  <schwab@redhat.com>
71534         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
71535         parenthesis.
71537 2011-12-01  Andreas Schwab  <schwab@redhat.com>
71539         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
71540         falling back to utime.
71542 2011-11-30  Andreas Schwab  <schwab@redhat.com>
71544         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
71545         expectations for float.
71547 2011-11-29  Andreas Schwab  <schwab@redhat.com>
71549         * locale/weight.h (findidx): Add parameter len.
71550         * locale/weightwc.h (findidx): Likewise.
71551         * posix/fnmatch_loop.c (FCT): Adjust caller.
71552         * posix/regcomp.c (build_equiv_class): Likewise.
71553         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
71554         * posix/regexec.c (check_node_accept_bytes): Likewise.
71555         * string/strcoll_l.c (STRCOLL): Likewise.
71556         * string/strxfrm_l.c (STRXFRM): Likewise.
71558 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
71560         * Makefile.in: Remove CVSOPT handling.
71561         * configure.in: Remove use of AC_REVISION.
71562         * iconvdata/Makefile (distribute): No need to filter out CVS.
71563         * scripts/list-sources.sh: Remove CVS, subversion and monotone
71564         handling.
71566 2011-11-16  Andreas Schwab  <schwab@redhat.com>
71568         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
71569         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
71570         [USE_AS_STRNCASECMP_L]: Likewise.
71571         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
71572         NO_TLS_DIRECT_SEG_REFS.
71573         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
71574         Fix argument offsets for non-PIC.
71575         [USE_AS_STRNCASECMP_L]: Likewise.
71576         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
71577         NO_TLS_DIRECT_SEG_REFS.
71579 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71581         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
71582         O_CLOEXEC.
71583         * locale/loadlocale.c (_nl_load_locale): Likewise.
71585 2011-11-15  Andreas Schwab  <schwab@redhat.com>
71587         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71588         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71589         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71590         (SYSCALL_GETTIME): Set errno on error.
71592         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71593         count references to noai6ai_cached.
71595 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71597         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71599         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71600         FD_CLOEXEC for /proc/self/maps.
71602         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71603         FD_CLOEXEC for /proc/meminfo.
71605         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71606         gai.conf.
71608         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
71609         FD_CLOEXEC for given file.
71611         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71613         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71614         FD_CLOEXEC for /etc/hosts.
71615         (_gethtent): Likewise.
71617         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71619         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71620         cancellation and set FD_CLOEXEC for /etc/netgroup.
71622         * nss/nss_files/files-key.c (search): Don't allow cancellation when
71623         reading /etc/publickey.
71625         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71626         allow cancellation when reading /etc/group.
71628         * nss/nss_files/files-alias.c (internal_setent): Don't allow
71629         cancellation.
71630         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
71632         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71633         when using data file.
71635         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71637         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71638         (write_nis_obj): Use "c" and "e" in fopen.
71640         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71642         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71644         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71646         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71648         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71649         locale.alias.
71651         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71653         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71655         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71657         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71658         file parsing and set FD_CLOEXEC.
71660 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71662         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71664 2011-11-14  Andreas Schwab  <schwab@redhat.com>
71666         * malloc/arena.c (arena_get2): Don't call reused_arena when
71667         _int_new_arena failed.
71669 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71671         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71672         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71673         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71674         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71675         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71676         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71677         to compile strcasecmp and strncasecmp.
71678         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71679         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71681         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71683 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
71685         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71686         locale-defines.sym to gen-as-const-headers.
71687         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71688         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71689         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71690         to compile strcasecmp and strncasecmp.
71691         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71692         strcasecmp_l and strncasecmp_l.
71693         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71694         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71695         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71696         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71697         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71698         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71699         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71700         * sysdeps/i386/i686/multiarch/strncase.S: New file.
71701         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71702         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71703         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71705 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
71707         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71708         result of SYSDEP_GETTIME_CPU to retval.
71709         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71710         parameter list to macro.  Remove trailing semicolon.  Adjust users.
71712         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71713         variable.
71715         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71716         mantissa words.
71717         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71719         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71720         from unused variable.
71722         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71723         DWARF definitions.
71724         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71725         for assembling.
71727         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71728         over namespaces.
71730         * sunrpc/rpc_prot.c (rejected): Fix case value.
71732         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71733         unsigned long long int to avoid warnings in shift.
71735         * posix/regex_internal.c (re_string_reconstruct): Actually use result
71736         of use of trans.
71737         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71738         variable tmp.
71740         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71741         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71742         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71744         * nis/nis_table.c (nis_list): Use variable of correct type for
71745         result of __follow_path call.
71747 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71749         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71750         of math functions ceil, trunc, floor, round, and sqrt, when
71751         avaliable on the platform.
71752         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71753         name clash.
71754         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71755         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71756         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71758 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
71760         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71761         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71763 2011-11-11  Roland McGrath  <roland@hack.frob.com>
71765         * include/unistd.h: Fix __readlink return type.
71766         Reported by Chris Metcalf <cmetcalf@tilera.com>.
71768 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
71770         * stdlib/ucontext.h: Undo last change for makecontext.
71772 2011-11-11  Andreas Schwab  <schwab@redhat.com>
71774         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71776         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71777         * setjmp/setjmp.h: Mark functions as non-leaf.
71778         * setjmp/bits/setjmp2.h: Likewise.
71779         * stdlib/ucontext.h: Likewise.
71781 2011-11-10  Andreas Schwab  <schwab@redhat.com>
71783         * malloc/arena.c (_int_new_arena): Don't increment narenas.
71784         (reused_arena): Don't check arena limit.
71785         (arena_get2): Atomically check arena limit.
71787 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
71789         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71790         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71792         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71793         instructions.
71795 2011-11-07  Andreas Schwab  <schwab@redhat.com>
71797         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71798         handler when locking.
71800         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71801         Fix size of allocated buffer.
71803 2011-11-04  Andreas Schwab  <schwab@redhat.com>
71805         [BZ #10103]
71806         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71807         declarations for long double functions.
71808         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71810         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71812 2011-11-03  Andreas Schwab  <schwab@redhat.com>
71814         * nscd/nscd.c (main): Don't start AVC thread until credentials are
71815         installed.
71817         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71818         is disabled.
71820 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71822         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71824 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71826         * include/alloca.h (stackinfo_alloca_round): Define.
71827         (extend_alloca): Use it.
71828         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71829         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71830         here.
71832         * scripts/check-local-headers.sh: Ignore libaudit.h.
71834         * nscd/Makefile (extra-objs): Make recursively expanded.
71836 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
71838         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71839         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71841         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71842         * posix/tst-rfc3484-2.c: Likewise.
71843         * posix/tst-rfc3484-3.c: Likewise.
71845         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71846         process_vm_writev.
71847         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71848         process_vm_writev.
71849         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71850         process_vm_writev from libc using GLIBC_2.15 version.
71852         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71854 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
71856         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71857         stack usage.
71859 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
71861         [BZ #13367]
71862         * nss/getent.c (initgroups_keys): Show error message in case no group
71863         names are given.
71865         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71866         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71867         __bump_nl_timestamp.
71868         * nscd/connections (nscd_init): When host database is served open
71869         netlink socket and request notification about configuration changes.
71870         (main_loop_poll): Track netlink file descriptor and bump timestamp
71871         in case data becomes available.
71872         (main_loop_epoll): Likewise.
71873         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71874         (database_pers_head): Add extra_data fileds.
71875         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71876         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71877         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71878         Adjust caller.
71879         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71880         in6ai data, call __free_in6ai.
71881         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71882         Add -DHAVE_NETLINK.
71883         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
71884         interface information.  Reuse previous data if netlink timestamp
71885         is not changed.
71886         (__bump_nl_timestamp): New function.
71887         (__free_in6ai): New function.
71889 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
71891         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71892         close_not_cancel_no_status here.
71893         (__check_pf): Reorganize code a bit to not call close twice if OOM.
71895 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71897         [BZ #13276]
71898         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71899         return value.
71901         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71902         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71903         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71905 2011-07-03  Andreas Jaeger  <aj@suse.de>
71907         [BZ #10709]
71908         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71909         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71910         * math/libm-test.inc (sin_test): Add test case.
71912 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71914         [BZ #13337]
71915         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71916         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71918         * elf/chroot_canon.c (chroot_canon): Cleanups.
71920         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71922         [BZ #13335]
71923         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71924         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71926         * string/test-strchr.c: Make usable for strchrnul testing.
71927         * string/test-strchrnul.c: New file.
71928         * string/Makefile (strop-tests): Add strchrnul.
71930         * po/it.po: Update from translation team.
71931         * po/es.po: Likewise.
71933 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
71935         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71936         the three constants needed as parameters.  Drop the others.
71937         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71938         __m128i_strloadu_tolower.
71939         Create and initialize variable zero and use it in all the places
71940         where _mm_setzero_si128 was used.
71942         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71943         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71944         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71945         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71946         anymore.
71947         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71948         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71949         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71950         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71951         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71952         __mpranred, __mptan.
71953         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71954         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71955         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71956         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71957         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71958         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71959         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71960         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71961         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71963 2011-10-28  Andreas Schwab  <schwab@redhat.com>
71965         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71966         redefine if SHARED.
71967         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71969         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71970         wide char related routines to wcsmbs subdir.
71972 2011-10-27  Andreas Schwab  <schwab@redhat.com>
71974         [BZ #13344]
71975         * misc/sys/cdefs.h (__THROWNL): Define.
71976         * posix/unistd.h: Use __THREADNL instead of __THREAD
71977         for memory synchronization functions.
71979 2011-10-26  Roland McGrath  <roland@hack.frob.com>
71981         [BZ #13349]
71982         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71983         doesn't exist.
71984         * manual/stdio.texi (Obstack Streams): Node removed.
71986 2011-10-26  Andreas Schwab  <schwab@redhat.com>
71988         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71989         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71990         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71992         * math/math_private.h (math_force_eval): Allow non-addressable
71993         arguments.
71994         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71996 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71998         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71999         file is not needed.
72001         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
72002         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
72003         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72004         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72005         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72006         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72007         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72008         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
72009         Add AVX variants.
72010         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
72011         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
72012         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
72013         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
72014         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
72015         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
72016         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
72017         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
72018         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
72019         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
72020         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
72021         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
72022         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
72023         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
72024         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
72025         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
72026         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
72027         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
72028         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
72030         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
72031         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
72033         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
72034         place.  Use VEX encoding when compiling for AVX.
72036 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72038         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
72039         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
72041         * string/test-strchr.c (do_test): Don't generate NUL bytes.
72043 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72045         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
72046         useless if() expression.
72047         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72048         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72049         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72050         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72051         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72052         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72053         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72054         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72055         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72056         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72057         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72058         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72059         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72060         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72061         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72062         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72063         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72064         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72065         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72067         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
72069 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72071         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
72072         condition.
72073         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72075 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72077         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
72078         .text section.  Avoid duplicate constants.
72079         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72080         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72081         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72082         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72083         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72084         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72085         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72086         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72087         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72088         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
72089         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72090         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72091         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72092         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72093         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72094         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72095         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72096         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72097         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72098         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72099         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72100         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72101         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72102         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
72103         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
72104         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
72105         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
72106         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
72107         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
72108         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
72109         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
72110         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
72111         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72112         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
72113         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
72114         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
72115         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
72116         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
72117         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
72118         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
72119         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
72120         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
72121         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
72122         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
72123         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
72125 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
72127         * sysdeps/x86_64/dla.h: Move to ...
72128         * sysdeps/x86_64/fpu/dla.h: ...here.
72129         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
72130         situations.  Use __builtin_fma only for gcc 4.6 and up.
72132         * config.make.in: Add have-mfma4 entry.
72133         * configure.in: Substitute libc_cv_cc_fma4.
72134         * math/Makefile (dbl-only-routines): Add sincostab.
72135         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
72136         Use __sincostab not sincos.
72137         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
72138         name is a macro.
72139         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72140         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72141         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72142         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
72143         using __copysign.
72144         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
72145         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
72146         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
72147         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
72148         and __inv.
72149         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
72150         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
72151         __copysign.
72152         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
72153         define aliases when function name is a macro.
72154         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
72155         sysdeps/ieee754/dbl-64/sincos.tbl.
72156         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
72157         fma4-enabled routines.
72158         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
72159         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
72160         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
72161         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
72162         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
72163         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
72164         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
72165         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
72166         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
72167         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
72168         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
72169         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
72170         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
72171         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
72172         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
72173         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
72174         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
72175         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
72176         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
72177         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
72178         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
72179         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
72180         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
72181         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
72182         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
72183         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
72184         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
72185         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
72186         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
72187         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
72189         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
72190         rename.
72191         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72192         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72193         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72194         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72195         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72196         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72197         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72198         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72200 2011-10-24  Andreas Schwab  <schwab@redhat.com>
72202         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
72204 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72206         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
72208         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
72209         prediction.
72210         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
72212         * string/strnlen.c: Don't define STRNLEN, reverse logic.
72213         Remove unused variable magic_bits.
72214         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
72216         * string/strnlen.c: Define and use STRNLEN macro.
72217         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
72218         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
72219         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
72220         * wcsmbs/wcslen.c: Define and use WCSLEN.
72221         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
72222         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
72223         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
72224         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
72225         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
72226         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
72227         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72229 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72231         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72232         strnlen-sse2-no-bsf.
72233         Rename strlen-no-bsf to strlen-sse2-no-bsf.
72234         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
72235         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
72236         Add strnlen support.
72237         (USE_AS_STRNLEN): New macro.
72238         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
72239         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
72240         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
72241         * sysdeps/x86_64/wcslen.S: New file.
72243 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
72245         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72246         XMM-moves are used for copying on small sizes.
72248 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72250         * wcsmbs/Makefile (strop-tests): Add wcschr.
72251         * wcsmbs/test-wcschr.c: New file.
72252         * string/test-strchr.c: Update.
72253         Add wcschr support.
72254         (WIDE): New macro.
72256 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72258         * wcsmbs/Makefile (strop-tests): Add wcslen.
72259         * wcsmbs/test-wcslen.c: New file.
72260         * string/test-strlen.c: Update.
72261         Add wcslen support.
72262         (WIDE): New macro.
72264 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72266         * po/it.po: Update from translation team.
72268 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72270         * sysdeps/x86_64/wcscmp.S: Update.
72271         Fix wrong comparison semantics.
72272         wcscmp shall use signed comparison not unsigned.
72273         Don't use substraction to avoid overflow bug.
72274         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
72275         * wcsmbc/wcscmp.c: Likewise.
72276         * string/test-strcmp.c: Likewise.
72277         Add new tests to check cases with negative values.
72279 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72281         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
72282         * sysdeps/x86_64/dla.h: ...here.  New file.
72283         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
72284         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72285         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72286         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72287         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72288         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72289         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72290         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72291         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72293 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
72295         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
72296         __ynl_finite aliases.
72298 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72300         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72302         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
72303         define DLA_FMA.
72304         [DLA_FMA] (EMULV): Use DLA_FMA.
72305         [DLA_FMA] (MUL12): Use EMULV.
72306         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
72307         that are not needed.
72308         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72309         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72310         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72311         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72312         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72313         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72314         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72316 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
72318         * math/s_nan.c: Undef __nan.
72319         * math/s_nanf.c: Undef __nanf.
72320         * math/s_nanl.c: Undef __nanl.
72321         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
72322         "math_private.h".
72324 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72326         * math/s_catan.c: Add branch predictions.
72327         * math/s_catanf.c: Likewise.
72328         * math/s_catanh.c: Likewise.
72329         * math/s_catanhf.c: Likewise.
72330         * math/s_catanhl.c: Likewise.
72331         * math/s_catanl.c: Likewise.
72332         * math/s_cexp.c: Likewise.
72333         * math/s_cexpf.c: Likewise.
72334         * math/s_cexpl.c: Likewise.
72335         * math/s_clog.c: Likewise.
72336         * math/s_clog10.c: Likewise.
72337         * math/s_clog10f.c: Likewise.
72338         * math/s_clog10l.c: Likewise.
72339         * math/s_clogf.c: Likewise.
72340         * math/s_clogl.c: Likewise.
72341         * math/s_csqrt.c: Likewise.
72342         * math/s_csqrtf.c: Likewise.
72343         * math/s_csqrtl.c: Likewise.
72344         * math/s_ctanf.c: Likewise.
72345         * math/s_ctanh.c: Likewise.
72346         * math/s_ctanhf.c: Likewise.
72347         * math/s_ctanhl.c: Likewise.
72348         * math/s_ctanl.c: Likewise.
72350         * math/math_private.h: Define __nan, __nanf, __nanl.
72351         * math/s_cacosh.c: Include <math_private.h>.
72352         * math/s_cacoshl.c: Likewise.
72353         * math/s_casinh.c: Likewise.
72354         * math/s_casinhf.c: Likewise.
72355         * math/s_casinhl.c: Likewise.
72356         * math/s_ccos.c: Rely entire on ccosh.
72357         * math/s_ccosf.c: Rely entire on ccoshf.
72358         * math/s_ccosl.c: Rely entirely on ccoshl.
72359         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
72360         Remove tests for FE_INVALID.
72361         * math/s_ccoshf.c: Likewise.
72362         * math/s_ccoshl.c: Likewise.
72363         * math/s_csin.c: Likewise.
72364         * math/s_csinf.c: Likewise.
72365         * math/s_csinh.c Likewise.
72366         * math/s_csinhf.c: Likewise.
72367         * math/s_csinhl.c: Likewise.
72368         * math/s_csinl.c: Likewise.
72369         * math/s_ctan.c: Likewise.
72370         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
72371         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
72372         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
72374 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
72376         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
72377         compilation problems.
72379         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
72380         __builtin_expect.
72382 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
72384         * sysdeps/i386/configure.in: Test for -mfma4 option.
72385         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
72386         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
72387         COMMON_CPUID_INDEX_80000001.
72388         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
72389         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
72390         use it if FMA3 is not supported.
72391         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
72393         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
72394         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72396 2011-10-20  Andreas Schwab  <schwab@redhat.com>
72398         [BZ #12892]
72399         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
72400         it would create a cycle with a link time dependency.
72402 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
72404         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
72405         instruction.
72406         * string/Makefile (strop-tests): Add rawmemchr.
72407         * string/test-rawmemchr.c: New file.
72409         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
72410         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
72411         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
72412         when compiling str{,n}casecmp and when AVX is available.  Hook up
72413         new optimized code in initializers.
72415 2011-10-19  Andreas Schwab  <schwab@redhat.com>
72417         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
72418         __feraiseexcept instead of feraiseexcept.
72420 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
72422         * math/math_private.h: Define defaults for libc_fetestexcept and
72423         libc_feupdateenv.
72424         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
72425         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
72426         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72427         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72428         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72429         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72430         libc_fetestexcept and libc_feupdateenv.
72432         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
72433         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
72434         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
72435         * sysdeps/x86_64/fpu/math_private.h: Define special version of
72436         libc_feholdexcept_setround.
72438         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
72439         Add s_nearbyint-c and s_nearbyintf-c.
72440         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
72441         nearbyintf inlines.
72442         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
72443         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
72444         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
72445         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
72447         * math/math_private.h: Define defaults for libc_fegetround,
72448         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
72449         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
72450         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
72451         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
72452         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
72453         standard functions.
72454         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72455         Remove comments and hacks for old compiler versions.
72456         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72457         libc_fegetround, libc_fesetround, libc_feholdexcept, and
72458         libc_feholdexceptl.
72460 2011-10-18  Andreas Schwab  <schwab@redhat.com>
72462         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
72463         (__feraiseexcept_renamed): Add __NTH.
72464         (feraiseexcept): Add __NTH.  Rename local variables to fix
72465         namespace violations.
72467 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
72469         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
72471         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
72473         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
72474         recently added interfaces.
72475         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
72477         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
72478         about macro parameter expansion.
72480         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
72481         __NO_MATH_INLINES is defined.  Cleanups.
72483         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
72484         and __floorf is target has SSE4.1.
72485         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
72486         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
72487         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
72488         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
72490         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
72491         name.
72492         (floorf): Likewise.
72494         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
72496 2011-10-17  Andreas Schwab  <schwab@redhat.com>
72498         * misc/sys/cdefs.h: Fix last change.
72500         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
72501         database lookup.
72503 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
72505         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
72507         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
72508         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72509         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72510         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72511         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72512         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72513         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72514         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72515         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72516         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
72517         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
72518         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
72519         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
72520         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
72521         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
72522         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
72523         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
72524         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
72525         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
72526         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
72527         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
72528         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
72530         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
72531         ceil, ceilf, floor, floorf.
72533         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
72534         Perform IRELATIVE relocations last.
72536         * elf/do-rel.h: Add another parameter nrelative, replacing the
72537         local variable with the same name.  Change name of the function
72538         to end in Rel or Rela (uppercase).
72539         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
72540         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
72541         elf_dynamic_do_##reloc function.
72543 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72545         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
72546         is sufficient, at least on modern CPUs.
72548         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
72550         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
72551         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
72553         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
72554         __expl_finite.
72555         * math/bits/math-finite.h: Add entries for exp.
72556         * math/e_expl.c: Add __*_finite alias.
72557         * sysdeps/i386/fpu/e_exp.S: Likewise.
72558         * sysdeps/i386/fpu/e_expf.S: Likewise.
72559         * sysdeps/i386/fpu/e_expl.c: Likewise.
72560         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72561         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72562         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
72563         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
72564         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
72565         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72566         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72568         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
72569         is sufficient, at least on modern CPUs.
72571         * ctype/ctype-info.c (__ctype_init): Define.
72572         * include/ctype.h (__ctype_init): Declare.
72573         (__ctype_b_loc): The variable is always initialized.
72574         (__ctype_toupper_loc): Likewise.
72575         (__ctype_tolower_loc): Likewise.
72576         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
72577         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
72579 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
72581         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
72583         * configure.in: Also look in $cxxmachine/include for C++ system
72584         headers.
72586 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72588         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72589         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72590         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72591         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
72592         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72593         (USE_AS_WMEMCMP): New macro.
72594         Fixing indents.
72595         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72596         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72597         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72598         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72599         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72600         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72601         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72602         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72603         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72604         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72605         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72606         (USE_AS_WMEMCMP): New macro.
72607         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72608         * sysdeps/string/test-memcmp.c: Update.
72609         Fix simple_wmemcmp.
72610         Add new tests.
72611         * wcsmbs/wmemcmp.c: Update.
72612         (WMEMCMP): New macro.
72613         Fix overflow bug.
72615 2011-10-12  Andreas Jaeger  <aj@suse.de>
72617         [BZ #13268]
72618         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72620 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72622         * libio/iofwide.c (do_length): Avoid warning.
72624         * ctype/ctype.h (__isctype_f): Add missing __THROW.
72626 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
72628         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72630         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72631         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72632         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72633         * sysdeps/i386/i686/fpu/e_log.S: New file.
72634         * sysdeps/i386/i686/fpu/e_logf.S: New file.
72635         * sysdeps/i386/i686/fpu/e_logl.S: New file.
72637         * ctype/ctype.h: Add support for inlined isXXX functions when
72638         compiling C++ code.
72640 2011-10-14  Andreas Schwab  <schwab@redhat.com>
72642         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72644         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72646 2011-10-13  Roland McGrath  <roland@hack.frob.com>
72648         [BZ #13291]
72649         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72651 2011-10-13  Andreas Schwab  <schwab@redhat.com>
72653         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72654         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72655         feraiseexcept.
72657         * sysdeps/x86_64/memrchr.S: Check for zero size.
72659         * string/stratcliff.c: Add memrchr tests.
72661 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72663         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72664         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72665         rawmemchr-sse2 rawmemchr-sse2-bsf.
72666         * sysdeps/i386/i686/multiarch/memchr.S: New file.
72667         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72668         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72669         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72670         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72671         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72672         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72673         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72674         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72675         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72676         * string/memrchr.c (MEMRCHR): New macro.
72678 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
72680         Add integration with gcc's -ffinite-math-only and optimize wrapper
72681         functions in libm.
72682         * Versions.def: Define GLIBC_2.15 version for libm.
72683         * math/Makefile (headers): Add bits/math-finite.h.
72684         * math/bits/math-finite.h: New file.
72685         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72686         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72687         * math/e_acoshl.c: Add __*_finite alias.
72688         * math/e_acosl.c: Likewise.
72689         * math/e_asinl.c: Likewise.
72690         * math/e_atan2l.c: Likewise.
72691         * math/e_atanhl.c: Likewise.
72692         * math/e_coshl.c: Likewise.
72693         * math/e_exp10.c: Likewise.
72694         * math/e_exp10f.c: Likewise.
72695         * math/e_exp10l.c: Likewise.
72696         * math/e_exp2l.c: Likewise.
72697         * math/e_fmodl.c: Likewise.
72698         * math/e_gammal_r.c: Likewise.
72699         * math/e_hypotl.c: Likewise.
72700         * math/e_j0l.c: Likewise.
72701         * math/e_j1l.c: Likewise.
72702         * math/e_jnl.c: Likewise.
72703         * math/e_lgammal_r.c: Likewise.
72704         * math/e_log10l.c: Likewise.
72705         * math/e_log2l.c: Likewise.
72706         * math/e_logl.c: Likewise.
72707         * math/e_powl.c: Likewise.
72708         * math/e_sinhl.c: Likewise.
72709         * math/e_sqrtl.c: Likewise.
72710         * math/e_scalb.c: Completely rewritten and optimized.
72711         * math/e_scalbf.c: Likewise.
72712         * math/e_scalbl.c: Likewise.
72713         * math/w_acos.c: Likewise.
72714         * math/w_acosf.c: Likewise.
72715         * math/w_acosl.c: Likewise.
72716         * math/w_acosh.c: Likewise.
72717         * math/w_acoshf.c: Likewise.
72718         * math/w_acoshl.c: Likewise.
72719         * math/w_asin.c: Likewise.
72720         * math/w_asinf.c: Likewise.
72721         * math/w_asinl.c: Likewise.
72722         * math/w_atan2.c: Likewise.
72723         * math/w_atan2f.c: Likewise.
72724         * math/w_atan2l.c: Likewise.
72725         * math/w_atanh.c: Likewise.
72726         * math/w_atanhf.c: Likewise.
72727         * math/w_atanhl.c: Likewise.
72728         * math/w_exp10.c: Likewise.
72729         * math/w_exp10f.c: Likewise.
72730         * math/w_exp10l.c: Likewise.
72731         * math/w_fmod.c: Likewise.
72732         * math/w_fmodf.c: Likewise.
72733         * math/w_fmodl.c: Likewise.
72734         * math/w_j0.c: Likewise.
72735         * math/w_j0f.c: Likewise.
72736         * math/w_j0l.c: Likewise.
72737         * math/w_j1.c: Likewise.
72738         * math/w_j1f.c: Likewise.
72739         * math/w_j1l.c: Likewise.
72740         * math/w_jn.c: Likewise.
72741         * math/w_jnf.c: Likewise.
72742         * math/w_log.c: Likewise.
72743         * math/w_logf.c: Likewise.
72744         * math/w_logl.c: Likewise.
72745         * math/w_log10.c: Likewise.
72746         * math/w_log10f.c: Likewise.
72747         * math/w_log10l.c: Likewise.
72748         * math/w_log2.c: Likewise.
72749         * math/w_log2f.c: Likewise.
72750         * math/w_log2l.c: Likewise.
72751         * math/w_pow.c: Likewise.
72752         * math/w_powf.c: Likewise.
72753         * math/w_powl.c: Likewise.
72754         * math/w_remainder.c: Likewise.
72755         * math/w_remainderf.c: Likewise.
72756         * math/w_remainderl.c: Likewise.
72757         * math/w_scalb.c: Likewise.
72758         * math/w_scalbf.c: Likewise.
72759         * math/w_scalbl.c: Likewise.
72760         * math/w_sqrt.c: Likewise.
72761         * math/w_sqrtf.c: Likewise.
72762         * math/w_sqrtl.c: Likewise.
72763         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72764         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
72765         used.
72766         * math/math_private.h: Declare __kernel_standard_f.
72767         * math/w_cosh.c: Remove cruft and optimize a bit.
72768         * math/w_coshf.c: Likewise.
72769         * math/w_coshl.c: Likewise.
72770         * math/w_exp2.c: Likewise.
72771         * math/w_exp2f.c: Likewise.
72772         * math/w_exp2l.c: Likewise.
72773         * math/w_hypot.c: Likewise.
72774         * math/w_hypotf.c: Likewise.
72775         * math/w_hypotl.c: Likewise.
72776         * math/w_lgamma.c: Likewise.
72777         * math/w_lgamma_r.c: Likewise.
72778         * math/w_lgammaf.c: Likewise.
72779         * math/w_lgammaf_r.c: Likewise.
72780         * math/w_lgammal.c: Likewise.
72781         * math/w_lgammal_r.c: Likewise.
72782         * math/w_sinh.c: Likewise.
72783         * math/w_sinhf.c: Likewise.
72784         * math/w_sinhl.c: Likewise.
72785         * math/w_tgamma.c: Likewise.
72786         * math/w_tgammaf.c: Likewise.
72787         * math/w_tgammal.c: Likewise.
72788         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72789         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72790         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72791         Minor optimizations.  Pretty printing.  Remove cruft.
72792         * sysdeps/i386/fpu/e_acosf.S: Likewise.
72793         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72794         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72795         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72796         * sysdeps/i386/fpu/e_acosl.c: Likewise.
72797         * sysdeps/i386/fpu/e_asin.S: Likewise.
72798         * sysdeps/i386/fpu/e_asinf.S: Likewise.
72799         * sysdeps/i386/fpu/e_atan2.S: Likewise.
72800         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72801         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72802         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72803         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72804         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72805         * sysdeps/i386/fpu/e_exp10.S: Likewise.
72806         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72807         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72808         * sysdeps/i386/fpu/e_exp2.S: Likewise.
72809         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72810         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72811         * sysdeps/i386/fpu/e_fmod.S: Likewise.
72812         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72813         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72814         * sysdeps/i386/fpu/e_hypot.S: Likewise.
72815         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72816         * sysdeps/i386/fpu/e_log.S: Likewise.
72817         * sysdeps/i386/fpu/e_log10.S: Likewise.
72818         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72819         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72820         * sysdeps/i386/fpu/e_log2.S: Likewise.
72821         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72822         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72823         * sysdeps/i386/fpu/e_logf.S: Likewise.
72824         * sysdeps/i386/fpu/e_logl.S: Likewise.
72825         * sysdeps/i386/fpu/e_pow.S: Likewise.
72826         * sysdeps/i386/fpu/e_powf.S: Likewise.
72827         * sysdeps/i386/fpu/e_powl.S: Likewise.
72828         * sysdeps/i386/fpu/e_remainder.S: Likewise.
72829         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72830         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72831         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72832         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72833         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72834         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72835         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72836         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72837         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72838         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72839         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72840         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72841         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72842         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72843         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72844         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72845         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72846         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72847         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72848         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72849         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72850         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72851         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72852         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72853         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72854         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72855         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72856         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72857         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72858         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72859         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72860         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72861         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72862         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72863         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72864         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72865         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72866         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72867         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72868         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72869         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72870         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72871         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72872         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72873         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72874         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72875         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72876         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72877         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72878         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72879         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72880         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72881         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72882         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72883         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72884         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72885         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72886         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72887         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72888         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72889         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72890         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72891         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72892         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72893         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72894         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72895         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72896         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72897         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72898         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72899         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72900         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72901         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72902         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72903         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72904         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72905         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72906         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72907         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72908         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72909         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72910         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72911         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72912         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72913         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72914         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72915         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72916         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72917         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72918         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72919         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72920         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72921         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72922         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72923         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72924         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72925         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72926         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72927         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72928         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72929         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72930         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72931         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72932         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72933         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72934         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72935         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72936         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72937         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72938         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72939         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72940         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72941         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72942         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72943         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72944         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72945         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72946         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72947         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
72948         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72949         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72950         (__isnanf): Likewise.
72951         (__isinf_ns): Likewise.
72952         (__isinf_nsf): Likewise.
72953         (__finite): Likewise.
72954         (__finitef): Likewise.
72955         (__ieee754_sqrt): Define as macro.
72956         (__ieee754_sqrtf): Define as macro.
72957         (__ieee754_sqrtl): Define as macro.
72958         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72959         inlined copy.
72960         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72961         __FINITE_MATH_ONLY__ consistent.
72962         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72964 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
72966         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72967         of rawmemchr.
72969         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72971 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
72973         * po/ja.po: Update from translation team.
72975 2011-10-08  Roland McGrath  <roland@hack.frob.com>
72977         * locale/programs/locarchive.c (prepare_address_space): New function.
72978         (create_archive, enlarge_archive, open_archive): Use it.
72980         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72981         inside [SHARED], where it is used.
72983         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72985         * nss/getent.c (netgroup_keys): Remove unused variable.
72986         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72988 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
72990         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72991         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72992         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72993         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72994         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72995         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72996         * math/Makefile (libm-calls): Add s_isinf_ns.
72997         * math/divtc3.c: Use __isinf_nsl instead of isinf.
72998         * math/multc3.c: Likewise.
72999         * math/s_casin.c: Likewise.
73000         * math/s_casinf.c: Likewise.
73001         * math/s_casinl.c: Likewise.
73002         * math/s_ccos.c: Likewise.
73003         * math/s_ccosf.c: Likewise.
73004         * math/s_ccosl.c: Likewise.
73005         * math/s_ctan.c: Likewise.
73006         * math/s_ctanf.c: Likewise.
73007         * math/s_ctanh.c: Likewise.
73008         * math/s_ctanhf.c: Likewise.
73009         * math/s_ctanhl.c: Likewise.
73010         * math/s_ctanl.c: Likewise.
73011         * math/w_fmod.c: Likewise.
73012         * math/w_fmodf.c: Likewise.
73013         * math/w_fmodl.c: Likewise.
73014         * math/w_remainder.c: Likewise.
73015         * math/w_remainderf.c: Likewise.
73016         * math/w_remainderl.c: Likewise.
73017         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
73018         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
73019         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
73020         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
73021         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
73022         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
73023         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
73024         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
73026         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
73027         of the number.
73028         * stdio-common/printf_fphex.c: Likewise.
73029         * stdio-common/printf_size.c: Likewise.
73031         * math/e_exp10.c: Include math_private.h using <...> not "...".
73032         * math/e_exp10f.c: Likewise.
73033         * math/e_exp10l.c: Likewise.
73034         * math/e_exp2l.c: Likewise.
73035         * math/e_j0l.c: Likewise.
73036         * math/e_j1l.c: Likewise.
73037         * math/e_jnl.c: Likewise.
73038         * math/e_lgammal_r.c: Likewise.
73039         * math/e_rem_pio2l.c: Likewise.
73040         * math/e_scalb.c: Likewise.
73041         * math/e_scalbf.c: Likewise.
73042         * math/e_scalbl.c: Likewise.
73043         * math/k_cosl.c: Likewise.
73044         * math/k_sinl.c: Likewise.
73045         * math/k_tanl.c: Likewise.
73046         * math/s_cacoshf.c: Likewise.
73047         * math/s_catan.c: Likewise.
73048         * math/s_catanf.c: Likewise.
73049         * math/s_catanh.c: Likewise.
73050         * math/s_catanhf.c: Likewise.
73051         * math/s_catanhl.c: Likewise.
73052         * math/s_catanl.c: Likewise.
73053         * math/s_ccosh.c: Likewise.
73054         * math/s_ccoshf.c: Likewise.
73055         * math/s_ccoshl.c: Likewise.
73056         * math/s_cexp.c: Likewise.
73057         * math/s_cexpf.c: Likewise.
73058         * math/s_cexpl.c: Likewise.
73059         * math/s_clog.c: Likewise.
73060         * math/s_clog10.c: Likewise.
73061         * math/s_clog10f.c: Likewise.
73062         * math/s_clog10l.c: Likewise.
73063         * math/s_clogf.c: Likewise.
73064         * math/s_clogl.c: Likewise.
73065         * math/s_csin.c: Likewise.
73066         * math/s_csinf.c: Likewise.
73067         * math/s_csinh.c: Likewise.
73068         * math/s_csinhf.c: Likewise.
73069         * math/s_csinhl.c: Likewise.
73070         * math/s_csinl.c: Likewise.
73071         * math/s_csqrt.c: Likewise.
73072         * math/s_csqrtf.c: Likewise.
73073         * math/s_csqrtl.c: Likewise.
73074         * math/s_ctan.c: Likewise.
73075         * math/s_ctanf.c: Likewise.
73076         * math/s_ctanh.c: Likewise.
73077         * math/s_ctanhf.c: Likewise.
73078         * math/s_ctanhl.c: Likewise.
73079         * math/s_ctanl.c: Likewise.
73080         * math/s_ldexp.c: Likewise.
73081         * math/s_ldexpf.c: Likewise.
73082         * math/s_ldexpl.c: Likewise.
73083         * math/s_significand.c: Likewise.
73084         * math/s_significandf.c: Likewise.
73085         * math/s_significandl.c: Likewise.
73086         * math/w_acos.c: Likewise.
73087         * math/w_acosf.c: Likewise.
73088         * math/w_acosh.c: Likewise.
73089         * math/w_acoshf.c: Likewise.
73090         * math/w_acoshl.c: Likewise.
73091         * math/w_acosl.c: Likewise.
73092         * math/w_asin.c: Likewise.
73093         * math/w_asinf.c: Likewise.
73094         * math/w_asinl.c: Likewise.
73095         * math/w_atan2.c: Likewise.
73096         * math/w_atan2f.c: Likewise.
73097         * math/w_atan2l.c: Likewise.
73098         * math/w_atanh.c: Likewise.
73099         * math/w_atanhf.c: Likewise.
73100         * math/w_atanhl.c: Likewise.
73101         * math/w_cosh.c: Likewise.
73102         * math/w_coshf.c: Likewise.
73103         * math/w_coshl.c: Likewise.
73104         * math/w_dremf.c: Likewise.
73105         * math/w_exp10.c: Likewise.
73106         * math/w_exp10f.c: Likewise.
73107         * math/w_exp10l.c: Likewise.
73108         * math/w_exp2.c: Likewise.
73109         * math/w_exp2f.c: Likewise.
73110         * math/w_fmod.c: Likewise.
73111         * math/w_fmodf.c: Likewise.
73112         * math/w_fmodl.c: Likewise.
73113         * math/w_hypot.c: Likewise.
73114         * math/w_hypotf.c: Likewise.
73115         * math/w_hypotl.c: Likewise.
73116         * math/w_j0.c: Likewise.
73117         * math/w_j0f.c: Likewise.
73118         * math/w_j0l.c: Likewise.
73119         * math/w_j1.c: Likewise.
73120         * math/w_j1f.c: Likewise.
73121         * math/w_j1l.c: Likewise.
73122         * math/w_jn.c: Likewise.
73123         * math/w_jnf.c: Likewise.
73124         * math/w_jnl.c: Likewise.
73125         * math/w_lgamma.c: Likewise.
73126         * math/w_lgamma_r.c: Likewise.
73127         * math/w_lgammaf.c: Likewise.
73128         * math/w_lgammaf_r.c: Likewise.
73129         * math/w_lgammal.c: Likewise.
73130         * math/w_lgammal_r.c: Likewise.
73131         * math/w_log.c: Likewise.
73132         * math/w_log10.c: Likewise.
73133         * math/w_log10f.c: Likewise.
73134         * math/w_log10l.c: Likewise.
73135         * math/w_log2.c: Likewise.
73136         * math/w_log2f.c: Likewise.
73137         * math/w_log2l.c: Likewise.
73138         * math/w_logf.c: Likewise.
73139         * math/w_logl.c: Likewise.
73140         * math/w_pow.c: Likewise.
73141         * math/w_powf.c: Likewise.
73142         * math/w_powl.c: Likewise.
73143         * math/w_remainder.c: Likewise.
73144         * math/w_remainderf.c: Likewise.
73145         * math/w_remainderl.c: Likewise.
73146         * math/w_scalb.c: Likewise.
73147         * math/w_scalbf.c: Likewise.
73148         * math/w_scalbl.c: Likewise.
73149         * math/w_sinh.c: Likewise.
73150         * math/w_sinhf.c: Likewise.
73151         * math/w_sinhl.c: Likewise.
73152         * math/w_sqrt.c: Likewise.
73153         * math/w_sqrtf.c: Likewise.
73154         * math/w_sqrtl.c: Likewise.
73155         * math/w_tgamma.c: Likewise.
73156         * math/w_tgammaf.c: Likewise.
73157         * math/w_tgammal.c: Likewise.
73159         * po/ja.po: Update from translation team.
73161 2011-09-29  Andreas Jaeger  <aj@suse.de>
73163         [BZ #13179]
73164         * sunrpc/netname.c (netname2host): Fix logic.
73166         [BZ #6779]
73167         [BZ #6783]
73168         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
73169         correctly.
73170         * math/w_remainder.c (__remainder): Likewise.
73171         * math/w_remainderf.c (__remainderf): Likewise.
73172         * math/libm-test.inc (remainder_test): Add test cases.
73174 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73176         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
73177         sdiv_qrnnd.
73179 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73181         * string/test-memcmp.c: Avoid unncessary #defines.
73182         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73184 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73186         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
73187         Use new sse2 version for core i3 - i7 as it's faster
73188         than sse42 version.
73189         (bit_Prefer_PMINUB_for_stringop): New.
73190         * sysdeps/x86_64/rawmemchr.S: Update.
73191         Replace with faster SSE2 version.
73192         * sysdeps/x86_64/memrchr.S: New file.
73193         * sysdeps/x86_64/memchr.S: Update.
73194         Replace with faster SSE2 version.
73196 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
73198         * elf/dl-load.c (lose): Add cast to avoid warning.
73200 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73202         * po/ca.po: Update from translation team.
73204         * inet/getnetgrent_r.c: Hook up nscd.
73205         * nscd/Makefile (routines): Add nscd_netgroup.
73206         (nscd-modules): Add netgroupcache.
73207         (CFLAGS-netgroupcache.c): Define.
73208         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
73209         (cache_search): Add const to second parameter.
73210         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
73211         INNETGR.
73212         (dbs): Add netgrdb entry.
73213         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
73214         (verify_persistent_db): Handle netgrdb.
73215         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
73216         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
73217         GETFDNETGR.
73218         (netgroup_response_header): Define.
73219         (innetgroup_response_header): Define.
73220         (datahead): Add netgroup_response_header and innetgroup_response_header
73221         elements.
73222         * nscd/nscd.conf: Add entries for netgroup cache.
73223         * nscd/nscd.h (dbtype): Add netgrdb.
73224         (_PATH_NSCD_NETGROUP_DB): Define.
73225         (netgroup_iov_disabled): Declare.
73226         (xmalloc, xcalloc, xrealloc): Move declarations here.
73227         (cache_search): Adjust prototype.
73228         Add netgroup-related prototypes.
73229         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
73230         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
73231         (__nscd_innetgr): Declare.
73232         * nscd/selinux.c (perms): Use access_vector_t as element type and
73233         add netgroup-related initializers.
73234         * nscd/netgroupcache.c: New file.
73235         * nscd/nscd_netgroup.c: New file.
73236         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
73237         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
73238         For four parameters use innetgr.
73239         * nss/nss_files/files-init.c: Add definition and callback for netgr.
73240         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
73241         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
73242         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
73244         * nscd/connections.c (register_traced_file): Don't register file
73245         for disabled databases.
73247 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
73249         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
73251         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
73252         from tree and freeing node.
73254 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
73256         * nss/nsswitch.c (__nss_database_lookup): Handle
73257         nss_parse_service_list out of memory case.
73259 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
73261         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
73262         out of memory case.
73264 2011-10-04  Andreas Schwab  <schwab@redhat.com>
73266         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
73267         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
73268         pass it down.
73269         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
73270         elf_machine_rela, elf_machine_lazy_rel.
73271         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
73272         (ELF_DYNAMIC_DO_REL): Likewise.
73273         (ELF_DYNAMIC_DO_RELA): Likewise.
73274         (ELF_DYNAMIC_RELOCATE): Likewise.
73275         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
73276         to ELF_DYNAMIC_DO_REL.
73277         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
73278         (dl_main): In trace mode always set __RTLD_NOIFUNC.
73279         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
73280         elf_machine_rela.
73281         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
73282         skip_ifunc, don't call ifunc function if non-zero.
73283         (elf_machine_rela): Likewise.
73284         (elf_machine_lazy_rel): Likewise.
73285         (elf_machine_lazy_rela): Likewise.
73286         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
73287         (elf_machine_lazy_rel): Likewise.
73288         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
73289         Likewise.
73290         (elf_machine_lazy_rel): Likewise.
73291         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73292         Likewise.
73293         (elf_machine_lazy_rel): Likewise.
73294         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
73295         (elf_machine_lazy_rel): Likewise.
73296         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
73297         (elf_machine_lazy_rel): Likewise.
73298         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
73299         (elf_machine_lazy_rel): Likewise.
73300         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
73301         (elf_machine_lazy_rel): Likewise.
73302         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
73303         (elf_machine_lazy_rel): Likewise.
73304         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
73305         (elf_machine_lazy_rel): Likewise.
73307 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
73309         * nss/nss_files/files-init.c (_nss_files_init): Use static
73310         initialization for all the *_traced_file variables.
73312 2011-09-28  Andreas Schwab  <schwab@redhat.com>
73314         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73316 2011-09-27  Roland McGrath  <roland@hack.frob.com>
73318         [BZ #13226]
73319         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
73321 2011-09-27  Andreas Schwab  <schwab@redhat.com>
73323         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73324         Reread the line before reparsing it.
73326 2011-09-26  Andreas Schwab  <schwab@redhat.com>
73328         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
73330 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
73331             Maxim Kuvyrkov  <maxim@codesourcery.com>
73332             Joseph Myers  <joseph@codesourcery.com>
73334         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
73335         if needed for __stack_chk_guard.
73337 2011-09-19  Roland McGrath  <roland@hack.frob.com>
73339         * sysdeps/posix/spawni.c (script_execute): Always define it.
73340         It will be optimized away if unused.
73341         (maybe_script_execute): New function.
73342         (__spawni): Call it.
73344         * Makerules: Don't include tls.make.
73345         (config-tls): Always set to thread.
73346         * tls.make.c: File removed.
73348 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
73350         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
73351         * config.make.in (CPPFLAGS-config): New substituted variable.
73353 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73355         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
73357         [BZ #13192]
73358         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
73359         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
73361 2011-09-15  Roland McGrath  <roland@hack.frob.com>
73363         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
73364         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
73365         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73366         (CALL_FAIL): Likewise.
73367         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
73368         (CALL_FAIL): Macro removed.
73369         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
73371 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73373         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
73374         for __FINITE_MATH_ONLY__ == 1.
73376 2011-09-15  Andreas Schwab  <schwab@redhat.com>
73378         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
73379         __ieee754_sqrt instead of sqrt.
73380         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
73381         __ieee754_sqrtf instead of sqrtf.
73382         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
73383         __floorf instead of floorf.
73384         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
73385         __floorf, __truncf instead of floorf, truncf.
73387 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
73389         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
73391         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
73392         __extern_always_inline.
73393         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
73394         32-bit.
73396 2011-09-14  Andreas Schwab  <schwab@redhat.com>
73398         * elf/rtld.c (dl_main): Also relocate in dependency order when
73399         doing symbol dependency testing.
73401 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
73403         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73404         Always define `refsym'.
73406 2011-09-13  Andreas Schwab  <schwab@redhat.com>
73408         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
73409         (__FD_ELT): Renamed from __FDELT.
73410         * misc/bits/select2.h (__FD_ELT): Likewise.
73411         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
73412         __FD_MASK instead of __FDELT, __FDMASK.
73413         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73414         Likewise.
73415         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73416         Likewise.
73418         * elf/Makefile (gen-ldd): Fix pattern.
73420         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
73421         (init_tls): Likewise.
73423 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
73425         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
73427 2011-09-12  Andreas Schwab  <schwab@redhat.com>
73429         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
73430         `struct cmsghdr *' instead of `void *'.
73431         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
73432         Likewise.
73434 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
73436         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
73437         if non-absolute.
73438         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
73439         ldd_rewrite_script.
73441 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
73443         * configure.in: Remove --with-tls option.
73444         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
73445         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
73446         out in case it is missing.
73447         * sysdeps/ia64/elf/configure.in: Likewise.
73448         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
73449         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
73450         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
73451         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
73452         * sysdeps/sh/elf/configure.in: Likewise.
73453         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
73454         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73455         * sysdeps/x86_64/elf/configure.in: Likewise.
73456         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
73457         * sysdeps/mach/hurd/tls.h: Likewise.
73459         [BZ #13067]
73460         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
73462         [BZ #13090]
73463         * configure.in: Fix use of AC_INIT.
73465         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
73467 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
73469         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
73470         __set_errno.
73471         * malloc/hooks.c: Likewise.
73473         [BZ #11929]
73474         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
73475         variables statically.
73476         (narenas): Initialize.
73477         (list_lock): Initialize.
73478         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
73479         initializtion of main_arena and list_lock.  Small cleanups.
73480         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
73481         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
73482         Add initializers to main_arena and mp_.
73483         (malloc_state): Remove pagesize member.  Change all users to use
73484         GLRO(dl_pagesize).
73486         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
73487         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
73488         is always initialized.
73490         * malloc/malloc.c: Removed unused configurations and dead code.
73491         * malloc/arena.c: Likewise.
73492         * malloc/hooks.c: Likewise.
73493         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
73495         * include/tls.h: Removed.  USE___THREAD must always be defined.
73496         * bits/libc-tsd.h: Don't handle !USE___THREAD.
73497         * elf/dl-libc.c: Likewise.
73498         * elf/dl-tsd.c: Likewise.
73499         * include/errno.h: Likewise.
73500         * include/netdb.h: Likewise.
73501         * include/resolv.h: Likewise.
73502         * inet/herrno-loc.c: Likewise.
73503         * inet/herrno.c: Likewise.
73504         * malloc/arena.c: Likewise.
73505         * malloc/hooks.c: Likewise.
73506         * malloc/malloc.c: Likewise.
73507         * resolv/res-state.c: Likewise.
73508         * resolv/res_libc.c: Likewise.
73509         * sysdeps/i386/dl-machine.h: Likewise.
73510         * sysdeps/ia64/dl-machine.h: Likewise.
73511         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
73512         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
73513         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
73514         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
73515         * sysdeps/sh/dl-machine.h: Likewise.
73516         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73517         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73518         * sysdeps/unix/i386/sysdep.S: Likewise.
73519         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
73520         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
73521         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
73522         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
73523         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
73524         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
73525         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
73526         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73527         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73528         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
73529         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73530         * sysdeps/x86_64/dl-machine.h: Likewise.
73531         * tls.make.c: Likewise.
73533         * configure.in: Remove --with-__thread option.  Make tests for
73534         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
73535         tls_model attribute fail if no support is available.  Remove
73536         USE_IN_LIBIO.
73537         * Makeconfig: Adjust for dropped configure option.  All features are
73538         now mandatory.
73539         * Makerules: Likewise.
73540         * Versions.def: Likewise.
73541         * argp/argp-fmtstream.c: Likewise.
73542         * argp/argp-fmtstream.h: Likewise.
73543         * argp/argp-help.c: Likewise.
73544         * assert/assert.c: Likewise.
73545         * config.h.in: Likewise.
73546         * config.make.in: Likewise.
73547         * configure: Likewise.
73548         * configure.in: Likewise.
73549         * csu/Versions: Likewise.
73550         * csu/init.c: Likewise.
73551         * elf/tst-audit2.c: Likewise.
73552         * elf/tst-tls10.c: Likewise.
73553         * elf/tst-tls10.h: Likewise.
73554         * elf/tst-tls11.c: Likewise.
73555         * elf/tst-tls12.c: Likewise.
73556         * elf/tst-tls14.c: Likewise.
73557         * elf/tst-tlsmod11.c: Likewise.
73558         * elf/tst-tlsmod12.c: Likewise.
73559         * elf/tst-tlsmod13.c: Likewise.
73560         * elf/tst-tlsmod13a.c: Likewise.
73561         * elf/tst-tlsmod14a.c: Likewise.
73562         * elf/tst-tlsmod15b.c: Likewise.
73563         * elf/tst-tlsmod16a.c: Likewise.
73564         * elf/tst-tlsmod16b.c: Likewise.
73565         * elf/tst-tlsmod7.c: Likewise.
73566         * elf/tst-tlsmod8.c: Likewise.
73567         * elf/tst-tlsmod9.c: Likewise.
73568         * gmon/gmon.c: Likewise.
73569         * grp/fgetgrent_r.c: Likewise.
73570         * grp/putgrent.c: Likewise.
73571         * hurd/fopenport.c: Likewise.
73572         * include/libc-symbols.h: Likewise.
73573         * include/tls.h: Likewise.
73574         * intl/gettextP.h: Likewise.
73575         * intl/loadinfo.h: Likewise.
73576         * locale/global-locale.c: Likewise.
73577         * locale/localeinfo.h: Likewise.
73578         * mach/devstream.c: Likewise.
73579         * malloc/arena.c: Likewise.
73580         * malloc/set-freeres.c: Likewise.
73581         * misc/err.c: Likewise.
73582         * misc/getttyent.c: Likewise.
73583         * misc/mntent_r.c: Likewise.
73584         * posix/getopt.c: Likewise.
73585         * posix/wordexp.c: Likewise.
73586         * pwd/fgetpwent_r.c: Likewise.
73587         * resolv/Versions: Likewise.
73588         * resolv/res_hconf.c: Likewise.
73589         * shadow/fgetspent_r.c: Likewise.
73590         * shadow/putspent.c: Likewise.
73591         * stdio-common/printf_fphex.c: Likewise.
73592         * stdio-common/tmpfile.c: Likewise.
73593         * stdlib/abort.c: Likewise.
73594         * stdlib/fmtmsg.c: Likewise.
73595         * sunrpc/auth_unix.c: Likewise.
73596         * sunrpc/clnt_perr.c: Likewise.
73597         * sunrpc/clnt_tcp.c: Likewise.
73598         * sunrpc/clnt_udp.c: Likewise.
73599         * sunrpc/clnt_unix.c: Likewise.
73600         * sunrpc/openchild.c: Likewise.
73601         * sunrpc/svc_simple.c: Likewise.
73602         * sunrpc/svc_tcp.c: Likewise.
73603         * sunrpc/svc_udp.c: Likewise.
73604         * sunrpc/svc_unix.c: Likewise.
73605         * sunrpc/xdr.c: Likewise.
73606         * sunrpc/xdr_array.c: Likewise.
73607         * sunrpc/xdr_rec.c: Likewise.
73608         * sunrpc/xdr_ref.c: Likewise.
73609         * sunrpc/xdr_stdio.c: Likewise.
73611 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73613         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73615 2011-07-03  Andreas Jaeger  <aj@suse.de>
73617         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73618         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73619         regenerate with gen-libm-tests.pl.
73621 2010-05-12  Petr Baudis  <pasky@suse.cz>
73623         [BZ #11589]
73624         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73625         around j0() zero points by switching to j1().
73626         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73627         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73628         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73629         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73631 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73633         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73634         instead of 0.
73635         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73636         instead of 0.
73637         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73638         Patch in part by Pavel Roskin <proski@gnu.org>.
73640         [BZ #13138]
73641         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73642         realloc.
73643         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
73644         Free memory block if necessary.
73646         [BZ #12847]
73647         * libio/genops.c (INTDEF): For string streams the _lock pointer can
73648         be NULL.  Don't lock in this case.
73650 2011-09-09  Roland McGrath  <roland@hack.frob.com>
73652         * elf/elf.h (ELFOSABI_GNU): New macro.
73653         (ELFOSABI_LINUX): Define to that.
73655 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
73657         * string/strncat.c (strncat): Undef the symbol in case it has been
73658         defined in bits/string.h.
73660 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73662         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73664         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73665         link map.
73667 2011-08-17  Andreas Jaeger  <aj@suse.de>
73669         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73671 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
73672             Ian Lance Taylor  <iant@google.com>
73674         * math/libm-test.inc (lround_test): New testcase.
73675         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73677 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
73679         * Makefile: Remove support for automatic cvs check-ins.
73680         * Makerules: Likewise.
73681         * config.make.in: Likewise.
73682         * configure.in: Likewise.
73683         * intl/Makefile: Likewise.
73684         * locale/Makefile: Likewise.
73685         * po/Makefile: Likewise.
73686         * posix/Makefile: Likewise.
73687         * sysdeps/gnu/Makefile: Likewise.
73688         * sysdeps/mach/hurd/Makefile: Likewise.
73689         * sysdeps/sparc/sparc32/Makefile: Likewise.
73691         [BZ #13118]
73692         * posix/Makefile (bug-regex32-ENV): Define.
73693         Patch by John Stanley <jpsinthemix@verizon.net>.
73695         * misc/Makefile (headers): Add bits/select2.h.
73696         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73697         * misc/bits/select2.h: New file.
73698         * include/bits/select2.h: New file.
73699         * debug/Makefile (routines): Add fdelt_chk.
73700         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73701         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73702         FD_ISSET.
73703         * debug/fdelt_chk.c: New file.
73705         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
73706         * wcsmbs/test-wmemcmp.c: Likewise.
73707         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73708         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73710 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73712         * string/Makefile (strop-tests): Add memcmp.
73713         * string/test-wmemcmp.c: New file.
73714         * string/test-memcmp.c: Add wmemcmp support.
73716 2011-09-08  Roland McGrath  <roland@hack.frob.com>
73718         [BZ #13153]
73719         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73720         2011-07-19 change.
73722         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73723         garbage value in a __mach_port_mod_refs call in the cases of the
73724         task-self and thread-self ports.
73726 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73728         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73730 2011-09-08  Andreas Schwab  <schwab@redhat.com>
73732         * elf/dl-load.c (lose): Check for non-null L.
73734 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73736         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73738         * elf/dl-libc.c (dlerror_run): Pass back error code from
73739         dl_catch_error.
73741         [BZ #13123]
73742         * elf/dl-load.c (lose): Free l_origin if it is valid.
73744         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73745         names.
73746         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73747         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73748         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73749         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73750         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73751         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73753 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73755         * sysdeps/powerpc/fpu/e_hypot.c: New file.
73756         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73757         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73758         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73759         * sysdeps/powerpc/fpu/k_cosf.c: New file.
73760         * sysdeps/powerpc/fpu/k_sinf.c: New file.
73761         * sysdeps/powerpc/fpu/s_cosf.c: New file.
73762         * sysdeps/powerpc/fpu/s_sinf.c: New file.
73763         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73764         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73766 2011-08-15  Alan Modra  <amodra@gmail.com>
73768         [BZ #13092]
73769         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73770         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73771         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
73772         ppc_mcount to static-only-routines.
73773         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73774         __mcount_internal.
73775         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73776         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
73778 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
73780         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73781         for finite and infinity parameters.
73783 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73785         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73786         and add nop instructions for throughput optimization.
73787         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73789 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
73791         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73792         aligned copy for power7 with vector-scalar instructions.
73793         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73795 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
73797         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73798         AVX check.
73800 2011-09-07  Andreas Schwab  <schwab@redhat.com>
73802         [BZ #13144]
73803         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73804         last change.
73806 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73808         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73809         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73810         syscall wrapper around clock_gettime in __vdso_clock_gettime.
73811         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73812         clock_gettime.
73814 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73816         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73817         Forgot to demangle the pointer.
73819         * sysdeps/i386/sysdep.h: Define atom_text_section.
73820         * sysdeps/x86_64/sysdep.h: Likewise.
73821         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73822         section with atom_text_section.
73823         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73824         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73825         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73826         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73827         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73829         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73830         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73831         already be defined.  Change to take two parameters and don't assign
73832         result to variable.  Adjust all users.
73833         Define INTERNAL_GETTIME if not already defined.
73834         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73835         call.
73836         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73837         HAVE_CLOCK_GETTIME_VSYSCALL.
73838         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73840         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73841         gettimeofday vsyscall, just use time.
73843 2011-09-06  Andreas Schwab  <schwab@redhat.com>
73845         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73846         <errno.h>.
73848 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73850         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73851         syscall on x86-64.
73852         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73853         syscall.
73854         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73855         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73856         syscall if possible.
73858 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73860         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73861         e_ident.  Don't pass to find_mapsXX.
73862         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73864 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73866         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73867         strchr-sse2-no-bsf strrchr-sse2-no-bsf
73868         * sysdeps/x86_64/multiarch/strchr.S: Update.
73869         Check bit_slow_BSF bit.
73870         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73871         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73872         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73874 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73876         [BZ #13134]
73877         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73878         before glibc 2.15.
73879         (tryshell): Define.
73880         (__spawni): Change last parameter to be flag.  Test
73881         SPAWN_XFLAGS_USE_PATH flag to use path or not.
73882         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73883         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73884         * posix/spawni.c: Likewise.
73885         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73886         * posix/spawnp.c: Likewise.  Change normal version to use
73887         SPAWN_XFLAGS_USE_PATH.
73888         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73889         SPAWN_XFLAGS_TRY_SHELL.
73891         [BZ #13150]
73892         * posix/glob.h: Remove gcc 1.x support.
73894         [BZ #13068]
73895         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73897 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73899         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73900         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73901         strrchr-sse2-bsf
73902         * sysdeps/i386/i686/multiarch/strchr.S: New file.
73903         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73904         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73905         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73906         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73907         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73909 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73911         * sysdeps/x86_64/wcscmp.S: New file.
73913         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73914         wcscmp-c wcscmp-sse2
73915         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73916         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73917         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73918         * wcsmbs/wcscmp.c: Allow renaming.
73920 2011-09-05  David S. Miller  <davem@davemloft.net>
73922         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73923         stack slot, rather than the struct return pointer slot.
73924         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73925         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73927         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73929 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73931         * po/ja.po: Update from translation team.
73933         [BZ #13144]
73934         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73935         kernel in 64-bit binaries.
73937 2011-09-01  David S. Miller  <davem@davemloft.net>
73939         * elf/elf.h (HWCAP_SPARC_*): Move to..
73940         * sysdeps/sparc/sysdep.h: this new file and add new values.
73941         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73942         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73943         _DL_HWCAP_COUNT to 24.
73944         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73945         entries.
73946         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73947         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73948         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73949         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73950         instead of magic constants.
73951         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73953 2011-08-31  David S. Miller  <davem@davemloft.net>
73955         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73956         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73957         Reimplement to do errno handling inline.
73958         (SYSCALL_ERROR_HANDLER): New macro.
73959         (__SYSCALL_STRING): Do not do errno handling in asm.
73960         (__CLONE_SYSCALL_STRING): Delete.
73961         (__INTERNAL_SYSCALL_STRING): Delete.
73962         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73963         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73964         (PSEUDO): Reimplement to do errno handling inline.
73965         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73966         (SYSCALL_ERROR_HANDLER): New macro.
73967         (__SYSCALL_STRING): Do not do errno handling in asm.
73968         (__CLONE_SYSCALL_STRING): Delete.
73969         (__INTERNAL_SYSCALL_STRING): Delete.
73970         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73971         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73972         i386.
73973         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73974         (inline_syscall*): Add 'err' argument.
73975         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73976         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73977         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73978         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73980         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73981         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73983 2011-08-30  Andreas Schwab  <schwab@redhat.com>
73985         * elf/rtld.c (dl_main): Relocate objects in dependency order.
73987 2011-08-29  Jiri Olsa <jolsa@redhat.com>
73989         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73990         directive.
73992 2011-08-24  David S. Miller  <davem@davemloft.net>
73994         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73996 2011-08-24  Andreas Schwab  <schwab@redhat.com>
73998         * elf/Makefile: Add rules to build and run unload8 test.
73999         * elf/unload8.c: New file.
74000         * elf/unload8mod1.c: New file.
74001         * elf/unload8mod1x.c: New file.
74002         * elf/unload8mod2.c: New file.
74003         * elf/unload8mod3.c: New file.
74005         * elf/dl-close.c (_dl_close_worker): Reset private search list if
74006         it wasn't used.
74008 2011-08-23  David S. Miller  <davem@davemloft.net>
74010         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
74011         subtract stack bias.
74012         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
74013         %sp not %fp in calculations.
74014         (_JMPBUF_UNWINDS_ADJ): Likewise.
74016         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
74017         (aio_suspend): Call it to force an exception region around the
74018         AIO_MISC_WAIT() invocation.
74020 2011-08-23  Andreas Schwab  <schwab@redhat.com>
74022         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
74023         backslash.
74025 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
74027         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
74028         protection macro.
74029         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
74030         and <dl-machine.h>.
74031         (Elf64_FuncDesc): Remove.
74033 2011-08-22  David S. Miller  <davem@davemloft.net>
74035         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
74036         sigaltstack check, add missing cfi directives.
74037         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
74038         missing cfi directives, and sigaltstack handling.
74040 2011-08-16  Andreas Schwab  <schwab@redhat.com>
74042         [BZ #11724]
74043         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
74044         object is seen twice.
74045         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74047         * elf/Makefile (distribute): Add tst-initorder2.c.
74048         (tests): Add tst-initorder2.
74049         (modules-names): Add tst-initorder2a tst-initorder2b
74050         tst-initorder2c tst-initorder2d.  Add rules to build them.
74051         ($(objpfx)tst-initorder2.out): New rule.
74052         * elf/tst-initorder2.c: New file.
74053         * elf/tst-initorder2.exp: New file.
74055 2011-08-22  Andreas Schwab  <schwab@redhat.com>
74057         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
74059         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
74060         dependencies back to end of function.
74062         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74063         $(elfobjdir)/ld.so.
74065 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
74067         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
74068         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
74069         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
74070         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
74071         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
74072         of __vdso_gettimeofday.
74073         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
74074         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
74075         attribute_hidden.
74076         (_libc_vdso_platform_setup): Remove initialization of
74077         __vdso_gettimeofday and __vdso_time.
74079 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74081         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
74082         and fgetc_unlocked.
74083         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
74084         getc_unlocked.
74086         * elf/dl-open.c (add_to_global): Report additions to the global scope
74087         for LD_DEBUG=scopes.
74088         (dl_open_worker): Also print scope of newly loaded dependencies.
74089         (_dl_show_scope): Indicate if there is no scope.
74091         [BZ #13114]
74092         * stdio-common/Makefile (tests): Add bug24.
74093         * stdio-common/bug24.c: New file.
74095 2011-08-19  Andreas Jaeger  <aj@suse.de>
74097         [BZ #13114]
74098         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
74099         non-existant file when using close-on-exec mode.
74101 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74103         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
74104         the very first instruction.
74106         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
74107         the CFI state in the end.
74108         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
74109         inclusion of dl-trampoline.h.
74110         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
74112 2011-08-19  Andreas Schwab  <schwab@redhat.com>
74114         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
74115         expectations for long double.
74117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
74118         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
74120 2011-08-14  David S. Miller  <davem@davemloft.net>
74122         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
74123         artificual limit depends upon the system page size.
74125 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74127         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
74128         * resolv/Makefile: Define CFLAGS-libresolv.
74130 2011-08-17  Andreas Schwab  <schwab@redhat.com>
74132         * nss/makedb.c (compute_tables): Make variables used in nested
74133         function static.
74135 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74137         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
74138         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
74139         if buffer was too small.
74141         * elf/pldd.c (main): Attach to all threads in the process.
74142         Rewrite /proc handling to use *at functions.
74144 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
74146         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
74147         specifies first scope to show.
74148         (dl_open_worker): Update callers.  Move printing scope of new
74149         object to before the relocation.
74150         * elf/rtld.c (dl_main): Update _dl_show_scope call.
74151         * sysdeps/generic/ldsodefs.h: Update declaration.
74153         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
74154         string for the scope number.
74156 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
74158         * nscd/servicescache.c (cache_addserv): Make sure written is always
74159         initialized.
74161 2011-08-14  Roland McGrath  <roland@hack.frob.com>
74163         * sysdeps/i386/i486/bits/atomic.h
74164         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
74165         statement expression, so as to suppress "set but not used" warning.
74166         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
74168         * string/strncat.c (STRNCAT): Use prototype definition.
74170         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
74171         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
74172         -Iprograms here.
74173         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
74174         (localedef-modules): Add localedef.
74175         (locale-modules): Add locale.
74177         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
74178         * elf/rtld.c (dl_main): Invert order of assignment in last change,
74179         to avoid a warning.
74181 2011-08-14  David S. Miller  <davem@davemloft.net>
74183         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
74184         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
74186 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
74188         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
74189         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
74190         * elf/rtld.c (dl_main): Set l_name of vDSO.
74191         Call _dl_show_scope when DL_DEBUG_SCOPES.
74192         (process_dl_debug): Recognize scopes flag and also set it for all.
74193         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
74194         Declare _dl_show_scope.
74196         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
74197         (do_dlopen): Pass caller_dlopen to dl_open.
74198         (__libc_dlopen_mode): Initialize caller_dlopen.
74200         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
74201         of libc.  Make tolower call locale-independent.  Optimize a bit by
74202         using isdigit instead of isalnum.
74203         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
74205 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
74207         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
74208         was a dependency or dynamically loaded.
74210 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
74212         * intl/l10nflist.c: Allow architecture-specific pop function.
74213         * sysdeps/x86_64/l10nflist.c: New file.
74215         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
74216         classification.
74218 2011-08-10  Andreas Schwab  <schwab@redhat.com>
74220         * include/dirent.h: Add libc_hidden_proto for scandirat and
74221         scandirat64.  Don't declare __scandirat64.
74222         * dirent/scandirat.c: Add libc_hidden_def.
74223         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
74224         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
74226 2011-08-10  David S. Miller  <davem@davemloft.net>
74228         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
74229         enum.
74230         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74231         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74232         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74234 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
74236         * Versions.def [libc]: Add GLIBC_2.15.
74237         * dirent/Makefile (routines): Add scandirat and scandirat64.
74238         * dirent/Versions [libc]: Export scandirat and scandirat64 for
74239         GLIBC_2.15.
74240         * dirent/dirent.h: Declare scandirat and scandirat64.
74241         * dirent/scandirat.c: New file.
74242         * dirent/scandirat64.c: New file.
74243         * sysdeps/wordsize-64/scandirat.c: New file.
74244         * sysdeps/wordsize-64/scandirat64.c: New file.
74245         * dirent/opendir.c: Define opendirat.
74246         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
74247         using scandirat.
74248         * dirent/scandir64.c: Adjust for scandir.c change.
74249         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
74250         __scandirat64, and __scandir_cancel_handler.
74251         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
74252         additional parameter and use openat instead of open (outside of ld.so).
74253         Add new __opendir as wrapper around __opendirat.
74254         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
74255         here without requiring old scandirat implementation.
74257 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
74259         * dirent/scandir.c (cancel_handler): Renamed to
74260         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
74261         defined.  Adjust users.
74262         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
74263         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
74265 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
74267         * string/test-string.h (IMPL): Use __STRING to expand name and then
74268         stringify it.
74270         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
74271         of cleanups.
74273 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74275         * string/Makefile: Update.
74276         (strop-tests): Append strncat.
74277         * string/test-wcscmp.c: New file.
74278         New comprehensive test for wcscmp.
74279         * string/test-strcmp.c: Update.
74280         (WIDE): New define.
74282 2011-07-22  Andreas Schwab  <schwab@redhat.com>
74284         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
74285         line.
74287 2011-07-26  Andreas Schwab  <schwab@redhat.com>
74289         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74290         encoding to ACE if AI_IDN.
74292 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
74294         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
74295         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
74297 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74299         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
74300         Fix overflow bug in strncat.
74301         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
74303         * string/test-strncat.c: Update.
74304         Add new tests for checking overflow bugs.
74306 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74308         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74309         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
74310         * sysdeps/i386/i686/multiarch/strcat.S: New file.
74311         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
74312         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
74313         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
74314         * sysdeps/i386/i686/multiarch/strncat.S: New file.
74315         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
74316         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
74318         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
74319         (USE_AS_STRCAT): Define.
74320         Add strcat and strncat support.
74321         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74323 2011-07-25  Andreas Schwab  <schwab@redhat.com>
74325         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
74326         __n bigger than INT_MAX+1.
74327         (__strncmp_g): Likewise.
74329 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
74331         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
74332         * libio/stido.h: Likewise.
74334         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
74335         (AF_NFC): Define.
74336         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
74337         (AF_NFC): Define.
74339         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
74340         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74341         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74342         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
74343         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74345         [BZ #13021]
74346         * scripts/test-installation.pl: Don't expect libnss_test1 to be
74347         installed.
74349         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
74350         typo.
74351         (_dl_x86_64_save_sse): Likewise.
74353 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
74355         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
74356         OSXSAVE.
74357         (_dl_x86_64_save_sse): Likewise.
74359         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
74361         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
74363 2011-07-21  Andreas Schwab  <schwab@redhat.com>
74365         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
74366         change.
74367         (_dl_x86_64_save_sse): Use correct AVX check.
74369 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74371         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
74372         bug in strncpy/strncat.
74373         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
74375 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
74377         * string/tester.c (test_strcat): Add tests for different alignments
74378         of source and destination.
74379         (test_strncat): Likewise.
74381 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74383         [BZ #12852]
74384         * posix/glob.c (glob): Check passed in values before using them in
74385         expressions to avoid some overflows.
74386         (glob_in_dir): Likewise.
74388         [BZ #13007]
74389         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
74390         check for AVX enablement so that we don't crash with old kernels and
74391         new hardware.
74392         * elf/tst-audit4.c: Add same checks here.
74393         * elf/tst-audit6.c: Likewise.
74395         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
74397 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
74399         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
74401 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74403         * po/cs.po: Update from translation team.
74404         * po/bg.po: Likewise.
74406 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
74408         * misc/sys/cdefs.h: Add support for const attribute.
74409         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
74410         to gnu_dev_{major,minor,makedev} functions.
74412 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
74414         * intl/dcigettext.c (get_output_charset): Add missing bracket.
74416 2011-07-20  Andreas Schwab  <schwab@redhat.com>
74418         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
74419         strlen results.
74421 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74423         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
74424         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
74425         register in order to avoid conflicts with the soft frame pointer
74426         being held in r11 when necessary.
74427         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
74428         (INTERNAL_VSYSCALL_NCS): Likewise.
74430 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
74432         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
74433         * elf/dl-fini.c (_dl_fini): Adjust caller.
74434         * elf/dl-close.c (_dl_close_worker): Likewise.
74435         * sysdeps/generic/ldsodefs.h: Adjust declaration.
74437 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74439         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
74440         "aux_cache->nlibs < 0".
74442         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
74443         in the reload-count case.
74445 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74447         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74448         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
74449         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
74450         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
74451         * sysdeps/x86_64/multiarch/strcat.S: New file.
74452         * sysdeps/x86_64/multiarch/strncat.S: New file.
74453         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
74454         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
74455         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
74456         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
74457         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
74458         (USE_AS_STRCAT): Define.
74459         Add strcat and strncat support.
74460         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74461         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
74462         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
74463         * string/strncat.c: Update.
74464         (USE_AS_STRNCAT): Define.
74465         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74466         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
74467         and i7.
74468         * sysdeps/x86_64/multiarch/init-arch.h
74469         (bit_Prefer_PMINUB_for_stringop): New.
74470         (index_Prefer_PMINUB_for_stringop): Likewise.
74471         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
74472         bit_Prefer_PMINUB_for_stringop.
74474 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74476         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
74477         buffer64.
74478         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
74479         of casting of buffer.
74480         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
74481         buffer32 and buffer64.
74482         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
74483         writes instead of casting of buffer.
74484         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
74485         buffer32.
74486         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
74487         casting of buffer.
74489 2011-07-19  Andreas Schwab  <schwab@redhat.com>
74491         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
74493 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74495         * nscd/nscd.c (termination_handler): Don't do anything for a database
74496         if it has not yet been initialized.
74498 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74500         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74502 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74504         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74506 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74508         * po/nl.po: Update from translation team.
74509         * po/sv.po: Likewise.
74511 2011-07-16  Roland McGrath  <roland@hack.frob.com>
74513         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
74514         now disallowed by GCC.
74516         * configure.in (use-default-link): Default to yes if a test -shared
74517         link meets our qualifications.
74518         * configure: Regenerated.
74520         * config.make.in (output-format): New variable.
74521         * configure.in: Check for ld --print-output-format support.
74522         * configure: Regenerated.
74523         * Makerules ($(common-objpfx)format.lds)
74524         [$(output-format) != unknown]: Just use $(output-format),
74525         instead of the linker-script munging.
74527 2011-07-14  Roland McGrath  <roland@hack.frob.com>
74529         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
74530         of $(common-objpfx)shlib.lds.
74531         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
74533         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
74534         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
74536         * configure.in (-z relro check): Adjust test code to add a large
74537         writable data section after it.
74538         * configure: Regenerated.
74540 2011-07-11  Roland McGrath  <roland@hack.frob.com>
74542         * configure.in (-z relro check): Fix test code to make the variable
74543         truly const.
74544         * configure: Regenerated.
74546 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
74548         * nscd/nscd.h (struct traced_file): Define.
74549         (struct database_dyn): Remove inotify_descr, reset_res, and filename
74550         elements.  Add traced_files.
74551         (inotify_fd): Declare.
74552         (register_traced_file): Declare.
74553         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
74554         (inotify_fd): Export.
74555         (resolv_conf_descr): Remove.
74556         (nscd_init): Move inotify descriptor creation to main.
74557         Don't register files for notification here.
74558         (register_traced_file): New function.
74559         (invalidate_cache): Don't use reset_res to determine whether to call
74560         res_init, go through the list of registered files.
74561         (main_loop_poll): The inotify descriptors are now stored in the
74562         structures for the traced files.
74563         (main_loop_epoll): Likewise.
74564         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
74565         to __nss_disable_nscd.
74566         * nscd/cache.c (prune_cache): There is no single inotify descriptor
74567         for a database anymore.  Check the records for all the registered
74568         files instead.
74569         * nss/Makefile (libnss_files-routines): Add files-init.
74570         (libnss_db-routines): Add db-init.
74571         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
74572         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
74573         * nss/nss_db/db-init.c: New file.
74574         * nss/nss_files/files-init.c: New file.
74575         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
74576         __nss_lookup_function.
74577         (__nss_lookup_function): Call nss_load_library.
74578         (nss_load_all_libraries): New function.
74579         (__nss_disable_nscd): Take parameter with callback function for files
74580         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
74581         used for the cached services.
74582         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
74583         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
74584         options for features to all the files in nscd.
74586         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74588 2011-07-10  Roland McGrath  <roland@hack.frob.com>
74590         * csu/elf-init.c (__libc_csu_init): Comment typo.
74592 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
74594         * po/pl.po: Update from translation team.
74595         * po/ja.po: Likewise.
74596         * po/ru.po: Likewise.
74597         * po/ko.po: Likewise.
74598         * po/fr.po: Likewise.
74600 2011-07-09  Roland McGrath  <roland@hack.frob.com>
74602         * configure.in (.ctors/.dtors header and trailer check):
74603         Use an empirical test on a built program.
74604         * configure: Regenerated.
74606         * configure.in (-z relro check): Use an empirical test on a built DSO.
74607         Detect, but do not require, on ia64.
74608         * configure: Regenerated.
74610         * configure.in (READELF): Find it with AC_CHECK_TOOL.
74611         Update tests that use readelf to use $READELF instead.
74612         * configure: Regenerated.
74614 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
74616         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74617         if the result is not used.
74619 2011-07-05  Andreas Jaeger  <aj@suse.de>
74621         [BZ#9696]
74622         * stdlib/tst-strtod.c: Add testcase.
74624 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
74626         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74627         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74628         The latter has a higher limit.  Take additional parameter to pass to
74629         the new function.
74630         (__pathconf): Pass file to __statfs_link_max.
74631         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74632         __statfs_link_max.
74633         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74634         __statfs_link_max.
74636         [BZ #12868]
74637         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74638         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74639         Handle Lustre.
74640         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74641         (__statfs_filesize_max): Likewise.
74642         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74644 2011-07-05  Andreas Jaeger  <aj@suse.de>
74646         * resolv/res_comp.c (dn_skipname): Remove unused variable.
74648 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
74650         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74651         `status' variable.
74652         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74653         Likewise.
74655 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
74657         * Makefile (strop-tests): Add strncat.
74658         * string/test-strncat.c: New file.
74660 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
74662         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74664 2011-06-21  Andreas Jaeger  <aj@suse.de>
74666         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74667         Copy rule from iconvdata/Makefile.
74669 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74671         [BZ #12922]
74672         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74673         but no long options are defined, just return 'W'.
74675 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
74677         [BZ #9696]
74678         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74680 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74682         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74683         netgroups to read.
74684         (innetgr): Likewise.
74686 2011-07-05  Roland McGrath  <roland@hack.frob.com>
74688         * config.make.in (install_root): Default to $(DESTDIR).
74690 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
74692         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74694 2011-07-02  Roland McGrath  <roland@hack.frob.com>
74696         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74698         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74699         containing directory rather than embedding absolute directory names.
74701         * scripts/check-local-headers.sh: Rewritten using awk.
74702         Match by word, not by line.  Print error messages for matches.
74703         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74705         * Makerules [shlib-lds-flags empty]:
74706         ($(common-objpfx)libc_pic.opts): New target.
74707         ($(common-objpfx)libc_pic.os.clean): New target.
74708         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74710         * config.make.in (OBJCOPY): New variable.
74711         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74712         * configure: Regenerated.
74714         * config.make.in (use-default-link): New variable.
74715         * configure.in (use_default_link): Grok --with-default-link to set it.
74716         * configure: Regenerated.
74717         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74718         (shlib-lds, shlib-lds-flags): Define to empty.
74720         * Makerules (shlib-lds): New variable.
74721         (shlib-lds-flags): New variable.
74722         (build-shlib, build-moduile, build-module-asneeded): Use it.
74723         ($(common-objpfx)libc.so): Use $(shlib-lds).
74724         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74725         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74727         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74728         DT_FLAGS/DT_FLAGS_1 with zero flags.
74730         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74731         linker script munging.
74733 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
74735         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74736         as 128-bit value.
74737         * crypt/sha512.c (sha512_process_block): Perform total addition using
74738         128-bit if possible.
74739         (__sha512_finish_ctx): Likewise.
74740         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74741         as 64-bit value.
74742         * crypt/sha256.c (SWAP64): Define.
74743         (sha256_process_block): Perform total addition using 64-bit if
74744         possible.
74745         (__sha256_finish_ctx): Likewise.
74747 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
74749         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
74750         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74751         * nscd/hstcache.c (cache_addhst): Likewise.
74752         * nscd/grpcache.c (cache_addgr): Likewise.
74753         * nscd/aicache.c (addhstaiX): Likewise.
74754         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74756 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
74758         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74759         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74760         * nscd/hstcache.c (cache_addhst): Likewise.
74761         * nscd/grpcache.c (cache_addgr): Likewise.
74762         * nscd/aicache.c (addhstaiX): Likewise.
74764 2011-07-01  Andreas Schwab  <schwab@redhat.com>
74766         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74767         domain only when needed.
74769 2011-06-30  Andreas Schwab  <schwab@redhat.com>
74771         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74772         is always restored.
74774 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
74776         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74777         are re-adding the entry.
74778         * nscd/servicescache.c (cache_addserv): Likewise.
74780 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
74782         * sysdeps/generic/dl-irel.h: fix protection against multiple
74783         inclusions.
74784         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74786 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
74788         [BZ #12935]
74789         * malloc/memusage.sh: Fix quoting in message.
74790         * debug/xtrace.sh: Likewise.
74792         * configure.in: Remove support for --experimental-malloc option, make
74793         it the default.
74794         * config.make.in: Likewise.
74795         * malloc/Makefile: Likewise.
74797 2011-06-27  Andreas Schwab  <schwab@redhat.com>
74799         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74800         two-byte characters.
74802 2011-06-27  Roland McGrath  <roland@hack.frob.com>
74804         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74805         AC_CACHE_CHECK invocation.
74806         * configure: Regenerated.
74808         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74810 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
74812         [BZ #12350]
74813         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
74814         bit from old_res_options.
74816         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74818         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74819         value type for setfct.
74821 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
74823         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74824         __gettimeofday instead of gettimeofday.
74826 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
74828         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74830 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
74832         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74834         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74835         info.
74837 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74839         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74840         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74841         strcpy-sse2-unaligned strncpy-sse2-unaligned
74842         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74843         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74844         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74845         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74846         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74847         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74848         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74849         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74850         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74851         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74852         (STRCPY): Support SSE2 and SSSE3 versions.
74854 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
74856         [BZ #12874]
74857         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74858         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74859         kernels which artificially limit size of requests.
74861 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74863         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74864         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74865         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74866         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74867         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74868         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74869         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74870         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74871         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74872         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74873         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74874         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74875         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74876         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74877         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74878         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74879         Enable unaligned load optimization for Intel Core i3, i5 and i7
74880         processors.
74881         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74882         Define.
74883         (index_Fast_Unaligned_Load): Define.
74884         (HAS_FAST_UNALIGNED_LOAD): Define.
74886 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
74888         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74890 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74892         [BZ #12907]
74893         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74894         until it is clear that the information is realy needed.
74895         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74897 2011-06-22  Andreas Schwab  <schwab@redhat.com>
74899         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74901 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74903         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74904         /sys/devices/system/cpu/online if it is usable.
74906         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74907         reading the information from the /proc filesystem to once a second.
74909 2011-06-21  Andreas Jaeger  <aj@suse.de>
74911         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74912         NULL after inclusion of kernel headers.
74914 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
74916         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74917         calls to internal_setent.
74919         [BZ #12885]
74920         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74921         addresses using gethostbyname4_r ignore IPv4 addresses.
74923         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74924         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
74926         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74928 2011-06-20  David S. Miller  <davem@davemloft.net>
74930         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74931         inclusions.
74932         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74934         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74935         (elf_irel): Use it.
74936         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74937         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74938         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74939         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74940         * sysdeps/x86_64/dl-irel.h: Likewise.
74942         * elf/dl-runtime.c: Use elf_ifunc_invoke.
74943         * elf/dl-sym.c: Likewise.
74945 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74947         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
74948         need to dereference resplen2.
74950 2011-06-14  Andreas Schwab  <schwab@redhat.com>
74952         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74954 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74956         * Makeconfig: Define vardbdir and inst_vardbdir.
74957         * nss/Makefile: Add rules to install db-Makefile.
74959         * nss/nss_db/db-XXX.c: Cleanup.
74961         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74962         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74963         GLIBC_PRIVATE.
74964         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74965         * nss/makedb.c: Implement -g option to specify that value strings
74966         are generated and should not be added to table iterated over for
74967         get*ent calls.
74968         * nss/nss_db/db-initgroups.c: New file.
74970         * nss/getent.c: Add support for initgroups lookups through getgrouplist
74971         interface.
74973         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74974         (internal_getgrouplist): Adjust to name change.
74975         Update use_initgroups_entry if this is not the first call.
74976         * nss/databases.def: Add initgroups entry.
74978         * nss/makedb.c (compute_tables): Check result of multiple hash table
74979         sizes to minimize maximum chain length.
74981 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
74983         * Versions.def: Add entry for libnss_db.
74984         * shlib-versions: Likewise.
74985         * nss/Makefile: Add rules to build libnss_db.
74986         * nss/Versions: Add libnss_db information.  Organize libnss_files
74987         entries better.
74988         * nss/db-Makefile: Add gshadow support.  Change rules for the new
74989         makedb progra.  Some minor improvements to generate smaller files.
74990         * nss/nss_db/nss_db.h: Move NSS database header data structures to
74991         here from...
74992         * nss/makedb.c: ...here.
74993         Improve database format to be smaller and require less memory at
74994         runtime.
74995         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
74996         db anymore.
74997         * nss/nss_db/db-netgrp.c: Likewise.
74998         * nss/nss_db/db-open.c: Likewise.
74999         * nss/nss_files/flies-XXX.x: Adjust comments.
75000         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
75001         * nss/nss_files/files-grp.c: Likewise.
75002         * nss/nss_files/files-hosts.c: Likewise.
75003         * nss/nss_files/files-network.c: Likewise.
75004         * nss/nss_files/files-proto.c: Likewise.
75005         * nss/nss_files/files-pwd.c: Likewise.
75006         * nss/nss_files/files-rpc.c: Likewise.
75007         * nss/nss_files/files-service.c: Likewise.
75008         * nss/nss_files/files-sgrp.c: Likewise.
75009         * nss/nss_files/files-spwd.c: Likewise.
75010         * nss/nss_db/db-alias.c: Removed.
75011         * nss/nss_db/dummy-db.h: Removed.
75013 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
75015         * nss/makedb.c: Rewritten to not use database library.
75016         * nss/Makefile: Update to build new makedb program.
75018 2011-06-14  Andreas Jaeger  <aj@suse.de>
75020         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
75021         memset declaration.
75023 2011-06-10  Andreas Schwab  <schwab@redhat.com>
75025         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
75026         tmpbuf.
75028 2011-06-10  Roland McGrath  <roland@hack.frob.com>
75030         * Makerules (shlib.lds): Fail if the linker script comes out empty.
75031         * elf/Makefile ($(objpfx)ld.so): Likewise.
75033         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
75034         Don't list ld.so twice in dependencies.
75036         * posix/bug-regex31.c: Include <stdlib.h>.
75038         * nscd/hstcache.c (cache_addhst): Remove unused variable.
75040         * nis/nss_compat/compat-spwd.c
75041         (getspent_next_nss_netgr): Remove unused variable.
75042         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
75044         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
75045         nonmembers" output to use the right array.
75047         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
75049         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
75051         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
75052         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
75053         * catgets/gencat.c (read_input_file): Likewise.
75054         * locale/programs/locarchive.c (enlarge_archive): Likewise.
75056         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
75057         variable definition inside #if's controlling its use.
75059         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
75061         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
75063         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
75065         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
75066         unreachable code.
75068         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
75070         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
75071         * configure: Regenerated.
75073         * Makerules: Revert last change.
75074         * elf/Makefile: Likewise.
75076 2011-06-09  Roland McGrath  <roland@hack.frob.com>
75078         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
75079         * elf/Makefile ($(objpfx)librtld.os): Likewise.
75080         (reloc-link): Likewise.
75082 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
75084         * elf/Makefile: Add rules to build pldd.
75085         * elf/pldd.c: New file.
75086         * elf/pldd-xx.c: New file.
75088 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
75090         * version.h: Update for 2.15 development version.
75092 2011-06-07  David S. Miller  <davem@davemloft.net>
75094         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
75095         ifuncs.
75096         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
75097         elf_machine_lazy_rel): Likewise.
75098         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
75099         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
75100         elf_machine_lazy_rel): Likewise.
75101         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
75102         dl_hwcap via passed in argument.
75103         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
75104         Likewise.
75106 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75108         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
75110 2011-06-06  Roland McGrath  <roland@hack.frob.com>
75112         [BZ #12849]
75113         * manual/fdl-1.1.texi: New file, verbatim from:
75114         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
75115         * manual/lgpl-2.1.texi: New file, verbatim from:
75116         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
75117         * manual/Makefile (licenses): New variable, list those new file names.
75118         (texis): Use it.
75119         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
75121         * manual/fdl.texi: File removed.
75122         * manual/lesser.texi: File removed.
75123         * manual/libc.texinfo (Copying, Documentation License):
75124         Use new @include file names, put @appendix directive before @include.
75126 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
75128         [BZ #12841]
75129         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
75130         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
75131         (mq_open): Add __NTH.
75133 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
75135         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75136         Assume Intel Core i3/i5/i7 processor if AVX is available.
75138 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75140         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75141         typo.
75143 2011-05-31  Andreas Schwab  <schwab@redhat.com>
75145         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
75146         memory.  Use alloca_account.  Fix memory leak when retrying.
75148 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75150         * version.h (RELEASE): Bump for 2.14 release.
75151         * include/features.h (__GLIBC_MINOR__): Bump to 14.
75153         * config.make.in (RANLIB): Remove entry.
75155 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
75157         * po/Makefile (po-sed-cmd): Add ksh to extensions.
75158         (libc.pot): Work around missing support for .ksh extension in xgettext.
75160         [BZ #12684]
75161         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
75162         if both request failed.
75163         (send_dg): In case of server errors clear resplen or *resplen2.
75165         [BZ #12454]
75166         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
75167         when there are multiple maps.
75168         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
75169         (_dl_fini): Remove test here.
75171         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
75173 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
75175         [BZ #12350]
75176         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
75177         bit from old_res_options.
75178         (gaih_inet): Likewise.
75180         [BZ #11099]
75181         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
75182         as signed.
75184         * resolv/res_init.c (res_setoptions): Make the code more compact.
75186         [BZ #11558]
75187         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
75188         set RES_USEVC.
75190         [BZ #11634]
75191         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
75193         * malloc/malloc.h: Mark malloc hook variables as deprecated.
75195         [BZ #11781]
75196         * malloc/malloc.h: Declare malloc hook variables as volatile.
75198         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
75199         in last patch.
75201         [BZ #11799]
75202         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
75203         raise in the comment.
75204         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75205         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75206         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
75208 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
75210         [BZ #12811]
75211         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
75212         grow the buffers more if it already has to be sufficient.
75213         (build_wcs_upper_buffer): Likewise.
75214         * posix/regexec.c (check_matching): Likewise.
75215         (clean_state_log_if_needed): Likewise.
75216         (extend_buffers): Don't enlarge buffers beyond size of the input
75217         buffer.
75218         Patches mostly by Emil Wojak <emil@wojak.eu>.
75219         * posix/bug-regex32.c: New file.
75220         * posix/Makefile (tests): Add bug-regex32.
75222         * locale/findlocale.c (_nl_find_locale): Return right away if
75223         _nl_explode_name failed.
75224         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
75226         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
75228         * debug/xtrace.sh: Unify messages.
75229         * malloc/memusage.sh: Likewise.
75231         [BZ #12813]
75232         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
75233         time symbol from vDSO.  Substitute with vsyscall if not available.
75234         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
75235         __vdso_time.
75237         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
75238         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
75239         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
75240         Add sendmmsg and internal_sendmmsg.
75241         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
75242         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
75243         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
75245         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
75246         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
75247         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
75249 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
75251         [BZ #12813]
75252         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
75253         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
75254         available.
75255         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
75256         __vdso_getcpu.
75258         [BZ #12814]
75259         * iconvdata/Makefile (tests): Add bug-iconv9.
75260         * iconvdata/bug-iconv9.c: New file.
75262 2011-05-27  Andreas Schwab  <schwab@redhat.com>
75264         [BZ #12814]
75265         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
75267 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
75269         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75270         (struct user_regs_struct): Change intcs field back to cs.
75272 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
75274         * po/ja.po: Update from translation team.
75276 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
75278         [BZ #12795]
75279         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
75280         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
75282 2011-05-20  Andreas Schwab  <schwab@redhat.com>
75284         * stdlib/longlong.h: Update from GCC.
75286 2011-05-23  Andreas Schwab  <schwab@redhat.com>
75288         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
75289         parameter name.
75290         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
75291         Add parameter name.
75292         (__sysconf): Pass it down.
75294 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
75296         [BZ #12671]
75297         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
75298         some situations.
75299         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
75300         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
75301         add in in __libc_use_alloca calls.  Adjust callers.
75302         (glob): Use malloc in some situations.
75304         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
75305         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
75306         pltexit.
75308 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
75310         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
75311         and CLOCK_BOOTTIME_ALARM.
75313         [BZ #12782]
75314         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
75315         is returned.
75317         * string/_strerror.c (__strerror_r): Print negative errors as signed
75318         numbers.
75320         [BZ #12777]
75321         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
75322         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
75323         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
75325         * configure.in: Fix typo in redirection and correct removal of test
75326         files in two cases.
75328         [BZ #12788]
75329         * locale/setlocale.c (new_composite_name): Fix test to check for
75330         identical name of all categories.
75332         [BZ #12792]
75333         * libio/filedoalloc.c (local_isatty): New function.
75334         (_IO_file_doallocate): Use local_isatty.
75335         * stdio-common/perror.c (perror): In case a new stream is used
75336         forward the stream error.
75337         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
75338         error flag.
75340 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
75342         [BZ #11884]
75343         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
75344         alloca.
75345         * include/alloca.h (extend_alloca_account): Define.
75347         [BZ #11857]
75348         * posix/regex.h: Fix comments with documentation of user-accessible
75349         fields after compilation and describe correct free'ing of pattern
75350         after re_compile_pattern.
75351         Patch by Reuben Thomas <rrt@sc3d.org>.
75353 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
75355         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
75356         and -mno-altivec to prevent the compiler from using Altivec and/or
75357         VSX instructions when the corresponding registers are not available.
75359 2011-05-19  Andreas Schwab  <schwab@redhat.com>
75361         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
75363 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
75365         * libio/freopen.c (freopen): Use __dup2, not dup2.
75366         * libio/freopen64.c (freopen64): Likewise.
75368 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75370         [BZ #12775]
75371         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
75372         * math/Makefile (tests): Add test-powl.
75373         (CFLAGS-test-powl.c): Define.
75374         * math/test-powl.c: New file.
75376 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75378         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
75380 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
75382         [BZ #11837]
75383         * iconvdata/gb18030.c: Update to GB18020-2005.
75385 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
75387         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
75388         RE_SYNTAX_POSIX_AWK): Update to match recent development.
75389         Patch by Aharon Robbins <arnold@skeeve.com>.
75391         [BZ #11892]
75392         * stdlib/putenv.c (putenv): Don't always create copy of the variable
75393         on the stack.
75395         [BZ #11895]
75396         * misc/pselect.c (__pselect): Handle timeout value errors hidden
75397         through underflows.
75399         [BZ #12766]
75400         * misc/error.c (error_at_line): Ensure file_name and old_file_name
75401         point to strings before performing equality test for error_one_per_line
75402         mode.
75404         [BZ #11697]
75405         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
75407         [BZ #11820]
75408         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75409         (struct user_fpregs_struct): Avoid __uint*_t types.
75411         [BZ #6420]
75412         * malloc/mtrace.c (tr_where): Add additional parameter to point to
75413         symbol info.  Use it instead of calling _dl_addr locally.
75414         (lock_and_info): New function.
75415         (tr_freehook): Call lock_and_info and pass symbol info as additional
75416         parameter to tr_where.
75417         (tr_mallochook): Likewise.
75418         (tr_reallochook): Likewise.
75419         (tr_memalignhook): Likewise.
75421         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
75422         used and couldn't be at all thread-safe.
75424 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
75426         * libio/freopen.c (freopen): Don't close old file descriptor
75427         before the new one is opened.  Instead dup the new file descriptor
75428         to the old one after the new stream is created.
75429         * libio/freopen64.c (freopen64): Likewise.
75430         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
75431         * libio/fileops.c (_IO_new_file_close_it): Handle new
75432         _IO_FLAGS2_NOCLOSE flag.
75433         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
75434         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
75435         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
75436         _IO_FLAGS2_NOCLOSE flag.
75437         * include/unistd.h: Add hidden_proto for dup3.
75438         Define __have_dup3.
75439         * io/dup3.c: Define hidden symbol.
75440         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
75442         [BZ #7101]
75443         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
75444         when an incomplete long option is used.
75445         * posix/tst-getopt_long1.c: New file.
75446         * posix/Makefile (tests): Add tst-getopt_long1.
75448         [BZ #10138]
75449         * scripts/config.guess: Update from autoconf-2.68.
75450         * scripts/config.sub: Likewise.
75452         [BZ #10157]
75453         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
75454         tests into ...
75455         (has_cpuclock): ...this.  New function.
75456         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
75457         macro here based on has_cpuclock code.
75459         [BZ #10149]
75460         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75461         First byte (not low byte) is now always NUL.
75462         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
75464         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75465         Use non-cancelable interfaces.
75467         [BZ #9809]
75468         * locale/iso-639.def: Add entry for Sorani.
75470         [BZ #11901]
75471         * include/stdlib.h: Move include protection to the right place.
75472         Define abort_msg_s.  Declare __abort_msg with it.
75473         * stdlib/abort.c (__abort_msg): Adjust type.
75474         * assert/assert.c (__assert_fail_base): New function.  Majority
75475         of code from __assert_fail.  Allocate memory for __abort_msg with
75476         mmap.
75477         (__assert_fail): Now call __assert_fail_base.
75478         * assert/assert-perr.c: Remove bulk of implementation.  Use
75479         __assert_fail_base.
75480         * include/assert.hL Declare __assert_fail_base.
75481         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
75482         mmap.
75483         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
75485 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
75487         [BZ #11952]
75488         [BZ #12453]
75489         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
75490         until all modules are registered in the DTV.
75491         * elf/Makefile: Add rules to build and run tst-tls19.
75492         * elf/tst-tls19.c: New file.
75493         * elf/tst-tls19mod1.c: New file.
75494         * elf/tst-tls19mod2.c: New file.
75495         * elf/tst-tls19mod3.c: New file.
75496         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
75498         [BZ #12083]
75499         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
75500         correctly.
75502         [BZ #12601]
75503         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
75504         two-byte sequence errors.
75505         * iconvdata/Makefile (tests): Add bug-iconv8.
75506         * iconvdata/bug-iconv8.c: New file.
75508         [BZ #12626]
75509         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
75510         buf2 definition.
75512         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
75514         [BZ #12432]
75515         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
75516         (dummy_getcfa): New function.
75517         (init): Get _Unwind_GetCFA address, use dummy if not found.
75518         (backtrace_helper): In recursion check, also check whether CFA changes.
75519         (__backtrace): Completely initialize arg.
75521         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
75522         storing incomplete byte sequence in state object.  Avoid testing for
75523         guaranteed too small input if we know there is enough data available.
75525 2011-05-11  Andreas Schwab  <schwab@redhat.com>
75527         * Makeconfig (+link-pie): Indent.
75528         * Rules (binaries-pie): Define if $(have-fpie) and
75529         $(build-shared).
75530         (binaries-shared): Also filter out $(binaries-pie).
75531         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
75532         * nscd/Makefile (others-pie): Add nscd.
75533         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
75534         ($(objpfx)nscd): Remove command override.
75535         * login/Makefile (others-pie): Add pt_chown.
75536         ($(objpfx)pt_chown): Remove command override.
75537         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
75538         remove command overrides.
75540 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
75542         * libio/tst_putwc.c: Fix error messages.
75544         [BZ #12724]
75545         * libio/fileops.c (_IO_new_file_close_it): Always flush when
75546         currently writing and seek to current position when not.
75547         * libio/Makefile (tests): Add bug-fclose1.
75548         * libio/bug-fclose1.c: New file.
75550 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
75552         [BZ #12511]
75553         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
75554         don't set DF_1_NODELETE here.
75555         (do_lookup_x): When entering new entry test for copy relocation
75556         and if necessary set DF_1_NODELETE flag.
75557         * elf/tst-unique4.cc: New file.
75558         * elf/tst-unique4.h: New file.
75559         * elf/tst-unique4lib.cc: New file.
75560         * elf/Makefile: Add rules to build and run tst-unique4.
75561         Patch by Piotr Bury <pbury@goahead.com>.
75563 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
75565         [BZ #12052]
75566         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
75568         [BZ #12625]
75569         * misc/mntent_r.c (addmntent): Flush the stream after the output
75571         [BZ #12393]
75572         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
75573         (is_trusted_path_normalize): Skip initial colon.  Append slash
75574         to empty buffer.  Duplicate is_trusted_path code but allow
75575         constructed patch to be prefix.
75576         (is_dst): Allow $ORIGIN followed by /.
75577         (_dl_dst_substitute): Correct clearing of check_for_trusted.
75578         Correct testing of result of is_trusted_path_normalize
75579         (decompose_rpath): Fix warning.
75581 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
75583         [BZ #11257]
75584         * grp/initgroups.c (internal_getgrouplist): When we found the service
75585         list through the initgroups entry in nsswitch.conf do not always
75586         continue on a successful lookup.  Don't always use the
75587         __nss_group_database value if it is set.
75588         * nss/nsswitch.conf (initgroups): Change action for successful db
75589         lookup to continue for compatibility.
75591 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
75593         [BZ #11532]
75594         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75595         and CP774 modules.
75596         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75597         and CP774 modules.
75598         * iconvdata/tst-tables.sh: Likewise.
75599         * iconvdata/cp770.c: New file.
75600         * iconvdata/cp771.c: New file.
75601         * iconvdata/cp772.c: New file.
75602         * iconvdata/cp773.c: New file.
75603         * iconvdata/cp774.c: New file.
75604         * iconvdata/testdata/CP770: New file.
75605         * iconvdata/testdata/CP770..UTF8: New file.
75606         * iconvdata/testdata/CP771: New file.
75607         * iconvdata/testdata/CP771..UTF8: New file.
75608         * iconvdata/testdata/CP772: New file.
75609         * iconvdata/testdata/CP772..UTF8: New file.
75610         * iconvdata/testdata/CP773: New file.
75611         * iconvdata/testdata/CP773..UTF8: New file.
75612         * iconvdata/testdata/CP774: New file.
75613         * iconvdata/testdata/CP774..UTF8: New file.
75615         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75616         END CHARMAP line.
75617         * iconvdata/gen-8bit-gap.sh: Likewise.
75618         * iconvdata/gen-8bit.sh: Likewise.
75620         * locale/iso-639.def: Add ary entry.
75622         [BZ #11258]
75623         * locale/C-translit.h.in: Add U20A1 transliteration.
75625         [BZ #12178]
75626         * locale/iso-639.def: Add wae entry.
75627         Patch by Kevin Bortis <bortis@translate-wae.ch>.
75629         [BZ #12545]
75630         * locale/programs/localedef.c (construct_output_path): Use ssize_t
75631         for n.
75633         [BZ #12711]
75634         * locale/C-translit.h.in: Add entry for U20B9.
75635         Patch by pravin.d.s@gmail.com.
75637 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
75639         [BZ #12713]
75640         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75641         ENAMETOOLONG use generic getcwd.
75642         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
75643         in rtld.  Use *stat64.
75644         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75645         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75646         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75647         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75648         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75649         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75650         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75651         __fstatat64 macros.
75652         * include/dirent.h: Add libc_hidden_proto for rewinddir.
75653         * dirent/rewinddir.c: Add libc_hidden_def.
75654         * sysdeps/mach/hurd/rewinddir.c: Likewise.
75655         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
75657         * include/dirent.h (__alloc_dir): Add flags parameter.
75658         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75659         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75660         __alloc_dir.
75661         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
75662         from fdopendir if O_CLOEXEC is already set.
75664 2011-03-15  Alan Modra  <amodra@gmail.com>
75666         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75667         l_tls_firstbyte_offset non-zero.  Save padding offset in
75668         l_tls_firstbyte_offset for later use.
75669         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75670         freeing static tls block.
75672 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
75674         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75675         where #ifdef was intended.  The intent is to prevent ARG_MAX from
75676         being defined by the kernel headers.
75678 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
75680         [BZ #12734]
75681         * resolv/resolv.h: Define RES_NOTLDQUERY.
75682         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75683         no-tld-query and set RES_NOTLDQUERY.
75684         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75685         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75686         modern BIND to search name as TLD unless forbidden.
75688 2011-05-07  Petr Baudis  <pasky@suse.cz>
75689             Ulrich Drepper  <drepper@gmail.com>
75691         [BZ #12393]
75692         * elf/dl-load.c (fillin_rpath): Move trusted path check...
75693         (is_trusted_path): ...to here.
75694         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75695         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75696         using is_trusted_path_normalize() in setuid scripts.
75698 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
75700         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75701         __BEGIN/__END_DECLS.
75703 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
75705         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75706         NSS_STATUS_NOTFOUND if no record was found.
75708 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75710         * sunrpc/Makefile (headers): Add rpc/netdb.h.
75711         (headers-not-in-tirpc): Remove rpc/netdb.h
75712         * resolv/netdb.h: Revert last change.
75714 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75716         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75717         circular dependency between libgcc.a and libc.a.
75719 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75721         * resolv/netdb.h: Don't include <rpc/netdb.h>.
75722         * nis/Makefile: Don't install rpcsvc/*.
75723         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75724         instead of <rpc/types.h>.
75725         (MAXHOSTNAMELEN): Define.
75727 2011-05-03  Andreas Schwab  <schwab@redhat.com>
75729         * elf/ldconfig.c (add_dir): Don't crash on empty path.
75731 2011-04-28  Maciej Babinski  <mbabinski@google.com>
75733         [BZ #12714]
75734         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75735         gethostbyname4_r when IPv6 results are possible.
75737 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
75739         [BZ #12723]
75740         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75741         _PC_PIPE_BUF handling.
75743 2011-04-30  Bruno Haible  <bruno@clisp.org>
75745         [BZ #12717]
75746         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75747         * resolv/netdb.h (getnameinfo): Change type of flags parameter
75748         to 'int'.
75749         * inet/getnameinfo.c (getnameinfo): Likewise.
75751 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
75753         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75754         to groups setting in database lookup.
75755         * nss/nsswitch.conf: Add initgroups entry.
75757 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
75759         [BZ #12685]
75760         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75761         mode string.
75762         Patch by Eric Blake <eblake@redhat.com>.
75764 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
75766         * sunrpc/Makefile (need-export-routines): Add svc_run.
75767         (routines): Remove svc_run.
75768         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75769         * sunrpc/clnt_perr.c (clnt_perrno): Export.
75770         * sunrpc/svc_run.c (svc_run): Likewise.
75771         * sunrpc/svc_udp.c (svcudp_create): Likewise.
75773 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
75775         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75776         problem in reallocation in last patch.
75778 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
75780         * sunrpc/Makefile: Move inclusion of Rules.
75782 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75784         * nss/nss_files/files-initgroups.c: New file.
75785         * nss/Makefile (libnss_files-routines): Add files-initgroups.
75786         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75787         _nss_files_initgroups_dyn.
75789 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
75791         * elf/elf.h (R_ARM_IRELATIVE): Define.
75793 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75795         * po/ru.po: Update from translation team.
75797 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75799         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75800         dependencies.
75802 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
75804         [BZ #12653]
75805         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75806         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75807         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75808         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75809         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75811 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
75813         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75814         differing bytes.
75815         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75816         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75817         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75819 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75821         [BZ #12420]
75822         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75823         storing it.
75824         * stdlib/bug-getcontext.c: New file.
75825         * stdlib/Makefile: Add rules to build and run bug-getcontext.
75827 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75829         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75830         instructions into .machine "z9-109".
75831         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75832         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75834 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75836         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75837         between environment variables and auxiliary vector.
75839 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
75841         * Makefile: Add rules to build linkobj/libc.so.
75842         * include/libc-symbols.h: Define libc_hidden_nolink.
75843         * include/rpc/auth.h: Mark functions which are to be hidden.
75844         * include/rpc/auth_des.h: Likewise.
75845         * include/rpc/auth_unix.h: Likewise.
75846         * include/rpc/clnt.h: Likewise.
75847         * include/rpc/des_crypt.h: Likewise.
75848         * include/rpc/key_prot.h: Likewise.
75849         * include/rpc/pmap_clnt.h: Likewise.
75850         * include/rpc/pmap_prot.h: Likewise.
75851         * include/rpc/pmap_rmt.h: Likewise.
75852         * include/rpc/rpc_msg.h: Likewise.
75853         * include/rpc/svc.h: Likewise.
75854         * include/rpc/svc_auth.h: Likewise.
75855         * include/rpc/xdr.h: Likewise.
75856         * nis/Makefile: Link all DSOs against linkobj/libc.so.
75857         * nss/Makefile: Likewise.
75858         * sunrpc/Makefile: Don't install headers.  Build library with normal
75859         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
75860         * sunrpc/auth_des.c: Hide exported symbols by default, export some
75861         for the compat linking library.  Remove use of INTDEF/INTUSE.
75862         * sunrpc/auth_none.c: Likewise.
75863         * sunrpc/auth_unix.c: Likewise.
75864         * sunrpc/authdes_prot.c: Likewise.
75865         * sunrpc/authuxprot.c: Likewise.
75866         * sunrpc/clnt_gen.c: Likewise.
75867         * sunrpc/clnt_perr.c: Likewise.
75868         * sunrpc/clnt_raw.c: Likewise.
75869         * sunrpc/clnt_simp.c: Likewise.
75870         * sunrpc/clnt_tcp.c: Likewise.
75871         * sunrpc/clnt_udp.c: Likewise.
75872         * sunrpc/clnt_unix.c: Likewise.
75873         * sunrpc/des_crypt.c: Likewise.
75874         * sunrpc/des_soft.c: Likewise.
75875         * sunrpc/get_myaddr.c: Likewise.
75876         * sunrpc/key_call.c: Likewise.
75877         * sunrpc/key_prot.c: Likewise.
75878         * sunrpc/netname.c: Likewise.
75879         * sunrpc/pm_getmaps.c: Likewise.
75880         * sunrpc/pm_getport.c: Likewise.
75881         * sunrpc/pmap_clnt.c: Likewise.
75882         * sunrpc/pmap_prot.c: Likewise.
75883         * sunrpc/pmap_prot2.c: Likewise.
75884         * sunrpc/pmap_rmt.c: Likewise.
75885         * sunrpc/publickey.c: Likewise.
75886         * sunrpc/rpc_cmsg.c: Likewise.
75887         * sunrpc/rpc_common.c: Likewise.
75888         * sunrpc/rpc_dtable.c: Likewise.
75889         * sunrpc/rpc_prot.c: Likewise.
75890         * sunrpc/rpc_thread.c: Likewise.
75891         * sunrpc/rtime.c: Likewise.
75892         * sunrpc/svc.c: Likewise.
75893         * sunrpc/svc_auth.c: Likewise.
75894         * sunrpc/svc_authux.c: Likewise.
75895         * sunrpc/svc_raw.c: Likewise.
75896         * sunrpc/svc_run.c: Likewise.
75897         * sunrpc/svc_simple.c: Likewise.
75898         * sunrpc/svc_tcp.c: Likewise.
75899         * sunrpc/svc_udp.c: Likewise.
75900         * sunrpc/svc_unix.c: Likewise.
75901         * sunrpc/svcauth_des.c: Likewise.
75902         * sunrpc/xcrypt.c: Likewise.
75903         * sunrpc/xdr.c: Likewise.
75904         * sunrpc/xdr_array.c: Likewise.
75905         * sunrpc/xdr_float.c: Likewise.
75906         * sunrpc/xdr_intXX_t.c: Likewise.
75907         * sunrpc/xdr_mem.c: Likewise.
75908         * sunrpc/xdr_rec.c: Likewise.
75909         * sunrpc/xdr_ref.c: Likewise.
75910         * sunrpc/xdr_sizeof.c: Likewise.
75911         * sunrpc/xdr_stdio.c: Likewise.
75913 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
75915         [BZ #12650]
75916         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75917         * sysdeps/ia64/dl-tls.h: Likewise.
75918         * sysdeps/powerpc/dl-tls.h: Likewise.
75919         * sysdeps/s390/dl-tls.h: Likewise.
75920         * sysdeps/sh/dl-tls.h: Likewise.
75921         * sysdeps/sparc/dl-tls.h: Likewise.
75922         * sysdeps/x86_64/dl-tls.h: Likewise.
75923         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75925 2011-03-14  Andreas Schwab  <schwab@redhat.com>
75927         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75928         rpath element also skip the following colon.
75929         (expand_dynamic_string_token): Add is_path parameter and pass
75930         down to DL_DST_REQUIRED and _dl_dst_substitute.
75931         (decompose_rpath): Call expand_dynamic_string_token with
75932         non-zero is_path.  Ignore empty rpaths.
75933         (_dl_map_object_from_fd): Call expand_dynamic_string_token
75934         with zero is_path.
75936 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
75938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75939         Make cancelable.
75941 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
75943         [BZ #12655]
75944         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75945         Patch by Filipe David Manana <fdmanana@apache.org>.
75947 2011-04-07  Andreas Schwab  <schwab@redhat.com>
75949         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75950         Maintain aligned stack.
75951         (CHECK_RSP): Remove unused macro.
75953 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
75955         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75956         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75958 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
75960         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75962         * include/features.h: Mention __USE_XOPEN2K8 in comment.
75964 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
75966         [BZ #12518]
75967         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75968         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75969         * sysdeps/x86_64/memmove.c: New file.
75970         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75971         (memcpy): Renamed to ...
75972         (__new_memcpy): This.
75973         (memcpy): Provide GLIBC_2_14 memcpy.
75974         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75975         (memcpy): Provide GLIBC_2_2_5 memcpy.
75977 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75979         [BZ #12631]
75980         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75982 2011-03-30  Andreas Schwab  <schwab@redhat.com>
75984         * misc/syncfs.c: New file.
75985         * misc/Makefile (routines): Add syncfs.
75986         * posix/unistd.h: Declare syncfs.
75987         * sysdeps/unix/syscalls.list: Add syncfs.
75989 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75991         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75992         open_by_handle_at.
75993         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75994         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75995         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75996         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75997         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75998         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75999         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76001 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76003         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
76004         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76005         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
76006         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76007         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76008         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76009         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76011         * io/Makefile: Compile fallocate.c, fallocate64.c, and
76012         sync_file_range.c with -fexceptions.
76013         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
76014         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
76015         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
76016         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
76017         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
76018         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
76019         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
76020         sync_file_range as cancellation point
76021         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
76022         now a wrapper around __call_sync_file_range with cancellation handling.
76023         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
76024         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
76025         function name to __call_sync_file_range.
76026         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
76027         Add call_sync_file_range.
76029 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76031         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76032         bits/timex.h.
76034 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76036         * iconv/iconv.h: Fix typo in comment.
76037         * io/fcntl.h: Likewise.
76038         * libio/stdio.h: Likewise.
76039         * posix/spawn.h: Likewise.
76040         * posix/unistd.h: Likewise.
76041         * stdlib/stdlib.h: Likewise.
76042         * time/time.h: Likewise.
76043         * wcsmbs/wchar.h: Likewise.
76045         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
76046         open_by_handle): Add.
76047         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
76048         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
76049         Augment a few comments.
76050         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76051         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76052         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76053         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76054         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76055         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
76056         open_by_handle.
76058         * io/fcntl.h (AT_EMPTY_PATH): Define.
76060 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
76062         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
76063         * sysdeps/unix/sysv/linux/bits/time.h: New file.
76064         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
76065         to...
76066         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
76067         * Versions.def: Add GLIBC_2.14.
76068         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
76069         Export.
76071 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
76073         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
76074         round counter.
76075         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76077 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76079         [BZ #12597]
76080         * string/test-strncmp.c (do_page_test): New function.
76081         (check2): Likewise.
76082         (test_main): Call check2.
76083         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
76085 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
76087         [BZ #12587]
76088         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
76089         Handle cache information in CPU leaf 4.
76090         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76092 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
76094         [BZ #12583]
76095         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
76096         character representation.
76097         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
76099 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
76101         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
76102         END(__isnan) to END(__isnanf) to match function entry point/label
76103         EALIGN(__isnanf,...).
76105 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
76107         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
76109 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
76111         [BZ #12510]
76112         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
76113         copy from the symbol referenced in the relocation to initialize the
76114         used variable.
76115         Patch by Piotr Bury <pbury@goahead.com>.
76116         * elf/Makefile: Add rules to build and tst-unique3.
76117         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
76118         * elf/tst-unique3.cc: New file.
76119         * elf/tst-unique3.h: New file.
76120         * elf/tst-unique3lib.cc: New file.
76121         * elf/tst-unique3lib2.cc: New file.
76123         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
76125 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
76127         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
76128         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
76129         to _start.
76131 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
76133         * elf/dl-load.c (_dl_map_object): If we are looking for the first
76134         to-be-loaded object along a path to loader is ld.so.
76136 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76137             Ulrich Drepper  <drepper@gmail.com>
76139         * sysdeps/x86_64/memset.S: After aligning destination, code
76140         branches to different locations depending on the value of
76141         misalignment, when multiarch is enabled. Fix this.
76143 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76145         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
76146         Set _x86_64_preferred_memory_instruction for AMD processsors.
76147         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76148         Set bit_Prefer_SSE_for_memop for AMD processors.
76150 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
76152         * libio/fmemopen.c (fmemopen): Optimize a bit.
76154 2011-03-03  Andreas Schwab  <schwab@redhat.com>
76156         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
76158 2011-03-03  Roland McGrath  <roland@redhat.com>
76160         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
76162 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
76164         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
76165         __bzero_ultra1 instead of __memset_ultra1.
76167 2011-02-23  Andreas Schwab  <schwab@redhat.com>
76168             Ulrich Drepper  <drepper@gmail.com>
76170         [BZ #12509]
76171         * include/link.h (struct link_map): Add l_orig_initfini.
76172         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
76173         returning unsuccessfully.
76174         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
76175         close of a file loaded at startup, restore the original l_initfini
76176         list.
76177         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
76178         list, store the pointer.
76179         * elf/Makefile ($(objpfx)noload-mem): New rule.
76180         (noload-ENV): Define.
76181         (tests): Add $(objpfx)noload-mem.
76182         * elf/noload.c: Include <memcheck.h>.
76183         (main): Call mtrace.  Close all opened handles.
76185 2011-02-17  Andreas Schwab  <schwab@redhat.com>
76187         [BZ #12454]
76188         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
76189         dependencies are missing.
76191 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76193         Fix __if_freereq crash: Unlike the generic version which uses free,
76194         Hurd needs munmap.
76195         * sysdeps/mach/hurd/ifreq.h: New file.
76197 2011-01-27  Petr Baudis  <pasky@suse.cz>
76198             Ulrich Drepper  <drepper@gmail.com>
76200         [BZ 12445]#
76201         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
76202         to extend_alloca().
76203         * stdio-common/bug23.c: New file.
76204         * stdio-common/Makefile (tests): Add bug23.
76206 2010-09-28  Andreas Schwab  <schwab@redhat.com>
76207             Ulrich Drepper  <drepper@gmail.com>
76209         [BZ #12489]
76210         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
76211         before performing relro protection.  At old place add assertion
76212         to make sure nothing changed.
76214 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
76215             Glauber de Oliveira Costa  <glommer@gmail.com>
76217         * elf/elf.h: Add new ARM TLS relocs.
76219 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
76221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76222         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
76223         cast from r3.
76224         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
76225         'tests' variable.
76226         * sysdeps/wordsize-64/tst-writev.c: New file.
76228 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
76230         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
76231         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
76232         insns in _dl_start to prevent a TOC reference before relocs are
76233         resolved.
76235 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
76237         [BZ #12469]
76238         * Makeconfig: Remove RANLIB definition.
76239         * Makerules: Don't use RANLIB.
76240         * aclocal.m4: Remove ranlib test.
76241         * configure.in: No need to check for ranlib.
76242         * elf/rtld-Rules: Don't use RANLIB.
76244 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76246         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
76247         protection macro.
76248         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
76249         inclusion protection macro.
76251         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
76252         SIGRTMIN and SIGRTMAX and print information in that case only when
76253         SIGRTMIN is defined.
76255 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
76257         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
76258         arginfo fn returning -1.
76260         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
76261         and thousands string is zero terminated.
76263 2011-02-03  Andreas Schwab  <schwab@redhat.com>
76265         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
76266         sysdeps/unix/sysv/linux/bits/socket.h.
76268 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76270         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
76271         (__CPU_COUNT): Remove old macros.
76272         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
76273         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
76274         (__CPU_ALLOC, __CPU_FREE): Add macros.
76275         (__sched_cpualloc, __sched_cpufree): Add declarations.
76277 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
76279         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
76280         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
76281         * nscd/aicache.c (addhstaiX): Return timeout of added value.
76282         (readdhstai): Return value of addhstaiX call.
76283         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
76284         (addgrbyX): Return value returned by cache_addgr.
76285         (readdgrbyname): Return value returned by addgrbyX.
76286         (readdgrbygid): Likewise.
76287         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
76288         (addpwbyX): Return value returned by cache_addpw.
76289         (readdpwbyname): Return value returned by addhstbyX.
76290         (readdpwbyuid): Likewise.
76291         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
76292         (addservbyX): Return value returned by cache_addserv.
76293         (readdservbyname): Return value returned by addservbyX:
76294         (readdservbyport): Likewise.
76295         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
76296         (addhstbyX): Return value returned by cache_addhst.
76297         (readdhstbyname): Return value returned by addhstbyX.
76298         (readdhstbyaddr): Likewise.
76299         (readdhstbynamev6): Likewise.
76300         (readdhstbyaddrv6): Likewise.
76301         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
76302         (readdinitgroups): Return value returned by addinitgroupsX.
76303         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
76304         (prune_cache): Keep track of timeout value of re-added entries.
76305         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
76306         * nscd/nscd.h: Adjust prototypes of readd* functions.
76308 2011-02-04  Roland McGrath  <roland@redhat.com>
76310         * nis/nis_server.c (nis_servstate): Use the right name for 0.
76311         (nis_stats): Likewise.
76312         * nis/nis_modify.c (nis_modify): Likewise.
76313         * nis/nis_remove.c (nis_remove): Likewise.
76314         * nis/nis_add.c (nis_add): Likewise.
76316         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
76318         * posix/fnmatch_loop.c: Add some consts.
76320         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
76322 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
76324         [BZ #12460]
76325         * config.make.in (config-cflags-novzeroupper): Define.
76326         * configure.in: Substitute libc_cv_cc_novzeroupper.
76327         * elf/Makefile (AVX-CFLAGS): Define.
76328         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
76329         (CFLAGS-tst-auditmod4a.c): Likewise.
76330         (CFLAGS-tst-auditmod4b.c): Likewise.
76331         (CFLAGS-tst-auditmod6b.c): Likewise.
76332         (CFLAGS-tst-auditmod6c.c): Likewise.
76333         (CFLAGS-tst-auditmod7b.c): Likewise.
76334         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
76336 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
76338         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
76339         function to the callback.
76340         Patch partly by Jiri Olsa <jolsa@redhat.com>.
76342 2011-02-02  Andreas Schwab  <schwab@redhat.com>
76344         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
76345         of errno.
76347 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
76349         [BZ #11724]
76350         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
76351         of constructors.
76352         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
76353         of destructors.
76354         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
76356         [BZ #11724]
76357         * elf/Makefile: Add rules to build and run new test.
76358         * elf/tst-initorder.c: New file.
76359         * elf/tst-initorder.exp: New file.
76360         * elf/tst-initordera1.c: New file.
76361         * elf/tst-initordera2.c: New file.
76362         * elf/tst-initordera3.c: New file.
76363         * elf/tst-initordera4.c: New file.
76364         * elf/tst-initorderb1.c: New file.
76365         * elf/tst-initorderb2.c: New file.
76366         * elf/tst-order-a1.c: New file.
76367         * elf/tst-order-a2.c: New file.
76368         * elf/tst-order-a3.c: New file.
76369         * elf/tst-order-a4.c: New file.
76370         * elf/tst-order-b1.c: New file.
76371         * elf/tst-order-b2.c: New file.
76372         * elf/tst-order-main.c: New file.
76373         New test case by George Gensure <werkt0@gmail.com>.
76375 2010-10-01  Andreas Schwab  <schwab@redhat.com>
76377         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76378         decoding ACE if AI_CANONIDN.
76380 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
76382         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
76384 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
76386         * version.h (RELEASE): Bump for 2.13 release.
76387         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
76389         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
76391         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
76392         MADV_NOHUGEPAGE.
76393         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
76394         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
76395         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76396         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76397         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76398         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76400         * posix/getconf.c: Update copyright year.
76401         * catgets/gencat.c: Likewise.
76402         * csu/version.c: Likewise.
76403         * debug/catchsegv.sh: Likewise.
76404         * debug/xtrace.sh: Likewise.
76405         * elf/ldconfig.c: Likewise.
76406         * elf/ldd.bash.in: Likewise.
76407         * elf/sprof.c (print_version): Likewise.
76408         * iconv/iconv_prog.c: Likewise.
76409         * iconv/iconvconfig.c: Likewise.
76410         * locale/programs/locale.c: Likewise.
76411         * locale/programs/localedef.c: Likewise.
76412         * malloc/memusage.sh: Likewise.
76413         * malloc/mtrace.pl: Likewise.
76414         * nscd/nscd.c (print_version): Likewise.
76415         * nss/getent.c: Likewise.
76417         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
76418         PF_CAIF, and PF_ALG.
76419         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76421 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
76423         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
76424         (modules-names): Use them.
76425         (ifunc-test-modules, ifunc-pie-tests): Define.
76426         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
76427         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
76428         (test-extras): Likewise.
76429         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
76430         $(compile-command.c).
76431         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
76432         (all-built-dso): Define.
76433         (check-textrel.out, check-execstack.out): Depend on it.
76435         * configure.in: Don't override --enable-multi-arch.
76437 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
76439         [BZ #6812]
76440         * nscd/hstcache.c (tryagain): Define.
76441         (cache_addhst): Return tryagain not notfound for temporary errors.
76442         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
76443         failed.
76445 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
76447         [BZ #10563]
76448         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
76449         to make the syscall.
76450         * sysdeps/unix/sysv/linux/setgroups.c: New file.
76452         [BZ #12378]
76453         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
76454         and fall back to matching as normal character if the string ends before
76455         the matching ']' is found.  This is what POSIX requires.
76456         * posix/testfnm.c: Adjust test result.
76457         * posix/globtest.sh: Adjust test result.  Add new test.
76458         * posix/tst-fnmatch.input: Likewise.
76459         * posix/tst-fnmatch2.c: Add new test.
76461 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
76463         * elf/Makefile (check-execstack): Revert last change.  Depend on
76464         check-execstack.h.
76465         (check-execstack.h): New target.
76466         (generated): Add check-execstack.h.
76467         * elf/check-execstack.c: Include "check-execstack.h".
76468         (main): Revert last change.
76469         (handle_file): Return zero if GNU_STACK is absent and
76470         DEFAULT_STACK_PERMS doesn't include PF_X.
76472 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
76474         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
76475         in child fails because the descriptor is already closed.
76476         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
76477         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
76478         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
76480         [BZ #12397]
76481         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
76482         syscall.
76484         [BZ #10484]
76485         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
76486         temporary buffer used to handle multi lookups locally.
76487         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
76489 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76491         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
76492         loader is ld.so.
76494 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
76496         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
76497         alignment for SSE2.
76499 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76501         [BZ #12394]
76502         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
76503         characters.  When rounding increased number of integer digits recompute
76504         number of groups.
76505         * stdio-common/tst-grouping.c: New file.
76506         * stdio-common/Makefile: Add rules to build and run tst-grouping.
76508 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
76510         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
76511         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
76513         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
76514         void.
76515         * bits/select.h: Likewise.
76517 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
76519         * po/ja.po: Update from translation team.
76521 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
76523         [BZ #11155]
76524         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
76525         implementation just like for lxstat, fxstatat, et al.
76527 2010-12-27  Jim Meyering  <meyering@redhat.com>
76529         [BZ #12348]
76530         * posix/regexec.c (build_trtable): Return failure indication upon
76531         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
76533 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
76535         [BZ #12201]
76536         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
76537         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
76538         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
76539         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
76541         [BZ #12207]
76542         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
76544         [BZ #12204]
76545         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
76546         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
76548 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
76550         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
76551         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
76552         script has SORT_BY_INIT_PRIORITY.
76553         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
76554         NO_CTORS_DTORS_SECTIONS is defined.
76555         * elf/soinit.c: Likewise.
76556         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
76557         NO_CTORS_DTORS_SECTIONS is defined.
76558         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
76559         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
76560         * sysdeps/sh/init-first.c: Likewise.
76561         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
76563 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
76565         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
76566         always use the slow path.
76568 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
76570         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
76571         similar rule which adds the sysdep directories to the header search in
76572         order to pick up the correct platform stackinfo.h.
76573         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
76574         perform test if it is, otherwise return successfully without testing.
76575         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
76576         DEFAULT_STACK_PERMS define in stackinfo.h.
76577         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
76578         defined in stackinfo.h.
76579         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
76580         DEFAULT_STACK_PERMS defined in stackinfo.h.
76581         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
76582         * sysdeps/ia64/stackinfo.h: Likewise.
76583         * sysdeps/s390/stackinfo.h: Likewise.
76584         * sysdeps/sh/stackinfo.h: Likewise.
76585         * sysdeps/sparc/stackinfo.h: Likewise.
76586         * sysdeps/x86_64/stackinfo.h: Likewise.
76587         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76588         PF_X for powerpc64.  Retain PF_X for powerpc32.
76590 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
76592         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76593         accurately.
76594         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76595         GETDENTS_64BIT_ALIGNED.
76597 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
76599         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76601 2010-12-10  Andreas Schwab  <schwab@redhat.com>
76603         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76604         _GNU_SOURCE.
76606         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76607         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76608         Remove __restrict.
76609         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76610         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76612 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
76614         [BZ #11655]
76615         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76616         are initialized.
76618 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
76620         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76622 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
76624         * po/it.po: Update from translation team.
76626 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
76628         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76629         unused codes.
76631 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
76633         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76635 2010-11-24  Andreas Schwab  <schwab@redhat.com>
76637         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76638         specially.
76639         (gaih_getanswer_slice): Likewise.
76641 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
76643         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76645 2010-05-31  Petr Baudis  <pasky@suse.cz>
76647         [BZ #11149]
76648         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76649         silently even in the chroot mode.
76651 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
76653         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76654         last patch a bit.  Pretty printing
76656 2010-05-31  Petr Baudis <pasky@suse.cz>
76658         [BZ #10085]
76659         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76660         initialization of skip_initgroups_dyn.
76662 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
76664         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76665         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76667 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
76669         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76671 2010-11-11  Andreas Schwab  <schwab@redhat.com>
76673         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76674         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76675         (tst-fnmatch-ENV): Set MALLOC_TRACE.
76676         ($(objpfx)tst-fnmatch-mem): New rule.
76677         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76678         * posix/tst-fnmatch.c (main): Call mtrace.
76680 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
76682         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76683         Support Intel processor model 6 and model 0x2c.
76685 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
76687         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76688           signed comparison.
76690 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
76692         [BZ #12205]
76693         * string/test-strncasecmp.c (check_result): New function.
76694         (do_one_test): Use it.
76695         (check1): New function.
76696         (test_main): Use it.
76697         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76698         Support strcasecmp and strncasecmp.
76700 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
76702         [BZ #12194]
76703         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76704         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76706 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
76708         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76709         IFUNC support.
76710         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76711         memset-x86-64.
76712         * sysdeps/x86_64/multiarch/bzero.S: New file.
76713         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76714         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76715         * sysdeps/x86_64/multiarch/memset.S: New file.
76716         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76717         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76718         Set bit_Prefer_SSE_for_memop for Intel processors.
76719         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76720         Define.
76721         (index_Prefer_SSE_for_memop): Define.
76722         (HAS_PREFER_SSE_FOR_MEMOP): Define.
76724 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
76726         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76727         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76729 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
76731         [BZ #12191]
76732         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76733         (__x86_64_raw_data_cache_size_half): Likewise.
76734         (__x86_64_raw_shared_cache_size): Likewise.
76735         (__x86_64_raw_shared_cache_size_half): Likewise.
76737         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76738         (__x86_64_raw_data_cache_size_half): Likewise.
76739         (__x86_64_raw_shared_cache_size): Likewise.
76740         (__x86_64_raw_shared_cache_size_half): Likewise.
76741         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76742         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76743         and __x86_64_raw_shared_cache_size_half.  Round
76744         __x86_64_data_cache_size_half, __x86_64_data_cache_size
76745         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76746         to multiple of 256 bytes.
76748 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
76750         [BZ #12167]
76751         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76752         of inacessible symlinks.  Verify result of symlink before returning it.
76753         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76754         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76756 2010-10-28  Erich Ritz  <erichritz@gmail.com>
76758         * math/math.h (isinf): Fix typo in comment.
76760 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
76762         * po/da.po: Update from translation team.
76764 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
76766         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76767         is added to the list.
76769 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76770             Ulrich Drepper  <drepper@gmail.com>
76772         * elf/dl-object.c (_dl_new_object): Don't append the new object to
76773         the global list here.  Move code to...
76774         (_dl_add_to_namespace_list): ...here.  New function.
76775         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76776         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76777         * elf/dl-load.c (lose): Don't remove the element from the list.
76778         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76779         (_dl_map_object): Likewise.
76781 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
76783         [BZ #12159]
76784         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76785         into all bytes of SSE register.
76786         Patch by Richard Li <richardpku@gmail.com>.
76788 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
76790         [BZ #12140]
76791         * malloc/malloc.c (_int_free): Fill correct number of bytes when
76792         perturbing.
76794 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
76796         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76797         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76798         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76799         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76801         submachine.
76802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76804 2010-10-22  Andreas Schwab  <schwab@redhat.com>
76806         * include/dlfcn.h (__RTLD_SECURE): Define.
76807         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
76808         mode & __RTLD_SECURE instead.
76809         (open_path): Rename preloaded parameter to secure.
76810         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76811         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76812         * elf/dl-deps.c (openaux): Likewise.
76813         * elf/rtld.c (struct map_args): Remove is_preloaded.
76814         (map_doit): Don't use it.
76815         (dl_main): Likewise.
76816         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76817         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76819 2010-09-09  Andreas Schwab  <schwab@redhat.com>
76821         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76822         (sysd-rules-targets): Remove duplicates.
76823         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76824         rtld-%.$o dependency.
76826 2010-10-18  Andreas Schwab  <schwab@redhat.com>
76828         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76829         _dl_map_object do it.
76831 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
76833         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76834         fast fma builtins, define the macros in the C99 standard.
76835         (FP_FAST_FMAF): Likewise.
76836         (FP_FAST_FMAL): Likewise.
76837         * sysdeps/x86_64/bits/mathdef.h: Likewise.
76839         * bits/mathdef.h: Update copyright year.
76840         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76842 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
76844         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76845         builtins, define the macros in the C99 standard.
76846         (FP_FAST_FMAF): Likewise.
76847         (FP_FAST_FMAL): Likewise.
76848         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76849         multiply/add.
76850         (FP_FAST_FMAF): Likewise.
76852 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
76854         [BZ #3268]
76855         * math/libm-test.inc (fma_test): Some new testcases.
76856         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76857         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76858         y and infinite z.  Do multiplication by C already in long double.
76859         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76860         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76861         y and infinite z.  Do bitwise or of inexact bit into u.d.
76862         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76863         * sysdeps/i386/fpu/s_fmaf.S: Removed.
76864         * sysdeps/i386/fpu/s_fma.S: Removed.
76865         * sysdeps/i386/fpu/s_fmal.S: Removed.
76867 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
76869         [BZ #3268]
76870         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76871         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76872         computation is not scheduled after fetestexcept.  Fix value
76873         of minimum denormal long double.
76875 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
76877         [BZ #3268]
76878         * math/libm-test.inc (fma_test): Add some more tests.
76879         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76880         correctly.
76882 2010-10-15  Andreas Schwab  <schwab@redhat.com>
76884         * scripts/data/localplt-s390-linux-gnu.data: New file.
76885         * scripts/data/localplt-s390x-linux-gnu.data: New file.
76887 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
76889         [BZ #3268]
76890         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76891         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76892         instead of dbl-64.
76893         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76894         inlines.
76895         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76896         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76897         if one of x and y is very large and the other is subnormal.
76898         * sysdeps/s390/fpu/s_fmaf.c: New file.
76899         * sysdeps/s390/fpu/s_fma.c: New file.
76900         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76901         * sysdeps/powerpc/fpu/s_fma.S: New file.
76902         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76903         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76904         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76906 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
76908         [BZ #3268]
76909         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76910         fma tests.
76911         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76912         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76913         * sysdeps/i386/i686/multiarch/s_fma.c: Include
76914         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76915         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76916         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76917         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76919 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
76921         [BZ #12078]
76922         * posix/regcomp.c (parse_branch): One more memory leak plugged.
76923         * posix/bug-regex31.input: Add test case.
76925 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76927         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76928         * posix/bug-regex31.input: New file.
76930         [BZ #12078]
76931         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76932         (parse_sub_exp): Fix last change, use postorder.
76934         * posix/bug-regex31.c: New file.
76935         * posix/Makefile: Add rules to build and run bug-regex31.
76937         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76939         [BZ #12078]
76940         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76942         [BZ #12108]
76943         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76944         to have entries in sys_siglist.
76946         [BZ #12093]
76947         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76948         be NULL.
76950 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
76952         [BZ #3268]
76953         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76954         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76955         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76956         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76957         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76958         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76959         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76960         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76961         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76962         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76963         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76964         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76965         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76966         * math/ftestexcept.c (fetestexcept): Likewise.
76967         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76968         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76969         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76970         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76971         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76972         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76973         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76975 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76977         [BZ #12107]
76978         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76979         newline.
76981 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
76983         * string/bug-strstr1.c: New file.
76984         * string/Makefile: Add rules to build and run bug-strstr1.
76986 2010-10-05  Eric Blake  <eblake@redhat.com>
76988         [BZ #12092]
76989         * string/str-two-way.h (two_way_long_needle): Always clear memory
76990         when skipping input due to the shift table.
76992 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
76994         [BZ #12005]
76995         * malloc/mcheck.c: Handle large requests.
76997         [BZ #12077]
76998         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76999         for strncmp and strncasecmp.
77000         * string/stratcliff.c: Add tests for strcmp and strncmp.
77001         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
77003 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77005         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
77006         __set_fpscr.
77008 2010-09-30  Andreas Jaeger  <aj@suse.de>
77010         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
77011         (CGROUP_SUPER_MAGIC): Define.
77012         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77013         Handle btrfs and cgroup file systems.
77014         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
77015         Likewise.
77017 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
77019         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
77020         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
77022 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77024         [BZ #12067]
77025         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
77026         trying to locate the ELF header.
77028 2010-09-27  Andreas Schwab  <schwab@redhat.com>
77030         [BZ #11611]
77031         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
77032         Mask out sign-bit copies when constructing f_fsid.
77034 2010-09-24  Petr Baudis <pasky@suse.cz>
77036         * debug/stack_chk_fail_local.c: Add missing licence exception.
77037         * debug/warning-nop.c: Likewise.
77039 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
77041         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
77042         implementing getdents64 using getdents syscall, set d_type if
77043         __ASSUME_GETDENTS32_D_TYPE.
77045 2010-09-16  Andreas Schwab  <schwab@redhat.com>
77047         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
77048         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
77050 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
77052         [BZ #12037]
77053         * posix/unistd.h: Undo change of feature selection for ftruncate from
77054         2010-01-11.
77056 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
77058         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
77059         detection.
77061 2010-09-20  Andreas Schwab  <schwab@redhat.com>
77063         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
77064         fanotify_mark.
77065         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77067 2010-09-14  Andreas Schwab  <schwab@redhat.com>
77069         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
77070         variables after CHECK_SP call.
77071         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
77073 2010-09-13  Andreas Schwab  <schwab@redhat.com>
77074             Ulrich Drepper  <drepper@redhat.com>
77076         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
77077         re-relocationg ld.so.
77078         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
77079         _dl_init_paths call.
77080         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
77081         here anymore.
77083 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
77085         * resolv/res_init.c (__res_vinit): Count the default server we added.
77087 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
77088             Ulrich Drepper  <drepper@redhat.com>
77090         [BZ #11968]
77091         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77092         (____longjmp_chk): Use %ebx for saving value across system call.
77093         Add unwind info.
77095 2010-09-06  Andreas Schwab  <schwab@redhat.com>
77097         * manual/Makefile: Don't mix pattern rules with normal rules.
77099 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77101         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
77102         operation.
77103         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
77104         * libio/iofopncook.c (_IO_cookie_init): Likewise.
77105         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
77106         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
77107         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77108         Likewise.
77110 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
77112         [BZ #11979]
77113         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
77114         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
77116 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
77118         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
77119         * sysdeps/x86_64/addmul_1.S: Likewise.
77120         * sysdeps/x86_64/lshift.S: Likewise.
77121         * sysdeps/x86_64/mul_1.S: Likewise.
77122         * sysdeps/x86_64/rshift.S: Likewise.
77123         * sysdeps/x86_64/sub_n.S: Likewise.
77124         * sysdeps/x86_64/submul_1.S: Likewise.
77126 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77128         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
77129         Define __sched_param instead of SCHED_* and sched_param when
77130         <bits/sched.h> is included with __need_schedparam defined.
77131         * bits/sched.h [__need_schedparam]
77132         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
77133         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
77134         (__defined_schedparam): Define to 1.
77135         (__sched_param): New structure, identical to sched_param.
77136         (__need_schedparam): Undefine.
77138 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
77140         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
77141         (epoll_create1): Declare.
77143         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
77145 2010-08-31  Andreas Schwab  <schwab@redhat.com>
77147         [BZ #7066]
77148         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
77149         shifting retval into place.
77151 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
77153         * nis/rpcsvc/nis.h: Update copyright notice.
77154         * nis/rpcsvc/nis.x: Likewise.
77155         * nis/rpcsvc/nis_callback.h: Likewise.
77156         * nis/rpcsvc/nis_callback.x: Likewise.
77157         * nis/rpcsvc/nis_object.x: Likewise.
77158         * nis/rpcsvc/nis_tags.h: Likewise.
77159         * nis/rpcsvc/yp.h: Likewise.
77160         * nis/rpcsvc/yp.x: Likewise.
77161         * nis/rpcsvc/ypupd.h: Likewise.
77162         * nis/yp_xdr.c: Likewise.
77163         * nis/ypupdate_xdr.c: Likewise.
77165         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
77166         mainly the body of pmap_getport.  Add parameters to specify timeouts.
77167         (pmap_getport): Use __libc_rpc_getport.
77168         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
77169         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
77170         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
77172 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
77174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
77175         fanotify_mark.
77177 2010-08-27  Roland McGrath  <roland@redhat.com>
77179         * sysdeps/i386/i686/multiarch/Makefile
77180         (CFLAGS-varshift.c): New variable.
77182 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
77184         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
77185         * sysdeps/i386/i686/multiarch/varshift.c: New file.
77187         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
77189         * sysdeps/x86_64/strlen.S: Minimal code improvement.
77191 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
77193         * sysdeps/x86_64/strlen.S: Unroll the loop.
77194         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77195         strlen-sse2 strlen-sse2-bsf.
77196         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
77197         __strlen_no_bsf if bit_Slow_BSF is set.
77198         (__strlen_sse42): Removed.
77199         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
77200         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
77202 2010-08-25  Roland McGrath  <roland@redhat.com>
77204         * sysdeps/x86_64/multiarch/varshift.S: File removed.
77205         * sysdeps/x86_64/multiarch/varshift.c: New file.
77206         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
77207         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
77208         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
77209         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
77211 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
77213         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77214         strlen-sse2 strlen-sse2-bsf.
77215         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
77216         __strlen_sse2_bsf if bit_Slow_BSF is unset.
77217         (__strlen_sse2): Removed.
77218         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
77219         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
77220         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
77221         bit_Slow_BSF for Atom.
77222         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
77223         (index_Slow_BSF): Define.
77224         (HAS_SLOW_BSF): Define.
77226 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
77228         [BZ #10851]
77229         * resolv/res_init.c (__res_vinit): When no server address at all
77230         is given default to loopback.
77232 2010-08-24  Roland McGrath  <roland@redhat.com>
77234         * configure.in: Remove config-name.h generation.
77235         * configure: Regenerated.
77236         * config-name.in: File removed.
77237         * scripts/config-uname.sh: New file.
77238         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
77239         ($(objdir)config-name.h): New target.
77241         * sunrpc/rpc_parse.h: Avoid nested comment.
77243 2010-08-24  Richard Henderson  <rth@redhat.com>
77244             Ulrich Drepper  <drepper@redhat.com>
77245             H.J. Lu  <hongjiu.lu@intel.com>
77247         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
77248         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
77249         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
77250         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
77251         _mm_alignr_epi8 with _mm_loadu_si128.
77252         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
77253         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
77254         (__m128i_shift_right): Removed.
77255         * sysdeps/i386/i686/multiarch/varshift.h: New file.
77256         * sysdeps/i386/i686/multiarch/varshift.S: New file.
77257         * sysdeps/x86_64/multiarch/varshift.h: New file.
77258         * sysdeps/x86_64/multiarch/varshift.S: New file.
77260 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
77262         * configure.in: Move assembler checks to before sysdep dir checking.
77264 2010-08-20  Petr Baudis  <pasky@suse.cz>
77266         * LICENSES: Sync the sunrpc license.
77268 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
77270         * sunrpc/auth_des.c: Update copyright notice once again.
77271         * sunrpc/auth_none.c: Likewise.
77272         * sunrpc/auth_unix.c: Likewise.
77273         * sunrpc/authdes_prot.c: Likewise.
77274         * sunrpc/authuxprot.c: Likewise.
77275         * sunrpc/bindrsvprt.c: Likewise.
77276         * sunrpc/clnt_gen.c: Likewise.
77277         * sunrpc/clnt_perr.c: Likewise.
77278         * sunrpc/clnt_raw.c: Likewise.
77279         * sunrpc/clnt_simp.c: Likewise.
77280         * sunrpc/clnt_tcp.c: Likewise.
77281         * sunrpc/clnt_udp.c: Likewise.
77282         * sunrpc/clnt_unix.c: Likewise.
77283         * sunrpc/des_crypt.c: Likewise.
77284         * sunrpc/des_soft.c: Likewise.
77285         * sunrpc/get_myaddr.c: Likewise.
77286         * sunrpc/getrpcport.c: Likewise.
77287         * sunrpc/key_call.c: Likewise.
77288         * sunrpc/key_prot.c: Likewise.
77289         * sunrpc/openchild.c: Likewise.
77290         * sunrpc/pm_getmaps.c: Likewise.
77291         * sunrpc/pm_getport.c: Likewise.
77292         * sunrpc/pmap_clnt.c: Likewise.
77293         * sunrpc/pmap_prot.c: Likewise.
77294         * sunrpc/pmap_prot2.c: Likewise.
77295         * sunrpc/pmap_rmt.c: Likewise.
77296         * sunrpc/rpc/auth.h: Likewise.
77297         * sunrpc/rpc/auth_unix.h: Likewise.
77298         * sunrpc/rpc/clnt.h: Likewise.
77299         * sunrpc/rpc/des_crypt.h: Likewise.
77300         * sunrpc/rpc/key_prot.h: Likewise.
77301         * sunrpc/rpc/netdb.h: Likewise.
77302         * sunrpc/rpc/pmap_clnt.h: Likewise.
77303         * sunrpc/rpc/pmap_prot.h: Likewise.
77304         * sunrpc/rpc/pmap_rmt.h: Likewise.
77305         * sunrpc/rpc/rpc.h: Likewise.
77306         * sunrpc/rpc/rpc_des.h: Likewise.
77307         * sunrpc/rpc/rpc_msg.h: Likewise.
77308         * sunrpc/rpc/svc.h: Likewise.
77309         * sunrpc/rpc/svc_auth.h: Likewise.
77310         * sunrpc/rpc/types.h: Likewise.
77311         * sunrpc/rpc/xdr.h: Likewise.
77312         * sunrpc/rpc_clntout.c: Likewise.
77313         * sunrpc/rpc_cmsg.c: Likewise.
77314         * sunrpc/rpc_common.c: Likewise.
77315         * sunrpc/rpc_cout.c: Likewise.
77316         * sunrpc/rpc_dtable.c: Likewise.
77317         * sunrpc/rpc_hout.c: Likewise.
77318         * sunrpc/rpc_main.c: Likewise.
77319         * sunrpc/rpc_parse.c: Likewise.
77320         * sunrpc/rpc_parse.h: Likewise.
77321         * sunrpc/rpc_prot.c: Likewise.
77322         * sunrpc/rpc_sample.c: Likewise.
77323         * sunrpc/rpc_scan.c: Likewise.
77324         * sunrpc/rpc_scan.h: Likewise.
77325         * sunrpc/rpc_svcout.c: Likewise.
77326         * sunrpc/rpc_tblout.c: Likewise.
77327         * sunrpc/rpc_util.c: Likewise.
77328         * sunrpc/rpc_util.h: Likewise.
77329         * sunrpc/rpcinfo.c: Likewise.
77330         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
77331         * sunrpc/rpcsvc/key_prot.x: Likewise.
77332         * sunrpc/rpcsvc/klm_prot.x: Likewise.
77333         * sunrpc/rpcsvc/mount.x: Likewise.
77334         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
77335         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
77336         * sunrpc/rpcsvc/rex.x: Likewise.
77337         * sunrpc/rpcsvc/rstat.x: Likewise.
77338         * sunrpc/rpcsvc/rusers.x: Likewise.
77339         * sunrpc/rpcsvc/sm_inter.x: Likewise.
77340         * sunrpc/rpcsvc/spray.x: Likewise.
77341         * sunrpc/rpcsvc/yppasswd.x: Likewise.
77342         * sunrpc/rtime.c: Likewise.
77343         * sunrpc/svc.c: Likewise.
77344         * sunrpc/svc_auth.c: Likewise.
77345         * sunrpc/svc_authux.c: Likewise.
77346         * sunrpc/svc_raw.c: Likewise.
77347         * sunrpc/svc_run.c: Likewise.
77348         * sunrpc/svc_simple.c: Likewise.
77349         * sunrpc/svc_tcp.c: Likewise.
77350         * sunrpc/svc_udp.c: Likewise.
77351         * sunrpc/svc_unix.c: Likewise.
77352         * sunrpc/svcauth_des.c: Likewise.
77353         * sunrpc/xcrypt.c: Likewise.
77354         * sunrpc/xdr.c: Likewise.
77355         * sunrpc/xdr_array.c: Likewise.
77356         * sunrpc/xdr_float.c: Likewise.
77357         * sunrpc/xdr_mem.c: Likewise.
77358         * sunrpc/xdr_rec.c: Likewise.
77359         * sunrpc/xdr_ref.c: Likewise.
77360         * sunrpc/xdr_sizeof.c: Likewise.
77361         * sunrpc/xdr_stdio.c: Likewise.
77363         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
77364         handling.
77366 2010-08-19  Andreas Schwab  <schwab@redhat.com>
77368         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
77370 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
77372         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
77373         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
77374         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
77375         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
77376         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
77377         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
77378         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
77379         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
77380         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
77381         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
77382         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
77383         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
77384         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
77385         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
77387 2010-07-26  Anton Blanchard  <anton@samba.org>
77389         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
77390         * malloc/arena.c (heap_trim): Likewise.
77392 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
77394         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
77395         here.  Not...
77396         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
77397         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
77399 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
77401         * sysdeps/i386/elf/Makefile: New file.
77403 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77405         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
77406         from fanotify_init.
77407         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
77408         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77410 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
77412         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
77413         of strncasecmp_l.
77414         * sysdeps/multiarch/strcmp.S: Likewise.
77416 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
77418         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77419         strncase_l-nonascii.
77420         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77421         Add strncase_l-ssse3.
77422         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
77423         * sysdeps/x86_64/strcmp.S: Likewise.
77424         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
77425         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
77426         * sysdeps/x86_64/strncase.S: New file.
77427         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
77428         * sysdeps/x86_64/strncase_l.S: New file.
77429         * string/Makefile (strop-tests): Add strncasecmp.
77430         * string/test-strncasecmp.c: New file.
77432         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
77433         warning.
77435         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
77436         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
77438 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77440         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
77442 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
77444         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
77445         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
77446         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
77448 2010-05-01  Alan Modra  <amodra@gmail.com>
77450         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
77451         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
77452         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
77453         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
77454         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
77455         tidying.  Don't tail-call __sigjmp_save for static lib.
77456         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
77457         save location.
77458         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
77459         (CALL_MCOUNT): Add eh info, and nop after bl.
77460         (TAIL_CALL_SYSCALL_ERROR): New macro.
77461         (PSEUDO_RET): Use it.
77462         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
77463         Correct save location of integer regs and cr.
77464         (_dl_profile_resolve): Correct cr save location.  Delete nops
77465         after bl when SHARED.  Reduce cfi size a little by better
77466         placement of cfi directives.
77467         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
77468         make a stack frame.  Instead use parm save area as a temp.
77469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
77470         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
77471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
77472         Don't make a stack frame for parent, use parm save area.
77473         Increase child stack frame to 112 bytes.  Don't save unused reg,
77474         and adjust reg usage.  Set up cfi on error recovery and
77475         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
77476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77477         (__makecontext): Add dummy nop after jump to exit.
77478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
77479         Use correct parm save area and cr save, reduce stack frame.
77480         Correct cfi for possible PSEUDO_RET frame setup.
77481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
77482         Branch to local label emitted by PSEUDO_RET rather than
77483         __syscall_error.
77485 2010-08-12  Andreas Schwab  <schwab@redhat.com>
77487         [BZ #11904]
77488         * locale/programs/locale.c (print_assignment): New function.
77489         (show_locale_vars): Use it.
77491 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
77493         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
77494         field.
77495         (struct statfs64): Likewise.
77496         (_STATFS_F_FLAGS): Define.
77497         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
77498         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77499         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
77500         (ST_VALID): Define locally.
77501         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
77502         __statvfs_getflags, use the provided value.
77503         * sysdeps/unix/sysv/linux/kernel-features.h: Define
77504         __ASSUME_STATFS_F_FLAGS.
77506         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
77508         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
77509         Add sys/fanotify.h.
77510         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
77511         fanotify_mask for GLIBC_2.13.
77512         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
77513         fanotify_init and fanotify_mark.
77514         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77515         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
77517         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
77518         Add prlimit.
77519         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
77520         prlimit64 for GLIBC_2.13.
77521         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
77522         prlimit64.
77523         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
77524         syscall.
77525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
77526         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77527         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
77528         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
77529         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
77530         add prlimit alias.
77531         * sysdeps/unix/sysv/linux/prlimit.c: New file.
77533         [BZ #11903]
77534         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
77535         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
77537         * nss/Makefile: Add rules to build and run tst-nss-test1.
77538         * shlib-versions: Add entry for libnss_test1.
77539         * nss/nss_test1.c: New file.
77540         * nss/tst-nss-test1.c: New file.
77542         * nss/nsswitch.c (__nss_database_custom): Define new variable.
77543         (__nss_configure_lookup): Set appropriate entry in
77544         __nss_configure_lookup to true.
77545         * nss/nsswitch.h: Define enum with indeces of databases in
77546         databases and __nss_database_custom arrays.  Declare
77547         __nss_database_custom.
77548         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
77549         to avoid using nscd when custom rules are installed.
77550         * nss/getXXbyYY_r.c: Likewise.
77551         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
77553         * nss/nss_files/files-parse.c: Whitespace fixes.
77555 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
77557         [BZ #11883]
77558         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
77559         * posix/fnmatch_loop.c: Likewise.
77561 2010-07-17  Andi Kleen  <ak@linux.intel.com>
77563         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
77564         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
77565         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
77566         * Versions.def [GLIBC_2.13]: Add.
77568 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
77570         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77571         Also fail if tpwd after pwuid call is NULL.
77573 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77575         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
77576         when converting to ms.
77578 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77580         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
77581         EOPNOTSUPP errors with ENOTTY.
77582         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
77583         EOPNOTSUPP errors with ENOTTY.
77585 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
77587         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77588         Add strcasecmp_l-ssse3.
77589         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77590         strcasecmp.
77591         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77592         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77593         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77595 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
77597         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77599         * string/Makefile (strop-tests): Add strcasecmp.
77600         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77601         strcasecmp_l-nonascii.
77602         (gen-as-const-headers): Add locale-defines.sym.
77603         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77604         * sysdeps/x86_64/strcasecmp.S: New file.
77605         * sysdeps/x86_64/strcasecmp_l.S: New file.
77606         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77607         * sysdeps/x86_64/locale-defines.sym: New file.
77608         * string/test-strcasecmp.c: New file.
77610         * string/test-strcasestr.c: Test both ends of the range of characters.
77611         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77613 2010-07-29  Roland McGrath  <roland@redhat.com>
77615         [BZ #11856]
77616         * manual/locale.texi (Yes-or-No Questions): Fix example code.
77618 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
77620         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77621         for ld.so.
77623 2010-07-27  Andreas Schwab  <schwab@redhat.com>
77625         * manual/memory.texi (Malloc Tunable Parameters): Document
77626         M_PERTURB.
77628 2010-07-26  Roland McGrath  <roland@redhat.com>
77630         [BZ #11840]
77631         * configure.in (-fgnu89-inline check): Set and substitute
77632         gnu89_inline, not libc_cv_gnu89_inline.
77633         * configure: Regenerated.
77634         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77636 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
77638         * string/test-strnlen.c: New file.
77639         * string/Makefile (strop-tests): Add strnlen.
77640         * string/tester.c (test_strnlen): Add a few more test cases.
77641         * string/tst-strlen.c: Better error reporting.
77643         * sysdeps/x86_64/strnlen.S: New file.
77645 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
77647         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77648         lower-latency instructions.
77650 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
77652         * string/test-strcasestr.c: New file.
77653         * string/test-strstr.c: New file.
77654         * string/Makefile (strop-tests): Add strstr and strcasestr.
77655         * string/str-two-way.h: Don't undefine MAX.
77656         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77658 2010-07-21  Andreas Schwab  <schwab@redhat.com>
77660         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77661         strcasestr-nonascii.
77662         (CFLAGS-strcasestr-nonascii.c): Define.
77663         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77664         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77665         Remove unused attribute.
77667 2010-07-20  Roland McGrath  <roland@redhat.com>
77669         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77670         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
77671         ld.so.cache was broken.  With it, there is no way to disable dsocaps
77672         like LD_HWCAP_MASK can disable hwcaps.
77674 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77676         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77678 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
77680         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77681         call in strcasestr.
77682         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77683         __strcasestr_sse42_nonascii.
77684         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77685         strcasestr-nonascii.c.
77686         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77688 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
77690         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77691         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77692         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77693         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77695 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
77697         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77698         fcntl.
77700 2010-07-06  Andreas Schwab  <schwab@redhat.com>
77702         [BZ #11577]
77703         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77704         dl_signal_cerror.
77706 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
77708         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77709         _PC_PIPE_BUF using F_GETPIPE_SZ.
77711 2010-07-05  Roland McGrath  <roland@redhat.com>
77713         * manual/arith.texi (Rounding Functions): Fix rint description
77714         implicit in round description.
77716 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
77718         * elf/Makefile: Fix linking for a few tests to make recent linker
77719         happy.
77721 2010-06-30  Andreas Schwab  <schwab@redhat.com>
77723         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77724         $(common-objpfx)libc_nonshared.a.
77726 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
77728         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77729         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77730         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77731         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77732         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77733         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77734         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77735         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77750         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77751         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77752         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77753         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77754         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77755         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77756         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77757         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77758         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77759         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77760         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77761         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77777 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
77779         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77780         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
77781         * string/memmove.c (memmove): Renamed to ...
77782         (MEMMOVE): ...this.  Default to memmove.
77783         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77784         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77785         (END_CHK): Define.
77786         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77787         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77788         mempcpy-ssse3-back memmove-ssse3-back.
77789         * sysdeps/x86_64/multiarch/bcopy.S: New file .
77790         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77791         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77792         * sysdeps/x86_64/multiarch/memcpy.S: New file.
77793         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77794         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77795         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77796         * sysdeps/x86_64/multiarch/memmove.c: New file.
77797         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77798         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77799         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77800         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77801         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77802         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77803         Define.
77804         (index_Fast_Copy_Backward): Define.
77805         (HAS_ARCH_FEATURE): Define.
77806         (HAS_FAST_REP_STRING): Define.
77807         (HAS_FAST_COPY_BACKWARD): Define.
77809 2010-06-21  Andreas Schwab  <schwab@redhat.com>
77811         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77812         Restore proper fallback handling.
77814 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
77816         [BZ #11701]
77817         * posix/group_member.c (__group_member): Correct checking loop.
77819         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77820         OOM in getpwuid_r correctly.  Return error number when the caller
77821         should return, otherwise -1.
77822         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77823         call returning > 0 value.
77824         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77826 2010-06-07  Andreas Schwab  <schwab@redhat.com>
77828         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77829         libc_nonshared.a from targets in modules-names.
77831 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
77833         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77834         requires it.
77836 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
77838         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77839         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77840         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77841         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77843 2010-06-02  Andreas Schwab  <schwab@redhat.com>
77845         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77847 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
77849         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77850         and F_GETPIPE_SZ.
77851         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77852         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77853         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77854         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77855         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77856         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77858 2010-06-14  Roland McGrath  <roland@redhat.com>
77860         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77862 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
77864         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77865         __REDIRECT followed by __THROW.
77866         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77867         * posix/getopt.h (getopt): Likewise.
77869 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77871         * hurd/lookup-at.c (__file_name_lookup_at): Accept
77872         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
77873         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77874         in AT_FLAGS.
77875         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77876         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77878 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
77880         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77882 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
77884         [BZ #11640]
77885         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77886         Properly check family and model.
77888 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
77890         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77892 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
77894         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77896 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
77898         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77899         symbol reference.
77901 2010-05-19  Andreas Schwab  <schwab@redhat.com>
77903         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77904         symbol reference.
77906 2010-05-21  Andreas Schwab  <schwab@redhat.com>
77908         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77909         and internal_recvmmsg.
77910         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77911         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77912         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77913         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77915         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77916         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77917         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77919 2010-05-20  Andreas Schwab  <schwab@redhat.com>
77921         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77923 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
77925         POWER7 optimizations.
77926         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77927         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77929 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
77931         * version.h: Update for 2.13 development version.
77933 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
77935         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77936         exceptions.  Return 0.
77938 2010-05-07  Roland McGrath  <roland@redhat.com>
77940         * elf/ldconfig.c (main): Add a const.
77942 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
77944         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77945         (args_options): Add no-idn option.
77946         (ahosts_keys_int): Add idn_flags to ai_flags.
77947         (parse_option): Handle 'i' option to clear idn_flags.
77949         * malloc/malloc.c (_int_free): Possible race in the most recently
77950         added check.  Only act on the data if no current modification
77951         happened.
77953 See ChangeLog.17 for earlier changes.